1 |
pacho 14/03/29 19:48:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk+-2.24.23.ebuild |
5 |
Removed: gtk+-2.24.16.ebuild gtk+-3.8.7.ebuild |
6 |
gtk+-3.10.6.ebuild |
7 |
Log: |
8 |
Version bump, drop old |
9 |
|
10 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
11 |
|
12 |
Revision Changes Path |
13 |
1.700 x11-libs/gtk+/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.700&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.700&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/ChangeLog?r1=1.699&r2=1.700 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v |
22 |
retrieving revision 1.699 |
23 |
retrieving revision 1.700 |
24 |
diff -u -r1.699 -r1.700 |
25 |
--- ChangeLog 28 Mar 2014 02:13:31 -0000 1.699 |
26 |
+++ ChangeLog 29 Mar 2014 19:48:14 -0000 1.700 |
27 |
@@ -1,6 +1,12 @@ |
28 |
# ChangeLog for x11-libs/gtk+ |
29 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.699 2014/03/28 02:13:31 jer Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.700 2014/03/29 19:48:14 pacho Exp $ |
32 |
+ |
33 |
+*gtk+-2.24.23 (29 Mar 2014) |
34 |
+ |
35 |
+ 29 Mar 2014; Pacho Ramos <pacho@g.o> +gtk+-2.24.23.ebuild, |
36 |
+ -gtk+-2.24.16.ebuild, -gtk+-3.10.6.ebuild, -gtk+-3.8.7.ebuild: |
37 |
+ Version bump, drop old |
38 |
|
39 |
28 Mar 2014; Jeroen Roovers <jer@g.o> gtk+-3.10.7.ebuild: |
40 |
Stable for HPPA (bug #499954). |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-libs/gtk+/gtk+-2.24.23.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/gtk+-2.24.23.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/gtk+-2.24.23.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gtk+-2.24.23.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 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.24.23.ebuild,v 1.1 2014/03/29 19:48:14 pacho Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
GCONF_DEBUG="no" |
57 |
|
58 |
inherit eutils flag-o-matic gnome2 multilib virtualx autotools readme.gentoo |
59 |
|
60 |
DESCRIPTION="Gimp ToolKit +" |
61 |
HOMEPAGE="http://www.gtk.org/" |
62 |
|
63 |
LICENSE="LGPL-2+" |
64 |
SLOT="2" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
66 |
IUSE="aqua cups debug examples +introspection test vim-syntax xinerama" |
67 |
|
68 |
# NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf) |
69 |
COMMON_DEPEND=" |
70 |
!aqua? ( |
71 |
x11-libs/libXrender |
72 |
x11-libs/libX11 |
73 |
x11-libs/libXi |
74 |
x11-libs/libXext |
75 |
>=x11-libs/libXrandr-1.3 |
76 |
x11-libs/libXcursor |
77 |
x11-libs/libXfixes |
78 |
x11-libs/libXcomposite |
79 |
x11-libs/libXdamage |
80 |
>=x11-libs/cairo-1.6:=[X,svg] |
81 |
x11-libs/gdk-pixbuf:2[X,introspection?] |
82 |
) |
83 |
aqua? ( |
84 |
>=x11-libs/cairo-1.6:=[aqua,svg] |
85 |
x11-libs/gdk-pixbuf:2[introspection?] |
86 |
) |
87 |
xinerama? ( x11-libs/libXinerama ) |
88 |
>=dev-libs/glib-2.34:2 |
89 |
>=x11-libs/pango-1.20[introspection?] |
90 |
>=dev-libs/atk-1.29.2[introspection?] |
91 |
media-libs/fontconfig |
92 |
x11-misc/shared-mime-info |
93 |
cups? ( net-print/cups:= ) |
94 |
introspection? ( >=dev-libs/gobject-introspection-0.9.3 ) |
95 |
!<gnome-base/gail-1000 |
96 |
" |
97 |
DEPEND="${COMMON_DEPEND} |
98 |
virtual/pkgconfig |
99 |
!aqua? ( |
100 |
x11-proto/xextproto |
101 |
x11-proto/xproto |
102 |
x11-proto/inputproto |
103 |
x11-proto/damageproto |
104 |
) |
105 |
xinerama? ( x11-proto/xineramaproto ) |
106 |
>=dev-util/gtk-doc-am-1.11 |
107 |
test? ( |
108 |
x11-themes/hicolor-icon-theme |
109 |
media-fonts/font-misc-misc |
110 |
media-fonts/font-cursor-misc ) |
111 |
" |
112 |
|
113 |
# gtk+-2.24.8 breaks Alt key handling in <=x11-libs/vte-0.28.2:0 |
114 |
# Add blocker against old gtk-builder-convert to be sure we maintain both |
115 |
# in sync. |
116 |
RDEPEND="${COMMON_DEPEND} |
117 |
!<dev-util/gtk-builder-convert-${PV} |
118 |
!<x11-libs/vte-0.28.2-r201:0 |
119 |
" |
120 |
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )" |
121 |
|
122 |
DISABLE_AUTOFORMATTING="yes" |
123 |
DOC_CONTENTS="To make the gtk2 file chooser use 'current directory' mode by default, |
124 |
edit ~/.config/gtk-2.0/gtkfilechooser.ini to contain the following: |
125 |
[Filechooser Settings] |
126 |
StartupMode=cwd" |
127 |
|
128 |
strip_builddir() { |
129 |
local rule=$1 |
130 |
shift |
131 |
local directory=$1 |
132 |
shift |
133 |
sed -e "s/^\(${rule} =.*\)${directory}\(.*\)$/\1\2/" -i $@ \ |
134 |
|| die "Could not strip director ${directory} from build." |
135 |
} |
136 |
|
137 |
set_gtk2_confdir() { |
138 |
# An arch specific config directory is used on multilib systems |
139 |
GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
140 |
} |
141 |
|
142 |
src_prepare() { |
143 |
# Fix building due to moved definition, upstream bug #704766 |
144 |
epatch "${FILESDIR}"/${PN}-2.24.20-darwin-quartz-pasteboard.patch |
145 |
|
146 |
# marshalers code was pre-generated with glib-2.31, upstream bug #671763 |
147 |
rm -v gdk/gdkmarshalers.c gtk/gtkmarshal.c gtk/gtkmarshalers.c \ |
148 |
perf/marshalers.c || die |
149 |
|
150 |
# Stop trying to build unmaintained docs, bug #349754 |
151 |
strip_builddir SUBDIRS tutorial docs/Makefile.am docs/Makefile.in |
152 |
strip_builddir SUBDIRS faq docs/Makefile.am docs/Makefile.in |
153 |
|
154 |
# -O3 and company cause random crashes in applications. Bug #133469 |
155 |
replace-flags -O3 -O2 |
156 |
strip-flags |
157 |
|
158 |
use ppc64 && append-flags -mminimal-toc |
159 |
|
160 |
if ! use test; then |
161 |
# don't waste time building tests |
162 |
strip_builddir SRC_SUBDIRS tests Makefile.{am,in} |
163 |
strip_builddir SUBDIRS tests gdk/Makefile.{am,in} gtk/Makefile.{am,in} |
164 |
else |
165 |
# Non-working test in gentoo's env |
166 |
sed 's:\(g_test_add_func ("/ui-tests/keys-events.*\):/*\1*/:g' \ |
167 |
-i gtk/tests/testing.c || die "sed 1 failed" |
168 |
|
169 |
# Cannot work because glib is too clever to find real user's home |
170 |
# gentoo bug #285687, upstream bug #639832 |
171 |
# XXX: /!\ Pay extra attention to second sed when bumping /!\ |
172 |
sed '/TEST_PROGS.*recentmanager/d' -i gtk/tests/Makefile.am \ |
173 |
|| die "failed to disable recentmanager test (1)" |
174 |
sed '/^TEST_PROGS =/,+3 s/recentmanager//' -i gtk/tests/Makefile.in \ |
175 |
|| die "failed to disable recentmanager test (2)" |
176 |
sed 's:\({ "GtkFileChooserButton".*},\):/*\1*/:g' -i gtk/tests/object.c \ |
177 |
|| die "failed to disable recentmanager test (3)" |
178 |
|
179 |
# Skip tests known to fail |
180 |
# https://bugzilla.gnome.org/show_bug.cgi?id=646609 |
181 |
sed -e '/g_test_add_func.*test_text_access/s:^://:' \ |
182 |
-i "${S}/gtk/tests/testing.c" || die |
183 |
|
184 |
# https://bugzilla.gnome.org/show_bug.cgi?id=617473 |
185 |
sed -i -e 's:pltcheck.sh:$(NULL):g' \ |
186 |
gtk/Makefile.am || die |
187 |
|
188 |
# UI tests require immodules already installed; bug #413185 |
189 |
if ! has_version 'x11-libs/gtk+:2'; then |
190 |
ewarn "Disabling UI tests because this is the first install of" |
191 |
ewarn "gtk+:2 on this machine. Please re-run the tests after $P" |
192 |
ewarn "has been installed." |
193 |
sed '/g_test_add_func.*ui-tests/ d' \ |
194 |
-i gtk/tests/testing.c || die "sed 2 failed" |
195 |
fi |
196 |
fi |
197 |
|
198 |
if ! use examples; then |
199 |
# don't waste time building demos |
200 |
strip_builddir SRC_SUBDIRS demos Makefile.am Makefile.in |
201 |
fi |
202 |
|
203 |
epatch_user |
204 |
|
205 |
eautoreconf |
206 |
|
207 |
gnome2_src_prepare |
208 |
} |
209 |
|
210 |
src_configure() { |
211 |
# Passing --disable-debug is not recommended for production use |
212 |
gnome2_src_configure \ |
213 |
$(usex aqua --with-gdktarget=quartz --with-gdktarget=x11) \ |
214 |
$(usex aqua "" --with-xinput) \ |
215 |
$(usex debug --enable-debug=yes "") \ |
216 |
$(use_enable cups cups auto) \ |
217 |
$(use_enable introspection) \ |
218 |
$(use_enable xinerama) \ |
219 |
--disable-papi |
220 |
} |
221 |
|
222 |
src_test() { |
223 |
unset DBUS_SESSION_BUS_ADDRESS |
224 |
Xemake check |
225 |
} |
226 |
|
227 |
src_install() { |
228 |
gnome2_src_install |
229 |
|
230 |
# see bug #133241 |
231 |
echo 'gtk-fallback-icon-theme = "gnome"' > "${T}/gtkrc" |
232 |
insinto /usr/share/gtk-2.0 |
233 |
doins "${T}"/gtkrc |
234 |
|
235 |
dodoc AUTHORS ChangeLog* HACKING NEWS* README* |
236 |
|
237 |
# add -framework Carbon to the .pc files |
238 |
use aqua && for i in gtk+-2.0.pc gtk+-quartz-2.0.pc gtk+-unix-print-2.0.pc; do |
239 |
sed -i -e "s:Libs\: :Libs\: -framework Carbon :" "${ED%/}"/usr/lib/pkgconfig/$i || die "sed failed" |
240 |
done |
241 |
|
242 |
# dev-util/gtk-builder-convert split off into a separate package, #402905 |
243 |
rm "${ED}"usr/bin/gtk-builder-convert || die |
244 |
|
245 |
readme.gentoo_create_doc |
246 |
} |
247 |
|
248 |
pkg_postinst() { |
249 |
set_gtk2_confdir |
250 |
|
251 |
gtk-query-immodules-2.0 --update-cache || die "Update immodules cache failed" |
252 |
|
253 |
if [ -e "${EROOT%/}/etc/gtk-2.0/gtk.immodules" ]; then |
254 |
elog "File /etc/gtk-2.0/gtk.immodules has been moved to \$CHOST" |
255 |
elog "aware location. Removing deprecated file." |
256 |
rm -f ${EROOT%/}/etc/gtk-2.0/gtk.immodules |
257 |
fi |
258 |
|
259 |
if [ -e "${EROOT%/}${GTK2_CONFDIR}/gtk.immodules" ]; then |
260 |
elog "File /etc/gtk-2.0/gtk.immodules has been moved to" |
261 |
elog "${EROOT%/}/usr/$(get_libdir)/gtk-2.0/2.10.0/immodules.cache" |
262 |
elog "Removing deprecated file." |
263 |
rm -f ${EROOT%/}${GTK2_CONFDIR}/gtk.immodules |
264 |
fi |
265 |
|
266 |
# pixbufs are now handled by x11-libs/gdk-pixbuf |
267 |
if [ -e "${EROOT%/}${GTK2_CONFDIR}/gdk-pixbuf.loaders" ]; then |
268 |
elog "File ${EROOT%/}${GTK2_CONFDIR}/gdk-pixbuf.loaders is now handled by x11-libs/gdk-pixbuf" |
269 |
elog "Removing deprecated file." |
270 |
rm -f ${EROOT%/}${GTK2_CONFDIR}/gdk-pixbuf.loaders |
271 |
fi |
272 |
|
273 |
# two checks needed since we dropped multilib conditional |
274 |
if [ -e "${EROOT%/}/etc/gtk-2.0/gdk-pixbuf.loaders" ]; then |
275 |
elog "File ${EROOT%/}/etc/gtk-2.0/gdk-pixbuf.loaders is now handled by x11-libs/gdk-pixbuf" |
276 |
elog "Removing deprecated file." |
277 |
rm -f ${EROOT%/}/etc/gtk-2.0/gdk-pixbuf.loaders |
278 |
fi |
279 |
|
280 |
if [ -e "${EROOT%/}"/usr/lib/gtk-2.0/2.[^1]* ]; then |
281 |
elog "You need to rebuild ebuilds that installed into" "${EROOT%/}"/usr/lib/gtk-2.0/2.[^1]* |
282 |
elog "to do that you can use qfile from portage-utils:" |
283 |
elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.[^1]*)" |
284 |
fi |
285 |
|
286 |
if ! has_version "app-text/evince"; then |
287 |
elog "Please install app-text/evince for print preview functionality." |
288 |
elog "Alternatively, check \"gtk-print-preview-command\" documentation and" |
289 |
elog "add it to your gtkrc." |
290 |
fi |
291 |
|
292 |
readme.gentoo_print_elog |
293 |
} |