1 |
dang 07/11/05 18:23:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk+-2.12.1-r1.ebuild |
5 |
Log: |
6 |
Bump to 2.12.1-r1 |
7 |
Include patch to fix printing on ppc64; bug #197639 |
8 |
|
9 |
(Portage version: 2.1.3.18) |
10 |
|
11 |
Revision Changes Path |
12 |
1.342 x11-libs/gtk+/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.342&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.342&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?r1=1.341&r2=1.342 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v |
21 |
retrieving revision 1.341 |
22 |
retrieving revision 1.342 |
23 |
diff -u -r1.341 -r1.342 |
24 |
--- ChangeLog 28 Oct 2007 23:17:32 -0000 1.341 |
25 |
+++ ChangeLog 5 Nov 2007 18:23:42 -0000 1.342 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for x11-libs/gtk+ |
28 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.341 2007/10/28 23:17:32 eva Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.342 2007/11/05 18:23:42 dang Exp $ |
31 |
+ |
32 |
+*gtk+-2.12.1-r1 (05 Nov 2007) |
33 |
+ |
34 |
+ 05 Nov 2007; Daniel Gryniewicz <dang@g.o> |
35 |
+ +files/gtk+-2.12.1-cupsutils.patch, +gtk+-2.12.1-r1.ebuild: |
36 |
+ Bump to 2.12.1-r1 |
37 |
+ Include patch to fix printing on ppc64; bug #197639 |
38 |
|
39 |
28 Oct 2007; Gilles Dartiguelongue <eva@g.o> gtk+-2.12.1.ebuild: |
40 |
add vim-syntax support, fix bug #152275 |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-libs/gtk+/gtk+-2.12.1-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.12.1-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.12.1-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gtk+-2.12.1-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2007 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.12.1-r1.ebuild,v 1.1 2007/11/05 18:23:42 dang Exp $ |
54 |
|
55 |
inherit gnome.org flag-o-matic eutils autotools virtualx |
56 |
|
57 |
DESCRIPTION="Gimp ToolKit +" |
58 |
HOMEPAGE="http://www.gtk.org/" |
59 |
|
60 |
LICENSE="LGPL-2" |
61 |
SLOT="2" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="cups debug doc jpeg tiff vim-syntax xinerama" |
64 |
|
65 |
RDEPEND="x11-libs/libXrender |
66 |
x11-libs/libX11 |
67 |
x11-libs/libXi |
68 |
x11-libs/libXt |
69 |
x11-libs/libXext |
70 |
x11-libs/libXrandr |
71 |
x11-libs/libXcursor |
72 |
x11-libs/libXfixes |
73 |
x11-libs/libXcomposite |
74 |
x11-libs/libXdamage |
75 |
xinerama? ( x11-libs/libXinerama ) |
76 |
>=dev-libs/glib-2.13.5 |
77 |
>=x11-libs/pango-1.17.3 |
78 |
>=dev-libs/atk-1.10.1 |
79 |
>=x11-libs/cairo-1.2.0 |
80 |
media-libs/fontconfig |
81 |
x11-misc/shared-mime-info |
82 |
>=media-libs/libpng-1.2.1 |
83 |
cups? ( net-print/cups ) |
84 |
jpeg? ( >=media-libs/jpeg-6b-r2 ) |
85 |
tiff? ( >=media-libs/tiff-3.5.7 )" |
86 |
DEPEND="${RDEPEND} |
87 |
sys-devel/autoconf |
88 |
>=dev-util/pkgconfig-0.9 |
89 |
=sys-devel/automake-1.7* |
90 |
x11-proto/xextproto |
91 |
x11-proto/xproto |
92 |
x11-proto/inputproto |
93 |
x11-proto/damageproto |
94 |
xinerama? ( x11-proto/xineramaproto ) |
95 |
doc? ( |
96 |
>=dev-util/gtk-doc-1.6 |
97 |
~app-text/docbook-xml-dtd-4.1.2 |
98 |
)" |
99 |
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )" |
100 |
|
101 |
pkg_setup() { |
102 |
if ! built_with_use x11-libs/cairo X; then |
103 |
eerror "Please re-emerge x11-libs/cairo with the X USE flag set" |
104 |
die "cairo needs the X flag set" |
105 |
fi |
106 |
} |
107 |
|
108 |
set_gtk2_confdir() { |
109 |
# An arch specific config directory is used on multilib systems |
110 |
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
111 |
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0} |
112 |
} |
113 |
|
114 |
src_unpack() { |
115 |
unpack ${A} |
116 |
cd "${S}" |
117 |
|
118 |
# use an arch-specific config directory so that 32bit and 64bit versions |
119 |
# dont clash on multilib systems |
120 |
has_multilib_profile && epatch "${FILESDIR}/${PN}-2.8.0-multilib.patch" |
121 |
|
122 |
# Workaround adobe flash infinite loop. Patch from http://bugzilla.gnome.org/show_bug.cgi?id=463773#c11 |
123 |
epatch "${FILESDIR}/${PN}-2.12.0-flash-workaround.patch" |
124 |
|
125 |
# OpenOffice.org might hang at startup (on non-gnome env) without this workaround, bug #193513 |
126 |
epatch "${FILESDIR}/${PN}-2.12.0-openoffice-freeze-workaround.patch" |
127 |
|
128 |
# Firefox print review crash fix, bug #195644 |
129 |
epatch "${FILESDIR}/${P}-firefox-print-preview.patch" |
130 |
|
131 |
# Fix printing on ppc64. Bug #197639 |
132 |
epatch "${FILESDIR}"/${P}-cupsutils.patch |
133 |
|
134 |
# -O3 and company cause random crashes in applications. Bug #133469 |
135 |
replace-flags -O3 -O2 |
136 |
strip-flags |
137 |
|
138 |
use ppc64 && append-flags -mminimal-toc |
139 |
|
140 |
# remember, eautoreconf applies elibtoolize. |
141 |
# if you remove this, you should manually run elibtoolize |
142 |
export WANT_AUTOMAKE=1.7 |
143 |
cp aclocal.m4 old_macros.m4 |
144 |
AT_M4DIR="." eautoreconf |
145 |
|
146 |
epunt_cxx |
147 |
} |
148 |
|
149 |
src_compile() { |
150 |
# png always on to display icons (foser) |
151 |
local myconf="$(use_enable doc gtk-doc) \ |
152 |
$(use_with jpeg libjpeg) \ |
153 |
$(use_with tiff libtiff) \ |
154 |
$(use_enable xinerama) \ |
155 |
--with-libpng \ |
156 |
--with-gdktarget=x11 \ |
157 |
--with-xinput" |
158 |
|
159 |
# Passing --disable-debug is not recommended for production use |
160 |
use debug && myconf="${myconf} --enable-debug=yes" |
161 |
|
162 |
econf ${myconf} || die "configure failed" |
163 |
|
164 |
emake || die "compile failed" |
165 |
} |
166 |
|
167 |
src_test() { |
168 |
Xmake check || die |
169 |
} |
170 |
|
171 |
src_install() { |
172 |
einstall || die "Installation failed" |
173 |
|
174 |
set_gtk2_confdir |
175 |
dodir ${GTK2_CONFDIR} |
176 |
keepdir ${GTK2_CONFDIR} |
177 |
|
178 |
# see bug #133241 |
179 |
echo 'gtk-fallback-icon-theme = "gnome"' > "${D}/${GTK2_CONFDIR}/gtkrc" |
180 |
|
181 |
# Enable xft in environment as suggested by <utx@g.o> |
182 |
dodir /etc/env.d |
183 |
echo "GDK_USE_XFT=1" > "${D}/etc/env.d/50gtk2" |
184 |
|
185 |
dodoc AUTHORS ChangeLog* HACKING NEWS* README* |
186 |
|
187 |
# This has to be removed, because it's multilib specific; generated in |
188 |
# postinst |
189 |
rm "${D}/etc/gtk-2.0/gtk.immodules" |
190 |
} |
191 |
|
192 |
pkg_postinst() { |
193 |
set_gtk2_confdir |
194 |
|
195 |
if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then |
196 |
gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules" |
197 |
gdk-pixbuf-query-loaders > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders" |
198 |
else |
199 |
ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;" |
200 |
ewarn "to complete the installation of GTK+, please create the" |
201 |
ewarn "directory and then manually run:" |
202 |
ewarn " cd ${ROOT}${GTK2_CONFDIR}" |
203 |
ewarn " gtk-query-immodules-2.0 > gtk.immodules" |
204 |
ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" |
205 |
fi |
206 |
|
207 |
if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then |
208 |
elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]* |
209 |
elog "to do that you can use qfile from portage-utils:" |
210 |
elog "emerge -va1 \$(qfile -qC /usr/lib/gtk-2.0/2.[^1]*)" |
211 |
fi |
212 |
|
213 |
elog "Please install app-text/evince for print preview functionality" |
214 |
} |
215 |
|
216 |
|
217 |
|
218 |
-- |
219 |
gentoo-commits@g.o mailing list |