summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-02-14 14:21:05 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-02-14 14:21:05 +0000
commit70b83880b7c43d0f5dd5e343b58b618f5f1ca23b (patch)
tree2d832538a53a2faec4a2135effc915dff09bc164
parentmade ebuild more admin-friendly, include ad tool to distribution, and other m... (diff)
downloadhistorical-70b83880b7c43d0f5dd5e343b58b618f5f1ca23b.tar.gz
historical-70b83880b7c43d0f5dd5e343b58b618f5f1ca23b.tar.bz2
historical-70b83880b7c43d0f5dd5e343b58b618f5f1ca23b.zip
Building qtscript debugger, fixes bug #258961
Package-Manager: portage-2.1.6.7/cvs/Linux i686
-rw-r--r--x11-libs/qt-gui/ChangeLog8
-rw-r--r--x11-libs/qt-gui/Manifest3
-rw-r--r--x11-libs/qt-gui/qt-gui-4.5.0_rc1-r1.ebuild146
3 files changed, 155 insertions, 2 deletions
diff --git a/x11-libs/qt-gui/ChangeLog b/x11-libs/qt-gui/ChangeLog
index 371b94379b07..4b7757bdb91f 100644
--- a/x11-libs/qt-gui/ChangeLog
+++ b/x11-libs/qt-gui/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/qt-gui
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v 1.30 2009/02/13 23:05:35 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v 1.31 2009/02/14 14:21:05 hwoarang Exp $
+
+*qt-gui-4.5.0_rc1-r1 (14 Feb 2009)
+
+ 14 Feb 2009; Markos Chandras <hwoarang@gentoo.org>
+ +qt-gui-4.5.0_rc1-r1.ebuild:
+ Build qtscript debugger, fixes bug #258961
13 Feb 2009; Markos Chandras <hwoarang@gentoo.org>
qt-gui-4.5.0_rc1.ebuild:
diff --git a/x11-libs/qt-gui/Manifest b/x11-libs/qt-gui/Manifest
index dc8d76632d33..888e648e4cf5 100644
--- a/x11-libs/qt-gui/Manifest
+++ b/x11-libs/qt-gui/Manifest
@@ -15,6 +15,7 @@ DIST qt-x11-opensource-src-4.4.2.tar.bz2 102816706 RMD160 5719ab5800ca181417e0df
DIST qt-x11-opensource-src-4.5.0-rc1.tar.bz2 110889586 RMD160 60b410f1776d5f55863543fcd4dd3a8105864ec1 SHA1 1dffebc52543ee8dd486ec69fc51d02e216323bd SHA256 94aa6268662a24cec1a20e2fb88fcac418101719c0e1ab2729289fd8b7d475d7
EBUILD qt-gui-4.4.2-r1.ebuild 4588 RMD160 6f70f8e47e83ccd1bf471e3841cee3616f787923 SHA1 0fe3970456b74e54a2cfb86f5f9659df9cae6648 SHA256 d6a11115170543d651835b15494fa3287827e1eb61628782ae9b25d93086d539
EBUILD qt-gui-4.4.2-r2.ebuild 4870 RMD160 7bb9cbf0f2990fe4098d2d691e4275745cfe37e3 SHA1 586c4fefd44948a4ae370f64e9ea410241633cfc SHA256 5226ed0dcf8e5d33393ecdd76d6e273c4871ba6c573091b5d1b07d3228a56c35
+EBUILD qt-gui-4.5.0_rc1-r1.ebuild 4591 RMD160 f21a3235dbfaf150d34cdb90afb4a90e659e5e4a SHA1 241b452938468479e6f53d2f3784c3d38452c490 SHA256 2cf06bbf1d068df72366ba26d0dc97a022d960546281d617e967ea744da5825f
EBUILD qt-gui-4.5.0_rc1.ebuild 4571 RMD160 1f90f69f07572b97d71f8bebb61dbcd1b9f7d469 SHA1 a693d0718bfe57243802a5784d160c76f9d70ed5 SHA256 e18e8cb4aff7f62e6a1600b216de74d2c2b28371a35c1978aa4b30938b14120c
-MISC ChangeLog 4325 RMD160 7e5248eb4480070b87060e62df03b4db7e87f6ee SHA1 106d331215bf5619362b8eaa2ac4e3ea22d1e673 SHA256 fbbfbd3f301cd392bd46946ca334f7ee3aeb43239a663598c5d96e8be8efbe6a
+MISC ChangeLog 4491 RMD160 7ab18b42444e603c6a15234531fdc834f7b4341a SHA1 9c83f1b65036fd6a442dab50454b756e4df52a54 SHA256 b045a80dc140b8b908bda8d21d5ad6ec589e78ea3edc887e5cdbbbb71a715ea7
MISC metadata.xml 636 RMD160 d7e251319271eb08ec8a81f159b788399b72209b SHA1 ee1479223764214d8d9811dc5bc8bf7a1d95cfd7 SHA256 00175a33be6633a0cee53ef22c8db1f3d3e3c3bfddfcbef6cb95ff89065064b3
diff --git a/x11-libs/qt-gui/qt-gui-4.5.0_rc1-r1.ebuild b/x11-libs/qt-gui/qt-gui-4.5.0_rc1-r1.ebuild
new file mode 100644
index 000000000000..bd1b3940268d
--- /dev/null
+++ b/x11-libs/qt-gui/qt-gui-4.5.0_rc1-r1.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.5.0_rc1-r1.ebuild,v 1.1 2009/02/14 14:21:05 hwoarang Exp $
+
+EAPI="2"
+inherit eutils qt4-build
+
+DESCRIPTION="The GUI module for the Qt toolkit"
+LICENSE="|| ( GPL-3 GPL-2 )"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+IUSE="+accessibility cups +dbus +glib +gtkstyle mng nas nis raster tiff +qt3support xinerama"
+
+RDEPEND="media-libs/fontconfig
+ >=media-libs/freetype-2
+ media-libs/jpeg
+ media-libs/libpng
+ sys-libs/zlib
+ x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/libXfont
+ x11-libs/libSM
+ x11-libs/libXi
+ ~x11-libs/qt-core-${PV}[debug=,glib=,qt3support=]
+ ~x11-libs/qt-script-${PV}[debug=]
+ cups? ( net-print/cups )
+ dbus? ( ~x11-libs/qt-dbus-${PV}[debug=] )
+ mng? ( >=media-libs/libmng-1.0.9 )
+ nas? ( >=media-libs/nas-1.5 )
+ tiff? ( media-libs/tiff )
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/xextproto
+ x11-proto/inputproto"
+PDEPEND="qt3support? ( ~x11-libs/qt-qt3support-${PV}[debug=] )"
+
+QT4_TARGET_DIRECTORIES="
+src/gui
+src/scripttools/
+tools/designer
+tools/linguist
+src/plugins/imageformats/gif
+src/plugins/imageformats/ico
+src/plugins/imageformats/jpeg"
+QT4_EXTRACT_DIRECTORIES="
+include/
+src/
+tools/shared/"
+
+pkg_setup() {
+ if use raster; then
+ ewarn
+ ewarn "You have enabled raster backend rendering engine."
+ ewarn "This is a new feature and might lead to composite problems"
+ ewarn "or screen corruption."
+ ewarn
+ ebeep 3
+ fi
+ qt4-build_pkg_setup
+}
+
+src_unpack() {
+ use dbus && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/qdbus/qdbusviewer"
+ use mng && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/mng"
+ use tiff && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/tiff"
+ QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
+ ${QT4_EXTRACT_DIRECTORIES}"
+
+ qt4-build_src_unpack
+}
+
+src_prepare() {
+ qt4-build_src_prepare
+
+ # Don't build plugins this go around, because they depend on qt3support lib
+ sed -i -e "s:CONFIG(shared:# &:g" "${S}"/tools/designer/src/src.pro
+
+ # fixing hardcoded fonts, bug #252312
+ EPATCH_OPTS="--ignore-whitespace"
+ epatch "${FILESDIR}"/hardcoded_fonts.patch
+}
+
+src_configure() {
+ export PATH="${S}/bin:${PATH}"
+ export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
+
+ myconf="$(qt_use accessibility)
+ $(qt_use cups)
+ $(qt_use glib)
+ $(qt_use mng libmng system)
+ $(qt_use nis)
+ $(qt_use tiff libtiff system)
+ $(qt_use dbus qdbus)
+ $(qt_use qt3support)
+ $(qt_use gtkstyle)
+ $(qt_use xinerama)"
+
+ use nas && myconf="${myconf} -system-nas-sound"
+ use raster && myconf="${myconf} -graphicssystem raster"
+
+ myconf="${myconf} -qt-gif -system-libpng -system-libjpeg
+ -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc
+ -xrender -xrandr -xkb -xshape -sm -no-svg"
+
+ # Explictly don't compile these packages.
+ # Emerge "qt-webkit", "qt-phonon", etc for their functionality.
+ myconf="${myconf} -no-webkit -no-phonon -no-dbus -no-opengl"
+
+ qt4-build_src_configure
+}
+
+src_install() {
+ QCONFIG_ADD="x11sm xshape xcursor xfixes xrandr xrender xkb fontconfig
+ $(usev accessibility) $(usev xinerama) $(usev cups) $(usev nas)
+ gif png system-png system-jpeg
+ $(use mng && echo system-mng) $(use tiff && echo system-tiff)"
+ QCONFIG_REMOVE="no-gif no-png"
+ QCONFIG_DEFINE="$(use accessibility && echo QT_ACCESSIBILITY)
+ $(use cups && echo QT_CUPS) QT_FONTCONFIG QT_IMAGEFORMAT_JPEG
+ $(use mng && echo QT_IMAGEFORMAT_MNG) $(use nas && echo QT_NAS)
+ $(use nis && echo QT_NIS) QT_IMAGEFORMAT_PNG QT_SESSIONMANAGER QT_SHAPE
+ $(use tiff && echo QT_IMAGEFORMAT_TIFF) QT_XCURSOR
+ $(use xinerama && echo QT_XINERAMA) QT_XFIXES QT_XKB QT_XRANDR QT_XRENDER"
+
+ qt4-build_src_install
+
+ # remove some unnecessary headers
+ rm -f "${D}${QTHEADERDIR}"/{Qt,QtGui}/{qmacstyle_mac.h,qwindowdefs_win.h} \
+ "${D}${QTHEADERDIR}"/QtGui/QMacStyle
+
+ # qt-creator
+ # some qt-creator headers are located
+ # under /usr/include/qt4/QtDesigner/private.
+ # those headers are just includes of the headers
+ # which are located under tools/designer/src/lib/*
+ # So instead of installing both, we create the private folder
+ # and drop tools/designer/src/lib/* headers in it.
+ dodir /usr/include/qt4/QtDesigner/private/
+ insinto /usr/include/qt4/QtDesigner/private/
+ doins "${S}"/tools/designer/src/lib/shared/*
+ doins "${S}"/tools/designer/src/lib/sdk/*
+
+ domenu "${FILESDIR}"/{Designer,Linguist}.desktop
+}