summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn N. Laliberte <allanonjl@gentoo.org>2006-07-18 19:13:57 +0000
committerJohn N. Laliberte <allanonjl@gentoo.org>2006-07-18 19:13:57 +0000
commit33e5bcb661c4aa4bd4323f579c21026160bc2e3b (patch)
treea4e12bd663d7df489acd36dd3d71e55b1d0064a3 /x11-libs
parentRemove digikam mask. (diff)
downloadhistorical-33e5bcb661c4aa4bd4323f579c21026160bc2e3b.tar.gz
historical-33e5bcb661c4aa4bd4323f579c21026160bc2e3b.tar.bz2
historical-33e5bcb661c4aa4bd4323f579c21026160bc2e3b.zip
we now create a gtkrc file with the fallback theme set to gnome. fixes #133241
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/gtk+/ChangeLog8
-rw-r--r--x11-libs/gtk+/Manifest45
-rw-r--r--x11-libs/gtk+/files/digest-gtk+-2.8.196
-rw-r--r--x11-libs/gtk+/files/digest-gtk+-2.8.20-r13
-rw-r--r--x11-libs/gtk+/gtk+-2.10.0.ebuild5
-rw-r--r--x11-libs/gtk+/gtk+-2.8.20-r1.ebuild163
6 files changed, 203 insertions, 27 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog
index e0bb60fc7594..60b208ab4720 100644
--- a/x11-libs/gtk+/ChangeLog
+++ b/x11-libs/gtk+/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/gtk+
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.249 2006/07/17 16:26:27 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.250 2006/07/18 19:13:57 allanonjl Exp $
+
+*gtk+-2.8.20-r1 (18 Jul 2006)
+
+ 18 Jul 2006; John N. Laliberte <allanonjl@gentoo.org>
+ +gtk+-2.8.20-r1.ebuild, gtk+-2.10.0.ebuild:
+ we now create a gtkrc file with the fallback theme set to gnome. fixes #133241
17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> gtk+-2.8.19.ebuild:
Marked stable on amd64 for bug #139612
diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest
index 57fd5c28c4aa..8b73b7c476f5 100644
--- a/x11-libs/gtk+/Manifest
+++ b/x11-libs/gtk+/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gtk+-1.2-locale_fix.patch 419 RMD160 a0fbf3fb111f39b7a62c3fa31a803ef2a0ee945a SHA1 569c877ff692a7694e8aca5aceae9558844ba5dd SHA256 2e3cf84902d2f318dcbf4f9ad976573295d8d984c7a860291f37f768fc7966cb
MD5 5e3ff7fa761495300d3f30c9207c13f8 files/gtk+-1.2-locale_fix.patch 419
RMD160 a0fbf3fb111f39b7a62c3fa31a803ef2a0ee945a files/gtk+-1.2-locale_fix.patch 419
@@ -47,7 +44,7 @@ DIST gtk+-2.6.10.tar.bz2 11521380 RMD160 5bb2e4de406e0e6ccf5c66ec48f6ba3e5b0911f
DIST gtk+-2.8.12.tar.bz2 12004253 RMD160 e64d984029cc488f65465ecebc501d4a06968995 SHA1 74c6b6c0623de37c1d8adf3d1b1860d826075785 SHA256 5a0cb101fe9a8751e07bf11a1ddc99cae76fa652f9d7370ab6d8a8b62852479c
DIST gtk+-2.8.17.tar.bz2 12261085 RMD160 ff4d34eef948cd98c81d852a111d716b9cead94f SHA1 a6c62ec016bc076a9938ba962f0dd4bcc1e74e16 SHA256 d9dea2c9777ab22dfaefed169b2d9b8a8fd914aec8937e723ae029df1aaf19be
DIST gtk+-2.8.18.tar.bz2 12258449 RMD160 f9b41fc90e16158ccc87872f07dc4eb269903e84 SHA1 e4f0231b943418d8bb17b3bf9d79aa902ab3eb13 SHA256 c685da334c88c0dac5a5c8d23e08fed23a74b6bc981c345e351a1574ccf52f5b
-DIST gtk+-2.8.19.tar.bz2 12303676 RMD160 9d74e7a19f2da0361dd731757310abe1f4c08555 SHA1 5108749bdd2f3ab0b500cec879a0f421a548ca35 SHA256 ccdf52c74ed9902dda6e18923d1fd6fc9c9d48821bf79c4e354d181ff074fdf8
+DIST gtk+-2.8.19.tar.bz2 313941 RMD160 f8157235edbfe58492f83df11fb0ee9a009a5e96 SHA1 77f00ea11fcd96c84e53bff51667fa60c91b44d5 SHA256 81759bba195ad5afd12a2e2956a0c583c9d1ff70fe2ff92d1a007a944c43b1fb
DIST gtk+-2.8.20.tar.bz2 12247295 RMD160 d20254de9e5b37b19f432758fbd78fff4c6baf1e SHA1 8ea2449ff139b8bc457f8b5bcdcad93b02cfba9e SHA256 69a9b6c1e78da7e71416f20fab0c4972503139406e89ce7fbdbac0e213b16b79
DIST gtk+-2.8.8.tar.bz2 11902480 RMD160 7775dfe502f6b478b5e5764917cfc7668d574065 SHA1 69160c9b844abe4c92847effdde69510fbca5dca SHA256 d1bf51735fa7535c72ba034d99880016c8349f2e8026d72c40a7eb57a3ce2bb8
EBUILD gtk+-1.2.10-r10.ebuild 1821 RMD160 ad3c002279536e8c98b498e4162c631332546af6 SHA1 8daaf981d13680b20ce44b457285a65422e53f74 SHA256 33d21b3f23e0ea30f8c68e21cf0ea7f863df4e947cc7bbf5406115c2312d01d4
@@ -58,10 +55,10 @@ EBUILD gtk+-1.2.10-r11.ebuild 1985 RMD160 1a116875e8f4083895e019cfca453776ea0b9b
MD5 e1db10529e4ebb8b5349b507b1bbece9 gtk+-1.2.10-r11.ebuild 1985
RMD160 1a116875e8f4083895e019cfca453776ea0b9bcb gtk+-1.2.10-r11.ebuild 1985
SHA256 b130d6e9e11385e553ba35a3eb273647115e2e6c65bbad79b6425b8e3d13671f gtk+-1.2.10-r11.ebuild 1985
-EBUILD gtk+-2.10.0.ebuild 4355 RMD160 6ad3b6af6e5d577d5fa6409f52c2a1fada8b2df8 SHA1 54440d3506b8314d69786028086cc0dbf86d6292 SHA256 013e82834f927bcfcd562b35ac4d0c761d94a06d6caa99c41c77e618c962c7b8
-MD5 8f42e3a01ab9416eca4ddeca0a04f90a gtk+-2.10.0.ebuild 4355
-RMD160 6ad3b6af6e5d577d5fa6409f52c2a1fada8b2df8 gtk+-2.10.0.ebuild 4355
-SHA256 013e82834f927bcfcd562b35ac4d0c761d94a06d6caa99c41c77e618c962c7b8 gtk+-2.10.0.ebuild 4355
+EBUILD gtk+-2.10.0.ebuild 4448 RMD160 044862f3bb11ba83bd0fe4f7c4578c2d12637c97 SHA1 22c9c83ee248063f9e6fae34cec1500967cf88fc SHA256 4a40e3631c6ffec69452d9a7213f1b3ee6617c340e29b779aa0046cf53671b33
+MD5 0f63b8097b9f55220456b7448ff7a64e gtk+-2.10.0.ebuild 4448
+RMD160 044862f3bb11ba83bd0fe4f7c4578c2d12637c97 gtk+-2.10.0.ebuild 4448
+SHA256 4a40e3631c6ffec69452d9a7213f1b3ee6617c340e29b779aa0046cf53671b33 gtk+-2.10.0.ebuild 4448
EBUILD gtk+-2.6.10-r1.ebuild 3455 RMD160 63997fee767bbb4ddc7d978374c7d9fbe73bf6ba SHA1 4c472888cd0f1dc1b43c3e4c3167e2941ae1c39e SHA256 d58bd7ffe27a02b4c4cf71dd16dcc6c7116723b36df0d15519846b19549ade2e
MD5 16ca62398139ea671319657720b6fc8b gtk+-2.6.10-r1.ebuild 3455
RMD160 63997fee767bbb4ddc7d978374c7d9fbe73bf6ba gtk+-2.6.10-r1.ebuild 3455
@@ -82,6 +79,10 @@ EBUILD gtk+-2.8.19.ebuild 4074 RMD160 ac9081f4a3b431292d08ea7cf72b1c76e2cdc509 S
MD5 6c381752936c2b840a9c558b705e9eca gtk+-2.8.19.ebuild 4074
RMD160 ac9081f4a3b431292d08ea7cf72b1c76e2cdc509 gtk+-2.8.19.ebuild 4074
SHA256 5cc73a90876494919e60db3c9e82217b20d2a76a5300ec61404d8bc4077325b9 gtk+-2.8.19.ebuild 4074
+EBUILD gtk+-2.8.20-r1.ebuild 4193 RMD160 f41fe879fb6897ee90c693fa92faf054087eec70 SHA1 bab69ff2b7ffd56921c08f8433bbddd97ce99cd9 SHA256 4bf50f2b0b77d1852ea73cdc80b85be8598c6ac23ec1a2fb49a293c0fb3a82f8
+MD5 6af97fada5377dcb8b52b3457d2b4bf9 gtk+-2.8.20-r1.ebuild 4193
+RMD160 f41fe879fb6897ee90c693fa92faf054087eec70 gtk+-2.8.20-r1.ebuild 4193
+SHA256 4bf50f2b0b77d1852ea73cdc80b85be8598c6ac23ec1a2fb49a293c0fb3a82f8 gtk+-2.8.20-r1.ebuild 4193
EBUILD gtk+-2.8.20.ebuild 4093 RMD160 1f0c2fefe58bd850a3ebeffb7701987b9f217855 SHA1 edf6f0c7226da60b4ba9c7233d6f33490c490a6f SHA256 4a41ab4a6e268f647b2d33630fcfcba9da1123244f4b46567b01c974dfcf5c40
MD5 ecf986f4a1c10ddd9650897755a8b5d8 gtk+-2.8.20.ebuild 4093
RMD160 1f0c2fefe58bd850a3ebeffb7701987b9f217855 gtk+-2.8.20.ebuild 4093
@@ -90,10 +91,14 @@ EBUILD gtk+-2.8.8.ebuild 4113 RMD160 2a0a497cc25fecdec658b444eacb1374e7491a36 SH
MD5 eae2dcc7f50ccdc71d375984f2104005 gtk+-2.8.8.ebuild 4113
RMD160 2a0a497cc25fecdec658b444eacb1374e7491a36 gtk+-2.8.8.ebuild 4113
SHA256 11c0c44d19b8efe7994af62a4bed7aec110cb69e2f3b8d0bdd72bbe7cfdfe121 gtk+-2.8.8.ebuild 4113
-MISC ChangeLog 35501 RMD160 14af259c5a992b80a520584a25ebc43dff0c2502 SHA1 76a3702063537627d13379db44ca3849f587ea01 SHA256 9db049e52ad99a1d2589862d3c61c713f013c3f7f812967e5bb588c340356266
-MD5 08bf6d694227c6f342dc96376a46a90a ChangeLog 35501
-RMD160 14af259c5a992b80a520584a25ebc43dff0c2502 ChangeLog 35501
-SHA256 9db049e52ad99a1d2589862d3c61c713f013c3f7f812967e5bb588c340356266 ChangeLog 35501
+MISC .gtk+-2.8.20-r1.ebuild.swp 16384 RMD160 8674935013885fc04e69c331f508caf2947f6e7f SHA1 2626565f08b641d1a8f074639308dee57d083320 SHA256 79ce80854df456c92bf4e4e1131133dce75aa7326efe0f5d28c27676bae5fcea
+MD5 36c322a1b63ad2f468f7926c651e6b81 .gtk+-2.8.20-r1.ebuild.swp 16384
+RMD160 8674935013885fc04e69c331f508caf2947f6e7f .gtk+-2.8.20-r1.ebuild.swp 16384
+SHA256 79ce80854df456c92bf4e4e1131133dce75aa7326efe0f5d28c27676bae5fcea .gtk+-2.8.20-r1.ebuild.swp 16384
+MISC ChangeLog 35722 RMD160 4b844a5222cbd8a8e335d7fec6ce2225e5b73c67 SHA1 6ab4757cc07a999b5aef2da5c0283f775da407c9 SHA256 bd029ef302f16a36424b879165369aa865f8e88a45305f2cf2c70ac62460e240
+MD5 9f64544f5fb22bf61a9765f2041212eb ChangeLog 35722
+RMD160 4b844a5222cbd8a8e335d7fec6ce2225e5b73c67 ChangeLog 35722
+SHA256 bd029ef302f16a36424b879165369aa865f8e88a45305f2cf2c70ac62460e240 ChangeLog 35722
MISC metadata.xml 424 RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 SHA1 2e7dc93c7931af2139609dfb75dd38101a45d62a SHA256 8b65272928e676824c407ed438004d9e5d50077a09beee0b60984eadb695bc2d
MD5 58b5c1a403ab43f5160c44c32761cbe0 metadata.xml 424
RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 metadata.xml 424
@@ -119,19 +124,15 @@ SHA256 b53b24818165462a5a77713bfcbb65e0d0da4474c15c19f346e595f1852e84b1 files/di
MD5 947f2b8fcdf106adff2488518fd43b26 files/digest-gtk+-2.8.18 244
RMD160 c5e50985cc890a51ab99e261389afa399ba9d05c files/digest-gtk+-2.8.18 244
SHA256 cf80659190cc030b5606ac8eb7d7b717fbbe8f25ce18f506168f91b71e65b87f files/digest-gtk+-2.8.18 244
-MD5 980589f9b9d65ae297e3161771506a39 files/digest-gtk+-2.8.19 244
-RMD160 0b62e1a84ab652bb3426f2ff4d89d7889eb7532c files/digest-gtk+-2.8.19 244
-SHA256 0be521aa113e9334cffe0bb4078bd8a363029c2a8ddae0b8005bbf2e3eb69f09 files/digest-gtk+-2.8.19 244
+MD5 480ab25af48c4ff67291ddff92910709 files/digest-gtk+-2.8.19 238
+RMD160 8dcfc69b2fbffb7101d14582593dc707bf856d0c files/digest-gtk+-2.8.19 238
+SHA256 cf11cd8d1043a2160b771f7ddf489975f8b9db54028e5eab5b35fc7453e364ff files/digest-gtk+-2.8.19 238
MD5 5987bda64cc0a2c5d968d200029e4f26 files/digest-gtk+-2.8.20 244
RMD160 ef26312aa81fad817ff4350262c7675927298af6 files/digest-gtk+-2.8.20 244
SHA256 87a06d8202ce31cb65090a54522b8c4cd3021dd5d5d42ff53ff22f754f9b2b97 files/digest-gtk+-2.8.20 244
+MD5 5987bda64cc0a2c5d968d200029e4f26 files/digest-gtk+-2.8.20-r1 244
+RMD160 ef26312aa81fad817ff4350262c7675927298af6 files/digest-gtk+-2.8.20-r1 244
+SHA256 87a06d8202ce31cb65090a54522b8c4cd3021dd5d5d42ff53ff22f754f9b2b97 files/digest-gtk+-2.8.20-r1 244
MD5 98f0c0090a29b1fd7fb4843cfff7c326 files/digest-gtk+-2.8.8 512
RMD160 53f899df61e1d373f54eabae144c940850d31164 files/digest-gtk+-2.8.8 512
SHA256 e263619d35ad46ec239b36623c4b6768ff50ae9e2cf4ad01d716e17f0608cd74 files/digest-gtk+-2.8.8 512
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFEu7o0omPajV0RnrERAiMvAJ9hu6XeHrfUXh1t8P+KBRpSIdgMigCfcv//
-fsoTY5si/9VrHfEBNHlgBYg=
-=1UIX
------END PGP SIGNATURE-----
diff --git a/x11-libs/gtk+/files/digest-gtk+-2.8.19 b/x11-libs/gtk+/files/digest-gtk+-2.8.19
index 88a05ae8d39a..d106ee9f297d 100644
--- a/x11-libs/gtk+/files/digest-gtk+-2.8.19
+++ b/x11-libs/gtk+/files/digest-gtk+-2.8.19
@@ -1,3 +1,3 @@
-MD5 1a03dbed4b794194a610e9d7eb175b06 gtk+-2.8.19.tar.bz2 12303676
-RMD160 9d74e7a19f2da0361dd731757310abe1f4c08555 gtk+-2.8.19.tar.bz2 12303676
-SHA256 ccdf52c74ed9902dda6e18923d1fd6fc9c9d48821bf79c4e354d181ff074fdf8 gtk+-2.8.19.tar.bz2 12303676
+MD5 3ad335094faebc2ad2e483968afa9e63 gtk+-2.8.19.tar.bz2 313941
+RMD160 f8157235edbfe58492f83df11fb0ee9a009a5e96 gtk+-2.8.19.tar.bz2 313941
+SHA256 81759bba195ad5afd12a2e2956a0c583c9d1ff70fe2ff92d1a007a944c43b1fb gtk+-2.8.19.tar.bz2 313941
diff --git a/x11-libs/gtk+/files/digest-gtk+-2.8.20-r1 b/x11-libs/gtk+/files/digest-gtk+-2.8.20-r1
new file mode 100644
index 000000000000..18c0a050ea7b
--- /dev/null
+++ b/x11-libs/gtk+/files/digest-gtk+-2.8.20-r1
@@ -0,0 +1,3 @@
+MD5 74e7ca98194f1fadfe906e66d763d05d gtk+-2.8.20.tar.bz2 12247295
+RMD160 d20254de9e5b37b19f432758fbd78fff4c6baf1e gtk+-2.8.20.tar.bz2 12247295
+SHA256 69a9b6c1e78da7e71416f20fab0c4972503139406e89ce7fbdbac0e213b16b79 gtk+-2.8.20.tar.bz2 12247295
diff --git a/x11-libs/gtk+/gtk+-2.10.0.ebuild b/x11-libs/gtk+/gtk+-2.10.0.ebuild
index 6636ba47cbf8..284847659aaa 100644
--- a/x11-libs/gtk+/gtk+-2.10.0.ebuild
+++ b/x11-libs/gtk+/gtk+-2.10.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.10.0.ebuild,v 1.4 2006/07/08 09:27:42 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.10.0.ebuild,v 1.5 2006/07/18 19:13:57 allanonjl Exp $
inherit gnome.org flag-o-matic eutils debug autotools virtualx
@@ -130,6 +130,9 @@ src_install() {
dodir ${GTK2_CONFDIR}
keepdir ${GTK2_CONFDIR}
+ # see bug #133241
+ echo 'gtk-fallback-icon-theme = "gnome"' > ${D}/${GTK2_CONFDIR}/gtkrc
+
# Enable xft in environment as suggested by <utx@gentoo.org>
dodir /etc/env.d
echo "GDK_USE_XFT=1" > ${D}/etc/env.d/50gtk2
diff --git a/x11-libs/gtk+/gtk+-2.8.20-r1.ebuild b/x11-libs/gtk+/gtk+-2.8.20-r1.ebuild
new file mode 100644
index 000000000000..90b01d2a28da
--- /dev/null
+++ b/x11-libs/gtk+/gtk+-2.8.20-r1.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.8.20-r1.ebuild,v 1.1 2006/07/18 19:13:57 allanonjl Exp $
+
+inherit gnome.org flag-o-matic eutils debug autotools virtualx
+
+DESCRIPTION="Gimp ToolKit +"
+HOMEPAGE="http://www.gtk.org/"
+
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc jpeg tiff xinerama"
+
+RDEPEND="|| ( (
+ x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+ x11-libs/libXfixes
+ xinerama? ( x11-libs/libXinerama ) )
+ virtual/x11 )
+ >=dev-libs/glib-2.10.1
+ >=x11-libs/pango-1.9
+ >=dev-libs/atk-1.10.1
+ >=x11-libs/cairo-0.9.2
+ media-libs/fontconfig
+ x11-misc/shared-mime-info
+ >=media-libs/libpng-1.2.1
+ jpeg? ( >=media-libs/jpeg-6b-r2 )
+ tiff? ( >=media-libs/tiff-3.5.7 )"
+
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ >=dev-util/pkgconfig-0.9
+ =sys-devel/automake-1.7*
+ || ( (
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-proto/inputproto
+ xinerama? ( x11-proto/xineramaproto ) )
+ virtual/x11 )
+ doc? (
+ >=dev-util/gtk-doc-1.4
+ ~app-text/docbook-xml-dtd-4.1.2 )"
+
+RESTRICT="confcache"
+
+pkg_setup() {
+
+ if ! built_with_use x11-libs/cairo X; then
+ einfo "Please re-emerge x11-libs/cairo with the X USE flag set"
+ die "cairo needs the X flag set"
+ fi
+
+}
+
+set_gtk2_confdir() {
+ # An arch specific config directory is used on multilib systems
+ has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
+ use x86 && [ "$(get_libdir)" == "lib32" ] && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
+ GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0}
+}
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+
+ # Optionalize xinerama support
+ epatch "${FILESDIR}"/${PN}-2.8.10-xinerama.patch
+
+ # use an arch-specific config directory so that 32bit and 64bit versions
+ # dont clash on multilib systems
+ has_multilib_profile && epatch "${FILESDIR}"/${PN}-2.8.0-multilib.patch
+
+ # and this line is just here to make building emul-linux-x86-gtklibs a bit
+ # easier, so even this should be amd64 specific.
+ if use x86 && [ "$(get_libdir)" == "lib32" ]; then
+ epatch "${FILESDIR}"/${PN}-2.8.0-multilib.patch
+ fi
+
+ use ppc64 && append-flags -mminimal-toc
+
+ # remember, eautoreconf applies elibtoolize.
+ # if you remove this, you should manually run elibtoolize
+ export WANT_AUTOMAKE=1.7
+ cp aclocal.m4 old_macros.m4
+ AT_M4DIR="."
+ eautoreconf
+
+ epunt_cxx
+
+}
+
+src_compile() {
+
+ # png always on to display icons (foser)
+ local myconf="$(use_enable doc gtk-doc) \
+ $(use_with jpeg libjpeg) \
+ $(use_with tiff libtiff) \
+ $(use_enable xinerama) \
+ --with-libpng \
+ --with-gdktarget=x11 \
+ --with-xinput"
+
+ # Passing --disable-debug is not recommended for production use
+ use debug && myconf="${myconf} --enable-debug=yes"
+
+ econf ${myconf} || die "./configure failed to run"
+
+ emake || die "gtk+ failed to compile"
+}
+
+src_test() {
+
+ Xmake check || die
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" install || die "Installation failed"
+
+ set_gtk2_confdir
+ dodir ${GTK2_CONFDIR}
+ keepdir ${GTK2_CONFDIR}
+
+ # # see bug #133241
+ echo 'gtk-fallback-icon-theme = "gnome"' > ${D}/${GTK2_CONFDIR}/gtkrc
+
+ # Enable xft in environment as suggested by <utx@gentoo.org>
+ dodir /etc/env.d
+ echo "GDK_USE_XFT=1" > ${D}/etc/env.d/50gtk2
+
+ dodoc AUTHORS ChangeLog* HACKING NEWS* README*
+
+}
+
+pkg_postinst() {
+
+ set_gtk2_confdir
+
+ if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then
+ gtk-query-immodules-2.0 > ${ROOT}${GTK2_CONFDIR}/gtk.immodules
+ gdk-pixbuf-query-loaders > ${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders
+ else
+ ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;"
+ ewarn "to complete the installation of GTK+, please create the"
+ ewarn "directory and then manually run:"
+ ewarn " cd ${ROOT}${GTK2_CONFDIR}"
+ ewarn " gtk-query-immodules-2.0 > gtk.immodules"
+ ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders"
+ fi
+
+ einfo "If you experience text corruption issues, turn off RenderAccel"
+ einfo "in your xorg.conf. NVIDIA is working on this issue. "
+ einfo "See http://bugs.gentoo.org/113123 for more information."
+
+}