summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Weller <welp@gentoo.org>2007-12-11 00:05:38 +0000
committerPeter Weller <welp@gentoo.org>2007-12-11 00:05:38 +0000
commitc32074d45e5f5aca206856240e4b40562c3b62bb (patch)
treefd376d48fb8dc8babb32617cbe8cf9a06dc0f554 /app-emulation/emul-linux-x86-gtklibs
parentMisquoted FONT_CONF prevented use of multiple fontconfig files. Bug #201834 ... (diff)
downloadgentoo-2-c32074d45e5f5aca206856240e4b40562c3b62bb.tar.gz
gentoo-2-c32074d45e5f5aca206856240e4b40562c3b62bb.tar.bz2
gentoo-2-c32074d45e5f5aca206856240e4b40562c3b62bb.zip
Bump wrt bug 201860
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'app-emulation/emul-linux-x86-gtklibs')
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/ChangeLog7
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071210.ebuild55
-rw-r--r--app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-200712103
3 files changed, 64 insertions, 1 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/ChangeLog b/app-emulation/emul-linux-x86-gtklibs/ChangeLog
index 83b2ee32b395..57fa4f7a0794 100644
--- a/app-emulation/emul-linux-x86-gtklibs/ChangeLog
+++ b/app-emulation/emul-linux-x86-gtklibs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/emul-linux-x86-gtklibs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.53 2007/11/24 01:20:18 kingtaco Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.54 2007/12/11 00:05:38 welp Exp $
+
+*emul-linux-x86-gtklibs-20071210 (11 Dec 2007)
+
+ 11 Dec 2007; <welp@gentoo.org> +emul-linux-x86-gtklibs-20071210.ebuild:
+ Bump wrt bug 201860
24 Nov 2007; Mike Doty <kingtaco@gentoo.org>
emul-linux-x86-gtklibs-20071121.ebuild:
diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071210.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071210.ebuild
new file mode 100644
index 000000000000..f569f8a68830
--- /dev/null
+++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071210.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 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-20071210.ebuild,v 1.1 2007/12/11 00:05:38 welp 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-20071114"
+
+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
+}
diff --git a/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-20071210 b/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-20071210
new file mode 100644
index 000000000000..e261f867ab09
--- /dev/null
+++ b/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-20071210
@@ -0,0 +1,3 @@
+MD5 c6736339957799afc56eebd984135c72 emul-linux-x86-gtklibs-20071210.tar.bz2 4959095
+RMD160 9c4af2ba44d278a69405559b758e8f17b206dea9 emul-linux-x86-gtklibs-20071210.tar.bz2 4959095
+SHA256 c81a7203d2f836795922aed1f9dd1fb2cd546b1554d2b8a658502d49a7e0e243 emul-linux-x86-gtklibs-20071210.tar.bz2 4959095