diff options
author | 2007-07-16 23:53:28 +0000 | |
---|---|---|
committer | 2007-07-16 23:53:28 +0000 | |
commit | 353a8d084562ecf982c18e3b5eb8642804ff7012 (patch) | |
tree | 651a51472100c5c99ac3d5cb8b4969940a0cc9a4 /x11-libs | |
parent | gnome-base/gnome-session: bump to 2.18.3 (diff) | |
download | gentoo-2-353a8d084562ecf982c18e3b5eb8642804ff7012.tar.gz gentoo-2-353a8d084562ecf982c18e3b5eb8642804ff7012.tar.bz2 gentoo-2-353a8d084562ecf982c18e3b5eb8642804ff7012.zip |
Version bump and remove some old versions
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gtk+/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.10.12 | 3 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.10.14 | 3 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.10.6 | 3 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.10.7-r1 | 3 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.10.9 | 3 | ||||
-rw-r--r-- | x11-libs/gtk+/files/gtk+-2.10.7-textview-fix.patch | 23 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.10.14.ebuild (renamed from x11-libs/gtk+/gtk+-2.10.12.ebuild) | 2 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.10.6.ebuild | 146 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.10.7-r1.ebuild | 159 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.10.9.ebuild | 149 |
11 files changed, 13 insertions, 491 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog index 5a5168b19992..b6a8d84ef705 100644 --- a/x11-libs/gtk+/ChangeLog +++ b/x11-libs/gtk+/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for x11-libs/gtk+ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.320 2007/07/02 14:53:17 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.321 2007/07/16 23:53:28 leio Exp $ + +*gtk+-2.10.14 (16 Jul 2007) + + 16 Jul 2007; Mart Raudsepp <leio@gentoo.org> + -files/gtk+-2.10.7-textview-fix.patch, -gtk+-2.10.6.ebuild, + -gtk+-2.10.7-r1.ebuild, -gtk+-2.10.9.ebuild, -gtk+-2.10.12.ebuild, + +gtk+-2.10.14.ebuild: + Version bump and remove some old versions 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> gtk+-2.8.19.ebuild, gtk+-2.8.20-r1.ebuild, gtk+-2.10.6.ebuild, gtk+-2.10.7-r1.ebuild, diff --git a/x11-libs/gtk+/files/digest-gtk+-2.10.12 b/x11-libs/gtk+/files/digest-gtk+-2.10.12 deleted file mode 100644 index 11337c221dbf..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.10.12 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 cf969c62134c662ff07e64613ed6c11f gtk+-2.10.12.tar.bz2 15137074 -RMD160 d48eab088a2871d4866f25b7413b78925bb280d7 gtk+-2.10.12.tar.bz2 15137074 -SHA256 58599eae374d15f2474ea2ed67b5c116f9358c05a2c6b01acb3e5910a79fce4f gtk+-2.10.12.tar.bz2 15137074 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.10.14 b/x11-libs/gtk+/files/digest-gtk+-2.10.14 new file mode 100644 index 000000000000..7349e700b6a5 --- /dev/null +++ b/x11-libs/gtk+/files/digest-gtk+-2.10.14 @@ -0,0 +1,3 @@ +MD5 018d7dd0fa7de01cfdb77c7c55e7ba26 gtk+-2.10.14.tar.bz2 15172170 +RMD160 234d7240732b28a31a260aa9e04c34fc502acbf4 gtk+-2.10.14.tar.bz2 15172170 +SHA256 d02344239d048390ba02fcfd7de4f9efc0dfb51e7b06dfa46a6314d666ea4de2 gtk+-2.10.14.tar.bz2 15172170 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.10.6 b/x11-libs/gtk+/files/digest-gtk+-2.10.6 deleted file mode 100644 index 2cfe924d1589..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.10.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 13c62b610c910255934452d0617403f7 gtk+-2.10.6.tar.bz2 14561124 -RMD160 929386610a634e82b7ddb10f43930b27194fa67b gtk+-2.10.6.tar.bz2 14561124 -SHA256 ca98edcea2034ab36c1024121a44d047de192d282127c8f8b77d14afba0ca468 gtk+-2.10.6.tar.bz2 14561124 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.10.7-r1 b/x11-libs/gtk+/files/digest-gtk+-2.10.7-r1 deleted file mode 100644 index 7f6d663d411c..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.10.7-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 acb0c10be4495928db68d2279e34f20c gtk+-2.10.7.tar.bz2 14955229 -RMD160 130af39787b146166846f44b104ea0c3683d0578 gtk+-2.10.7.tar.bz2 14955229 -SHA256 3daead5f578ec2a3752997e6048eb3ecdce208cee560f7289dd9d069ca623276 gtk+-2.10.7.tar.bz2 14955229 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.10.9 b/x11-libs/gtk+/files/digest-gtk+-2.10.9 deleted file mode 100644 index 788de2dc004b..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.10.9 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 20d763198efb38263b22dee347f69da6 gtk+-2.10.9.tar.bz2 14933330 -RMD160 f415eb350edbf53965a1ec32f99c386cfd3d7df5 gtk+-2.10.9.tar.bz2 14933330 -SHA256 3aab107fb97a280b77fa30d07540e325d1511907bbce1e7efa5b4db2dffa28a3 gtk+-2.10.9.tar.bz2 14933330 diff --git a/x11-libs/gtk+/files/gtk+-2.10.7-textview-fix.patch b/x11-libs/gtk+/files/gtk+-2.10.7-textview-fix.patch deleted file mode 100644 index b6ff18f4f8e2..000000000000 --- a/x11-libs/gtk+/files/gtk+-2.10.7-textview-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -Don't crash in GtkSourceView/gedit with "Display line numbers" -http://bugzilla.gnome.org/show_bug.cgi?id=393813 - ---- /trunk/gtk/gtktextview.c 2007/01/07 05:34:40 17100 -+++ trunk/gtk/gtktextview.c 2007/01/07 07:19:07 17101 -@@ -8182,7 +8182,7 @@ - width, 0); - /* if the widget is already realized we need to realize the child manually */ - if (GTK_WIDGET_REALIZED (text_view)) -- text_window_realize (*winp, GTK_WIDGET (text_view)->window); -+ text_window_realize (*winp, GTK_WIDGET (text_view)); - } - else - { -@@ -8222,7 +8222,7 @@ - - /* if the widget is already realized we need to realize the child manually */ - if (GTK_WIDGET_REALIZED (text_view)) -- text_window_realize (*winp, GTK_WIDGET (text_view)->window); -+ text_window_realize (*winp, GTK_WIDGET (text_view)); - } - else - { diff --git a/x11-libs/gtk+/gtk+-2.10.12.ebuild b/x11-libs/gtk+/gtk+-2.10.14.ebuild index d0072318e05d..32b9b45704ce 100644 --- a/x11-libs/gtk+/gtk+-2.10.12.ebuild +++ b/x11-libs/gtk+/gtk+-2.10.14.ebuild @@ -1,6 +1,6 @@ # 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.10.12.ebuild,v 1.4 2007/07/15 05:53:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.10.14.ebuild,v 1.1 2007/07/16 23:53:28 leio Exp $ inherit gnome.org flag-o-matic eutils autotools virtualx diff --git a/x11-libs/gtk+/gtk+-2.10.6.ebuild b/x11-libs/gtk+/gtk+-2.10.6.ebuild deleted file mode 100644 index ff008be52fc0..000000000000 --- a/x11-libs/gtk+/gtk+-2.10.6.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.10.6.ebuild,v 1.16 2007/07/15 05:53:11 mr_bones_ Exp $ - -inherit gnome.org flag-o-matic eutils 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 - )" - -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}" - 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 - - # -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 - - 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 -} diff --git a/x11-libs/gtk+/gtk+-2.10.7-r1.ebuild b/x11-libs/gtk+/gtk+-2.10.7-r1.ebuild deleted file mode 100644 index 305286662bb5..000000000000 --- a/x11-libs/gtk+/gtk+-2.10.7-r1.ebuild +++ /dev/null @@ -1,159 +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.10.7-r1.ebuild,v 1.3 2007/07/15 05:53:11 mr_bones_ Exp $ - -inherit gnome.org flag-o-matic eutils 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 - xinerama? ( x11-proto/xineramaproto ) - 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}" - - # 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 - - # Don't crash in GtkSourceView/gedit with "Display line numbers" - epatch "${FILESDIR}/${P}-textview-fix.patch" - - # Revert DND change that makes mozilla products DND broken - EPATCH_OPTS="-R" epatch "${FILESDIR}/${P}-mozilla-dnd-fix.patch" - - # -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 - - 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 -} diff --git a/x11-libs/gtk+/gtk+-2.10.9.ebuild b/x11-libs/gtk+/gtk+-2.10.9.ebuild deleted file mode 100644 index 4c5b9d5668d2..000000000000 --- a/x11-libs/gtk+/gtk+-2.10.9.ebuild +++ /dev/null @@ -1,149 +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.10.9.ebuild,v 1.10 2007/07/15 05:53:11 mr_bones_ Exp $ - -inherit gnome.org flag-o-matic eutils 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 - xinerama? ( x11-proto/xineramaproto ) - 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}" - 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 - - # Revert DND change that makes mozilla products DND broken - EPATCH_OPTS="-R" epatch "${FILESDIR}/${PN}-2.10.7-mozilla-dnd-fix.patch" - - # -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 - - 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 -} |