1 |
pacho 13/03/28 17:55:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: webkit-gtk-2.0.0.ebuild |
5 |
Log: |
6 |
Version bump for Gnome 3.8 |
7 |
|
8 |
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.194 net-libs/webkit-gtk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.194&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.194&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?r1=1.193&r2=1.194 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v |
20 |
retrieving revision 1.193 |
21 |
retrieving revision 1.194 |
22 |
diff -u -r1.193 -r1.194 |
23 |
--- ChangeLog 29 Jan 2013 12:36:39 -0000 1.193 |
24 |
+++ ChangeLog 28 Mar 2013 17:55:57 -0000 1.194 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-libs/webkit-gtk |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.193 2013/01/29 12:36:39 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.194 2013/03/28 17:55:57 pacho Exp $ |
30 |
+ |
31 |
+*webkit-gtk-2.0.0 (28 Mar 2013) |
32 |
+ |
33 |
+ 28 Mar 2013; Pacho Ramos <pacho@g.o> |
34 |
+ +files/webkit-gtk-1.11.90-gtk-docize-fix.patch, +webkit-gtk-2.0.0.ebuild: |
35 |
+ Version bump for Gnome 3.8 |
36 |
|
37 |
29 Jan 2013; Alexis Ballier <aballier@g.o> |
38 |
webkit-gtk-1.10.2-r300.ebuild, +files/webkit-gtk-1.10.2-wifexited.patch: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-libs/webkit-gtk/webkit-gtk-2.0.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.0.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.0.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: webkit-gtk-2.0.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-2.0.0.ebuild,v 1.1 2013/03/28 17:55:57 pacho Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
|
55 |
inherit autotools check-reqs eutils flag-o-matic gnome2-utils pax-utils toolchain-funcs versionator virtualx |
56 |
|
57 |
MY_P="webkitgtk-${PV}" |
58 |
DESCRIPTION="Open source web browser engine" |
59 |
HOMEPAGE="http://www.webkitgtk.org/" |
60 |
SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz" |
61 |
|
62 |
LICENSE="LGPL-2+ BSD" |
63 |
SLOT="3/25" # soname version |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" |
65 |
IUSE="aqua coverage debug +geoloc +gstreamer +introspection +jit spell +webgl" |
66 |
# bugs 372493, 416331 |
67 |
REQUIRED_USE="introspection? ( geoloc gstreamer )" |
68 |
|
69 |
# use sqlite, svg by default |
70 |
# Aqua support in gtk3 is untested |
71 |
# gtk2 is needed for plugin process support |
72 |
# TODO: There's 3 acceleration backends: opengl, egl and gles2 |
73 |
RDEPEND=" |
74 |
app-crypt/libsecret |
75 |
dev-libs/libxml2:2 |
76 |
dev-libs/libxslt |
77 |
media-libs/libwebp |
78 |
virtual/jpeg:= |
79 |
>=media-libs/libpng-1.4:0= |
80 |
>=x11-libs/cairo-1.10:= |
81 |
>=dev-libs/glib-2.36.0:2 |
82 |
>=x11-libs/gtk+-3.6.0:3[aqua=,introspection?] |
83 |
>=dev-libs/icu-3.8.1-r1:= |
84 |
>=net-libs/libsoup-2.42.0:2.4[introspection?] |
85 |
dev-db/sqlite:3= |
86 |
>=x11-libs/pango-1.32.0 |
87 |
x11-libs/libXrender |
88 |
>=x11-libs/gtk+-2.24.10:2 |
89 |
|
90 |
geoloc? ( app-misc/geoclue ) |
91 |
gstreamer? ( |
92 |
>=media-libs/gstreamer-1.0.3:1.0 |
93 |
>=media-libs/gst-plugins-base-1.0.3:1.0 ) |
94 |
introspection? ( >=dev-libs/gobject-introspection-1.32.0 ) |
95 |
spell? ( >=app-text/enchant-0.22:= ) |
96 |
webgl? ( |
97 |
virtual/opengl |
98 |
x11-libs/libXcomposite |
99 |
x11-libs/libXdamage ) |
100 |
" |
101 |
# paxctl needed for bug #407085 |
102 |
DEPEND="${RDEPEND} |
103 |
dev-lang/perl |
104 |
=dev-lang/python-2* |
105 |
|| ( virtual/rubygems[ruby_targets_ruby19] |
106 |
virtual/rubygems[ruby_targets_ruby18] ) |
107 |
>=app-accessibility/at-spi2-core-2.5.3 |
108 |
>=dev-util/gtk-doc-am-1.10 |
109 |
dev-util/gperf |
110 |
sys-devel/bison |
111 |
>=sys-devel/flex-2.5.33 |
112 |
sys-devel/gcc:4.7 |
113 |
sys-devel/gettext |
114 |
>=sys-devel/make-3.82-r4 |
115 |
virtual/pkgconfig |
116 |
|
117 |
introspection? ( jit? ( sys-apps/paxctl ) ) |
118 |
test? ( |
119 |
x11-themes/hicolor-icon-theme |
120 |
jit? ( sys-apps/paxctl ) ) |
121 |
" |
122 |
# Need real bison, not yacc |
123 |
|
124 |
S="${WORKDIR}/${MY_P}" |
125 |
|
126 |
CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 |
127 |
|
128 |
pkg_pretend() { |
129 |
if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" ; then |
130 |
einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" |
131 |
check-reqs_pkg_pretend |
132 |
fi |
133 |
|
134 |
if [[ $(tc-getCC) == *gcc ]] && ! version_is_at_least 4.7 $(gcc-version); then |
135 |
die "You need at least GCC 4.7.x for C++11-specific compiler flags" |
136 |
fi |
137 |
} |
138 |
|
139 |
pkg_setup() { |
140 |
# Check whether any of the debugging flags is enabled |
141 |
if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" ; then |
142 |
if is-flagq "-ggdb" && [[ ${WEBKIT_GTK_GGDB} != "yes" ]]; then |
143 |
replace-flags -ggdb -g |
144 |
ewarn "Replacing \"-ggdb\" with \"-g\" in your CFLAGS." |
145 |
ewarn "Building ${PN} with \"-ggdb\" produces binaries which are too" |
146 |
ewarn "large for current binutils releases (bug #432784) and has very" |
147 |
ewarn "high temporary build space and memory requirements." |
148 |
ewarn "If you really want to build ${PN} with \"-ggdb\", add" |
149 |
ewarn "WEBKIT_GTK_GGDB=yes" |
150 |
ewarn "to your make.conf file." |
151 |
fi |
152 |
einfo "You need to have at least 18GB of temporary build space available" |
153 |
einfo "to build ${PN} with debugging CFLAGS. Note that it might still" |
154 |
einfo "not be enough, as the total space requirements depend on the flags" |
155 |
einfo "(-ggdb vs -g1) and enabled features." |
156 |
check-reqs_pkg_setup |
157 |
fi |
158 |
} |
159 |
|
160 |
src_prepare() { |
161 |
DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install |
162 |
|
163 |
# intermediate MacPorts hack while upstream bug is not fixed properly |
164 |
# https://bugs.webkit.org/show_bug.cgi?id=28727 |
165 |
use aqua && epatch "${FILESDIR}"/${PN}-1.6.1-darwin-quartz.patch |
166 |
|
167 |
# Don't force -O2 |
168 |
sed -i 's/-O2//g' "${S}"/Source/autotools/SetupCompilerFlags.m4 || die |
169 |
|
170 |
# Build-time segfaults under PaX with USE="introspection jit", bug #404215 |
171 |
if use introspection && use jit; then |
172 |
epatch "${FILESDIR}/${PN}-1.6.3-paxctl-introspection.patch" |
173 |
cp "${FILESDIR}/gir-paxctl-lt-wrapper" "${S}/" || die |
174 |
fi |
175 |
|
176 |
# We need to reset some variables to prevent permissions problems and failures |
177 |
# like https://bugs.webkit.org/show_bug.cgi?id=35471 and bug #323669 |
178 |
gnome2_environment_reset |
179 |
|
180 |
# XXX: failing tests |
181 |
# https://bugs.webkit.org/show_bug.cgi?id=50744 |
182 |
# testkeyevents is interactive |
183 |
# mimehandling test sometimes fails under Xvfb (works fine manually) |
184 |
# datasource test needs a network connection and intermittently fails with icedtea-web |
185 |
# webplugindatabase intermittently fails with icedtea-web |
186 |
sed -e '/Programs\/unittests\/testwebinspector/ d' \ |
187 |
-e '/Programs\/unittests\/testkeyevents/ d' \ |
188 |
-e '/Programs\/unittests\/testmimehandling/ d' \ |
189 |
-e '/Programs\/unittests\/testwebdatasource/ d' \ |
190 |
-e '/Programs\/unittests\/testwebplugindatabase/ d' \ |
191 |
-i Source/WebKit/gtk/GNUmakefile.am || die |
192 |
|
193 |
if ! use gstreamer; then |
194 |
# webkit2's TestWebKitWebView requires <video> support |
195 |
sed -e '/Programs\/WebKit2APITests\/TestWebKitWebView/ d' \ |
196 |
-i Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am || die |
197 |
fi |
198 |
# garbage collection test fails intermittently if icedtea-web is installed |
199 |
epatch "${FILESDIR}/${PN}-1.7.90-test_garbage_collection.patch" |
200 |
|
201 |
# occasional test failure due to additional Xvfb process spawned |
202 |
# TODO epatch "${FILESDIR}/${PN}-1.8.1-tests-xvfb.patch" |
203 |
|
204 |
# Respect CC, otherwise fails on prefix #395875 |
205 |
tc-export CC |
206 |
|
207 |
epatch "${FILESDIR}/${PN}-1.11.90-gtk-docize-fix.patch" |
208 |
|
209 |
# Prevent maintainer mode from being triggered during make |
210 |
AT_M4DIR=Source/autotools eautoreconf |
211 |
|
212 |
# Ugly hack of a workaround for bizarre paludis behavior, bug #406117 |
213 |
# http://paludis.exherbo.org/trac/ticket/1230 |
214 |
sed -e '/ --\(en\|dis\)able-dependency-tracking/ d' -i configure || die |
215 |
} |
216 |
|
217 |
src_configure() { |
218 |
# It doesn't compile on alpha without this in LDFLAGS |
219 |
use alpha && append-ldflags "-Wl,--no-relax" |
220 |
|
221 |
# Sigbuses on SPARC with mcpu and co. |
222 |
use sparc && filter-flags "-mvis" |
223 |
|
224 |
# https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 |
225 |
use ppc64 && append-flags "-mminimal-toc" |
226 |
|
227 |
local myconf |
228 |
|
229 |
# XXX: Check Web Audio support |
230 |
# XXX: dependency-tracking is required so parallel builds won't fail |
231 |
# XXX: There's 3 acceleration backends: opengl, egl and gles2 |
232 |
# should somehow let user select between them? |
233 |
myconf=" |
234 |
$(use_enable coverage) |
235 |
$(use_enable debug) |
236 |
$(use_enable geoloc geolocation) |
237 |
$(use_enable spell spellcheck) |
238 |
$(use_enable introspection) |
239 |
$(use_enable gstreamer video) |
240 |
$(use_enable jit) |
241 |
$(use_enable webgl) |
242 |
--disable-egl |
243 |
--disable-gles2 |
244 |
--with-gtk=3.0 |
245 |
--enable-accelerated-compositing |
246 |
--enable-dependency-tracking |
247 |
--disable-gtk-doc |
248 |
PYTHON=$(type -P python2) |
249 |
"$(usex aqua "--with-font-backend=pango --with-target=quartz" "") |
250 |
# Aqua support in gtk3 is untested |
251 |
|
252 |
if has_version "virtual/rubygems[ruby_targets_ruby19]"; then |
253 |
myconf="${myconf} RUBY=$(type -P ruby19)" |
254 |
else |
255 |
myconf="${myconf} RUBY=$(type -P ruby18)" |
256 |
fi |
257 |
|
258 |
econf ${myconf} |
259 |
} |
260 |
|
261 |
src_compile() { |
262 |
# Avoid parallel make failure with -j9 |
263 |
emake DerivedSources/WebCore/JSNode.h |
264 |
default |
265 |
} |
266 |
|
267 |
src_test() { |
268 |
# Tests expect an out-of-source build in WebKitBuild |
269 |
ln -s . WebKitBuild || die "ln failed" |
270 |
|
271 |
# Prevents test failures on PaX systems |
272 |
use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) \ |
273 |
Programs/unittests/.libs/test* |
274 |
unset DISPLAY |
275 |
# Tests need virtualx, bug #294691, bug #310695 |
276 |
# Parallel tests sometimes fail |
277 |
Xemake -j1 check |
278 |
} |
279 |
|
280 |
src_install() { |
281 |
default |
282 |
|
283 |
newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk |
284 |
newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore |
285 |
newdoc Source/WebCore/ChangeLog ChangeLog.WebCore |
286 |
|
287 |
prune_libtool_files |
288 |
|
289 |
# Prevents crashes on PaX systems |
290 |
use jit && pax-mark m "${ED}usr/bin/jsc-3" |
291 |
} |