diff options
author | Marinus Schraal <foser@gentoo.org> | 2004-11-21 23:09:22 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2004-11-21 23:09:22 +0000 |
commit | d67b9a13bd6a7c351c44ee4020250bec89503c5a (patch) | |
tree | c8b70d17ddea0b226402abe8ec0f90ff4e68998d /x11-libs | |
parent | Added patch to ioctl32 support to get it to work on sparc... still needs test... (diff) | |
download | gentoo-2-d67b9a13bd6a7c351c44ee4020250bec89503c5a.tar.gz gentoo-2-d67b9a13bd6a7c351c44ee4020250bec89503c5a.tar.bz2 gentoo-2-d67b9a13bd6a7c351c44ee4020250bec89503c5a.zip |
update smoothscroll patch 'n cleanup
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gtk+/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/gtk+/Manifest | 28 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.4.1 | 1 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.4.13 | 2 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.4.13-r1 | 2 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.4.4 | 2 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.4.7 | 2 | ||||
-rw-r--r-- | x11-libs/gtk+/files/gtk+-2.4.1-define_sensible_icon_theme.patch | 12 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.4.1.ebuild | 93 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.4.13-r1.ebuild (renamed from x11-libs/gtk+/gtk+-2.4.13.ebuild) | 5 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.4.4.ebuild | 106 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.4.7.ebuild | 106 |
12 files changed, 26 insertions, 340 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog index db64216b9930..c4fb54124e6b 100644 --- a/x11-libs/gtk+/ChangeLog +++ b/x11-libs/gtk+/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/gtk+ # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.129 2004/11/02 19:23:21 malc Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.130 2004/11/21 23:09:22 foser Exp $ + +*gtk+-2.4.13-r1 (21 Nov 2004) + + 21 Nov 2004; foser <foser@gentoo.org> gtk+-2.4.13-r1.ebuild : + Add revised smoothscroll patch (#71807), moved patch to mirrors 02 Nov 2004; Malcolm Lashley <malc@gentoo.org> : Fix missing digest - bug #69859 diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest index 4855a3a23589..39b404c0fadf 100644 --- a/x11-libs/gtk+/Manifest +++ b/x11-libs/gtk+/Manifest @@ -1,23 +1,25 @@ -MD5 ba670c9e3e7f9bf15ca22763746e6198 ChangeLog 19505 -MD5 745da6d8feb5c80670d33a3c43400bf5 gtk+-1.2.10-r10.ebuild 1719 MD5 71531996ce3e654b8c2f1de597b99481 gtk+-1.2.10-r11.ebuild 1789 +MD5 d1b5edbde8e2f221465e8a43b11eade4 gtk+-2.4.13-r1.ebuild 3120 MD5 4b173bf958771b902f94c9bf0702ad7f gtk+-2.4.7.ebuild 3037 -MD5 6880289256085cb8cb69a597d8098333 gtk+-2.4.1.ebuild 2238 -MD5 6c6beebaaa830d1af7abec33c54d1e54 gtk+-2.4.13.ebuild 3070 -MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 MD5 1aa3638017cfffe3060e9102e2fb2865 gtk+-2.4.9-r1.ebuild 3135 +MD5 745da6d8feb5c80670d33a3c43400bf5 gtk+-1.2.10-r10.ebuild 1719 MD5 d5904f53031cf372937b9a803f39ea14 gtk+-2.4.4.ebuild 2989 +MD5 6c6beebaaa830d1af7abec33c54d1e54 gtk+-2.4.13.ebuild 3070 +MD5 6880289256085cb8cb69a597d8098333 gtk+-2.4.1.ebuild 2238 +MD5 ba670c9e3e7f9bf15ca22763746e6198 ChangeLog 19505 +MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 +MD5 18620b7ba0f3cf18b663d7e314669aa7 files/digest-gtk+-2.4.1 64 +MD5 1010233f6bd82db56f1e6efa4cb7327a files/digest-gtk+-2.4.4 133 +MD5 3cbd11bc85612e3d8111ed4d030f27dd files/digest-gtk+-2.4.7 133 MD5 621a7db3e7e6856c66eec5caeea1e88e files/digest-gtk+-1.2.10-r10 138 MD5 621a7db3e7e6856c66eec5caeea1e88e files/digest-gtk+-1.2.10-r11 138 -MD5 3cbd11bc85612e3d8111ed4d030f27dd files/digest-gtk+-2.4.7 133 -MD5 28fa6c231f22418b560385c58a179543 files/digest-gtk+-2.4.9-r1 133 -MD5 18620b7ba0f3cf18b663d7e314669aa7 files/digest-gtk+-2.4.1 64 -MD5 4fe20cb35a3afc61a79dc91dff2cd089 files/digest-gtk+-2.4.13 134 +MD5 36d00cf3b4035e6cb9873ade9ed1a9ce files/gtkrc 627 MD5 5e3ff7fa761495300d3f30c9207c13f8 files/gtk+-1.2-locale_fix.patch 419 -MD5 69a6335566f344b004a5db02b68008ed files/gtk+-2.0.6-exportsymbols.patch 558 MD5 df6efc98861d335b1a09eab5c6011620 files/gtk+-2.4-smoothscroll.patch 29006 +MD5 69a6335566f344b004a5db02b68008ed files/gtk+-2.0.6-exportsymbols.patch 558 +MD5 28fa6c231f22418b560385c58a179543 files/digest-gtk+-2.4.9-r1 133 +MD5 c036eedc28ac4fb298c20ef606d53935 files/gtk+-2.4.1-define_sensible_icon_theme.patch 582 +MD5 4fe20cb35a3afc61a79dc91dff2cd089 files/digest-gtk+-2.4.13 134 +MD5 4dc5979b2119001ebc8c943cc20583f1 files/digest-gtk+-2.4.13-r1 139 MD5 d94ff41d82a8f0c56dd68a2fa71ef2fc files/gtk+-2.2.1-disable_icons_smooth_alpha.patch 1383 MD5 06d8be5421935ac9ed4da45830bb68bc files/gtk+-2.4.9-xpm_ico_secure.patch 3291 -MD5 c036eedc28ac4fb298c20ef606d53935 files/gtk+-2.4.1-define_sensible_icon_theme.patch 582 -MD5 36d00cf3b4035e6cb9873ade9ed1a9ce files/gtkrc 627 -MD5 1010233f6bd82db56f1e6efa4cb7327a files/digest-gtk+-2.4.4 133 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.4.1 b/x11-libs/gtk+/files/digest-gtk+-2.4.1 deleted file mode 100644 index ee78b8382060..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.4.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b71fc8b24ffd9399f98fc2a41cfe0c0c gtk+-2.4.1.tar.bz2 8853839 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.4.13 b/x11-libs/gtk+/files/digest-gtk+-2.4.13 deleted file mode 100644 index 8bfc9bf8910d..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.4.13 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 3a438e1010704b11acaf060c9ba0fd7b gtk+-2.4.13.tar.bz2 9272024 -MD5 8608e20184bd9f4d3eca98d7c01c98ee gtk+-2.4.1-lib64.patch.bz2 6982 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.4.13-r1 b/x11-libs/gtk+/files/digest-gtk+-2.4.13-r1 new file mode 100644 index 000000000000..2ecf897d4643 --- /dev/null +++ b/x11-libs/gtk+/files/digest-gtk+-2.4.13-r1 @@ -0,0 +1,2 @@ +MD5 3a438e1010704b11acaf060c9ba0fd7b gtk+-2.4.13.tar.bz2 9272024 +MD5 5aac24d5f86eb87ca6e9b9f024782555 gtk+-2.4-smoothscroll-r1.patch 25007 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.4.4 b/x11-libs/gtk+/files/digest-gtk+-2.4.4 deleted file mode 100644 index 779c41e53ba1..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.4.4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 6e6ffc9003aee319ed99336b147ad19f gtk+-2.4.4.tar.bz2 9325261 -MD5 8608e20184bd9f4d3eca98d7c01c98ee gtk+-2.4.1-lib64.patch.bz2 6982 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.4.7 b/x11-libs/gtk+/files/digest-gtk+-2.4.7 deleted file mode 100644 index 935559c4974c..000000000000 --- a/x11-libs/gtk+/files/digest-gtk+-2.4.7 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 2cd21398a463ef205e6e7b28e54b936d gtk+-2.4.7.tar.bz2 8920441 -MD5 8608e20184bd9f4d3eca98d7c01c98ee gtk+-2.4.1-lib64.patch.bz2 6982 diff --git a/x11-libs/gtk+/files/gtk+-2.4.1-define_sensible_icon_theme.patch b/x11-libs/gtk+/files/gtk+-2.4.1-define_sensible_icon_theme.patch deleted file mode 100644 index 87c6717edfd9..000000000000 --- a/x11-libs/gtk+/files/gtk+-2.4.1-define_sensible_icon_theme.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr gtk+-2.4.1/gtk/gtksettings.c gtk+-2.4.1.patched/gtk/gtksettings.c ---- gtk+-2.4.1/gtk/gtksettings.c 2004-03-11 18:54:19.000000000 +0100 -+++ gtk+-2.4.1.patched/gtk/gtksettings.c 2004-05-04 23:03:19.423768352 +0200 -@@ -309,7 +309,7 @@ - g_param_spec_string ("gtk-icon-theme-name", - P_("Icon Theme Name"), - P_("Name of icon theme to use"), -- "hicolor", -+ "gnome", - G_PARAM_READWRITE), - NULL); - g_assert (result == PROP_ICON_THEME_NAME); diff --git a/x11-libs/gtk+/gtk+-2.4.1.ebuild b/x11-libs/gtk+/gtk+-2.4.1.ebuild deleted file mode 100644 index 2374d7bc9398..000000000000 --- a/x11-libs/gtk+/gtk+-2.4.1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.4.1.ebuild,v 1.11 2004/08/19 20:17:07 pvdabeel Exp $ - -inherit libtool flag-o-matic eutils - -DESCRIPTION="Gimp ToolKit +" -HOMEPAGE="http://www.gtk.org/" -SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.4/${P}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="2" -KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64" -IUSE="doc tiff jpeg" - -RDEPEND="virtual/x11 - >=dev-libs/glib-2.4 - >=dev-libs/atk-1.0.1 - >=x11-libs/pango-1.4 - >=media-libs/libpng-1.2.1 - >=x11-themes/gnome-icon-theme-1.2 - x11-misc/shared-mime-info - jpeg? ( >=media-libs/jpeg-6b-r2 ) - tiff? ( >=media-libs/tiff-3.5.7 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - sys-devel/autoconf - doc? ( >=dev-util/gtk-doc-1 )" - - -src_unpack() { - - unpack ${A} - - cd ${S} - # Turn of --export-symbols-regex for now, since it removes - # the wrong symbols - epatch ${FILESDIR}/gtk+-2.0.6-exportsymbols.patch - # beautifying patch for disabled icons - epatch ${FILESDIR}/${PN}-2.2.1-disable_icons_smooth_alpha.patch - # define a sensible default icon theme - epatch ${FILESDIR}/${P}-define_sensible_icon_theme.patch - - autoconf || die - -} - -src_compile() { - - # bug 8762 - replace-flags "-O3" "-O2" - - elibtoolize - - econf \ - `use_enable doc gtk-doc` \ - `use_with jpeg libjpeg` \ - `use_with tiff libtiff` \ - --with-png \ - --with-gdktarget=x11 \ - --with-xinput \ - || die - - # gtk+ isn't multithread friendly due to some obscure code generation bug - MAKEOPTS="${MAKEOPTS} -j1" emake || die - -} - -src_install() { - - dodir /etc/gtk-2.0 - - make DESTDIR=${D} install || die - - # 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 INSTALL NEWS* README* - -} - -pkg_postinst() { - - gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules - gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders - - einfo "For gtk themes to work correctly after an update, you might have to rebuild your theme engines." - einfo "Executing 'qpkg -f -nc /usr/lib/gtk-2.0/2.2.0/engines | xargs emerge' should do the trick if" - einfo "you upgrade from gtk+-2.2 to 2.4 (requires gentoolkit)." - -} diff --git a/x11-libs/gtk+/gtk+-2.4.13.ebuild b/x11-libs/gtk+/gtk+-2.4.13-r1.ebuild index 0701695771e6..8eb39448e536 100644 --- a/x11-libs/gtk+/gtk+-2.4.13.ebuild +++ b/x11-libs/gtk+/gtk+-2.4.13-r1.ebuild @@ -1,12 +1,13 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.4.13.ebuild,v 1.1 2004/11/02 00:20:26 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.4.13-r1.ebuild,v 1.1 2004/11/21 23:09:22 foser Exp $ inherit libtool flag-o-matic eutils DESCRIPTION="Gimp ToolKit +" HOMEPAGE="http://www.gtk.org/" SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.4/${P}.tar.bz2 + mirror://gentoo/gtk+-2.4-smoothscroll-r1.patch amd64? ( http://dev.gentoo.org/~lv/gtk+-2.4.1-lib64.patch.bz2 )" LICENSE="LGPL-2" @@ -41,7 +42,7 @@ src_unpack() { 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 ${FILESDIR}/${PN}-2.4-smoothscroll.patch + epatch ${DISTDIR}/${PN}-2.4-smoothscroll-r1.patch # use an arch-specific config directory so that 32bit and 64bit versions # dont clash on multilib systems diff --git a/x11-libs/gtk+/gtk+-2.4.4.ebuild b/x11-libs/gtk+/gtk+-2.4.4.ebuild deleted file mode 100644 index 2a7cf974507e..000000000000 --- a/x11-libs/gtk+/gtk+-2.4.4.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.4.4.ebuild,v 1.11 2004/10/01 06:17:16 geoman Exp $ - -inherit libtool flag-o-matic eutils - -DESCRIPTION="Gimp ToolKit +" -HOMEPAGE="http://www.gtk.org/" -SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.4/${P}.tar.bz2 - amd64? ( http://dev.gentoo.org/~lv/gtk+-2.4.1-lib64.patch.bz2 )" - -LICENSE="LGPL-2" -SLOT="2" -KEYWORDS="x86 ppc sparc mips alpha ~arm hppa amd64 ~ia64 ppc64" -IUSE="doc tiff jpeg" - -RDEPEND="virtual/x11 - >=dev-libs/glib-2.4 - >=dev-libs/atk-1.0.1 - >=x11-libs/pango-1.4 - >=media-libs/libpng-1.2.1 - x11-misc/shared-mime-info - jpeg? ( >=media-libs/jpeg-6b-r2 ) - tiff? ( >=media-libs/tiff-3.5.7 )" - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.12.0 - sys-devel/autoconf - doc? ( >=dev-util/gtk-doc-1 )" - - -src_unpack() { - - unpack ${A} - - cd ${S} - # Turn of --export-symbols-regex for now, since it removes - # the wrong symbols - epatch ${FILESDIR}/gtk+-2.0.6-exportsymbols.patch - # beautifying patch for disabled icons - epatch ${FILESDIR}/${PN}-2.2.1-disable_icons_smooth_alpha.patch - # define a sensible default icon theme - epatch ${FILESDIR}/${PN}-2.4.1-define_sensible_icon_theme.patch - # use an arch-specific config directory so that 32bit and 64bit versions - # dont clash on multilib systems - use amd64 && epatch ${DISTDIR}/gtk+-2.4.1-lib64.patch.bz2 - # and this line is just here to make building emul-linux-x86-gtklibs a bit - # easier, so even this should be amd64 specific. - use x86 && [ "${CONF_LIBDIR}" == "lib32" ] && epatch ${DISTDIR}/gtk+-2.4.1-lib64.patch.bz2 - - autoconf || die - automake || die - -} - -src_compile() { - - # bug 8762 - replace-flags "-O3" "-O2" - - elibtoolize - - econf \ - `use_enable doc gtk-doc` \ - `use_with jpeg libjpeg` \ - `use_with tiff libtiff` \ - --with-png \ - --with-gdktarget=x11 \ - --with-xinput \ - || die - - # gtk+ isn't multithread friendly due to some obscure code generation bug - MAKEOPTS="${MAKEOPTS} -j1" emake || die - -} - -src_install() { - - dodir /etc/gtk-2.0 - use amd64 && dodir /etc/gtk-2.0/${CHOST} - use x86 && [ "${CONF_LIBDIR}" == "lib32" ] && dodir /etc/gtk-2.0/${CHOST} - - make DESTDIR=${D} install || die - - # 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 INSTALL NEWS* README* - -} - -pkg_postinst() { - - use amd64 && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" - use x86 && [ "${CONF_LIBDIR}" == "lib32" ] && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" - GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} - - gtk-query-immodules-2.0 > /${GTK2_CONFDIR}/gtk.immodules - gdk-pixbuf-query-loaders > /${GTK2_CONFDIR}/gdk-pixbuf.loaders - - einfo "For gtk themes to work correctly after an update, you might have to rebuild your theme engines." - einfo "Executing 'qpkg -f -nc /usr/lib/gtk-2.0/2.2.0/engines | xargs emerge' should do the trick if" - einfo "you upgrade from gtk+-2.2 to 2.4 (requires gentoolkit)." - -} diff --git a/x11-libs/gtk+/gtk+-2.4.7.ebuild b/x11-libs/gtk+/gtk+-2.4.7.ebuild deleted file mode 100644 index 2c497938cef0..000000000000 --- a/x11-libs/gtk+/gtk+-2.4.7.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.4.7.ebuild,v 1.3 2004/08/22 22:26:40 lv Exp $ - -inherit libtool flag-o-matic eutils - -DESCRIPTION="Gimp ToolKit +" -HOMEPAGE="http://www.gtk.org/" -SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.4/${P}.tar.bz2 - amd64? ( http://dev.gentoo.org/~lv/gtk+-2.4.1-lib64.patch.bz2 )" - -LICENSE="LGPL-2" -SLOT="2" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64" -IUSE="doc tiff jpeg" - -RDEPEND="virtual/x11 - >=dev-libs/glib-2.4 - >=dev-libs/atk-1.0.1 - >=x11-libs/pango-1.4 - 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} - >=dev-util/pkgconfig-0.12.0 - sys-devel/autoconf - doc? ( >=dev-util/gtk-doc-1 )" - -src_unpack() { - - unpack ${A} - - cd ${S} - # Turn of --export-symbols-regex for now, since it removes - # the wrong symbols - epatch ${FILESDIR}/gtk+-2.0.6-exportsymbols.patch - # 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 ${FILESDIR}/${PN}-2.4-smoothscroll.patch - # use an arch-specific config directory so that 32bit and 64bit versions - # dont clash on multilib systems - use amd64 && epatch ${DISTDIR}/gtk+-2.4.1-lib64.patch.bz2 - # and this line is just here to make building emul-linux-x86-gtklibs a bit - # easier, so even this should be amd64 specific. - use x86 && [ "${CONF_LIBDIR}" == "lib32" ] && epatch ${DISTDIR}/gtk+-2.4.1-lib64.patch.bz2 - - autoconf || die - automake || die - -} - -src_compile() { - - # bug 8762 - replace-flags "-O3" "-O2" - - elibtoolize - - econf \ - `use_enable doc gtk-doc` \ - `use_with jpeg libjpeg` \ - `use_with tiff libtiff` \ - --with-png \ - --with-gdktarget=x11 \ - --with-xinput \ - || die - - # gtk+ isn't multithread friendly due to some obscure code generation bug - MAKEOPTS="${MAKEOPTS} -j1" emake || die - -} - -src_install() { - - dodir /etc/gtk-2.0 - use amd64 && dodir /etc/gtk-2.0/${CHOST} - use x86 && [ "${CONF_LIBDIR}" == "lib32" ] && dodir /etc/gtk-2.0/${CHOST} - - make DESTDIR=${D} install || die - - # 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 INSTALL NEWS* README* - -} - -pkg_postinst() { - - use amd64 && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" - use x86 && [ "${CONF_LIBDIR}" == "lib32" ] && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" - GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} - - gtk-query-immodules-2.0 > /${GTK2_CONFDIR}/gtk.immodules - gdk-pixbuf-query-loaders > /${GTK2_CONFDIR}/gdk-pixbuf.loaders - - einfo "For gtk themes to work correctly after an update, you might have to rebuild your theme engines." - einfo "Executing 'qpkg -f -nc /usr/lib/gtk-2.0/2.2.0/engines | xargs emerge' should do the trick if" - einfo "you upgrade from gtk+-2.2 to 2.4 (requires gentoolkit)." - -} |