1 |
commit: 3eeb7feb045225c1cb5340d78746fd5718f2b064 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 19:24:34 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 19:25:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eeb7feb |
7 |
|
8 |
net-libs/webkit-gtk: Drop old versions |
9 |
|
10 |
Bug: https://bugs.gentoo.org/845252 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
net-libs/webkit-gtk/Manifest | 1 - |
14 |
net-libs/webkit-gtk/webkit-gtk-2.36.1.ebuild | 250 --------------------------- |
15 |
2 files changed, 251 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest |
18 |
index be9de8d68143..8646d8649ef3 100644 |
19 |
--- a/net-libs/webkit-gtk/Manifest |
20 |
+++ b/net-libs/webkit-gtk/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST webkitgtk-2.36.1.tar.xz 27149816 BLAKE2B 8136caed8779c23f872d2d540f3ca934e0e718699c575c893f44c63dac0f5fd59a93ad6cd299531a544719d6b5715c8d33fac3c3288983bcef51a47a2d75db59 SHA512 c0574bd8924df89c1a82905a8c0c09b4be49f75639db659b38fc3123922128a22fa6f4cf099f08ef7742ecefbbde765177a77e00fd641db3a5eb509586e96ae4 |
23 |
DIST webkitgtk-2.36.3.tar.xz 26600236 BLAKE2B 80c1127e75a12603e3646b840d6fd8cc4146b5a964d9a44966ff7d40e67f8743420c87f3c001f9299b2449f492401d86c02e55395e2db8938ff0e3bbb08790cb SHA512 dfd02e22a58d0080d9bf6c7dd2a710bb9d8698ff8a4226653629294b74cc981a3e35d4d93eed5ebad35c81b339ec8b96755ad0b36c0238da151b359e07bcb692 |
24 |
|
25 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.36.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.36.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index bb28e81e3161..000000000000 |
28 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.36.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,250 +0,0 @@ |
31 |
-# Copyright 1999-2022 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
-PYTHON_REQ_USE="xml(+)" |
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
-USE_RUBY="ruby27 ruby30 ruby31" |
38 |
- |
39 |
-inherit check-reqs flag-o-matic gnome2 python-any-r1 ruby-single toolchain-funcs cmake |
40 |
- |
41 |
-MY_P="webkitgtk-${PV}" |
42 |
-DESCRIPTION="Open source web browser engine" |
43 |
-HOMEPAGE="https://www.webkitgtk.org" |
44 |
-SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" |
45 |
- |
46 |
-LICENSE="LGPL-2+ BSD" |
47 |
-SLOT="4/37" # soname version of libwebkit2gtk-4.0 |
48 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86" |
49 |
- |
50 |
-IUSE="aqua avif +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify seccomp spell systemd test wayland X" |
51 |
- |
52 |
-# gstreamer with opengl/gles2 needs egl |
53 |
-REQUIRED_USE=" |
54 |
- gles2-only? ( egl ) |
55 |
- gstreamer? ( egl ) |
56 |
- wayland? ( egl ) |
57 |
- || ( aqua wayland X ) |
58 |
-" |
59 |
- |
60 |
-# Tests fail to link for inexplicable reasons |
61 |
-# https://bugs.webkit.org/show_bug.cgi?id=148210 |
62 |
-RESTRICT="test" |
63 |
- |
64 |
-# Dependencies found at Source/cmake/OptionsGTK.cmake |
65 |
-# Missing WebRTC support, but ENABLE_MEDIA_STREAM/ENABLE_WEB_RTC is experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30 |
66 |
-# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) |
67 |
-# TODO: gst-plugins-base[X] is only needed when build configuration ends up with GLX set, but that's a bit automagic too to fix |
68 |
-RDEPEND=" |
69 |
- >=x11-libs/cairo-1.16.0:=[X?] |
70 |
- >=media-libs/fontconfig-2.13.0:1.0 |
71 |
- >=media-libs/freetype-2.9.0:2 |
72 |
- >=dev-libs/libgcrypt-1.7.0:0= |
73 |
- >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] |
74 |
- >=media-libs/harfbuzz-1.4.2:=[icu(+)] |
75 |
- >=dev-libs/icu-61.2:= |
76 |
- virtual/jpeg:0= |
77 |
- >=net-libs/libsoup-2.54:2.4[introspection?] |
78 |
- >=dev-libs/libxml2-2.8.0:2 |
79 |
- >=media-libs/libpng-1.4:0= |
80 |
- dev-db/sqlite:3= |
81 |
- sys-libs/zlib:0 |
82 |
- >=dev-libs/atk-2.16.0 |
83 |
- media-libs/libwebp:= |
84 |
- |
85 |
- >=dev-libs/glib-2.67.1:2 |
86 |
- >=dev-libs/libxslt-1.1.7 |
87 |
- media-libs/woff2 |
88 |
- gnome-keyring? ( app-crypt/libsecret ) |
89 |
- introspection? ( >=dev-libs/gobject-introspection-1.59.1:= ) |
90 |
- dev-libs/libtasn1:= |
91 |
- spell? ( >=app-text/enchant-0.22:2 ) |
92 |
- gstreamer? ( |
93 |
- >=media-libs/gstreamer-1.14:1.0 |
94 |
- >=media-libs/gst-plugins-base-1.14:1.0[egl?,X?] |
95 |
- gles2-only? ( media-libs/gst-plugins-base:1.0[gles2] ) |
96 |
- !gles2-only? ( media-libs/gst-plugins-base:1.0[opengl] ) |
97 |
- >=media-plugins/gst-plugins-opus-1.14.4-r1:1.0 |
98 |
- >=media-libs/gst-plugins-bad-1.14:1.0 |
99 |
- ) |
100 |
- |
101 |
- X? ( |
102 |
- x11-libs/libX11 |
103 |
- x11-libs/libXcomposite |
104 |
- x11-libs/libXdamage |
105 |
- x11-libs/libXrender |
106 |
- x11-libs/libXt |
107 |
- ) |
108 |
- |
109 |
- libnotify? ( x11-libs/libnotify ) |
110 |
- dev-libs/hyphen |
111 |
- jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) |
112 |
- avif? ( >=media-libs/libavif-0.9.0:= ) |
113 |
- lcms? ( media-libs/lcms:2 ) |
114 |
- |
115 |
- egl? ( media-libs/mesa[egl(+)] ) |
116 |
- gles2-only? ( media-libs/mesa[gles2] ) |
117 |
- !gles2-only? ( virtual/opengl ) |
118 |
- wayland? ( |
119 |
- dev-libs/wayland |
120 |
- >=dev-libs/wayland-protocols-1.12 |
121 |
- >=gui-libs/libwpe-1.5.0:1.0 |
122 |
- >=gui-libs/wpebackend-fdo-1.7.0:1.0 |
123 |
- ) |
124 |
- |
125 |
- seccomp? ( |
126 |
- >=sys-apps/bubblewrap-0.3.1 |
127 |
- sys-libs/libseccomp |
128 |
- sys-apps/xdg-dbus-proxy |
129 |
- ) |
130 |
- |
131 |
- systemd? ( sys-apps/systemd:= ) |
132 |
- gamepad? ( >=dev-libs/libmanette-0.2.4 ) |
133 |
-" |
134 |
-DEPEND="${RDEPEND}" |
135 |
-# Need real bison, not yacc |
136 |
-BDEPEND=" |
137 |
- ${PYTHON_DEPS} |
138 |
- ${RUBY_DEPS} |
139 |
- >=app-accessibility/at-spi2-core-2.5.3 |
140 |
- dev-util/glib-utils |
141 |
- >=dev-util/gperf-3.0.1 |
142 |
- >=sys-devel/bison-2.4.3 |
143 |
- || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 ) |
144 |
- sys-devel/gettext |
145 |
- virtual/pkgconfig |
146 |
- |
147 |
- >=dev-lang/perl-5.10 |
148 |
- virtual/perl-Data-Dumper |
149 |
- virtual/perl-Carp |
150 |
- virtual/perl-JSON-PP |
151 |
- |
152 |
- gtk-doc? ( >=dev-util/gtk-doc-1.32 ) |
153 |
- geolocation? ( dev-util/gdbus-codegen ) |
154 |
- >=dev-util/cmake-3.10 |
155 |
-" |
156 |
-# test? ( |
157 |
-# dev-python/pygobject:3[python_targets_python2_7] |
158 |
-# x11-themes/hicolor-icon-theme |
159 |
-# ) |
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 |
- |
181 |
-pkg_setup() { |
182 |
- if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then |
183 |
- check-reqs_pkg_setup |
184 |
- fi |
185 |
- |
186 |
- python-any-r1_pkg_setup |
187 |
-} |
188 |
- |
189 |
-src_prepare() { |
190 |
- cmake_src_prepare |
191 |
- gnome2_src_prepare |
192 |
-} |
193 |
- |
194 |
-src_configure() { |
195 |
- # Respect CC, otherwise fails on prefix #395875 |
196 |
- tc-export CC |
197 |
- |
198 |
- # It does not compile on alpha without this in LDFLAGS |
199 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 |
200 |
- use alpha && append-ldflags "-Wl,--no-relax" |
201 |
- |
202 |
- # ld segfaults on ia64 with LDFLAGS --as-needed, bug #555504 |
203 |
- use ia64 && append-ldflags "-Wl,--no-as-needed" |
204 |
- |
205 |
- # Sigbuses on SPARC with mcpu and co., bug #??? |
206 |
- use sparc && filter-flags "-mvis" |
207 |
- |
208 |
- # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 |
209 |
- use ppc64 && append-flags "-mminimal-toc" |
210 |
- |
211 |
- # Try to use less memory, bug #469942 (see Fedora .spec for reference) |
212 |
- # --no-keep-memory doesn't work on ia64, bug #502492 |
213 |
- if ! use ia64; then |
214 |
- append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") |
215 |
- fi |
216 |
- |
217 |
- # Ruby situation is a bit complicated. See bug 513888 |
218 |
- local rubyimpl |
219 |
- local ruby_interpreter="" |
220 |
- for rubyimpl in ${USE_RUBY}; do |
221 |
- if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}]"; then |
222 |
- ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" |
223 |
- fi |
224 |
- done |
225 |
- # This will rarely occur. Only a couple of corner cases could lead us to |
226 |
- # that failure. See bug 513888 |
227 |
- [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" |
228 |
- |
229 |
- # TODO: Check Web Audio support |
230 |
- # should somehow let user select between them? |
231 |
- |
232 |
- local mycmakeargs=( |
233 |
- ${ruby_interpreter} |
234 |
- $(cmake_use_find_package gles2-only OpenGLES2) |
235 |
- $(cmake_use_find_package egl EGL) |
236 |
- $(cmake_use_find_package !gles2-only OpenGL) |
237 |
- -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that |
238 |
- -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy |
239 |
- -DPORT=GTK |
240 |
- # Source/cmake/WebKitFeatures.cmake |
241 |
- -DENABLE_API_TESTS=$(usex test) |
242 |
- -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) |
243 |
- -DENABLE_GAMEPAD=$(usex gamepad) |
244 |
- -DENABLE_GEOLOCATION=$(usex geolocation) # Runtime optional (talks over dbus service) |
245 |
- -DENABLE_MINIBROWSER=$(usex examples) |
246 |
- -DENABLE_SPELLCHECK=$(usex spell) |
247 |
- -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) |
248 |
- -DENABLE_VIDEO=$(usex gstreamer) |
249 |
- -DENABLE_WEBGL=ON |
250 |
- # Supported only under ANGLE |
251 |
- -DENABLE_WEBGL2=OFF |
252 |
- -DENABLE_WEB_AUDIO=$(usex gstreamer) |
253 |
- # Source/cmake/OptionsGTK.cmake |
254 |
- -DENABLE_GLES2=$(usex gles2-only) |
255 |
- -DENABLE_GTKDOC=$(usex gtk-doc) |
256 |
- -DENABLE_INTROSPECTION=$(usex introspection) |
257 |
- -DENABLE_JOURNALD_LOG=$(usex systemd) |
258 |
- -DENABLE_QUARTZ_TARGET=$(usex aqua) |
259 |
- -DENABLE_WAYLAND_TARGET=$(usex wayland) |
260 |
- -DENABLE_X11_TARGET=$(usex X) |
261 |
- -DUSE_ANGLE_WEBGL=OFF |
262 |
- -DUSE_AVIF=$(usex avif) |
263 |
- -DUSE_GTK4=OFF |
264 |
- -DUSE_JPEGXL=OFF |
265 |
- -DUSE_LCMS=$(usex lcms) |
266 |
- -DUSE_LIBHYPHEN=ON |
267 |
- -DUSE_LIBNOTIFY=$(usex libnotify) |
268 |
- -DUSE_LIBSECRET=$(usex gnome-keyring) |
269 |
- -DUSE_OPENGL_OR_ES=ON |
270 |
- -DUSE_OPENJPEG=$(usex jpeg2k) |
271 |
- -DUSE_SOUP2=ON |
272 |
- -DUSE_WOFF2=ON |
273 |
- -DUSE_WPE_RENDERER=$(usex wayland) # WPE renderer is used to implement accelerated compositing under wayland |
274 |
- ) |
275 |
- |
276 |
- # https://bugs.gentoo.org/761238 |
277 |
- append-cppflags -DNDEBUG |
278 |
- |
279 |
- WK_USE_CCACHE=NO cmake_src_configure |
280 |
-} |