diff options
| author | Crucible <crucible@localhost> | 2026-09-22 18:47:35 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-22 18:47:35 -0500 |
| commit | cde96c5ea0c81397fd3214d455a374f76179a7aa (patch) | |
| tree | 12c86d59eb88887c244b1145411db084ae5a6c1f /net-libs | |
| parent | 47516b9667518dacb1efd6d257f7b3e6a481ec93 (diff) | |
| download | baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.tar.gz baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.tar.xz baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.zip | |
Publish baldeagleos-repo candidate 0000000325-20260922-184323
Diffstat (limited to 'net-libs')
22 files changed, 384 insertions, 2492 deletions
diff --git a/net-libs/libgssglue/libgssglue-0.9-r1.ebuild b/net-libs/libgssglue/libgssglue-0.9-r1.ebuild index 5cabbb298bb5..0caf17c2562e 100644 --- a/net-libs/libgssglue/libgssglue-0.9-r1.ebuild +++ b/net-libs/libgssglue/libgssglue-0.9-r1.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND="virtual/krb5" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-libgssglue )" diff --git a/net-libs/loudmouth/loudmouth-1.5.4-r1.ebuild b/net-libs/loudmouth/loudmouth-1.5.4-r1.ebuild index e5599c7e890b..c42305c34207 100644 --- a/net-libs/loudmouth/loudmouth-1.5.4-r1.ebuild +++ b/net-libs/loudmouth/loudmouth-1.5.4-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ppc ppc64 ~riscv ~sparc x86" IUSE="asyncns debug +gnutls idn +ssl" RDEPEND=" diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 5eb9dd7636a2..57cbf5bf2560 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -8,3 +8,4 @@ DIST node-v24.21.0.tar.xz 57357488 BLAKE2B a907f5f23668d4a2839aebb9520417c0c4ee1 DIST node-v26.3.0.tar.xz 59811728 BLAKE2B a69f067e63883239a38397484b3f92ff4ca8a1ae651cb4f3328e6f994f16260751f3f64ff6c914aeef837d1f6deade8649979f091a044c86c8467058bb0065d2 SHA512 464a24d2536f3ead35325cfb268355fcc66a95260519174cba847efa4037ae2529c24781595b11aae45810570f41c0d2f2d7db2ed365baccda1017a7131a7efe DIST node-v26.8.1.tar.xz 61293584 BLAKE2B 961996ccea2be7e5aafba7163342b04f929a8aafc95a17e1ed8e3a99b2439a5ee206370b2dd5a4af986ebe35212e36bc3ab7ba77282a5d8626cfba3320273c99 SHA512 d85f4cd844bda35322fe1613d868b09b3024c6bad3d5e57e72304c8c288d5a238998bd7bf7ce223cf537d99364b935634db3bcac35f5a3c557a4e21f8c0a5443 DIST node-v26.8.2.tar.xz 61307988 BLAKE2B ba0c72f1085592dae974334a5ddf5da4f664b9c7ebee8361b8a4a5ba2bb588f21b9940272962e71bcfc5f64e9aa91b850b464a975d6ed57092c305480428f2c8 SHA512 b4331a00b3c1aa508d374b6d09042dedf4fd78c21c5aec46b3017c5fa1aa67f670bc5ef20449e625cd40b775b9582c44f018e321637883cbfc567e46c174c64e +DIST node-v26.9.0.tar.xz 62715128 BLAKE2B c9ebac8330181bd2343a94b775559a605b4e41614d27657f124a41c881f2aabd4f8428870fd9cfeb0d0363782eba9da321c313049c3712fcfddc3d4f374b0e60 SHA512 765ba01c504d8c07288d0acea8d95ea52395984528a81de9e2cc280467034af23781cdbd9e94089d3744e7bba45ef84ce68e7c836308636322bc5b21111d2984 diff --git a/net-libs/nodejs/nodejs-26.9.0.ebuild b/net-libs/nodejs/nodejs-26.9.0.ebuild new file mode 100644 index 000000000000..e7753b9168f5 --- /dev/null +++ b/net-libs/nodejs/nodejs-26.9.0.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CONFIG_CHECK="~ADVISE_SYSCALLS" +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit check-reqs flag-o-matic linux-info ninja-utils pax-utils +inherit python-any-r1 shell-completion toolchain-funcs xdg-utils + +DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" +HOMEPAGE="https://nodejs.org/" +LICENSE="Apache-1.1 Apache-2.0 BlueOak-1.0.0 BSD BSD-2 MIT npm? ( Artistic-2 )" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nodejs/node" + SLOT="0" +else + SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" + SLOT="0/$(ver_cut 1)" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos" + S="${WORKDIR}/node-v${PV}" +fi + +IUSE="cpu_flags_x86_sse2 debug doc +icu +inspector lto +npm pax-kernel +snapshot +ssl system-icu +system-ssl test" +REQUIRED_USE="inspector? ( icu ssl ) + npm? ( ssl ) + system-icu? ( icu ) + system-ssl? ( ssl ) + x86? ( cpu_flags_x86_sse2 )" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=">=app-arch/brotli-1.1.0:= + dev-db/sqlite:3 + >=dev-cpp/ada-4.0.0:= + >=dev-cpp/simdutf-7.3.4:= + >=dev-libs/libuv-1.52.1:= + >=dev-libs/simdjson-4.6.11:= + >=net-dns/c-ares-1.34.8:= + >=net-libs/nghttp2-1.70.0:= + >=net-libs/nghttp3-1.18.0:= + virtual/zlib:= + system-icu? ( >=dev-libs/icu-78:= ) + system-ssl? ( + >=net-libs/ngtcp2-1.25.0:= + >=dev-libs/openssl-3.5.8:0= + ) + !system-ssl? ( >=net-libs/ngtcp2-1.25.0:=[-gnutls] ) + || ( + sys-devel/gcc:* + llvm-runtimes/libatomic-stub + )" +BDEPEND="${PYTHON_DEPS} + app-alternatives/ninja + sys-apps/coreutils + virtual/pkgconfig + test? ( net-misc/curl ) + pax-kernel? ( sys-apps/elfix )" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +# These are measured on a loong machine with -ggdb on, and only checked +# if debugging flags are present in CFLAGS. +# +# The final link consumed a little more than 7GiB alone, so 8GiB is the lower +# limit for memory usage. Disk usage was 19.1GiB for the build directory and +# 1.2GiB for the installed image, so we leave some room for architectures with +# fatter binaries and set the disk requirement to 22GiB. +CHECKREQS_MEMORY="8G" +CHECKREQS_DISK_BUILD="22G" + +PATCHES=( + "${FILESDIR}"/${PN}-26.6.0-gcc17.patch + "${FILESDIR}"/${PN}-26.6.0-format-cstdlib.patch + "${FILESDIR}"/${PN}-26.6.0-v8-climits.patch + "${FILESDIR}"/${PN}-26.8.2-add-missing-funcational-inc.patch +) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + if is-flagq "-g*" && ! is-flagq "-g*0" ; then + einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS" + check-reqs_pkg_pretend + fi + fi +} + +pkg_setup() { + python-any-r1_pkg_setup + linux-info_pkg_setup + # https://github.com/nodejs/node/issues/62676 - Can't build Temporal with system ICU. + if use system-icu; then + ewarn "The ES2026 'Temporal' datetime feature/object is not available when using system-icu." + ewarn "Please consider whether this is desirable for your use case." + ewarn "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal" + fi +} + +src_prepare() { + tc-export AR CC CXX PKG_CONFIG + export V=1 + export BUILDTYPE=Release + + # fix compilation on Darwin + # https://code.google.com/p/gyp/issues/detail?id=260 + sed -i -e '/append("-arch")/{N;d;}' tools/gyp/pylib/gyp/xcode_emulation.py || die + + # proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504 + local LIBDIR=$(get_libdir) + sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die + sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die + + # Avoid writing a depfile, not useful + sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die + + sed -i -e "/'-O3'/d" common.gypi node.gypi || die + + # debug builds. change install path, remove optimisations and override buildtype + if use debug; then + sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die + BUILDTYPE=Debug + fi + + # We need to disable mprotect on two files when it builds Bug 694100. + use pax-kernel && + PATCHES+=( "${FILESDIR}"/${PN}-24.1.0-paxmarking.patch ) + + use ppc64 && + PATCHES+=( "${FILESDIR}/${PN}-24.11.1-restore-ppc64be.patch" ) + + default +} + +src_configure() { + xdg_environment_reset + + # LTO compiler flags are handled by configure.py itself + filter-lto + # The warnings are *so* noisy and make build.logs massive + append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor) + # https://bugs.gentoo.org/931514 + use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none) + + local myconf=( + --ninja + --shared-ada + --shared-brotli + --shared-cares + --shared-libuv + --shared-nghttp2 + --shared-nghttp3 + --shared-ngtcp2 + --shared-simdjson + --shared-simdutf + --shared-sqlite + --shared-zlib + ) + use debug && myconf+=( --debug ) + use lto && myconf+=( --enable-lto ) + if use system-icu; then + # No Temporal support: https://github.com/nodejs/node/issues/62676 + myconf+=( --with-intl=system-icu ) + elif use icu; then + # Full embedded ICU (Temporal works) + myconf+=( --with-intl=full-icu ) + else + # Default embedded subset (Temporal works, saves space over full-icu) + myconf+=( --with-intl=small-icu ) + fi + use inspector || myconf+=( --without-inspector ) + use npm || myconf+=( --without-npm ) + use snapshot || myconf+=( --without-node-snapshot ) + if use ssl; then + use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store ) + else + myconf+=( --without-ssl ) + fi + + local myarch="" + case "${ARCH}:${ABI}" in + *:amd64) myarch="x64";; + *:arm) myarch="arm";; + *:arm64) myarch="arm64";; + loong:lp64*) myarch="loong64";; + riscv:lp64*) myarch="riscv64";; + *:ppc64) myarch="ppc64";; + *:x32) myarch="x32";; + *:x86) myarch="ia32";; + *) myarch="${ABI}";; + esac + + GYP_DEFINES="linux_use_gold_flags=0 + linux_use_bundled_binutils=0 + linux_use_bundled_gold=0" \ + "${EPYTHON}" configure.py \ + --prefix="${EPREFIX}"/usr \ + --dest-cpu=${myarch} \ + "${myconf[@]}" || die +} + +src_compile() { + eninja -C out/Release + # There's just a plain make target for the FFI tests, and it doesn't support ninja. + use test && emake build-ffi-tests +} + +src_install() { + local LIBDIR="${ED}/usr/$(get_libdir)" + default + + pax-mark -m "${ED}"/usr/bin/node + + if use doc; then + docinto html + dodoc -r "${S}"/doc/* + fi + + if use npm; then + keepdir /etc/npm + echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm + doenvd "${T}"/50npm + + # Install bash completion for `npm` + local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)" + "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}" + newbashcomp "${tmp_npm_completion_file}" npm + + # Move man pages + doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/* + + # Clean up + rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} + + local find_exp="-or -name" + local find_name=() + for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ + ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ + "*.bat" "*.cmd"; do + find_name+=( ${find_exp} "${match}" ) + done + + # Remove various development and/or inappropriate files and + # useless docs of dependend packages. + # Strict match for LICENSE files to avoid purging actual logic (e.g. license.js) + # which breaks npm. + find "${LIBDIR}"/node_modules \ + \( -type d -name examples \) -or \( -type f \( \ + \( -iname "LICEN?E*" -not -name "*.js" -not -name "*.json" \) \ + "${find_name[@]}" \ + \) \) -exec rm -rf "{}" \; + fi + + mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die +} + +src_test() { + local drop_tests=( + test/parallel/test-dns.js + test/parallel/test-dns-resolveany-bad-ancount.js + test/parallel/test-dns-setserver-when-querying.js + test/parallel/test-dotenv.js + test/parallel/test-fs-mkdir.js + test/parallel/test-fs-read-stream.js + test/parallel/test-fs-utimes-y2K38.js + test/parallel/test-fs-watch-recursive-add-file.js + test/parallel/test-http2-client-set-priority.js + test/parallel/test-http2-priority-event.js + test/parallel/test-process-euid-egid.js + test/parallel/test-process-get-builtin.mjs + test/parallel/test-process-initgroups.js + test/parallel/test-process-setgroups.js + test/parallel/test-process-uid-gid.js + test/parallel/test-release-npm.js + # Unreliable when using system libraries and ASLR. + # The variations between snapshot generation passes appear limited to memory + # allocation pointers leaking into the serialised V8 blob array; the actual + # bytecode and engine structures remain consistently... consistent. + test/parallel/test-snapshot-reproducible.js + test/parallel/test-socket-write-after-fin-error.js + test/parallel/test-strace-openat-openssl.js + test/sequential/test-tls-session-timeout.js + test/sequential/test-util-debug.js + ) + use inspector || + drop_tests+=( + test/parallel/test-inspector-emit-protocol-event.js + test/parallel/test-inspector-network-arbitrary-data.js + test/parallel/test-inspector-network-domain.js + test/parallel/test-inspector-network-fetch.js + test/parallel/test-inspector-network-http.js + test/sequential/test-watch-mode.mjs + ) + rm -f "${drop_tests[@]}" || die "disabling tests failed" + + out/${BUILDTYPE}/cctest || die + "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die +} + +pkg_postinst() { + if use npm; then + ewarn "remember to run: source /etc/profile if you plan to use nodejs" + ewarn " in your current shell" + fi + + if use system-icu; then + ewarn "" + ewarn "Node.js was built with USE='system-icu'." + ewarn "The JavaScript 'Temporal' API has been disabled." + ewarn "If you need full ES2026+ compliance, rebuild with USE='-system-icu'." + ewarn "" + fi +} diff --git a/net-libs/pjproject/pjproject-2.15.1.ebuild b/net-libs/pjproject/pjproject-2.15.1.ebuild deleted file mode 100644 index 5f3648b25f03..000000000000 --- a/net-libs/pjproject/pjproject-2.15.1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# TODO: Figure out a way to disable SRTP from pjproject entirely. -EAPI=8 - -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="Open source SIP, Media, and NAT Traversal Library" -HOMEPAGE="https://github.com/pjsip/pjproject https://www.pjsip.org/" -SRC_URI="https://github.com/pjsip/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" - -# g729 not included due to special bcg729 handling. -CODEC_FLAGS="g711 g722 g7221 gsm ilbc speex l16" -VIDEO_FLAGS="sdl ffmpeg v4l2 openh264 libyuv vpx" -SOUND_FLAGS="alsa portaudio" -IUSE="amr debug epoll examples opus resample silk srtp ssl static-libs webrtc - ${CODEC_FLAGS} g729 - ${VIDEO_FLAGS} - ${SOUND_FLAGS}" - -RDEPEND=" - alsa? ( media-libs/alsa-lib ) - amr? ( media-libs/opencore-amr ) - ffmpeg? ( media-video/ffmpeg:= ) - g729? ( media-libs/bcg729 ) - gsm? ( media-sound/gsm ) - ilbc? ( media-libs/libilbc ) - openh264? ( media-libs/openh264 ) - opus? ( media-libs/opus ) - portaudio? ( media-libs/portaudio ) - resample? ( media-libs/libsamplerate ) - sdl? ( media-libs/libsdl2 ) - speex? ( - media-libs/speex - media-libs/speexdsp - ) - srtp? ( >=net-libs/libsrtp-2.3.0:= ) - ssl? ( dev-libs/openssl:0= ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - rm configure || die "Unable to remove unwanted wrapper" - mv aconfigure.ac configure.ac || die "Unable to rename configure script source" - eautoreconf - - cp "${FILESDIR}/pjproject-2.13.1-r1-config_site.h" "${S}/pjlib/include/pj/config_site.h" \ - || die "Unable to create config_site.h" -} - -_pj_enable() { - usex "$1" '' "--disable-${2:-$1}" -} - -_pj_get_define() { - local r="$(sed -nre "s/^#define[[:space:]]+$1[[:space:]]+//p" "${S}/pjlib/include/pj/config_site.h")" - [[ -z "${r}" ]] && die "Unable to fine #define $1 in config_site.h" - echo "$r" -} - -_pj_set_define() { - local c=$(_pj_get_define "$1") - [[ "$c" = "$2" ]] && return 0 - sed -re "s/^#define[[:space:]]+$1[[:space:]].*/#define $1 $2/" -i "${S}/pjlib/include/pj/config_site.h" \ - || die "sed failed updating $1 to $2." - [[ "$(_pj_get_define "$1")" != "$2" ]] && die "sed failed to perform update for $1 to $2." -} - -_pj_use_set_define() { - _pj_set_define "$2" $(usex "$1" 1 0) -} - -src_configure() { - local myconf=() - local videnable="--disable-video" - local t - - use debug || append-cflags -DNDEBUG=1 - - for t in ${CODEC_FLAGS}; do - myconf+=( $(_pj_enable ${t} ${t}-codec) ) - done - myconf+=( $(_pj_enable g729 bcg729) ) - - for t in ${VIDEO_FLAGS}; do - myconf+=( $(_pj_enable ${t}) ) - use "${t}" && videnable="--enable-video" - done - - [ "${videnable}" = "--enable-video" ] && _pj_set_define PJMEDIA_HAS_VIDEO 1 || _pj_set_define PJMEDIA_HAS_VIDEO 0 - - LD="$(tc-getCXX)" econf \ - --enable-shared \ - ${videnable} \ - $(_pj_enable alsa sound) \ - $(_pj_enable amr opencore-amr) \ - $(_pj_enable epoll) \ - $(_pj_enable opus) \ - $(_pj_enable portaudio ext-sound) \ - $(_pj_enable resample libsamplerate) \ - $(_pj_enable resample resample-dll) \ - $(_pj_enable resample) \ - $(_pj_enable silk) \ - $(_pj_enable speex speex-aec) \ - $(_pj_enable ssl) \ - $(_pj_enable webrtc libwebrtc) \ - $(use_with gsm external-gsm) \ - $(use_with portaudio external-pa) \ - $(use_with speex external-speex) \ - $(usex srtp --with-external-srtp --disable-libsrtp) \ - "${myconf[@]}" -} - -src_install() { - default - - newbin pjsip-apps/bin/pjsua-${CHOST} pjsua - newbin pjsip-apps/bin/pjsystest-${CHOST} pjsystest - - if use examples; then - insinto "/usr/share/doc/${PF}/examples" - doins -r pjsip-apps/src/samples - fi - - use static-libs || rm "${ED}/usr/$(get_libdir)"/*.a || die "Error removing static archives" -} diff --git a/net-libs/pjproject/pjproject-2.17-r1.ebuild b/net-libs/pjproject/pjproject-2.17-r1.ebuild index eb7260e8273c..19cb8ecbe889 100644 --- a/net-libs/pjproject/pjproject-2.17-r1.ebuild +++ b/net-libs/pjproject/pjproject-2.17-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/pjsip/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.t LICENSE="GPL-2" MY_SLOTVERSION="${PVR/-r/.0.}" # -r to .0., extra 0 avoids collisions. SLOT="0/${MY_SLOTVERSION}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" # g729 not included due to special bcg729 handling. CODEC_FLAGS="g711 g722 g7221 gsm ilbc speex l16" diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest index aee093c7bf3c..dd4c41137196 100644 --- a/net-libs/qxmpp/Manifest +++ b/net-libs/qxmpp/Manifest @@ -1,2 +1 @@ -DIST qxmpp-1.15.1.tar.xz 566468 BLAKE2B dc98fcce4c14afbe4456a07b6fb631195cfa5d9db24582bcd69c0ffb812d09119ee03f26618caad11ef5872d7231afbadf317d80b3d37ce503353dd5abcdbb9d SHA512 f692bb1ab5309abfac999559ae7c2a592a91a149dd8c994cebca47714997512137bb59d0acac004e1089e8d64b818b9931e54cef8994d7645e4549da89bc74fc DIST qxmpp-1.16.3.tar.xz 634584 BLAKE2B 67ba1855207fd38134740ff7c99cb58fbb268ecdd1ca0c467a28f4e8092cf37b9f0ad28c5ff0311c8f60b78f26b66ab773fdd524d332a4df5d4bd8eb2f685df4 SHA512 9c0be1fa79020b26e8cd97ec70ead056b2c18017cb1e27351ca8bb8d7a03784ab0f9c6e2ecca22ac6223947e3c0b54910bea7243820f24a952dabd4c3b5d49a4 diff --git a/net-libs/qxmpp/qxmpp-1.15.1.ebuild b/net-libs/qxmpp/qxmpp-1.15.1.ebuild deleted file mode 100644 index 431da412eebf..000000000000 --- a/net-libs/qxmpp/qxmpp-1.15.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake kde.org - -DESCRIPTION="Cross-platform C++ XMPP client and server library" -HOMEPAGE="https://invent.kde.org/libraries/qxmpp" - -if [[ ${KDE_BUILD_TYPE} == release ]]; then - SRC_URI="mirror://kde/unstable/${PN}/${P}.tar.xz" - KEYWORDS="amd64" -fi - -LICENSE="LGPL-2.1 CC0-1.0" -SLOT="0/9" -IUSE="doc gstreamer omemo test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-qt/qtbase:6[network,ssl,xml] - gstreamer? ( media-libs/gstreamer ) - omemo? ( - >=dev-libs/openssl-3:= - net-libs/libomemo-c - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen ) -" - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_EXAMPLES=OFF - -DBUILD_TESTING=$(usex test) - -DBUILD_OMEMO=$(usex omemo) - -DWITH_ENCRYPTION=$(usex omemo) - -DWITH_GSTREAMER=$(usex gstreamer) - ) - cmake_src_configure -} - -src_test() { - local CMAKE_SKIP_TESTS=( - # require network connection, bug #623708 - tst_qxmpptransfermanager - tst_qxmppiceconnection - ) - cmake_src_test -} diff --git a/net-libs/qxmpp/qxmpp-1.16.3.ebuild b/net-libs/qxmpp/qxmpp-1.16.3.ebuild index 0b8b8ca6bc5f..12230d2f42e7 100644 --- a/net-libs/qxmpp/qxmpp-1.16.3.ebuild +++ b/net-libs/qxmpp/qxmpp-1.16.3.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://invent.kde.org/libraries/qxmpp" if [[ ${KDE_BUILD_TYPE} == release ]]; then SRC_URI="mirror://kde/unstable/${PN}/${P}.tar.xz" - KEYWORDS="~amd64" + KEYWORDS="amd64" fi LICENSE="LGPL-2.1 CC0-1.0" diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index 3d600e9667e1..c3c2ed8c758f 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -1,6 +1,3 @@ DIST webkitgtk-2.48.5.tar.xz 44131936 BLAKE2B aa8ea4b5296a95f8b18f2dec9597f70eba46e739e3cc21dccd97af4ba07c7fcfa50dffe963bcffcd178b99c111d38dc55fb194a87451fa8efa9944249f538aba SHA512 70ee8f58a354cf6d0b1345954ed07c1e49d886f353d4fab945a3d2fc03116726af05454d4b5460f0fe4f5c3d042bb921fc5b43a85474624545afd9acc1c0fc8d -DIST webkitgtk-2.50.5.tar.xz 43778204 BLAKE2B 5aa6b55ee0965b760d26aebbf59d141543923cf26a65027a6d9ae4b03fef3759a9778e9c0a17ba2b23ea51025a76d3a283066de71a6b1996c9385da948dbb1ca SHA512 4ee6370dce688987876c67314263a9ea556eee5a4cb4a73454d1d1a940e62a49770082a2e29671496b1a88e14537538935b5c078fc3ac393a49d0c149dce2e7b -DIST webkitgtk-2.50.6.tar.xz 43831020 BLAKE2B cebdf02e52e0a80ec9b48517e4856768ed530ed4d4d4f15145058e96dc42f990c8712897303ec176609f9a0af749ec49fc3785eecd829ce7d82a397bc822b89c SHA512 62723af51a14aa2352a2ac54b5dab975afce1aee8ce43924666da08f280495c83b86649ff00fb59fcc0cc0ca80b9a78843b1c0ed568a2d77a2312c13889d8ab4 -DIST webkitgtk-2.52.3.tar.xz 65052268 BLAKE2B 397baef75f53e0f54d4c23bd02a1e1ca10c38d5fbd122fe2971236706a17b65a3ca2b02f462e96991b46d51f24d1ba866d0aca3f659aa32b3dcf21f0061155f2 SHA512 8007688e4eb5b465a6f50e05e89858f970f7bbaed45844b8f97175de1fb24e41e6d88f4f6b6299d5ae2ad4e19483da371ac16257d787626da29de7551fbd2a3c -DIST webkitgtk-2.52.5.tar.xz 69366488 BLAKE2B 092da7eff173c45e24444ec266d4f0cd730f967d09bfecd395be54e401a2e7c6c7124ff5d0818f7ab02993993e8434ae25e220a1c06b071c1b674b9dfe956a51 SHA512 cffe456a6e915663a85dd0da57f2413084dd4ea57f0fbf0dedc6980890f7543486432ee5ae46dc81df64bde386aef8176e0a58bcd1aea4a343a569dff26f5660 DIST webkitgtk-2.52.6.tar.xz 65746000 BLAKE2B ad984734ce9be1bfeb6de0ae1841b7326d2e5be22d6e4b20a10fa4502225a47f9ebccdcd337922962f2d21233cc5d1c4fa58a48c22ec1dd8e17f9c7c153a103f SHA512 a3d627122e5a34dc3a10ba9f2294d1b7440e5569521e272c04a963cf8e7b0fada9eedcf773511d35602182dd681c7262e9bbde97ea41016111a29e4fd96dea72 +DIST webkitgtk-2.54.0.tar.xz 49710944 BLAKE2B 18427925dd805dfa4bcec0ff68b92b34ca5e05e4c21507583558e032a8910a536f077fb8405284eab0453706f385a6881dca80e82839ddaa05f7f48fbaf412ab SHA512 defd32c95df7ff1bae8c76331f7dc960db0590b90314bad35e543112fbd65377b5d2fd40cc66009461e06da0b99356cc96d5a7c4125e90bb81037f178c03608d diff --git a/net-libs/webkit-gtk/files/2.54.0-cstringview.patch b/net-libs/webkit-gtk/files/2.54.0-cstringview.patch new file mode 100644 index 000000000000..aea7745c29de --- /dev/null +++ b/net-libs/webkit-gtk/files/2.54.0-cstringview.patch @@ -0,0 +1,10 @@ +--- a/Source/WebKit/UIProcess/API/glib/WebKitDownload.cpp 2026-09-16 03:58:42.840758600 -0400 ++++ b/Source/WebKit/UIProcess/API/glib/WebKitDownload.cpp 2026-09-20 18:46:18.083424498 -0400 +@@ -35,6 +35,7 @@ + #include <wtf/glib/GWeakPtr.h> + #include <wtf/glib/WTFGType.h> + #include <wtf/text/CString.h> ++#include <wtf/text/CStringView.h> + + using namespace WebKit; + using namespace WebCore; diff --git a/net-libs/webkit-gtk/webkit-gtk-2.50.5-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.50.5-r410.ebuild deleted file mode 100644 index 60f6d643b209..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.50.5-r410.ebuild +++ /dev/null @@ -1,275 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/gtk+:3[aqua?,introspection?,wayland?,X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.4-fix-angle-include.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - - if ! test-flag-CXX -std=c++17 ; then - die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) - filter-lto - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - if is-flagq '-g?(gdb)?([2-9])'; then #965483 - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=OFF - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=OFF - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SOUP2=OFF - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.50.5-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.50.5-r600.ebuild deleted file mode 100644 index c2e7dce3cdc3..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.50.5-r600.ebuild +++ /dev/null @@ -1,292 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="6/0" # soname version of libwebkit2gtk-6.0 -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * Softblocking <webkit-gtk-2.38:4 and <webkit-gtk-2.44:4.1 as since -# 2.44 this SLOT ships the WebKitWebDriver binary; WebKitWebDriver is -# an automation tool for web developers, which lets one control the -# browser via WebDriver API - only one SLOT can ship it. -# -# * at-spi2-core (atspi-2.pc) is checked at build time, but not linked -# to in the gtk4 SLOT - is it an upstream check bug and only gtk-4.14 -# a11y support is used? -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - >=gui-libs/gtk-4.14.0:4[aqua?,introspection?,wayland?,X?] - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.4-fix-angle-include.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - - if ! test-flag-CXX -std=c++17 ; then - die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) - filter-lto - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - if is-flagq '-g?(gdb)?([2-9])'; then #965483 - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=ON - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=ON # webkit2gtk-6.0 - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SOUP2=OFF - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /usr/share/gtk-doc/html - # This will install API docs specific to webkit2gtk-6.0 - doins -r "${S}"/Documentation/{jsc-glib,webkitgtk,webkitgtk-web-process-extension}-6.0 -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.50.6-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.50.6-r410.ebuild deleted file mode 100644 index fa943bfcd7de..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.50.6-r410.ebuild +++ /dev/null @@ -1,278 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/gtk+:3[aqua?,introspection?,wayland?,X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.4-fix-angle-include.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - if use custom-cflags; then - # Bug 641398 - append-cppflags -DRELEASE_WITHOUT_OPTIMIZATIONS - else - # ODR violations, bug 915230. - # https://bugs.webkit.org/show_bug.cgi?id=233007 - filter-lto - - # Bug 965483 - if is-flagq '-g?(gdb)?([2-9])'; then - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - fi - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=OFF - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=OFF - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SOUP2=OFF - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.50.6-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.50.6-r600.ebuild deleted file mode 100644 index cf2c0f7a631c..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.50.6-r600.ebuild +++ /dev/null @@ -1,295 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="6/0" # soname version of libwebkit2gtk-6.0 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * Softblocking <webkit-gtk-2.38:4 and <webkit-gtk-2.44:4.1 as since -# 2.44 this SLOT ships the WebKitWebDriver binary; WebKitWebDriver is -# an automation tool for web developers, which lets one control the -# browser via WebDriver API - only one SLOT can ship it. -# -# * at-spi2-core (atspi-2.pc) is checked at build time, but not linked -# to in the gtk4 SLOT - is it an upstream check bug and only gtk-4.14 -# a11y support is used? -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - >=gui-libs/gtk-4.14.0:4[aqua?,introspection?,wayland?,X?] - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.4-fix-angle-include.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - if use custom-cflags; then - # Bug 641398 - append-cppflags -DRELEASE_WITHOUT_OPTIMIZATIONS - else - # ODR violations, bug 915230. - # https://bugs.webkit.org/show_bug.cgi?id=233007 - filter-lto - - # Bug 965483 - if is-flagq '-g?(gdb)?([2-9])'; then - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - fi - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=ON - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=ON # webkit2gtk-6.0 - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SOUP2=OFF - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /usr/share/gtk-doc/html - # This will install API docs specific to webkit2gtk-6.0 - doins -r "${S}"/Documentation/{jsc-glib,webkitgtk,webkitgtk-web-process-extension}-6.0 -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.52.3-r410.ebuild deleted file mode 100644 index 6df02623ab00..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r410.ebuild +++ /dev/null @@ -1,283 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/expat - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/gtk+:3[aqua?,introspection?,wayland?,X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch - "${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - if use custom-cflags; then - # Bug 641398 - append-cppflags -DRELEASE_WITHOUT_OPTIMIZATIONS - else - # ODR violations, bug 915230. - # https://bugs.webkit.org/show_bug.cgi?id=233007 - filter-lto - - # Bug 965483 - if is-flagq '-g?(gdb)?([2-9])'; then - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - fi - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - # Since 2.44 the GTK4(6.0) SLOT also - # ships the WebKitWebDriver binary; WebKitWebDriver is an automation - # tool for web developers, which lets one control the browser via - # WebDriver API - only one SLOT can ship it - -DENABLE_WEBDRIVER=OFF - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER=$(usex gstreamer) - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=OFF - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r411.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.52.3-r411.ebuild deleted file mode 100644 index d2ce52bf4d7c..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r411.ebuild +++ /dev/null @@ -1,285 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" - -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/expat - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa[opengl] - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/gtk+:3[aqua?,introspection?,wayland?,X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch - "${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch - "${FILESDIR}"/2.52.3-disable-nvidia-dmabuf.patch - "${FILESDIR}"/2.52.3-TransferString-release-use-after-move.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - if use custom-cflags; then - # Bug 641398 - append-cppflags -DRELEASE_WITHOUT_OPTIMIZATIONS - else - # ODR violations, bug 915230. - # https://bugs.webkit.org/show_bug.cgi?id=233007 - filter-lto - - # Bug 965483 - if is-flagq '-g?(gdb)?([2-9])'; then - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - fi - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - # Since 2.44 the GTK4(6.0) SLOT also - # ships the WebKitWebDriver binary; WebKitWebDriver is an automation - # tool for web developers, which lets one control the browser via - # WebDriver API - only one SLOT can ship it - -DENABLE_WEBDRIVER=OFF - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER=$(usex gstreamer) - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=OFF - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.52.3-r600.ebuild deleted file mode 100644 index f31f8a7ead28..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r600.ebuild +++ /dev/null @@ -1,291 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="6/0" # soname version of libwebkit2gtk-6.0 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * at-spi2-core (atspi-2.pc) is checked at build time, but not linked -# to in the gtk4 SLOT - is it an upstream check bug and only gtk-4.14 -# a11y support is used? -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/expat - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - >=gui-libs/gtk-4.14.0:4[aqua?,introspection?,wayland?,X?] - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch - "${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - if use custom-cflags; then - # Bug 641398 - append-cppflags -DRELEASE_WITHOUT_OPTIMIZATIONS - else - # ODR violations, bug 915230. - # https://bugs.webkit.org/show_bug.cgi?id=233007 - filter-lto - - # Bug 965483 - if is-flagq '-g?(gdb)?([2-9])'; then - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - fi - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=ON - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER=$(usex gstreamer) - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=ON # webkit2gtk-6.0 - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /usr/share/gtk-doc/html - # This will install API docs specific to webkit2gtk-6.0 - doins -r "${S}"/Documentation/{jsc-glib,webkitgtk,webkitgtk-web-process-extension}-6.0 -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r601.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.52.3-r601.ebuild deleted file mode 100644 index 9b9632c1a845..000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.52.3-r601.ebuild +++ /dev/null @@ -1,293 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{13..14} ) -USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="6/0" # soname version of libwebkit2gtk-6.0 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# -# * media-libs/mesa dep is for libgbm -# -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# -# * 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 -# -# * at-spi2-core (atspi-2.pc) is checked at build time, but not linked -# to in the gtk4 SLOT - is it an upstream check bug and only gtk-4.14 -# a11y support is used? -# -# * Cairo is only needed on big-endian systems, where Skia is not officially -# supported (the build system will choose a backend for you). We could probably -# hard-code a list of BE arches here, to avoid the extra dependency? But I am -# holding out hope that this might actually get fixed before we need to do that. -# -# * dev-util/sysprof-capture is disabled because it was a new dependency in 2.46 -# and we don't need any more new problems. -# -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-db/sqlite:3 - dev-libs/expat - dev-libs/glib:2 - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libgcrypt:0= - dev-libs/libtasn1:= - dev-libs/libxml2:2= - dev-libs/libxslt - >=gui-libs/gtk-4.14.0:4[aqua?,introspection?,wayland?,X?] - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/harfbuzz:=[icu(+)] - media-libs/libjpeg-turbo:0= - media-libs/libepoxy[egl(+)] - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libwebp:= - media-libs/mesa[opengl] - media-libs/svt-av1 - media-libs/woff2 - net-libs/libsoup:3.0[introspection?] - virtual/zlib:= - x11-libs/cairo[X?] - x11-libs/libdrm - avif? ( media-libs/libavif:= ) - gamepad? ( dev-libs/libmanette ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0[egl,opengl,X?] - media-plugins/gst-plugins-opus:1.0 - media-libs/gst-plugins-bad:1.0 - ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - jpegxl? ( media-libs/libjxl:= ) - keyring? ( app-crypt/libsecret ) - lcms? ( media-libs/lcms:2 ) - seccomp? ( - sys-apps/bubblewrap - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - spell? ( app-text/enchant:2 ) - systemd? ( sys-apps/systemd:= ) - X? ( x11-libs/libX11 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - app-accessibility/at-spi2-core - dev-lang/perl - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - dev-util/gperf - dev-util/unifdef - sys-devel/bison - sys-devel/gettext - virtual/pkgconfig - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -PATCHES=( - # https://bugs.gentoo.org/938162, see also mycmakeargs - "${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch - "${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch - "${FILESDIR}"/2.50.4-prefer-pthread.patch - "${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch - "${FILESDIR}"/2.50.5-EventTarget-gcc16.patch - "${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch - "${FILESDIR}"/2.52.3-disable-nvidia-dmabuf.patch - "${FILESDIR}"/2.52.3-TransferString-release-use-after-move.patch -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - # use cmake_prepare as it doesn't eapply ${PATCHES[@]} - cmake_prepare - gnome2_src_prepare - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - if use custom-cflags; then - # Bug 641398 - append-cppflags -DRELEASE_WITHOUT_OPTIMIZATIONS - else - # ODR violations, bug 915230. - # https://bugs.webkit.org/show_bug.cgi?id=233007 - filter-lto - - # Bug 965483 - if is-flagq '-g?(gdb)?([2-9])'; then - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - fi - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_DRAG_SUPPORT=ON - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_SPEECH_SYNTHESIS=OFF - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_TOUCH_EVENTS=ON - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=ON - -DENABLE_WEBGL=ON - -DUSE_AVIF=$(usex avif) - # Source/cmake/GStreamerDependencies.cmake - -DENABLE_MEDIA_TELEMETRY=OFF - -DUSE_GSTREAMER=$(usex gstreamer) - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=ON # webkit2gtk-6.0 - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_WOFF2=ON - ) - - if use riscv || use ppc64; then - # https://bugs.gentoo.org/970556 - # https://bugs.webkit.org/show_bug.cgi?id=305745 - append-cppflags -DSKCMS_HAS_MUSTTAIL=0 - fi - - if use riscv; then - # Workaround for bug 938162 (upstream bug 271371). - mycmakeargs+=( - -DENABLE_WEBASSEMBLY=OFF - ) - fi - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /usr/share/gtk-doc/html - # This will install API docs specific to webkit2gtk-6.0 - doins -r "${S}"/Documentation/{jsc-glib,webkitgtk,webkitgtk-web-process-extension}-6.0 -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.52.5-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.54.0-r410.ebuild index 63dfb0ebe5bf..7aca7c5f67f5 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.52.5-r410.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.54.0-r410.ebuild @@ -17,9 +17,9 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2+ BSD" SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" +IUSE="aqua avif cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" REQUIRED_USE="|| ( aqua wayland X )" # Tests do not run when built from tarballs @@ -123,6 +123,9 @@ PATCHES=( "${FILESDIR}"/2.50.4-prefer-pthread.patch "${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch "${FILESDIR}"/2.52.3-disable-nvidia-dmabuf.patch + "${FILESDIR}"/2.52.6-no-sse2.patch + "${FILESDIR}"/2.52.6-no-video.patch + "${FILESDIR}"/2.54.0-cstringview.patch ) pkg_pretend() { @@ -254,6 +257,26 @@ src_configure() { -DUSE_WOFF2=ON ) + # Do our best to support x86 machines lacking SSE, + # https://bugs.gentoo.org/730044 + if use x86; then + if use cpu_flags_x86_sse2; then + # These are normally added by the build system, but our + # patch changes the way an x86 CPU is detected, bypassing + # that addition. + append-flags "-msse2 -mfpmath=sse" + elif use cpu_flags_x86_sse; then + # If you have SSE1 but not SSE2, these are needed to + # avoid static_assert failures. + append-flags "-msse -mfpmath=sse" + else + # Neither? This is reportedly crashy, but better than + # nothing if you really don't have the hardware. + mycmakeargs+=( -DENABLE_WEBGL=OFF ) + append-cppflags -DSKCMS_HAS_MUSTTAIL=0 + fi + fi + if use riscv || use ppc64; then # https://bugs.gentoo.org/970556 # https://bugs.webkit.org/show_bug.cgi?id=305745 diff --git a/net-libs/webkit-gtk/webkit-gtk-2.52.5-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.54.0-r600.ebuild index 174f861bf821..e1b91c5ae2a7 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.52.5-r600.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.54.0-r600.ebuild @@ -17,9 +17,9 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2+ BSD" SLOT="6/0" # soname version of libwebkit2gtk-6.0 -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" +IUSE="aqua avif cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" REQUIRED_USE="|| ( aqua wayland X )" # Tests do not run when built from tarballs @@ -127,6 +127,9 @@ PATCHES=( "${FILESDIR}"/2.50.4-prefer-pthread.patch "${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch "${FILESDIR}"/2.52.3-disable-nvidia-dmabuf.patch + "${FILESDIR}"/2.52.6-no-sse2.patch + "${FILESDIR}"/2.52.6-no-video.patch + "${FILESDIR}"/2.54.0-cstringview.patch ) pkg_pretend() { @@ -228,7 +231,7 @@ src_configure() { -DENABLE_VIDEO=$(usex gstreamer) -DENABLE_WEB_AUDIO=$(usex gstreamer) -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=ON + -DENABLE_WEBDRIVER=OFF # build failure otherwise in 2.54.0 -DENABLE_WEBGL=ON -DUSE_AVIF=$(usex avif) # Source/cmake/GStreamerDependencies.cmake @@ -254,6 +257,26 @@ src_configure() { -DUSE_WOFF2=ON ) + # Do our best to support x86 machines lacking SSE, + # https://bugs.gentoo.org/730044 + if use x86; then + if use cpu_flags_x86_sse2; then + # These are normally added by the build system, but our + # patch changes the way an x86 CPU is detected, bypassing + # that addition. + append-flags "-msse2 -mfpmath=sse" + elif use cpu_flags_x86_sse; then + # If you have SSE1 but not SSE2, these are needed to + # avoid static_assert failures. + append-flags "-msse -mfpmath=sse" + else + # Neither? This is reportedly crashy, but better than + # nothing if you really don't have the hardware. + mycmakeargs+=( -DENABLE_WEBGL=OFF ) + append-cppflags -DSKCMS_HAS_MUSTTAIL=0 + fi + fi + if use riscv || use ppc64; then # https://bugs.gentoo.org/970556 # https://bugs.webkit.org/show_bug.cgi?id=305745 diff --git a/net-libs/wvstreams/wvstreams-4.6.1_p14-r3.ebuild b/net-libs/wvstreams/wvstreams-4.6.1_p14-r3.ebuild index cef843deaede..4053c573c957 100644 --- a/net-libs/wvstreams/wvstreams-4.6.1_p14-r3.ebuild +++ b/net-libs/wvstreams/wvstreams-4.6.1_p14-r3.ebuild @@ -15,7 +15,7 @@ SRC_URI=" S=${WORKDIR}/${P/_p*} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc x86" +KEYWORDS="~alpha amd64 ~hppa ppc ~sparc x86" IUSE="boost +dbus debug doc pam" #Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL! |
