+-----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
MD5 cd1c96c0a81026a3af29449389e455d5 files/gtk+-2-xpm_loader.patch 920
RMD160 08e77b9df95557e874a193dd45aad84835a2c281 files/gtk+-2-xpm_loader.patch 920
SHA256 ee01227c6dae5041040aac8d43c16b689cca197ea1fca62401e5011623ee832c files/gtk+-2-xpm_loader.patch 920
-AUX gtk+-2.10.5-buildfile_typo.patch 737 RMD160 bcdfaa61cd69d4fe17d9d59ab7c78576d7978992 SHA1 ba0adb2157633451aef757d91acb316a05b89e51 SHA256 e83c2b03599550327e8032fa85a29aa6b3b45b9316cb713f3f8049aa4e013101
-MD5 6d15fe5a9124eedcbbbee109bf7e8839 files/gtk+-2.10.5-buildfile_typo.patch 737
-RMD160 bcdfaa61cd69d4fe17d9d59ab7c78576d7978992 files/gtk+-2.10.5-buildfile_typo.patch 737
-SHA256 e83c2b03599550327e8032fa85a29aa6b3b45b9316cb713f3f8049aa4e013101 files/gtk+-2.10.5-buildfile_typo.patch 737
AUX gtk+-2.2.1-disable_icons_smooth_alpha.patch 1383 RMD160 f2557ee984df766bce0b5e5ea8c41962a2ccff13 SHA1 5be2ba7cdac1bf48fdca5dc49d2adf96480452f0 SHA256 f4b916c7d26ba60b5d5af63ff694a5203f0dcd31b7310fb375c324fc1df72e05
MD5 d94ff41d82a8f0c56dd68a2fa71ef2fc files/gtk+-2.2.1-disable_icons_smooth_alpha.patch 1383
RMD160 f2557ee984df766bce0b5e5ea8c41962a2ccff13 files/gtk+-2.2.1-disable_icons_smooth_alpha.patch 1383
DIST gtk+-1.2.10-r8-gentoo.diff.bz2 81223 RMD160 fa41bb12e41f0c60c605dbeac03a1aaa905f4333 SHA1 7350d1ed147e52ddc870a4d4b52073f7407d9f0d SHA256 517bdadbaa0e13285b2d72a667b311219342306d4f68d838c3c1dbc5bfbf1684
DIST gtk+-1.2.10.tar.gz 2868322 RMD160 9b38310d2768e947c4f6173db009243dd11db288 SHA1 a5adcb909257da01ae4d4761e1d41081d06e4d7c SHA256 3fb843ea671c89b909fd145fa09fd2276af3312e58cbab29ed1c93b462108c34
DIST gtk+-2-smoothscroll-r6.patch.bz2 3718 RMD160 0acbd1a78a1abf6147af0dfe91b96becd1f0f107 SHA1 7735c1d49e87a2bfce9537224c4c3da5c40647aa SHA256 43d20bd59448bf5d8daa90cc384830fe1f046889b83552fc417669c2fdff168e
-DIST gtk+-2.10.4.tar.bz2 14611916 RMD160 dcaf1d4b1439f47d7b5de9c71150cf71e5ac25c0 SHA1 80dc1cfa86c3db8bfc9d60d64f4868091f6140bb SHA256 39b0dd1a9a326447d708837d88ea50ca2f9914bacb6b434ba8b6713e229f7553
-DIST gtk+-2.10.5.tar.bz2 14558020 RMD160 8ac88a11664badc045477638e09fde1c005e764e SHA1 ba31cb4f7f40490858658f23dce948e3d9a9bbae SHA256 37cfbb70e3af5db122b893f43a5ba0c4debfc1772906441d72fc7df1a25a2ec2
+DIST gtk+-2.10.6.tar.bz2 14561124 RMD160 929386610a634e82b7ddb10f43930b27194fa67b SHA1 aad6e1ef964d8acb8a04942b8dd2e00a9db56450 SHA256 ca98edcea2034ab36c1024121a44d047de192d282127c8f8b77d14afba0ca468
DIST gtk+-2.6-smoothscroll-r5.patch.bz2 3758 RMD160 b1db44f5055cef48239f69620e0bc13b1dccc139 SHA1 4ee4af7ebb1e013b14afeac94e8bd14b12badd58 SHA256 1322ed086c0b7353c5a28f23fe422ab23fd553ca8f3047b47fe5ae9a69c6c5eb
DIST gtk+-2.6.1-lib64.patch.bz2 6047 RMD160 0ce3bf05fe59910ea019b4157dd1066367df2af6 SHA1 4a83215ef6a420db5f8080288567437941f72daf SHA256 fe171fc78e10f49ff69c2db424b816a331e21f362aef55b8624031c53ebcfc72
DIST gtk+-2.6.10.tar.bz2 11521380 RMD160 5bb2e4de406e0e6ccf5c66ec48f6ba3e5b0911ff SHA1 9ba627683e0dc4bceb5fb900c1ee687638d95fcd SHA256 d408b606c8dd414dfbf220ccc168a0bc85a419945439796792a5357a96ff02af
MD5 33fc3c39c1e436bb8892aa0bb20bf561 gtk+-1.2.10-r12.ebuild 2354
RMD160 0fa6d9500bf8277699e49209e365915ca87201c4 gtk+-1.2.10-r12.ebuild 2354
SHA256 844cba813825d6de0af2762ab3bf7d4a4158ad3b6ba56080d3a99aafb3f178c9 gtk+-1.2.10-r12.ebuild 2354
-EBUILD gtk+-2.10.4.ebuild 4449 RMD160 ba41a7fc753ae392d467ced484d6fbee92ad65c3 SHA1 7e8c2deb0aa6b196cb3b0bddb73c40435606d652 SHA256 334416afadbccf2d13054d20c36c486d7ef9c42ae9e8a7e681e65ca103b582e1
-MD5 805d428538cda4ba9d517211656610d9 gtk+-2.10.4.ebuild 4449
-RMD160 ba41a7fc753ae392d467ced484d6fbee92ad65c3 gtk+-2.10.4.ebuild 4449
-SHA256 334416afadbccf2d13054d20c36c486d7ef9c42ae9e8a7e681e65ca103b582e1 gtk+-2.10.4.ebuild 4449
-EBUILD gtk+-2.10.5.ebuild 4548 RMD160 a609b32ac2beb8ce3e62b1bca64756a347e208ad SHA1 a1b83c3ba290b8b6bd73f373500c89dc874b6af4 SHA256 ab42bfb25bb07cf084c08623ed622835b4ddb50a6fbd6fca4d64efe93bfceda2
-MD5 cbaa24cb2c1b03567517b5e4328e3a12 gtk+-2.10.5.ebuild 4548
-RMD160 a609b32ac2beb8ce3e62b1bca64756a347e208ad gtk+-2.10.5.ebuild 4548
-SHA256 ab42bfb25bb07cf084c08623ed622835b4ddb50a6fbd6fca4d64efe93bfceda2 gtk+-2.10.5.ebuild 4548
+EBUILD gtk+-2.10.6.ebuild 4449 RMD160 e635e7f8193ac2db60d610ebe5b0bfc90b5023a5 SHA1 aa520b3905c27886cdf6ee0856285c9858e2f2f2 SHA256 77c4f3963b459a1f50e6a9bcf687b48c599a7964abd1d70b5d07d5817cbdbcba
+MD5 6d29bc13861093c94f008ed05d90bac2 gtk+-2.10.6.ebuild 4449
+RMD160 e635e7f8193ac2db60d610ebe5b0bfc90b5023a5 gtk+-2.10.6.ebuild 4449
+SHA256 77c4f3963b459a1f50e6a9bcf687b48c599a7964abd1d70b5d07d5817cbdbcba gtk+-2.10.6.ebuild 4449
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
MD5 289a17f5d4f54f223c4f338adaeb8e31 gtk+-2.8.8.ebuild 4109
RMD160 396d41d934218c3b9bda5179aba2e9fd428a91c5 gtk+-2.8.8.ebuild 4109
SHA256 902cf9ca730823912e322e8ddd8357f2f5609ad14f118cf7c24e5bde966dd3bc gtk+-2.8.8.ebuild 4109
-MISC ChangeLog 38763 RMD160 066bd1d5641e5e0a691036f772c43cdbc9d3504a SHA1 e7f71bd1f6c3c771bfe2723d402eb780353e36a8 SHA256 249a4ceb071c5b1ff291d6f41a2a2d6d0e88b1a95390e60851f4edeb465379e9
-MD5 21eb06d9b43a447bc6cd412d6194f31b ChangeLog 38763
-RMD160 066bd1d5641e5e0a691036f772c43cdbc9d3504a ChangeLog 38763
-SHA256 249a4ceb071c5b1ff291d6f41a2a2d6d0e88b1a95390e60851f4edeb465379e9 ChangeLog 38763
+MISC ChangeLog 38977 RMD160 920c2f47cd3fbce510729ec0fbfa8e123a6af26e SHA1 b5d98d78ac4cecbf74a1f9051bc6eaf566980044 SHA256 8c43e29f4c8cfa33e7ef308131c7e8278b12569b64724c461d1f36c458ececa9
+MD5 56785ba55c352840ad64e95354edc100 ChangeLog 38977
+RMD160 920c2f47cd3fbce510729ec0fbfa8e123a6af26e ChangeLog 38977
+SHA256 8c43e29f4c8cfa33e7ef308131c7e8278b12569b64724c461d1f36c458ececa9 ChangeLog 38977
MISC metadata.xml 424 RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 SHA1 2e7dc93c7931af2139609dfb75dd38101a45d62a SHA256 8b65272928e676824c407ed438004d9e5d50077a09beee0b60984eadb695bc2d
MD5 58b5c1a403ab43f5160c44c32761cbe0 metadata.xml 424
RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 metadata.xml 424
MD5 9a443de5999df036ffd6e66f5b0f83ce files/digest-gtk+-1.2.10-r12 506
RMD160 45ddc3e7c5ca97084139787b6be318498a9965db files/digest-gtk+-1.2.10-r12 506
SHA256 4bd7f7ef31547e6dabca532b07bc6be7e37c96d234abd2818afbb85d725aed47 files/digest-gtk+-1.2.10-r12 506
-MD5 97cfb3d43bffa617ed419fffd04bfdab files/digest-gtk+-2.10.4 244
-RMD160 1f04beedf01286895eb442c55be6f00937281eb9 files/digest-gtk+-2.10.4 244
-SHA256 19b134b66c7db04d4c689b2fcf169eca3a3a14dad39d785d9d1749dcc952f3df files/digest-gtk+-2.10.4 244
-MD5 be482dc6e69de448be28840c87844d80 files/digest-gtk+-2.10.5 244
-RMD160 ca771ce7b83d5c948c9fe947d80701d07e0517b0 files/digest-gtk+-2.10.5 244
-SHA256 7cbf87712a3f4b9e0226db4928e4fd0b3dd3c2ef3f8d50356b32663b691334f2 files/digest-gtk+-2.10.5 244
+MD5 c8326ddbc6cc256207f438f1907fc185 files/digest-gtk+-2.10.6 244
+RMD160 52d7da5456f30a8fef7f96c0eca54f3c6c63a260 files/digest-gtk+-2.10.6 244
+SHA256 55bbe220e1f771910fc8c1bbaae3a8a5d984af059306f8904ed77a0e76e1947b files/digest-gtk+-2.10.6 244
MD5 4db8c558f465f191df15e6d4b6198e6b files/digest-gtk+-2.6.10-r1 774
RMD160 b07163c72c7096fb0f6fae53857bfce45994af49 files/digest-gtk+-2.6.10-r1 774
SHA256 219aadd2affc04b82e80378f93bc4acbb03123573cc4e16c2f3366c20e4854cf files/digest-gtk+-2.6.10-r1 774
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.5 (GNU/Linux)
+
+iD8DBQFFKDTqkeYb6olFHJcRAsTPAJ9opLPn1QuU1NqNuFnaiNOla//MRwCfWz01
+tfOuqMnNcdBObv6ff5UlXjo=
+=vteA
+-----END PGP SIGNATURE-----
+++ /dev/null
-MD5 ecfcbdc0d23eb7a596b1d58b48838b18 gtk+-2.10.4.tar.bz2 14611916
-RMD160 dcaf1d4b1439f47d7b5de9c71150cf71e5ac25c0 gtk+-2.10.4.tar.bz2 14611916
-SHA256 39b0dd1a9a326447d708837d88ea50ca2f9914bacb6b434ba8b6713e229f7553 gtk+-2.10.4.tar.bz2 14611916
+++ /dev/null
-MD5 af15a744c3e90d41021a5d3c9f364ba2 gtk+-2.10.5.tar.bz2 14558020
-RMD160 8ac88a11664badc045477638e09fde1c005e764e gtk+-2.10.5.tar.bz2 14558020
-SHA256 37cfbb70e3af5db122b893f43a5ba0c4debfc1772906441d72fc7df1a25a2ec2 gtk+-2.10.5.tar.bz2 14558020
+++ /dev/null
-http://bugzilla.gnome.org/show_bug.cgi?id=358931
-
-diff -Nru gtk+-2.10.5.orig/gtk/Makefile.am gtk+-2.10.5/gtk/Makefile.am
---- gtk+-2.10.5.orig/gtk/Makefile.am 2006-10-02 06:06:53.000000000 +0200
-+++ gtk+-2.10.5/gtk/Makefile.am 2006-10-02 09:54:53.000000000 +0200
-@@ -1104,7 +1104,7 @@
- && $(LN_S) gtk-goto-first-ltr.png gtk-goto-last-rtl.png \
- && $(RM) gtk-media-forward-rtl.png \
- && $(LN_S) gtk-media-rewind-ltr.png gtk-media-forward-rtl.png \
-- && $(RM) gtk-mdedia-next-rtl.png \
-+ && $(RM) gtk-media-next-rtl.png \
- && $(LN_S) gtk-media-previous-ltr.png gtk-media-next-rtl.png \
- && $(RM) gtk-media-previous-rtl.png \
- && $(LN_S) gtk-media-next-ltr.png gtk-media-previous-rtl.png \
+++ /dev/null
-# 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.4.ebuild,v 1.1 2006/09/28 16:28:24 leio 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 )
- >=dev-libs/glib-2.12.1
- >=x11-libs/pango-1.12.0
- >=dev-libs/atk-1.10.1
- >=x11-libs/cairo-1.2.0
- 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
- x11-proto/xineramaproto
- 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 pdf ; then
- einfo "Please re-emerge x11-libs/cairo with the X and pdf USE flag set"
- die "cairo needs the X and pdf 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
-
- # -O3 and company cause random crashes in applications. Bug #133469
- replace-flags -O3 -O2
- strip-flags
-
- 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"
-
- emake || die "compile failed"
-}
-
-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."
-
- if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then
- elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]*
- elog "to do that you can use qfile from portage-utils:"
- elog "emerge -va1 \$(qfile -qC" /usr/lib/gtk-2.0/2.[^1]* ")"
- fi
-}
+++ /dev/null
-# 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.5.ebuild,v 1.1 2006/10/02 16:54:26 leio 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 )
- >=dev-libs/glib-2.12.1
- >=x11-libs/pango-1.12.0
- >=dev-libs/atk-1.10.1
- >=x11-libs/cairo-1.2.0
- 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
- x11-proto/xineramaproto
- 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 pdf ; then
- einfo "Please re-emerge x11-libs/cairo with the X and pdf USE flag set"
- die "cairo needs the X and pdf 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
-
- # Fix typo in 2.10.5 that leads to build failure
- epatch "${FILESDIR}"/${P}-buildfile_typo.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
-
- # -O3 and company cause random crashes in applications. Bug #133469
- replace-flags -O3 -O2
- strip-flags
-
- 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"
-
- emake || die "compile failed"
-}
-
-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."
-
- if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then
- elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]*
- elog "to do that you can use qfile from portage-utils:"
- elog "emerge -va1 \$(qfile -qC" /usr/lib/gtk-2.0/2.[^1]* ")"
- fi
-}