Gentoo Archives: gentoo-commits

From: "Peter Weller (welp)" <welp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/emul-linux-x86-gtklibs: ChangeLog emul-linux-x86-gtklibs-20080316.ebuild
Date: Mon, 17 Mar 2008 07:14:05
Message-Id: E1Jb9Xm-0006Px-Uc@stork.gentoo.org
1 welp 08/03/17 07:14:02
2
3 Modified: ChangeLog
4 Added: emul-linux-x86-gtklibs-20080316.ebuild
5 Log:
6 Bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.59 app-emulation/emul-linux-x86-gtklibs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog?rev=1.59&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog?rev=1.59&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog?r1=1.58&r2=1.59
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v
19 retrieving revision 1.58
20 retrieving revision 1.59
21 diff -u -r1.58 -r1.59
22 --- ChangeLog 25 Dec 2007 14:09:37 -0000 1.58
23 +++ ChangeLog 17 Mar 2008 07:14:02 -0000 1.59
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-emulation/emul-linux-x86-gtklibs
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.58 2007/12/25 14:09:37 phreak Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.59 2008/03/17 07:14:02 welp Exp $
30 +
31 +*emul-linux-x86-gtklibs-20080316 (17 Mar 2008)
32 +
33 + 17 Mar 2008; Peter Weller <welp@g.o>
34 + +emul-linux-x86-gtklibs-20080316.ebuild:
35 + Bump
36
37 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
38 Removing kugelfang from metadata.xml as per #46972.
39
40
41
42 1.1 app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080316.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080316.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080316.ebuild?rev=1.1&content-type=text/plain
46
47 Index: emul-linux-x86-gtklibs-20080316.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20080316.ebuild,v 1.1 2008/03/17 07:14:02 welp Exp $
52
53 inherit emul-linux-x86
54
55 LICENSE="GPL-2 LGPL-2 LGPL-2.1 FTL || ( LGPL-2.1 MPL-1.1 )"
56 KEYWORDS="-* ~amd64"
57
58 IUSE="qt3"
59
60 DEPEND=""
61 RDEPEND=">=app-emulation/emul-linux-x86-baselibs-20071114
62 >=app-emulation/emul-linux-x86-xlibs-20071114"
63
64 src_unpack() {
65 query_tools="${S}/usr/bin/gtk-query-immodules-2.0|${S}/usr/bin/gdk-pixbuf-query-loaders|${S}/usr/bin/pango-querymodules"
66 ALLOWED="(${S}/etc/env.d|${S}/etc/gtk-2.0|${S}/etc/pango/i686-pc-linux-gnu|${query_tools})"
67 emul-linux-x86_src_unpack
68
69 # these tools generate an index in /etc/{pango,gtk-2.0}/${CHOST}
70 mv -f "${S}/usr/bin/pango-querymodules"{,32}
71 mv -f "${S}/usr/bin/gtk-query-immodules-2.0"{,-32}
72 mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32}
73 }
74
75 pkg_preinst() {
76 #bug 169058
77 for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
78 [[ -L ${l} ]] && rm -f ${l}
79 done
80 }
81
82 pkg_postinst() {
83 PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
84 if [[ ${ROOT} == "/" ]] ; then
85 einfo "Generating pango modules listing..."
86 mkdir -p ${PANGO_CONFDIR}
87 pango-querymodules32 > ${PANGO_CONFDIR}/pango.modules
88 fi
89
90 GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
91 einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
92 mkdir -p ${GTK2_CONFDIR}
93 gtk-query-immodules-2.0-32 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules"
94 gdk-pixbuf-query-loaders32 > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders"
95
96 # gdk-pixbuf.loaders should be in their CHOST directories respectively.
97 if [[ -e ${ROOT}/etc/gtk-2.0/gdk-pixbuf.loaders ]] ; then
98 ewarn
99 ewarn "File /etc/gtk-2.0/gdk-pixbuf.loaders shouldn't be present on"
100 ewarn "multilib systems, please remove it by hand."
101 ewarn
102 fi
103 }
104
105
106
107 --
108 gentoo-commits@l.g.o mailing list