diff options
author | Mike Doty <kingtaco@gentoo.org> | 2007-11-21 17:11:29 +0000 |
---|---|---|
committer | Mike Doty <kingtaco@gentoo.org> | 2007-11-21 17:11:29 +0000 |
commit | b9882ba8873f7cf55b7824aea0fd56a897875b12 (patch) | |
tree | e670c2165653f17efb4a97f27240fb8ac2d0e2c1 /app-emulation/emul-linux-x86-gtklibs | |
parent | Stable for HPPA (bug #199693). (diff) | |
download | gentoo-2-b9882ba8873f7cf55b7824aea0fd56a897875b12.tar.gz gentoo-2-b9882ba8873f7cf55b7824aea0fd56a897875b12.tar.bz2 gentoo-2-b9882ba8873f7cf55b7824aea0fd56a897875b12.zip |
bump, resolves 195037
(Portage version: 2.1.3.17)
Diffstat (limited to 'app-emulation/emul-linux-x86-gtklibs')
3 files changed, 60 insertions, 1 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/ChangeLog b/app-emulation/emul-linux-x86-gtklibs/ChangeLog index 7ca961201ba8..11338e524170 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.50 2007/11/18 05:56:18 kingtaco Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.51 2007/11/21 17:11:28 kingtaco Exp $ + +*emul-linux-x86-gtklibs-20071121 (21 Nov 2007) + + 21 Nov 2007; Mike Doty <kingtaco@gentoo.org> + +emul-linux-x86-gtklibs-20071121.ebuild: + bump, resolves 195037 *emul-linux-x86-gtklibs-20071118 (18 Nov 2007) diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071121.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071121.ebuild new file mode 100644 index 000000000000..f45ef6bf527b --- /dev/null +++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071121.ebuild @@ -0,0 +1,50 @@ +# 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-20071121.ebuild,v 1.1 2007/11/21 17:11:28 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-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" + ewarn "If you have problems with fonts and warnings from 32bit programs, try this:" + ewarn "gdk-pixbuf-query-loaders32 >> /etc/gtk+-2.0/gdk-pixbuf.loaders" + ewarn "pango-querymodules32 >> /etc/pango/pango.modules" +} diff --git a/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-20071121 b/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-20071121 new file mode 100644 index 000000000000..f3b6e22a4a1b --- /dev/null +++ b/app-emulation/emul-linux-x86-gtklibs/files/digest-emul-linux-x86-gtklibs-20071121 @@ -0,0 +1,3 @@ +MD5 189490c12ebbeb70958426a6c746e4ba emul-linux-x86-gtklibs-20071121.tar.bz2 4965651 +RMD160 285cb37b44bbf0a63b79bdd95a181c9e0a4ea3e1 emul-linux-x86-gtklibs-20071121.tar.bz2 4965651 +SHA256 123e3c8ed0aaf97602d3291f3148d0a341342183391fb21c63ed0126147d774d emul-linux-x86-gtklibs-20071121.tar.bz2 4965651 |