Gentoo Archives: gentoo-commits

From: Priit Laes <plaes@×××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: net-libs/webkit-gtk/
Date: Wed, 08 Feb 2012 07:53:04
Message-Id: 67eda9314a17cd98b2a3f6f86488bc9208a96316.plaes@gentoo
1 commit: 67eda9314a17cd98b2a3f6f86488bc9208a96316
2 Author: Priit Laes <plaes <AT> plaes <DOT> org>
3 AuthorDate: Tue Feb 7 10:59:36 2012 +0000
4 Commit: Priit Laes <plaes <AT> plaes <DOT> org>
5 CommitDate: Tue Feb 7 10:59:36 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=67eda931
7
8 net-libs/webkit-gtk: 1.7.4 → 1.7.5
9
10 Also drop old
11
12 ---
13 net-libs/webkit-gtk/webkit-gtk-1.7.3-r200.ebuild | 156 -------------------
14 net-libs/webkit-gtk/webkit-gtk-1.7.3-r300.ebuild | 160 --------------------
15 ....4-r200.ebuild => webkit-gtk-1.7.5-r200.ebuild} | 0
16 ....4-r300.ebuild => webkit-gtk-1.7.5-r300.ebuild} | 0
17 4 files changed, 0 insertions(+), 316 deletions(-)
18
19 diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.3-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.3-r200.ebuild
20 deleted file mode 100644
21 index f62db47..0000000
22 --- a/net-libs/webkit-gtk/webkit-gtk-1.7.3-r200.ebuild
23 +++ /dev/null
24 @@ -1,156 +0,0 @@
25 -# Copyright 1999-2011 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.6.1-r200.ebuild,v 1.1 2011/09/30 13:52:33 nirbheek Exp $
28 -
29 -EAPI="4"
30 -
31 -# Don't define PYTHON_DEPEND: python only needed at build time
32 -inherit autotools eutils flag-o-matic eutils python virtualx
33 -
34 -MY_P="webkit-${PV}"
35 -DESCRIPTION="Open source web browser engine"
36 -HOMEPAGE="http://www.webkitgtk.org/"
37 -SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.xz"
38 -#SRC_URI="mirror://gentoo/${P}.tar.xz"
39 -
40 -LICENSE="LGPL-2 LGPL-2.1 BSD"
41 -SLOT="2"
42 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
43 -~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
44 -# geoclue
45 -IUSE="aqua coverage debug +gstreamer +introspection +jit spell webgl"
46 -# bug 372493
47 -REQUIRED_USE="introspection? ( gstreamer )"
48 -
49 -# use sqlite, svg by default
50 -# dependency on >=x11-libs/gtk+-2.13:2 for gail
51 -RDEPEND="
52 - dev-libs/libxml2:2
53 - dev-libs/libxslt
54 - virtual/jpeg
55 - >=media-libs/libpng-1.4:0
56 - >=x11-libs/cairo-1.10
57 - >=dev-libs/glib-2.27.90:2
58 - >=x11-libs/gtk+-2.13:2[aqua=,introspection?]
59 - >=dev-libs/icu-3.8.1-r1
60 - >=net-libs/libsoup-2.33.6:2.4[introspection?]
61 - dev-db/sqlite:3
62 - >=x11-libs/pango-1.12
63 - x11-libs/libXrender
64 -
65 - gstreamer? (
66 - media-libs/gstreamer:0.10
67 - >=media-libs/gst-plugins-base-0.10.30:0.10 )
68 -
69 - introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
70 -
71 - spell? ( >=app-text/enchant-0.22 )
72 -
73 - webgl? ( virtual/opengl )
74 -"
75 -DEPEND="${RDEPEND}
76 - =dev-lang/python-2*
77 - >=sys-devel/flex-2.5.33
78 - sys-devel/gettext
79 - virtual/yacc
80 - dev-util/gperf
81 - dev-util/pkgconfig
82 - dev-util/gtk-doc-am
83 - test? ( x11-themes/hicolor-icon-theme )
84 -"
85 -
86 -S="${WORKDIR}/${MY_P}"
87 -
88 -pkg_setup() {
89 - # Needed for CodeGeneratorInspector.py
90 - python_set_active_version 2
91 - python_pkg_setup
92 -}
93 -
94 -src_prepare() {
95 - DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install
96 -
97 - # FIXME: Fix unaligned accesses on ARM, IA64 and SPARC
98 - # https://bugs.webkit.org/show_bug.cgi?id=19775
99 - use sparc && epatch "${FILESDIR}"/${PN}-1.2.3-fix-pool-sparc.patch
100 -
101 - # intermediate MacPorts hack while upstream bug is not fixed properly
102 - # https://bugs.webkit.org/show_bug.cgi?id=28727
103 - use aqua && epatch "${FILESDIR}"/${PN}-1.2.5-darwin-quartz.patch
104 -
105 - # Fix build on Darwin8 (10.4 Tiger)
106 - # XXX: Fails to apply
107 - #epatch "${FILESDIR}"/${PN}-1.2.5-darwin8.patch
108 -
109 - # Don't force -O2
110 - sed -i 's/-O2//g' "${S}"/configure.ac
111 -
112 - # Don't build tests if not needed, part of bug #343249
113 - # XXX: Fails to apply
114 - #epatch "${FILESDIR}/${PN}-1.2.5-tests-build.patch"
115 -
116 - # Required for webgl; https://bugs.webkit.org/show_bug.cgi?id=69085
117 - mkdir -p DerivedSources/ANGLE
118 -
119 - # Prevent maintainer mode from being triggered during make
120 - AT_M4DIR=Source/autotools eautoreconf
121 -}
122 -
123 -src_configure() {
124 - # It doesn't compile on alpha without this in LDFLAGS
125 - use alpha && append-ldflags "-Wl,--no-relax"
126 -
127 - # Sigbuses on SPARC with mcpu and co.
128 - use sparc && filter-flags "-mcpu=*" "-mvis" "-mtune=*"
129 -
130 - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634
131 - use ppc64 && append-flags "-mminimal-toc"
132 -
133 - local myconf
134 -
135 - # XXX: Check Web Audio support
136 - # WebKit2 can only be built with gtk3
137 - # API documentation (gtk-doc) is built in webkit-gtk:3, always disable here
138 - myconf="
139 - $(use_enable coverage)
140 - $(use_enable debug)
141 - $(use_enable debug debug-features)
142 - $(use_enable spell spellcheck)
143 - $(use_enable introspection)
144 - $(use_enable gstreamer video)
145 - $(use_enable jit)
146 - $(use_enable webgl)
147 - --enable-web-sockets
148 - --with-gtk=2.0
149 - --disable-gtk-doc
150 - --disable-webkit2
151 - $(use aqua && echo "--with-font-backend=pango --with-target=quartz")"
152 -
153 - econf ${myconf}
154 -}
155 -
156 -src_compile() {
157 - # Fix sandbox error with USE="introspection"
158 - # https://bugs.webkit.org/show_bug.cgi?id=35471
159 - emake XDG_DATA_HOME="${T}/.local"
160 -}
161 -
162 -src_test() {
163 - unset DISPLAY
164 - # Tests need virtualx, bug #294691, bug #310695
165 - # Set XDG_DATA_HOME for introspection tools, bug #323669
166 - # Parallel tests sometimes fail
167 - Xemake -j1 check XDG_DATA_HOME="${T}/.local"
168 -}
169 -
170 -src_install() {
171 - default
172 -
173 - newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk
174 - newdoc Source/WebKit/gtk/po/ChangeLog ChangeLog.gtk-po
175 - newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore
176 - newdoc Source/WebCore/ChangeLog ChangeLog.WebCore
177 -
178 - # Remove .la files
179 - find "${D}" -name '*.la' -exec rm -f '{}' +
180 -}
181
182 diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.3-r300.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.3-r300.ebuild
183 deleted file mode 100644
184 index e896d47..0000000
185 --- a/net-libs/webkit-gtk/webkit-gtk-1.7.3-r300.ebuild
186 +++ /dev/null
187 @@ -1,160 +0,0 @@
188 -# Copyright 1999-2011 Gentoo Foundation
189 -# Distributed under the terms of the GNU General Public License v2
190 -# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.6.1-r300.ebuild,v 1.1 2011/09/30 13:52:33 nirbheek Exp $
191 -
192 -EAPI="4"
193 -
194 -# Don't define PYTHON_DEPEND: python only needed at build time
195 -inherit autotools eutils flag-o-matic eutils python virtualx
196 -
197 -MY_P="webkit-${PV}"
198 -DESCRIPTION="Open source web browser engine"
199 -HOMEPAGE="http://www.webkitgtk.org/"
200 -SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.xz"
201 -#SRC_URI="mirror://gentoo/${P}.tar.xz"
202 -
203 -LICENSE="LGPL-2 LGPL-2.1 BSD"
204 -SLOT="3"
205 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
206 -~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
207 -# geoclue
208 -IUSE="aqua coverage debug doc +gstreamer +introspection +jit spell webgl"
209 -# bug 372493
210 -REQUIRED_USE="introspection? ( gstreamer )"
211 -
212 -# use sqlite, svg by default
213 -# dependency on >=x11-libs/gtk+-2.13:2 for gail
214 -# Aqua support in gtk3 is untested
215 -# gtk2 is needed for plugin process support
216 -RDEPEND="
217 - dev-libs/libxml2:2
218 - dev-libs/libxslt
219 - virtual/jpeg
220 - >=media-libs/libpng-1.4:0
221 - >=x11-libs/cairo-1.10
222 - >=dev-libs/glib-2.27.90:2
223 - >=x11-libs/gtk+-3.0:3[aqua=,introspection?]
224 - >=dev-libs/icu-3.8.1-r1
225 - >=net-libs/libsoup-2.37.2.1:2.4[introspection?]
226 - dev-db/sqlite:3
227 - >=x11-libs/pango-1.12
228 - x11-libs/libXrender
229 -
230 - gstreamer? (
231 - media-libs/gstreamer:0.10
232 - >=media-libs/gst-plugins-base-0.10.30:0.10 )
233 -
234 - introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
235 -
236 - spell? ( >=app-text/enchant-0.22 )
237 -
238 - webgl? ( virtual/opengl )
239 -"
240 -DEPEND="${RDEPEND}
241 - =dev-lang/python-2*
242 - >=sys-devel/flex-2.5.33
243 - sys-devel/gettext
244 - virtual/yacc
245 - dev-util/gperf
246 - dev-util/pkgconfig
247 - dev-util/gtk-doc-am
248 - doc? ( >=dev-util/gtk-doc-1.10 )
249 - test? ( x11-themes/hicolor-icon-theme )
250 -"
251 -
252 -S="${WORKDIR}/${MY_P}"
253 -
254 -pkg_setup() {
255 - # Needed for CodeGeneratorInspector.py
256 - python_set_active_version 2
257 - python_pkg_setup
258 -}
259 -
260 -src_prepare() {
261 - DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install
262 -
263 - # FIXME: Fix unaligned accesses on ARM, IA64 and SPARC
264 - # https://bugs.webkit.org/show_bug.cgi?id=19775
265 - use sparc && epatch "${FILESDIR}"/${PN}-1.2.3-fix-pool-sparc.patch
266 -
267 - # intermediate MacPorts hack while upstream bug is not fixed properly
268 - # https://bugs.webkit.org/show_bug.cgi?id=28727
269 - use aqua && epatch "${FILESDIR}"/${PN}-1.2.5-darwin-quartz.patch
270 -
271 - # Fix build on Darwin8 (10.4 Tiger)
272 - # XXX: Fails to apply
273 - #epatch "${FILESDIR}"/${PN}-1.2.5-darwin8.patch
274 -
275 - # Don't force -O2
276 - sed -i 's/-O2//g' "${S}"/configure.ac
277 -
278 - # Don't build tests if not needed, part of bug #343249
279 - # XXX: Fails to apply
280 - #epatch "${FILESDIR}/${PN}-1.2.5-tests-build.patch"
281 -
282 - # Required for webgl; https://bugs.webkit.org/show_bug.cgi?id=69085
283 - mkdir -p DerivedSources/ANGLE
284 -
285 - # Prevent maintainer mode from being triggered during make
286 - AT_M4DIR=Source/autotools eautoreconf
287 -}
288 -
289 -src_configure() {
290 - # It doesn't compile on alpha without this in LDFLAGS
291 - use alpha && append-ldflags "-Wl,--no-relax"
292 -
293 - # Sigbuses on SPARC with mcpu and co.
294 - use sparc && filter-flags "-mcpu=*" "-mvis" "-mtune=*"
295 -
296 - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634
297 - use ppc64 && append-flags "-mminimal-toc"
298 -
299 - local myconf
300 -
301 - # XXX: Check Web Audio support
302 - # XXX: files for generating DerivedSources/WebKit2/* are missing, see
303 - # https://bugs.webkit.org/show_bug.cgi?id=66527
304 - myconf="
305 - $(use_enable coverage)
306 - $(use_enable debug)
307 - $(use_enable debug debug-features)
308 - $(use_enable doc gtk-doc)
309 - $(use_enable spell spellcheck)
310 - $(use_enable introspection)
311 - $(use_enable gstreamer video)
312 - $(use_enable jit)
313 - $(use_enable webgl)
314 - --enable-web-sockets
315 - --with-gtk=3.0
316 - --disable-webkit2
317 - $(use aqua && echo "--with-font-backend=pango --with-target=quartz")"
318 - # Aqua support in gtk3 is untested
319 -
320 - econf ${myconf}
321 -}
322 -
323 -src_compile() {
324 - # Fix sandbox error with USE="introspection"
325 - # https://bugs.webkit.org/show_bug.cgi?id=35471
326 - emake XDG_DATA_HOME="${T}/.local"
327 -}
328 -
329 -src_test() {
330 - unset DISPLAY
331 - # Tests need virtualx, bug #294691, bug #310695
332 - # Set XDG_DATA_HOME for introspection tools, bug #323669
333 - # Parallel tests sometimes fail
334 - Xemake -j1 check XDG_DATA_HOME="${T}/.local"
335 -}
336 -
337 -src_install() {
338 - default
339 -
340 - newdoc Source/WebKit/gtk/ChangeLog ChangeLog.gtk
341 - newdoc Source/WebKit/gtk/po/ChangeLog ChangeLog.gtk-po
342 - newdoc Source/JavaScriptCore/ChangeLog ChangeLog.JavaScriptCore
343 - newdoc Source/WebCore/ChangeLog ChangeLog.WebCore
344 -
345 - # Remove .la files
346 - find "${D}" -name '*.la' -exec rm -f '{}' +
347 -}
348
349 diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.4-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.5-r200.ebuild
350 similarity index 100%
351 rename from net-libs/webkit-gtk/webkit-gtk-1.7.4-r200.ebuild
352 rename to net-libs/webkit-gtk/webkit-gtk-1.7.5-r200.ebuild
353
354 diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.4-r300.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.5-r300.ebuild
355 similarity index 100%
356 rename from net-libs/webkit-gtk/webkit-gtk-1.7.4-r300.ebuild
357 rename to net-libs/webkit-gtk/webkit-gtk-1.7.5-r300.ebuild