Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209765 | Differences between
and this patch

Collapse All | Expand All

(-)emul-linux-x86-gtklibs-20071214.ebuild.old (-7 / +9 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071214.ebuild,v 1.2 2007/12/15 14:39:07 welp Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20071214.ebuild,v 1.2 2007/12/15 14:39:07 welp Exp $
4
4
5
inherit emul-linux-x86
5
PANGO_MODULE_NO_EXTRA_DEPS=1
6
7
inherit emul-linux-x86 pango-module
6
8
7
LICENSE="GPL-2 LGPL-2 LGPL-2.1 FTL || ( LGPL-2.1 MPL-1.1 )"
9
LICENSE="GPL-2 LGPL-2 LGPL-2.1 FTL || ( LGPL-2.1 MPL-1.1 )"
8
KEYWORDS="-* amd64"
10
KEYWORDS="-* amd64"
Lines 24-29 Link Here
24
	mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32}
26
	mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32}
25
}
27
}
26
28
29
src_install() {
30
	emul-linux-x86_src_install
31
	CHOST=${CHOST_x86} pango-module-add-modules-path 00emul-linux-x86-gtklibs /usr/lib32/pango/1.6.0/modules
32
}
33
27
pkg_preinst() {
34
pkg_preinst() {
28
	#bug 169058
35
	#bug 169058
29
	for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
36
	for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
Lines 32-43 Link Here
32
}
39
}
33
40
34
pkg_postinst() {
41
pkg_postinst() {
35
	PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
42
	pango-module_pkg_postinst
36
	if [[ ${ROOT} == "/" ]] ; then
37
		einfo "Generating pango modules listing..."
38
		mkdir -p ${PANGO_CONFDIR}
39
		pango-querymodules32 > ${PANGO_CONFDIR}/pango.modules
40
	fi
41
43
42
	GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
44
	GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
43
	einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
45
	einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."

Return to bug 209765