From: Mart Raudsepp Date: Tue, 9 Jan 2007 04:10:15 +0000 (+0000) Subject: Remove some old versions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d139da752f4ac006cdcd132a903de338973080b1;p=gentoo.git Remove some old versions Package-Manager: portage-2.1.2_rc4-r7 --- diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest index d406740b59d1..c8f1e8d74415 100644 --- a/x11-libs/gtk+/Manifest +++ b/x11-libs/gtk+/Manifest @@ -1,3 +1,6 @@ +-----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 @@ -30,25 +33,18 @@ AUX gtk+-2.8.10-xinerama.patch 1083 RMD160 499801f3be2289bdc656563bb5c96797d1451 MD5 8289aa1fb556b38e9fb2f9201a065755 files/gtk+-2.8.10-xinerama.patch 1083 RMD160 499801f3be2289bdc656563bb5c96797d14512f7 files/gtk+-2.8.10-xinerama.patch 1083 SHA256 7786691d5f89588abc7174e97cbd374d8cbe98b4e8dfd27005eade03b047aa2d files/gtk+-2.8.10-xinerama.patch 1083 -AUX gtk+-gdk-pixbuf-testfix.patch 578 RMD160 317120af2683d5ac6119a89745b38f71b0581e40 SHA1 19117bf9b667799dce0f319a76354ab615125cec SHA256 f1fb49b3a93db10bdf6f29a641d5bdb6ebb96956623f0492a52efebdfa238fb2 -MD5 9ea5c063ade44a46b279eab398fc969a files/gtk+-gdk-pixbuf-testfix.patch 578 -RMD160 317120af2683d5ac6119a89745b38f71b0581e40 files/gtk+-gdk-pixbuf-testfix.patch 578 -SHA256 f1fb49b3a93db10bdf6f29a641d5bdb6ebb96956623f0492a52efebdfa238fb2 files/gtk+-gdk-pixbuf-testfix.patch 578 AUX gtkrc 627 RMD160 3171e0c9132bb2a9119c51750702db23c4a5f076 SHA1 cdb4665e94e1b9e8bc3985390eecca463469c3b3 SHA256 22e4197e5976ed623233399049082383033b613176d77126d246a1f6cb747294 MD5 36d00cf3b4035e6cb9873ade9ed1a9ce files/gtkrc 627 RMD160 3171e0c9132bb2a9119c51750702db23c4a5f076 files/gtkrc 627 SHA256 22e4197e5976ed623233399049082383033b613176d77126d246a1f6cb747294 files/gtkrc 627 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.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 -DIST gtk+-2.8.12.tar.bz2 12004253 RMD160 e64d984029cc488f65465ecebc501d4a06968995 SHA1 74c6b6c0623de37c1d8adf3d1b1860d826075785 SHA256 5a0cb101fe9a8751e07bf11a1ddc99cae76fa652f9d7370ab6d8a8b62852479c DIST gtk+-2.8.19.tar.bz2 12303676 RMD160 9d74e7a19f2da0361dd731757310abe1f4c08555 SHA1 5108749bdd2f3ab0b500cec879a0f421a548ca35 SHA256 ccdf52c74ed9902dda6e18923d1fd6fc9c9d48821bf79c4e354d181ff074fdf8 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-r11.ebuild 2033 RMD160 24ec6feebfce673f0a81af1905963741f8e073de SHA1 a2d36149fb707fe5cb82a85f01d628d482ee6162 SHA256 b581707ebeb94e69954bd080234d2667b8e8c9aa90b933df8c8677d41628b697 MD5 2f736fc4a5ca2d7d68e746063414ea85 gtk+-1.2.10-r11.ebuild 2033 RMD160 24ec6feebfce673f0a81af1905963741f8e073de gtk+-1.2.10-r11.ebuild 2033 @@ -65,10 +61,6 @@ EBUILD gtk+-2.6.10-r1.ebuild 3455 RMD160 63997fee767bbb4ddc7d978374c7d9fbe73bf6b MD5 16ca62398139ea671319657720b6fc8b gtk+-2.6.10-r1.ebuild 3455 RMD160 63997fee767bbb4ddc7d978374c7d9fbe73bf6ba gtk+-2.6.10-r1.ebuild 3455 SHA256 d58bd7ffe27a02b4c4cf71dd16dcc6c7116723b36df0d15519846b19549ade2e gtk+-2.6.10-r1.ebuild 3455 -EBUILD gtk+-2.8.12.ebuild 3924 RMD160 bf821d356732275ec2e21ab8335db3108917240a SHA1 c2ec6257ee727e7568452081ff12f78a89867bb0 SHA256 0ad15a2b135b23eaafe62bcbda507904d9150922495df245aecd064e40b56278 -MD5 950aa115d23e8c346eceb33f1ada3498 gtk+-2.8.12.ebuild 3924 -RMD160 bf821d356732275ec2e21ab8335db3108917240a gtk+-2.8.12.ebuild 3924 -SHA256 0ad15a2b135b23eaafe62bcbda507904d9150922495df245aecd064e40b56278 gtk+-2.8.12.ebuild 3924 EBUILD gtk+-2.8.19.ebuild 3973 RMD160 e2be851a8374f7efa8d3c40ba94c451033069023 SHA1 449620cc4422974dfd110a702e7d871a7524ac1f SHA256 e9f81e61998f0181ba55e750a05fe4b66f59e41b72a6b40b3b1aac699cfc7915 MD5 ddea369a762a3889db697a63f6b275ee gtk+-2.8.19.ebuild 3973 RMD160 e2be851a8374f7efa8d3c40ba94c451033069023 gtk+-2.8.19.ebuild 3973 @@ -77,14 +69,10 @@ EBUILD gtk+-2.8.20-r1.ebuild 4092 RMD160 63a741c0bbf75fe549277f5cad36d2b21d7afe7 MD5 cd6eb30366994c8450fa9359d2d4fcd5 gtk+-2.8.20-r1.ebuild 4092 RMD160 63a741c0bbf75fe549277f5cad36d2b21d7afe71 gtk+-2.8.20-r1.ebuild 4092 SHA256 10933d9f04fc0124a446e88fd29892fdb9c2c737b0604d74eae3df8bc4d8b4e1 gtk+-2.8.20-r1.ebuild 4092 -EBUILD gtk+-2.8.8.ebuild 3908 RMD160 42efecbb65c7dfa5e51300f9ee03c2a407e6b5d9 SHA1 c1bf448b842f371e41a379b2b8fd408eb4762ffe SHA256 85a40cdb6e54239fd65f997550b6f72b83fd8c9c21f09cad596ddc1dc04ac9ab -MD5 ba72422e3919a0a90996ec5c008a5129 gtk+-2.8.8.ebuild 3908 -RMD160 42efecbb65c7dfa5e51300f9ee03c2a407e6b5d9 gtk+-2.8.8.ebuild 3908 -SHA256 85a40cdb6e54239fd65f997550b6f72b83fd8c9c21f09cad596ddc1dc04ac9ab gtk+-2.8.8.ebuild 3908 -MISC ChangeLog 41520 RMD160 77ef4741091a46c1db0a6a8d39df1781fa684b43 SHA1 50465eee8163e9ba34fba8d325ebe61fa30814c5 SHA256 89a6f8736e762188a774569a647159d4d270abe80c8f337d9a52e680f78fd22e -MD5 a84d4121dd2004c5bc540a3efc03d74a ChangeLog 41520 -RMD160 77ef4741091a46c1db0a6a8d39df1781fa684b43 ChangeLog 41520 -SHA256 89a6f8736e762188a774569a647159d4d270abe80c8f337d9a52e680f78fd22e ChangeLog 41520 +MISC ChangeLog 41676 RMD160 e2c2927e03632699249fc65679db3f30cde3f677 SHA1 7fbb6501d5a8fbc98bb05f2ecef386e3f6fd66e0 SHA256 9450760355d938e9974a42a45e2716288b87f971a9811094b9edb1d243ac0a24 +MD5 fed55ec26cf351e989aa03d61be710ab ChangeLog 41676 +RMD160 e2c2927e03632699249fc65679db3f30cde3f677 ChangeLog 41676 +SHA256 9450760355d938e9974a42a45e2716288b87f971a9811094b9edb1d243ac0a24 ChangeLog 41676 MISC metadata.xml 424 RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 SHA1 2e7dc93c7931af2139609dfb75dd38101a45d62a SHA256 8b65272928e676824c407ed438004d9e5d50077a09beee0b60984eadb695bc2d MD5 58b5c1a403ab43f5160c44c32761cbe0 metadata.xml 424 RMD160 b1748199254d5d0f0db468fdec36f07bb75a3231 metadata.xml 424 @@ -101,15 +89,16 @@ SHA256 55bbe220e1f771910fc8c1bbaae3a8a5d984af059306f8904ed77a0e76e1947b files/di 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 be842969da937e925b030650993d5c31 files/digest-gtk+-2.8.12 244 -RMD160 3888ef99bedbae32756eb61af0b27cde0a94bc0e files/digest-gtk+-2.8.12 244 -SHA256 a1440ed953deaeb9229d10d53aaf9fc7d4b36375696ab4581deba5912a22a624 files/digest-gtk+-2.8.12 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 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.6 (GNU/Linux) + +iD8DBQFFoxT1keYb6olFHJcRAi5oAJ4p/zox1FZRE9tOD8OXIarAD2MUTgCfeHNy +2EEk7EQpBTxD0OSHMq8YNsQ= +=Cbt0 +-----END PGP SIGNATURE----- diff --git a/x11-libs/gtk+/files/digest-gtk+-2.8.12 b/x11-libs/gtk+/files/digest-gtk+-2.8.12 deleted file mode 100644 index 9eae445eb1d4..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.8.12 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 bdd3b950e4a3c65d61bceed9149888a9 gtk+-2.8.12.tar.bz2 12004253 -RMD160 e64d984029cc488f65465ecebc501d4a06968995 gtk+-2.8.12.tar.bz2 12004253 -SHA256 5a0cb101fe9a8751e07bf11a1ddc99cae76fa652f9d7370ab6d8a8b62852479c gtk+-2.8.12.tar.bz2 12004253 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.8.8 b/x11-libs/gtk+/files/digest-gtk+-2.8.8 deleted file mode 100644 index 92f7049a84a0..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.8.8 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 0c7c66269cbac694971341dd2b2adf3d gtk+-2-smoothscroll-r6.patch.bz2 3718 -RMD160 0acbd1a78a1abf6147af0dfe91b96becd1f0f107 gtk+-2-smoothscroll-r6.patch.bz2 3718 -SHA256 43d20bd59448bf5d8daa90cc384830fe1f046889b83552fc417669c2fdff168e gtk+-2-smoothscroll-r6.patch.bz2 3718 -MD5 a048757bbe37f74d0de065aa0ac29c52 gtk+-2.8.8.tar.bz2 11902480 -RMD160 7775dfe502f6b478b5e5764917cfc7668d574065 gtk+-2.8.8.tar.bz2 11902480 -SHA256 d1bf51735fa7535c72ba034d99880016c8349f2e8026d72c40a7eb57a3ce2bb8 gtk+-2.8.8.tar.bz2 11902480 diff --git a/x11-libs/gtk+/files/gtk+-gdk-pixbuf-testfix.patch b/x11-libs/gtk+/files/gtk+-gdk-pixbuf-testfix.patch deleted file mode 100644 index f4371243e000..000000000000 --- a/x11-libs/gtk+/files/gtk+-gdk-pixbuf-testfix.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- gtk+-2.8.10/gdk-pixbuf/abicheck.sh 2005-08-07 09:47:25.000000000 -0400 -+++ gtk+-2.8.10.new/gdk-pixbuf/abicheck.sh 2006-01-12 18:56:04.000000000 -0500 -@@ -1,5 +1,5 @@ - #! /bin/sh - - cpp -DINCLUDE_VARIABLES -P -DALL_FILES ${srcdir:-.}/gdk-pixbuf.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi --nm -D .libs/libgdk_pixbuf-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi -+nm -D .libs/libgdk_pixbuf-2.0.so | grep " [GBDTR] " | cut -d ' ' -f 3 | sort > actual-abi - diff -u expected-abi actual-abi && rm expected-abi actual-abi diff --git a/x11-libs/gtk+/gtk+-2.8.12.ebuild b/x11-libs/gtk+/gtk+-2.8.12.ebuild deleted file mode 100644 index 7cbd8ad633de..000000000000 --- a/x11-libs/gtk+/gtk+-2.8.12.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.8.12.ebuild,v 1.14 2007/01/05 04:07:43 flameeyes Exp $ - -inherit gnome.org flag-o-matic eutils autotools - -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" -IUSE="debug doc jpeg tiff xinerama" - -RDEPEND="|| ( ( - x11-libs/libXrender - x11-libs/libX11 - x11-libs/libXi - x11-libs/libXt - x11-libs/libXext - xinerama? ( x11-libs/libXinerama ) - x11-libs/libXcursor - x11-libs/libXrandr - x11-libs/libXfixes ) - virtual/x11 ) - - >=dev-libs/glib-2.8.5 - >=x11-libs/pango-1.9 - >=dev-libs/atk-1.10.1 - >=x11-libs/cairo-0.9.2 - x11-misc/shared-mime-info - >=media-libs/libpng-1.2.1 - media-libs/fontconfig - jpeg? ( >=media-libs/jpeg-6b-r2 ) - tiff? ( >=media-libs/tiff-3.5.7 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.9 - sys-devel/autoconf - >=sys-devel/automake-1.7.9 - - || ( ( - 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 )" - - -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}" - - # beautifying patch for disabled icons - epatch "${FILESDIR}"/${PN}-2.2.1-disable_icons_smooth_alpha.patch - - # Make xinerama support optional - 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 - cp aclocal.m4 old_macros.m4 - AT_M4DIR="." - eautoreconf - #autoconf || die "autoconf failed" - #automake || die "automake failed" - - epunt_cxx -} - -src_compile() { - 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_install() { - make DESTDIR="${D}" install || die "Installation failed" - - set_gtk2_confdir - dodir ${GTK2_CONFDIR} - keepdir ${GTK2_CONFDIR} - - # Enable xft in environment as suggested by - 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 -} diff --git a/x11-libs/gtk+/gtk+-2.8.8.ebuild b/x11-libs/gtk+/gtk+-2.8.8.ebuild deleted file mode 100644 index 10db0554dd30..000000000000 --- a/x11-libs/gtk+/gtk+-2.8.8.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.8.8.ebuild,v 1.16 2007/01/05 04:07:43 flameeyes Exp $ - -inherit gnome.org flag-o-matic eutils - -DESCRIPTION="Gimp ToolKit +" -HOMEPAGE="http://www.gtk.org/" -SRC_URI="${SRC_URI} - mirror://gentoo/gtk+-2-smoothscroll-r6.patch.bz2" - -LICENSE="LGPL-2" -SLOT="2" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="debug doc jpeg tiff" - -RDEPEND="|| ( ( - x11-libs/libXrender - x11-libs/libX11 - x11-libs/libXi - x11-libs/libXt - x11-libs/libXext - x11-libs/libXinerama - x11-libs/libXcursor - x11-libs/libXrandr - x11-libs/libXfixes ) - virtual/x11 ) - - >=dev-libs/glib-2.7.1 - >=x11-libs/pango-1.9 - >=dev-libs/atk-1.10.1 - >=x11-libs/cairo-0.9.2 - x11-misc/shared-mime-info - >=media-libs/libpng-1.2.1 - media-libs/fontconfig - jpeg? ( >=media-libs/jpeg-6b-r2 ) - tiff? ( >=media-libs/tiff-3.5.7 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.9 - sys-devel/autoconf - >=sys-devel/automake-1.7.9 - - || ( ( - x11-proto/xextproto - x11-proto/xproto - x11-proto/inputproto - x11-proto/xineramaproto ) - virtual/x11 ) - - doc? ( - >=dev-util/gtk-doc-1.4 - ~app-text/docbook-xml-dtd-4.1.2 )" - - -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}" - - # beautifying patch for disabled icons - epatch "${FILESDIR}"/${PN}-2.2.1-disable_icons_smooth_alpha.patch - # add smoothscroll support for usability reasons - # http://bugzilla.gnome.org/show_bug.cgi?id=103811 - epatch "${DISTDIR}"/${PN}-2-smoothscroll-r6.patch.bz2 - - # fix tests, see #118722 - epatch "${FILESDIR}"/${PN}-gdk-pixbuf-testfix.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 - - autoconf || die "autoconf failed" - automake || die "automake failed" - - epunt_cxx -} - -src_compile() { - local myconf="$(use_enable doc gtk-doc) \ - $(use_with jpeg libjpeg) \ - $(use_with tiff libtiff) \ - --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_install() { - make DESTDIR="${D}" install || die "Installation failed" - - set_gtk2_confdir - dodir ${GTK2_CONFDIR} - keepdir ${GTK2_CONFDIR} - - # Enable xft in environment as suggested by - 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 -}