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

Collapse All | Expand All

(-)emul-linux-x86-gtklibs-20071214.ebuild.old (-7 / +13 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_PHASES_ONLY=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
# temporary hack
30
pango-module_version() {
31
	echo 1.6.0
32
}
33
src_install() {
34
	emul-linux-x86_src_install
35
	CHOST=${CHOST_x86} CATEGORY=x11-libs PN=pango pango-module_add_path 00pango $(ABI=x86 pango-module_standard_path)
36
}
37
27
pkg_preinst() {
38
pkg_preinst() {
28
	#bug 169058
39
	#bug 169058
29
	for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
40
	for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
Lines 32-43 Link Here
32
}
43
}
33
44
34
pkg_postinst() {
45
pkg_postinst() {
35
	PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
46
	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
47
42
	GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
48
	GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
43
	einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
49
	einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."

Return to bug 210884