Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/webkit-gtk: webkit-gtk-1.10.2-r300.ebuild ChangeLog webkit-gtk-1.6.1-r301.ebuild webkit-gtk-1.8.2-r300.ebuild webkit-gtk-1.8.2-r200.ebuild webkit-gtk-1.6.1-r201.ebuild
Date: Tue, 25 Dec 2012 23:45:57
Message-Id: 20121225234546.23C1A2171E@flycatcher.gentoo.org
1 eva 12/12/25 23:45:46
2
3 Modified: ChangeLog
4 Added: webkit-gtk-1.10.2-r300.ebuild
5 Removed: webkit-gtk-1.6.1-r301.ebuild
6 webkit-gtk-1.8.2-r300.ebuild
7 webkit-gtk-1.8.2-r200.ebuild
8 webkit-gtk-1.6.1-r201.ebuild
9 Log:
10 Version bump. Switch to EAPI=5 and python-single-r1.eclass. Uses gstreamer:1.0, webkit2 is always on.
11
12 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key C6085806)
13
14 Revision Changes Path
15 1.186 net-libs/webkit-gtk/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.186&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?rev=1.186&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/ChangeLog?r1=1.185&r2=1.186
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v
24 retrieving revision 1.185
25 retrieving revision 1.186
26 diff -u -r1.185 -r1.186
27 --- ChangeLog 8 Dec 2012 21:40:08 -0000 1.185
28 +++ ChangeLog 25 Dec 2012 23:45:45 -0000 1.186
29 @@ -1,6 +1,17 @@
30 # ChangeLog for net-libs/webkit-gtk
31 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.185 2012/12/08 21:40:08 ago Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/ChangeLog,v 1.186 2012/12/25 23:45:45 eva Exp $
34 +
35 +*webkit-gtk-1.10.2-r300 (25 Dec 2012)
36 +
37 + 25 Dec 2012; Gilles Dartiguelongue <eva@g.o>
38 + -webkit-gtk-1.6.1-r201.ebuild, -webkit-gtk-1.6.1-r301.ebuild,
39 + -webkit-gtk-1.8.2-r200.ebuild, -webkit-gtk-1.8.2-r300.ebuild,
40 + +files/webkit-gtk-1.9.91-libdl.patch,
41 + +files/webkit-gtk-1.10.1-disable-backtrace-uclibc.patch,
42 + +webkit-gtk-1.10.2-r300.ebuild, +files/webkit-gtk-1.11.1-libdl.patch:
43 + Version bump. Switch to EAPI=5 and python-single-r1.eclass. Uses
44 + gstreamer:1.0, webkit2 is always on.
45
46 08 Dec 2012; Agostino Sarubbo <ago@g.o> webkit-gtk-1.8.3-r300.ebuild:
47 Stable for ppc, wrt bug #427546
48
49
50
51 1.1 net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild
52
53 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild?rev=1.1&content-type=text/plain
55
56 Index: webkit-gtk-1.10.2-r300.ebuild
57 ===================================================================
58 # Copyright 1999-2012 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 # $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.10.2-r300.ebuild,v 1.1 2012/12/25 23:45:45 eva Exp $
61
62 EAPI="5"
63 PYTHON_COMPAT=( python2_{5,6,7} )
64
65 inherit autotools check-reqs eutils flag-o-matic gnome2-utils pax-utils python-single-r1 virtualx
66
67 MY_P="webkitgtk-${PV}"
68 DESCRIPTION="Open source web browser engine"
69 HOMEPAGE="http://www.webkitgtk.org/"
70 SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz"
71
72 LICENSE="LGPL-2+ BSD"
73 SLOT="3"
74 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
75 IUSE="aqua coverage debug +geoloc +gstreamer +introspection +jit spell +webgl"
76 # bugs 372493, 416331
77 REQUIRED_USE="introspection? ( geoloc gstreamer )"
78
79 # use sqlite, svg by default
80 # Aqua support in gtk3 is untested
81 # gtk2 is needed for plugin process support
82 # FIXME: with-acceleration-backend is left automagic
83 RDEPEND="
84 dev-libs/libxml2:2
85 dev-libs/libxslt
86 virtual/jpeg
87 >=media-libs/libpng-1.4:0=
88 >=x11-libs/cairo-1.10
89 >=dev-libs/glib-2.32:2
90 >=x11-libs/gtk+-3.4:3[aqua=,introspection?]
91 >=dev-libs/icu-3.8.1-r1:=
92 >=net-libs/libsoup-2.39.2:2.4[introspection?]
93 dev-db/sqlite:3
94 >=x11-libs/pango-1.21
95 x11-libs/libXrender
96 >=x11-libs/gtk+-2.13:2
97
98 geoloc? ( app-misc/geoclue )
99 gstreamer? (
100 media-libs/gstreamer:1.0
101 media-libs/gst-plugins-base:1.0 )
102 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
103 spell? ( >=app-text/enchant-0.22 )
104 webgl? (
105 virtual/opengl
106 x11-libs/libXcomposite
107 x11-libs/libXdamage )
108 "
109 # paxctl needed for bug #407085
110 DEPEND="${RDEPEND}
111 dev-lang/perl
112 ${PYTHON_DEPS}
113 || ( virtual/rubygems[ruby_targets_ruby19]
114 virtual/rubygems[ruby_targets_ruby18] )
115 app-accessibility/at-spi2-core
116 >=dev-util/gtk-doc-am-1.10
117 dev-util/gperf
118 sys-devel/bison
119 >=sys-devel/flex-2.5.33
120 sys-devel/gettext
121 >=sys-devel/make-3.82-r4
122 virtual/pkgconfig
123
124 introspection? ( jit? ( sys-apps/paxctl ) )
125 test? (
126 x11-themes/hicolor-icon-theme
127 jit? ( sys-apps/paxctl ) )
128 "
129 # Need real bison, not yacc
130
131 S="${WORKDIR}/${MY_P}"
132
133 CHECKREQS_DISK_BUILD="6G"
134
135 pkg_pretend() {
136 if is-flagq "-g*" ; then
137 check-reqs_pkg_pretend
138 fi
139 }
140
141 pkg_setup() {
142 # Check whether any of the debugging flags is enabled
143 if is-flagq "-g*" ; then
144 check-reqs_pkg_setup
145 einfo "You have at least 6GB of temporary build space available, but "
146 einfo "it may still not be enough, as the total space requirements "
147 einfo "depends on the debugging flags (-ggdb vs -g1) and enabled features."
148 fi
149 # Needed for CodeGeneratorInspector.py
150 python-single-r1_pkg_setup
151 }
152
153 src_prepare() {
154 DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install
155
156 # intermediate MacPorts hack while upstream bug is not fixed properly
157 # https://bugs.webkit.org/show_bug.cgi?id=28727
158 use aqua && epatch "${FILESDIR}"/${PN}-1.6.1-darwin-quartz.patch
159
160 # Drop DEPRECATED flags
161 LC_ALL=C sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' GNUmakefile.am || die
162
163 # Don't force -O2
164 sed -i 's/-O2//g' "${S}"/configure.ac || die
165
166 # Build-time segfaults under PaX with USE="introspection jit", bug #404215
167 if use introspection && use jit; then
168 epatch "${FILESDIR}/${PN}-1.6.3-paxctl-introspection.patch"
169 cp "${FILESDIR}/gir-paxctl-lt-wrapper" "${S}/" || die
170 fi
171
172 # We need to reset some variables to prevent permissions problems and failures
173 # like https://bugs.webkit.org/show_bug.cgi?id=35471 and bug #323669
174 gnome2_environment_reset
175
176 # XXX: failing tests
177 # https://bugs.webkit.org/show_bug.cgi?id=50744
178 # testkeyevents is interactive
179 # mimehandling test sometimes fails under Xvfb (works fine manually)
180 # datasource test needs a network connection and intermittently fails with icedtea-web
181 # webplugindatabase intermittently fails with icedtea-web
182 sed -e '/Programs\/unittests\/testwebinspector/ d' \
183 -e '/Programs\/unittests\/testkeyevents/ d' \
184 -e '/Programs\/unittests\/testmimehandling/ d' \
185 -e '/Programs\/unittests\/testwebdatasource/ d' \
186 -e '/Programs\/unittests\/testwebplugindatabase/ d' \
187 -i Source/WebKit/gtk/GNUmakefile.am || die
188
189 if ! use gstreamer; then
190 # webkit2's TestWebKitWebView requires <video> support
191 sed -e '/Programs\/WebKit2APITests\/TestWebKitWebView/ d' \
192 -i Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am || die
193 fi
194 # garbage collection test fails intermittently if icedtea-web is installed
195 epatch "${FILESDIR}/${PN}-1.7.90-test_garbage_collection.patch"
196
197 # occasional test failure due to additional Xvfb process spawned
198 # TODO epatch "${FILESDIR}/${PN}-1.8.1-tests-xvfb.patch"
199
200 # bug #417523, https://bugs.webkit.org/show_bug.cgi?id=96602
201 epatch "${FILESDIR}/${PN}-1.9.91-libdl.patch"
202
203 # uclibc fix, bug #441674
204 epatch "${FILESDIR}/${PN}-1.10.1-disable-backtrace-uclibc.patch"
205
206 # Respect CC, otherwise fails on prefix #395875
207 tc-export CC
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 myconf="
232 $(use_enable coverage)
233 $(use_enable debug)
234 $(use_enable debug debug-features)
235 $(use_enable geoloc geolocation)
236 $(use_enable spell spellcheck)
237 $(use_enable introspection)
238 $(use_enable gstreamer video)
239 $(use_enable jit)
240 $(use_enable webgl)
241 --with-gtk=3.0
242 --with-gstreamer=1.0
243 --with-accelerated-compositing
244 --enable-dependency-tracking
245 --disable-gtk-doc
246 $(use aqua && echo "--with-font-backend=pango --with-target=quartz")"
247 # Aqua support in gtk3 is untested
248
249 if has_version "virtual/rubygems[ruby_targets_ruby19]"; then
250 myconf="${myconf} RUBY=$(type -P ruby19)"
251 else
252 myconf="${myconf} RUBY=$(type -P ruby18)"
253 fi
254
255 econf ${myconf}
256 }
257
258 src_compile() {
259 # Avoid parallel make failure with -j9
260 emake DerivedSources/WebCore/JSNode.h
261 default
262 }
263
264 src_test() {
265 # Tests expect an out-of-source build in WebKitBuild
266 ln -s . WebKitBuild || die "ln failed"
267
268 # Prevents test failures on PaX systems
269 use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) \
270 Programs/unittests/.libs/test*
271 unset DISPLAY
272 # Tests need virtualx, bug #294691, bug #310695
273 # Parallel tests sometimes fail
274 Xemake -j1 check
275 }
276
277 src_install() {
278 default
279
280 newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk
281 newdoc Source/WebKit/gtk/po/ChangeLog ChangeLog.gtk-po
282 newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore
283 newdoc Source/WebCore/ChangeLog ChangeLog.WebCore
284
285 prune_libtool_files
286
287 # Prevents crashes on PaX systems
288 use jit && pax-mark m "${ED}usr/bin/jsc-3"
289 }