summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Doty <kingtaco@gentoo.org>2008-08-10 21:06:51 +0000
committerMike Doty <kingtaco@gentoo.org>2008-08-10 21:06:51 +0000
commite64deb3c552462858ae5e7d601a6d1b2756f5f3f (patch)
tree803586e9355e0f99d2cc78b11323a548f9d97d94
parentversion bump (diff)
downloadgentoo-2-e64deb3c552462858ae5e7d601a6d1b2756f5f3f.tar.gz
gentoo-2-e64deb3c552462858ae5e7d601a6d1b2756f5f3f.tar.bz2
gentoo-2-e64deb3c552462858ae5e7d601a6d1b2756f5f3f.zip
version bump
(Portage version: 2.1.5.6)
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/ChangeLog8
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080810.ebuild55
2 files changed, 62 insertions, 1 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/ChangeLog b/app-emulation/emul-linux-x86-gtklibs/ChangeLog
index aecb205b28a7..dbbd44dc5f02 100644
--- a/app-emulation/emul-linux-x86-gtklibs/ChangeLog
+++ b/app-emulation/emul-linux-x86-gtklibs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/emul-linux-x86-gtklibs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.59 2008/03/17 07:14:02 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.60 2008/08/10 21:06:51 kingtaco Exp $
+
+*emul-linux-x86-gtklibs-20080810 (10 Aug 2008)
+
+ 10 Aug 2008; Mike Doty <kingtaco@gentoo.org>
+ +emul-linux-x86-gtklibs-20080810.ebuild:
+ version bump
*emul-linux-x86-gtklibs-20080316 (17 Mar 2008)
diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080810.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080810.ebuild
new file mode 100644
index 000000000000..a0250cf17d4c
--- /dev/null
+++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080810.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080810.ebuild,v 1.1 2008/08/10 21:06:51 kingtaco Exp $
+
+inherit emul-linux-x86
+
+LICENSE="GPL-2 LGPL-2 LGPL-2.1 FTL || ( LGPL-2.1 MPL-1.1 )"
+KEYWORDS="-* ~amd64"
+
+IUSE="qt3"
+
+DEPEND=""
+RDEPEND=">=app-emulation/emul-linux-x86-baselibs-20071114
+ >=app-emulation/emul-linux-x86-xlibs-20080810"
+
+src_unpack() {
+ query_tools="${S}/usr/bin/gtk-query-immodules-2.0|${S}/usr/bin/gdk-pixbuf-query-loaders|${S}/usr/bin/pango-querymodules"
+ ALLOWED="(${S}/etc/env.d|${S}/etc/gtk-2.0|${S}/etc/pango/i686-pc-linux-gnu|${query_tools})"
+ emul-linux-x86_src_unpack
+
+ # these tools generate an index in /etc/{pango,gtk-2.0}/${CHOST}
+ mv -f "${S}/usr/bin/pango-querymodules"{,32}
+ mv -f "${S}/usr/bin/gtk-query-immodules-2.0"{,-32}
+ mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32}
+}
+
+pkg_preinst() {
+ #bug 169058
+ for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
+ [[ -L ${l} ]] && rm -f ${l}
+ done
+}
+
+pkg_postinst() {
+ PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
+ if [[ ${ROOT} == "/" ]] ; then
+ einfo "Generating pango modules listing..."
+ mkdir -p ${PANGO_CONFDIR}
+ pango-querymodules32 > ${PANGO_CONFDIR}/pango.modules
+ fi
+
+ GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
+ einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
+ mkdir -p ${GTK2_CONFDIR}
+ gtk-query-immodules-2.0-32 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules"
+ gdk-pixbuf-query-loaders32 > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders"
+
+ # gdk-pixbuf.loaders should be in their CHOST directories respectively.
+ if [[ -e ${ROOT}/etc/gtk-2.0/gdk-pixbuf.loaders ]] ; then
+ ewarn
+ ewarn "File /etc/gtk-2.0/gdk-pixbuf.loaders shouldn't be present on"
+ ewarn "multilib systems, please remove it by hand."
+ ewarn
+ fi
+}