1 |
commit: 53d487eab7a9b13696021442d5716fbf4c1837bb |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Wed May 20 18:35:51 2020 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 25 23:38:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=53d487ea |
7 |
|
8 |
net-libs/webkit-gtk: remove old; synced with ::gentoo |
9 |
|
10 |
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
net-libs/webkit-gtk/Manifest | 1 - |
14 |
net-libs/webkit-gtk/webkit-gtk-2.28.1.ebuild | 296 --------------------------- |
15 |
2 files changed, 297 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest |
18 |
index ec39ddf..9cb9e91 100644 |
19 |
--- a/net-libs/webkit-gtk/Manifest |
20 |
+++ b/net-libs/webkit-gtk/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST webkitgtk-2.24.4.tar.xz 17575784 BLAKE2B c30683ea365a50d7def572305b49278343d67739f9bd3cfd78cb08b5cc87b5453504df9b09752f8d6483b18b9b812f3d3cddc084762cfa8990fcc651660b89c2 SHA512 1d713955a735ae2e2229beea7bda7f518a6247c6aa7f5753aeb5b5c6395339d451d0d146f7188e7ba65cb82ea5a74a5e73e956fe59d5f5f97659a44af33df112 |
23 |
DIST webkitgtk-2.26.4.tar.xz 19329636 BLAKE2B 9dc88bf9e2bec4f3ccc316f4967e991595fa17151ad74781ea514e72700f2bd1f3ed32c5ee662eb1d04fa023e7c33ad1215078415b67c939ee0d4f6d55358d4a SHA512 b4d96672d0a41fb7591dd312254fc1b7a85e632923bf2d954d79d395306db96d5a6b4f85e24ea4ba0a447e45e29a41882249c26f6b2d6d572225abefcf28a474 |
24 |
-DIST webkitgtk-2.28.1.tar.xz 21427628 BLAKE2B 58f19d68598ed1aee58f9f700c84e76c9c58980e39d7fe1883c3be991f575074db3156b9a7a041bb3d59130d87d37b1bdee9cf6c122c4f0b0ba6637d66534c32 SHA512 30cfe63d202673d1f0b0ab32e062eab225e51b993d9bb0f51c02d0497423e1591b5a2e943c30d1c9ee6d9073dfbd13b8ec24bca94f380fe8886019e8185628b8 |
25 |
DIST webkitgtk-2.28.2.tar.xz 21427772 BLAKE2B 0749ffac526ae90ffb8af3fbf8f9ce87db80f229b96e2daa435f9bd6e6e985bbb8c33011976213b2e4ce286c9f1d38f0b85279507cdc9c52b95fbeb32c9f676c SHA512 c7c0c55b1ebc61c0ec9cd9af96a12058a96ba9b011330b12c7c2776685736e0edf604f5eee639637cb50b2967d77c2db4dea15050a575fd34a1f6f0a8b8c56f8 |
26 |
|
27 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.28.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.28.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index bc1ab61..0000000 |
30 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.28.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,296 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-CMAKE_MAKEFILE_GENERATOR="ninja" |
38 |
-PYTHON_COMPAT=( python{3_6,3_7} ) |
39 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
40 |
-CMAKE_MIN_VERSION=3.10 |
41 |
- |
42 |
-inherit check-reqs cmake-utils flag-o-matic gnome2 pax-utils python-any-r1 ruby-single toolchain-funcs virtualx |
43 |
- |
44 |
-MY_P="webkitgtk-${PV}" |
45 |
-DESCRIPTION="Open source web browser engine" |
46 |
-HOMEPAGE="https://www.webkitgtk.org" |
47 |
-SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" |
48 |
- |
49 |
-LICENSE="LGPL-2+ BSD" |
50 |
-SLOT="4/37" # soname version of libwebkit2gtk-4.0 |
51 |
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~sparc ~x86" |
52 |
- |
53 |
-IUSE="aqua coverage +egl +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build libnotify +opengl seccomp spell wayland +X" |
54 |
- |
55 |
-# gstreamer with opengl/gles2 needs egl |
56 |
-REQUIRED_USE=" |
57 |
- gles2-only? ( egl !opengl ) |
58 |
- gstreamer? ( opengl? ( egl ) ) |
59 |
- wayland? ( egl ) |
60 |
- || ( aqua wayland X ) |
61 |
-" |
62 |
- |
63 |
-# Tests fail to link for inexplicable reasons |
64 |
-# https://bugs.webkit.org/show_bug.cgi?id=148210 |
65 |
-RESTRICT="test" |
66 |
- |
67 |
-# Aqua support in gtk3 is untested |
68 |
-# Dependencies found at Source/cmake/OptionsGTK.cmake |
69 |
-# Various compile-time optionals for gtk+-3.22.0 - ensure it |
70 |
-# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.26 |
71 |
-# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) |
72 |
-wpe_depend=" |
73 |
- >=gui-libs/libwpe-1.3.0:1.0 |
74 |
- >=gui-libs/wpebackend-fdo-1.3.1:1.0 |
75 |
-" |
76 |
-RDEPEND=" |
77 |
- >=x11-libs/cairo-1.16.0:=[X?] |
78 |
- >=media-libs/fontconfig-2.13.0:1.0 |
79 |
- >=media-libs/freetype-2.9.0:2 |
80 |
- >=dev-libs/libgcrypt-1.7.0:0= |
81 |
- >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] |
82 |
- >=media-libs/harfbuzz-1.4.2:=[icu(+)] |
83 |
- >=dev-libs/icu-3.8.1-r1:= |
84 |
- virtual/jpeg:0= |
85 |
- >=net-libs/libsoup-2.54:2.4[introspection?] |
86 |
- >=dev-libs/libxml2-2.8.0:2 |
87 |
- >=media-libs/libpng-1.4:0= |
88 |
- dev-db/sqlite:3= |
89 |
- sys-libs/zlib:0 |
90 |
- >=dev-libs/atk-2.16.0 |
91 |
- media-libs/libwebp:= |
92 |
- |
93 |
- >=dev-libs/glib-2.44.0:2 |
94 |
- >=dev-libs/libxslt-1.1.7 |
95 |
- media-libs/woff2 |
96 |
- gnome-keyring? ( app-crypt/libsecret ) |
97 |
- introspection? ( >=dev-libs/gobject-introspection-1.32.0:= ) |
98 |
- dev-libs/libtasn1:= |
99 |
- spell? ( >=app-text/enchant-0.22:2 ) |
100 |
- gstreamer? ( |
101 |
- >=media-libs/gstreamer-1.14:1.0 |
102 |
- >=media-libs/gst-plugins-base-1.14:1.0[egl?,opengl?] |
103 |
- gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) |
104 |
- >=media-plugins/gst-plugins-opus-1.14.4-r1:1.0 |
105 |
- >=media-libs/gst-plugins-bad-1.14:1.0 ) |
106 |
- |
107 |
- X? ( |
108 |
- x11-libs/libX11 |
109 |
- x11-libs/libXcomposite |
110 |
- x11-libs/libXdamage |
111 |
- x11-libs/libXrender |
112 |
- x11-libs/libXt ) |
113 |
- |
114 |
- libnotify? ( x11-libs/libnotify ) |
115 |
- dev-libs/hyphen |
116 |
- jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) |
117 |
- |
118 |
- egl? ( media-libs/mesa[egl] ) |
119 |
- gles2-only? ( media-libs/mesa[gles2] ) |
120 |
- opengl? ( virtual/opengl ) |
121 |
- wayland? ( |
122 |
- dev-libs/wayland |
123 |
- >=dev-libs/wayland-protocols-1.12 |
124 |
- opengl? ( ${wpe_depend} ) |
125 |
- gles2-only? ( ${wpe_depend} ) |
126 |
- ) |
127 |
- |
128 |
- seccomp? ( |
129 |
- >=sys-apps/bubblewrap-0.3.1 |
130 |
- sys-libs/libseccomp |
131 |
- sys-apps/xdg-dbus-proxy |
132 |
- ) |
133 |
-" |
134 |
-unset wpe_depend |
135 |
-# paxctl needed for bug #407085 |
136 |
-# Need real bison, not yacc |
137 |
-DEPEND="${RDEPEND} |
138 |
- ${PYTHON_DEPS} |
139 |
- ${RUBY_DEPS} |
140 |
- >=app-accessibility/at-spi2-core-2.5.3 |
141 |
- dev-util/glib-utils |
142 |
- >=dev-util/gperf-3.0.1 |
143 |
- >=sys-devel/bison-2.4.3 |
144 |
- || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) |
145 |
- sys-devel/gettext |
146 |
- virtual/pkgconfig |
147 |
- |
148 |
- >=dev-lang/perl-5.10 |
149 |
- virtual/perl-Data-Dumper |
150 |
- virtual/perl-Carp |
151 |
- virtual/perl-JSON-PP |
152 |
- |
153 |
- gtk-doc? ( >=dev-util/gtk-doc-1.10 ) |
154 |
- geolocation? ( dev-util/gdbus-codegen ) |
155 |
-" |
156 |
-# test? ( |
157 |
-# dev-python/pygobject:3[python_targets_python2_7] |
158 |
-# x11-themes/hicolor-icon-theme |
159 |
-# jit? ( sys-apps/paxctl ) ) |
160 |
-RDEPEND="${RDEPEND} |
161 |
- geolocation? ( >=app-misc/geoclue-2.1.5:2.0 ) |
162 |
-" |
163 |
- |
164 |
-S="${WORKDIR}/${MY_P}" |
165 |
- |
166 |
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 |
167 |
- |
168 |
-pkg_pretend() { |
169 |
- if [[ ${MERGE_TYPE} != "binary" ]] ; then |
170 |
- if is-flagq "-g*" && ! is-flagq "-g*0" ; then |
171 |
- einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" |
172 |
- check-reqs_pkg_pretend |
173 |
- fi |
174 |
- |
175 |
- if ! test-flag-CXX -std=c++17 ; then |
176 |
- die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" |
177 |
- fi |
178 |
- fi |
179 |
- |
180 |
- if ! use opengl && ! use gles2-only; then |
181 |
- ewarn |
182 |
- ewarn "You are disabling OpenGL usage (USE=opengl or USE=gles2-only) completely." |
183 |
- ewarn "This is an unsupported configuration meant for very specific embedded" |
184 |
- ewarn "use cases, where there truly is no GL possible (and even that use case" |
185 |
- ewarn "is very unlikely to come by). If you have GL (even software-only), you" |
186 |
- ewarn "really really should be enabling OpenGL!" |
187 |
- ewarn |
188 |
- fi |
189 |
-} |
190 |
- |
191 |
-pkg_setup() { |
192 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
193 |
- check-reqs_pkg_setup |
194 |
- fi |
195 |
- |
196 |
- python-any-r1_pkg_setup |
197 |
-} |
198 |
- |
199 |
-src_prepare() { |
200 |
- eapply "${FILESDIR}/${PN}-2.24.4-eglmesaext-include.patch" # bug 699054 # https://bugs.webkit.org/show_bug.cgi?id=204108 |
201 |
- eapply "${FILESDIR}"/2.26.3-fix-gtk-doc.patch # bug 704550 - retest without it once we can depend on >=gtk-doc-1.32 |
202 |
- if use elibc_musl ; then |
203 |
- # Taken from https://git.alpinelinux.org/aports/tree/community/webkit2gtk/musl-fixes.patch?id=be463923b10a7268117c27c7e5515fc32457918c |
204 |
- eapply "${FILESDIR}/${P}-musl.patch" |
205 |
- eapply "${FILESDIR}/${P}-lower-stack-usage.patch" |
206 |
- fi |
207 |
- cmake-utils_src_prepare |
208 |
- gnome2_src_prepare |
209 |
-} |
210 |
- |
211 |
-src_configure() { |
212 |
- # Respect CC, otherwise fails on prefix #395875 |
213 |
- tc-export CC |
214 |
- |
215 |
- # It does not compile on alpha without this in LDFLAGS |
216 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 |
217 |
- use alpha && append-ldflags "-Wl,--no-relax" |
218 |
- |
219 |
- # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 |
220 |
- use ia64 && append-ldflags "-Wl,--no-as-needed" |
221 |
- |
222 |
- # Sigbuses on SPARC with mcpu and co., bug #??? |
223 |
- use sparc && filter-flags "-mvis" |
224 |
- |
225 |
- # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 |
226 |
- use ppc64 && append-flags "-mminimal-toc" |
227 |
- |
228 |
- # Try to use less memory, bug #469942 (see Fedora .spec for reference) |
229 |
- # --no-keep-memory doesn't work on ia64, bug #502492 |
230 |
- if ! use ia64; then |
231 |
- append-ldflags "-Wl,--no-keep-memory" |
232 |
- fi |
233 |
- |
234 |
- # We try to use gold when possible for this package |
235 |
-# if ! tc-ld-is-gold ; then |
236 |
-# append-ldflags "-Wl,--reduce-memory-overheads" |
237 |
-# fi |
238 |
- |
239 |
- # Ruby situation is a bit complicated. See bug 513888 |
240 |
- local rubyimpl |
241 |
- local ruby_interpreter="" |
242 |
- for rubyimpl in ${USE_RUBY}; do |
243 |
- if has_version --host-root "virtual/rubygems[ruby_targets_${rubyimpl}]"; then |
244 |
- ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" |
245 |
- fi |
246 |
- done |
247 |
- # This will rarely occur. Only a couple of corner cases could lead us to |
248 |
- # that failure. See bug 513888 |
249 |
- [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" |
250 |
- |
251 |
- # TODO: Check Web Audio support |
252 |
- # should somehow let user select between them? |
253 |
- # |
254 |
- # opengl needs to be explicetly handled, bug #576634 |
255 |
- |
256 |
- local use_wpe_renderer=OFF |
257 |
- local opengl_enabled |
258 |
- if use opengl || use gles2-only; then |
259 |
- opengl_enabled=ON |
260 |
- use wayland && use_wpe_renderer=ON |
261 |
- else |
262 |
- opengl_enabled=OFF |
263 |
- fi |
264 |
- |
265 |
- local mycmakeargs=( |
266 |
- -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) |
267 |
- -DENABLE_QUARTZ_TARGET=$(usex aqua) |
268 |
- -DENABLE_API_TESTS=$(usex test) |
269 |
- -DENABLE_GTKDOC=$(usex gtk-doc) |
270 |
- -DENABLE_GEOLOCATION=$(usex geolocation) # Runtime optional (talks over dbus service) |
271 |
- $(cmake-utils_use_find_package gles2-only OpenGLES2) |
272 |
- -DENABLE_GLES2=$(usex gles2-only) |
273 |
- -DENABLE_VIDEO=$(usex gstreamer) |
274 |
- -DENABLE_WEB_AUDIO=$(usex gstreamer) |
275 |
- -DENABLE_INTROSPECTION=$(usex introspection) |
276 |
- -DUSE_LIBNOTIFY=$(usex libnotify) |
277 |
- -DUSE_LIBSECRET=$(usex gnome-keyring) |
278 |
- -DUSE_OPENJPEG=$(usex jpeg2k) |
279 |
- -DUSE_WOFF2=ON |
280 |
- -DENABLE_SPELLCHECK=$(usex spell) |
281 |
- -DENABLE_WAYLAND_TARGET=$(usex wayland) |
282 |
- -DUSE_WPE_RENDERER=${use_wpe_renderer} # WPE renderer is used to implement accelerated compositing under wayland |
283 |
- $(cmake-utils_use_find_package egl EGL) |
284 |
- $(cmake-utils_use_find_package opengl OpenGL) |
285 |
- -DENABLE_X11_TARGET=$(usex X) |
286 |
- -DENABLE_OPENGL=${opengl_enabled} |
287 |
- -DENABLE_WEBGL=${opengl_enabled} |
288 |
- -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) |
289 |
- -DBWRAP_EXECUTABLE="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that |
290 |
- -DCMAKE_BUILD_TYPE=Release |
291 |
- -DPORT=GTK |
292 |
- ${ruby_interpreter} |
293 |
- ) |
294 |
- |
295 |
- if use elibc_musl ; then |
296 |
- mycmakeargs+=( -DENABLE_SAMPLING_PROFILER=OFF ) |
297 |
- fi |
298 |
- |
299 |
- # Allow it to use GOLD when possible as it has all the magic to |
300 |
- # detect when to use it and using gold for this concrete package has |
301 |
- # multiple advantages and is also the upstream default, bug #585788 |
302 |
-# if tc-ld-is-gold ; then |
303 |
-# mycmakeargs+=( -DUSE_LD_GOLD=ON ) |
304 |
-# else |
305 |
-# mycmakeargs+=( -DUSE_LD_GOLD=OFF ) |
306 |
-# fi |
307 |
- |
308 |
- cmake-utils_src_configure |
309 |
-} |
310 |
- |
311 |
-src_compile() { |
312 |
- cmake-utils_src_compile |
313 |
-} |
314 |
- |
315 |
-src_test() { |
316 |
- # Prevents test failures on PaX systems |
317 |
- pax-mark m $(list-paxables Programs/*[Tt]ests/*) # Programs/unittests/.libs/test* |
318 |
- |
319 |
- cmake-utils_src_test |
320 |
-} |
321 |
- |
322 |
-src_install() { |
323 |
- cmake-utils_src_install |
324 |
- |
325 |
- # Prevents crashes on PaX systems, bug #522808 |
326 |
- pax-mark m "${ED}usr/libexec/webkit2gtk-4.0/jsc" "${ED}usr/libexec/webkit2gtk-4.0/WebKitWebProcess" |
327 |
- pax-mark m "${ED}usr/libexec/webkit2gtk-4.0/WebKitPluginProcess" |
328 |
-} |