summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/Manifest.gzbin31013 -> 30853 bytes
-rw-r--r--net-libs/libircclient/Manifest1
-rw-r--r--net-libs/libircclient/libircclient-1.10-r1.ebuild59
-rw-r--r--net-libs/libktorrent/Manifest2
-rw-r--r--net-libs/libktorrent/libktorrent-24.08.2.ebuild59
-rw-r--r--net-libs/libmediawiki/Manifest4
-rw-r--r--net-libs/libmediawiki/files/libmediawiki-5.37.0-tests-optional.patch15
-rw-r--r--net-libs/libmediawiki/libmediawiki-5.38.0.ebuild36
-rw-r--r--net-libs/libmediawiki/metadata.xml12
-rw-r--r--net-libs/libnatpmp/Manifest2
-rw-r--r--net-libs/libnatpmp/libnatpmp-20230423-r1.ebuild4
-rw-r--r--net-libs/libnetfilter_log/Manifest1
-rw-r--r--net-libs/libnetfilter_log/libnetfilter_log-1.0.2-r1.ebuild42
-rw-r--r--net-libs/libupnp/Manifest2
-rw-r--r--net-libs/libupnp/libupnp-1.14.20.ebuild49
-rw-r--r--net-libs/webkit-gtk/Manifest14
-rw-r--r--net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch29
-rw-r--r--net-libs/webkit-gtk/files/2.44.1-branch-patchset.patch262
-rw-r--r--net-libs/webkit-gtk/files/2.44.1-riscv.patch62
-rw-r--r--net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch53
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.44.1-r410.ebuild251
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.44.1-r600.ebuild265
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.44.1.ebuild249
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild2
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild2
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild2
26 files changed, 224 insertions, 1255 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index 51000ac93162..da35422bcb91 100644
--- a/net-libs/Manifest.gz
+++ b/net-libs/Manifest.gz
Binary files differ
diff --git a/net-libs/libircclient/Manifest b/net-libs/libircclient/Manifest
index b5409412504f..0aefa49633a9 100644
--- a/net-libs/libircclient/Manifest
+++ b/net-libs/libircclient/Manifest
@@ -4,5 +4,6 @@ AUX libircclient-1.8-build.patch 340 BLAKE2B aae0969fce33301022fa11f93a2eb1c81b2
AUX libircclient-1.8-include.patch 289 BLAKE2B 4ba6e8eecdaad20dacd96b8418150e371bdbc65d68b87fa45738b53499633d9fbf23f6745282af2287e0ddd3118b1cceabc0305d5d6c37ed5d04e7a88b1a4b6e SHA512 62e3c1cfe8843eb16efe9e803785ba759100e3cf4c82b7f9f2fe11bd92a5fe9ad85707ef21c6231e3ee23f6e283711f643db76e79699574b3fb01eb893977d02
AUX libircclient-1.8-static.patch 209 BLAKE2B cc25d264d6d1801584ee06ca51921f7ad1dee1499b1e604c8d732779b44f22aa93fc076c97fee45d131d10cb46cf611a4e03220e61462d2b0003653554667217 SHA512 b1161ce28e5a8d668c852ee0ac336c186426a9467156c66ebe4805a722297ec225cc6b859c13003741d05a15ced1ccfaca0a20d98bf0bf933fc84fc1a97d8827
DIST libircclient-1.10.tar.gz 288863 BLAKE2B 28bcfb36553c04be28ef4ffc0cf5fe3af8538704997f628f311719d245a0629ff49bee2c512d29e4d43a24a2803cbafc99512ebda7d5c991d9ecb2f1786a9d24 SHA512 d677ceae0bfabc112671b351fb94d048399a7ad025ff33a2ff1ae6313382fcc78b64d499f2c882eb8b894abdde949562395819e4059fd14640dfae6757b0c259
+EBUILD libircclient-1.10-r1.ebuild 1323 BLAKE2B b2e790122dd296c51145389cb4ccac3bdc1f71ff63eac5e12e500baf99962aa34fc4ddaca880a7440444808cf96caf6aa169394fe3e25dc6409a7dd11442a266 SHA512 8c3bac3929b98e17d38376919367b5a579d9607e6857ebb7589a2f865bb01726b7497ccd999dde1ce99fb8560b64dac2ca904bf51ca90cea45b15066516f235d
EBUILD libircclient-1.10.ebuild 1326 BLAKE2B 3d6df5325dc23734d2b5f938a48344bc7bfaa264dfd8812db8f6d438005ef0f0c5634a7f0b97ba3cca446ad9abe78c9b771ef5351305bc4afe0e979e0583c7ce SHA512 ccbc8a58e01d5abc8ef2eb47d8b401fa69216975db6e4290cf6000ed880d3e13abf62fb1cd3a148d3c96a926d3205b5f11c0170c06e07c74640b744128460b7d
MISC metadata.xml 336 BLAKE2B 094297a8526c391f059c470a5cd9fe786dc057473c99ae1a1d54336fce2639b1f41cbb1293bba24c26d209f0d65f9c308b1f706c41c873164c5503647f7c9527 SHA512 27cc23cbf84e94df9bae7b62dfcf5480d86c5d72fb7636e7dc57ec5b1665183eaca2205d1502d9a091e0c5d477eb710d35c6a1860dda7b19e6575295786a7023
diff --git a/net-libs/libircclient/libircclient-1.10-r1.ebuild b/net-libs/libircclient/libircclient-1.10-r1.ebuild
new file mode 100644
index 000000000000..236a13b0757a
--- /dev/null
+++ b/net-libs/libircclient/libircclient-1.10-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Small but powerful library implementing the client-server IRC protocol"
+HOMEPAGE="https://www.ulduzsoft.com/libircclient/"
+SRC_URI="https://downloads.sourceforge.net/libircclient/${P}.tar.gz"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc ssl static-libs threads"
+
+DEPEND="ssl? (
+ dev-libs/openssl:0=
+ )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.8-build.patch
+ "${FILESDIR}"/${PN}-1.10-shared.patch
+ "${FILESDIR}"/${PN}-1.8-static.patch
+ "${FILESDIR}"/${PN}-1.8-include.patch
+
+ # upstream patches (can usually be removed with next version bump)
+ "${FILESDIR}"/${PN}-1.10-openssl.patch
+)
+
+src_prepare() {
+ default
+ mv configure.in configure.ac || die
+ eautoconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable threads)
+ $(use_enable ssl openssl)
+ $(use_enable ssl threads)
+ --enable-ipv6
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake -C src $(usex static-libs "shared static" "shared")
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install-shared $(usex static-libs "install-static" "")
+ insinto /usr/include/libircclient
+ doins include/*.h
+
+ dodoc Changelog THANKS
+ doman man/libircclient.1
+}
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 382c92dfa8e0..9eff6ad95b48 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,5 +1,7 @@
DIST libktorrent-24.05.2.tar.xz 605972 BLAKE2B 136951dd13029c4b05ce7f5785b913c14c2dcd47c575e10ca223ef9cd0fd187dd0654c49d1e65032ff9d9a4713c772c9bb48512b040d004736d67fce34b47016 SHA512 fb2fca63079988e8f623e77adeff21dfb49c15c604d6ae35da172be3b012c529e73139245061ead46a895bb5af8f4a3be35668295c0a2f5c5fbe1d0a7bc92711
DIST libktorrent-24.08.1.tar.xz 605892 BLAKE2B b462be985f8414d6ba40801c18f8307d0ac3300e0d88e3d55fba5335049f58a28d0500ec7ef37935449440d8a62193683f772b80794b51dcce3a200998772e60 SHA512 2118252283726ed886ca1fac32fccbb30ab119ce0094383ed7fda0c5d938cc6cb337ee0e90d58cb2e0b2d7a6a4adc3ba8356a6000dbbd2351cc385ee5b8981c4
+DIST libktorrent-24.08.2.tar.xz 605900 BLAKE2B f2272a459f867e3dd2fb70c51a5beb1822caf1ef3408de2351d177c625d2c0faeb76a412fe434b73f78f640a3721f7867eb322538c7eb60593f3bfeaf2e70b01 SHA512 a817888ddf711a28887655b8955601844d469623f31a847848202b5833e72c27298fe1706a0ce830316e7f63b6aebf3e7c3657a8ec41f60c4a51efc1dffdd5b3
EBUILD libktorrent-24.05.2.ebuild 1427 BLAKE2B 328fdede11b4b732f72d0ca2646f313981bc505e3b43d6d514fe1a131310dbd453de9d73dd02f83d81a70d1e9a5ac47b0c2cb10cc6fdf82df8582057733ecd85 SHA512 02d9fb036b1f4f0703da3a78013f151818cb722c7e24cb678ba9bbab8c205433c37059f8c977b977a0e8ef66579fa74e3d7b5d78fac51ba809b218873f2b6062
EBUILD libktorrent-24.08.1.ebuild 1429 BLAKE2B fc1d5664e8ac6a20cb666c3b245842f38d7f07158a78eaf44d47b8c2aba25293dd7f62463a8d37308f47712c0fa88e896e6fe820ae974e176a64db7aee2c488b SHA512 a7f0bd60df89e5ea198872b209f0f7473914b3955c56f77288d2b2fe09a3ac61a99d769297c37486b6ed398d9014c3a63193534697e942dd56b02f4476e7bc95
+EBUILD libktorrent-24.08.2.ebuild 1429 BLAKE2B fc1d5664e8ac6a20cb666c3b245842f38d7f07158a78eaf44d47b8c2aba25293dd7f62463a8d37308f47712c0fa88e896e6fe820ae974e176a64db7aee2c488b SHA512 a7f0bd60df89e5ea198872b209f0f7473914b3955c56f77288d2b2fe09a3ac61a99d769297c37486b6ed398d9014c3a63193534697e942dd56b02f4476e7bc95
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/net-libs/libktorrent/libktorrent-24.08.2.ebuild b/net-libs/libktorrent/libktorrent-24.08.2.ebuild
new file mode 100644
index 000000000000..b4e75e71fc67
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-24.08.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent"
+
+LICENSE="GPL-2+"
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ >=app-crypt/qca-2.3.7:2[qt6]
+ >=dev-libs/gmp-6.0.0a:0=
+ dev-libs/libgcrypt:0=
+ >=dev-qt/qtbase-${QTMIN}:6[network,xml]
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=kde-frameworks/karchive-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/solid-${KFMIN}:6
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.71
+"
+RDEPEND="${COMMON_DEPEND}
+ !dev-libs/botan[gmp(-)]
+"
+BDEPEND="sys-devel/gettext"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this
+ sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+ CMakeLists.txt || die
+ sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+ KTorrent6Config.cmake.in || die
+}
+
+src_test() {
+ # failing network tests
+ local myctestargs=(
+ -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
+ )
+
+ ecm_src_test
+}
diff --git a/net-libs/libmediawiki/Manifest b/net-libs/libmediawiki/Manifest
deleted file mode 100644
index d9fb2e48adf7..000000000000
--- a/net-libs/libmediawiki/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX libmediawiki-5.37.0-tests-optional.patch 470 BLAKE2B 856433e48d50f6046d1d994cafc081d1afe04a7d82fe30476e129716ede33ecd26ee721fb566de4fd094be4d897a204a34102790225b49f8a31f26f23cccc4d4 SHA512 91e483c2483e2d07ed2b4d974f37c19bcbcd2c69ff9841451d4aa182945469b83dcdbe5025807ba83438cfcfbf4218fe32f7f6d5f5232cca913285fe8b9bc33f
-DIST libmediawiki-5.38.0.tar.xz 55264 BLAKE2B 74753a20ab84f1badcf7368be5617648e296f66832feafb26ea2122818921a924a7278ccfbe4779535365c679ef574139dc3214812a87b72cd90f6766671928a SHA512 4e8a3a656d324006a85cd6b2eeeaafd67a80806368125a9f0ce46984b58cfeed5ad8ac34c6cc305d00b3bd92bf5e1f8e60b41313ac6a86970c47572654784114
-EBUILD libmediawiki-5.38.0.ebuild 878 BLAKE2B e7458f1263a23b418d1ecdc30456f895f77fad06ef63296c7c9d47873e49508f2983f16103b4c4b5f410004083b3d8d026a27061982a1897c9cd5dc78725a34c SHA512 d455e6b6305bcbd01e46f582d05899ef9c81e65e9fde8e121377af33d37841f90fc528f3c8706325bae5d6bc0c24fd762a1a119553899c6701c4f31584a5dfae
-MISC metadata.xml 384 BLAKE2B 8914bc54959a33f4ac0ffa6f9b0431eccfde886cc7122ad3dfeef7bc9bb8ad651d4fd885f7cd930f5261d963f0d0b93464c84e4edbe287804b25932e737475bf SHA512 08e12e1437c007b0caa217aa95eeb3bb3b58387e576b5ab90fbe1988aa930605701cb6d9db54c3245ebe8b630a2b940db61b9985089087c7270951e8c4baf928
diff --git a/net-libs/libmediawiki/files/libmediawiki-5.37.0-tests-optional.patch b/net-libs/libmediawiki/files/libmediawiki-5.37.0-tests-optional.patch
deleted file mode 100644
index 7b910e028a47..000000000000
--- a/net-libs/libmediawiki/files/libmediawiki-5.37.0-tests-optional.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/CMakeLists.txt 2017-05-20 11:13:08.095098473 +0200
-+++ b/CMakeLists.txt 2017-05-20 11:18:00.993712729 +0200
-@@ -45,8 +45,10 @@
-
- # Subdirectories
- add_subdirectory(src)
--add_subdirectory(autotests)
--add_subdirectory(tests)
-+if(BUILD_TESTING)
-+ add_subdirectory(autotests)
-+ add_subdirectory(tests)
-+endif()
-
- # Create a Config.cmake and a ConfigVersion.cmake file and install them
- set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5MediaWiki")
diff --git a/net-libs/libmediawiki/libmediawiki-5.38.0.ebuild b/net-libs/libmediawiki/libmediawiki-5.38.0.ebuild
deleted file mode 100644
index 3b678f01f6f3..000000000000
--- a/net-libs/libmediawiki/libmediawiki-5.38.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_TEST="true"
-KFMIN=5.96.0
-QTMIN=5.15.5
-inherit ecm kde.org
-
-DESCRIPTION="C++ interface for MediaWiki based web service as wikipedia.org"
-HOMEPAGE="https://invent.kde.org/libraries/libmediawiki"
-SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-
-RESTRICT="test"
-
-DEPEND="
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${PN}-5.37.0-tests-optional.patch" )
-
-src_test() {
- # bug 646808, 662592
- local myctestargs=(
- -j1
- -E "(libmediawiki-logintest|libmediawiki-logouttest|libmediawiki-queryimageinfotest|libmediawiki-queryimagestest|libmediawiki-queryinfotest|libmediawiki-querysiteinfousergroupstest)"
- )
- ecm_src_test
-}
diff --git a/net-libs/libmediawiki/metadata.xml b/net-libs/libmediawiki/metadata.xml
deleted file mode 100644
index 94506f58964f..000000000000
--- a/net-libs/libmediawiki/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
- <upstream>
- <bugs-to>https://bugs.kde.org/</bugs-to>
- <remote-id type="kde-invent">libraries/libmediawiki</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-libs/libnatpmp/Manifest b/net-libs/libnatpmp/Manifest
index 399a0b47f4a8..d7aedf48d18d 100644
--- a/net-libs/libnatpmp/Manifest
+++ b/net-libs/libnatpmp/Manifest
@@ -1,4 +1,4 @@
AUX libnatpmp-20150609-gentoo.patch 2811 BLAKE2B 2125f030a90a20845616d28ecbf0554953408856b8e78d61a020d7ce95c357397f50263e7838c034510221dd6627e066bed19b1c75cb468a97f2517bee79b744 SHA512 ef3717dcc5b0f83522f45d7799fdec539f6148c24ea6d2800c601a5d0847c9c26f848b9654464d23e140426b32ed3aeed0030e7ade600e974129aef729786436
DIST libnatpmp-20230423.tar.gz 26506 BLAKE2B 01386509e410312d5063038a4a929e2c838d8e6061f693cd43144f98dc4725deff459cb476842e6fab78323fb87ac0ce0f74efe3837031d89ea846932dc4fdcf SHA512 1697a414f0ff73876c177d8e09242c8da6fd4bc9b1c3a893bfb082420bfdac30f455507b81937042caaf6b30756d2055c073ee1de1ac73f7ef31e4c68e5c4ed7
-EBUILD libnatpmp-20230423-r1.ebuild 799 BLAKE2B 128ab6b98be69d779000ed546cda7d9848c5fd9e56434ae856d4a804fedc1ef38a419d46675e629e47af9da3780af60fe7da27dfdd3a690395405e51aa7f6426 SHA512 4e51afd809d1f681d8522d8274067fd9e3ed472ec587241ab4e607aaa159dcffdde76d903ce459e7c03497b9efaee741ec9d76b0e0660543e10feef4fc416d10
+EBUILD libnatpmp-20230423-r1.ebuild 798 BLAKE2B a5ada9461ef8d438654975fc35a289b39bf27f5e92dd9c9784d9014fecc2cd158cd95f2b20961abd5667346534ca00d578e87c92f1e04ad66d9648b51c263de7 SHA512 fb5b09bd7f4bf8b8eaefe98de5ab581fc41fed602aa5a4e1af8f4240d611960b6b29b538f6cbb800ab2d8b94743ec17b76e95ddda069b5bd1861f275951b2d7f
MISC metadata.xml 251 BLAKE2B aff27f0414b759d8b480b5ff7510ad6b4c7247587e98da4e5110a1b20067eede21609515f370ecd8ece32e7a6667bb9b3e38718e4be4d3f584858db7459d030b SHA512 0afc6591b2d966f15fd3fbece3fc4c74f3c36ac26b51884c8a21f63ce26cacae12e8b7d8b90967818c6ec3d110d33282f5635bb0b606b8a08f7a573fc9f1f8fb
diff --git a/net-libs/libnatpmp/libnatpmp-20230423-r1.ebuild b/net-libs/libnatpmp/libnatpmp-20230423-r1.ebuild
index 303b7e4c34bc..38101a3ca281 100644
--- a/net-libs/libnatpmp/libnatpmp-20230423-r1.ebuild
+++ b/net-libs/libnatpmp/libnatpmp-20230423-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ SRC_URI="https://miniupnp.tuxfamily.org/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
PATCHES=( "${FILESDIR}"/${PN}-20150609-gentoo.patch )
diff --git a/net-libs/libnetfilter_log/Manifest b/net-libs/libnetfilter_log/Manifest
index 2592adda36b2..1d98a15956e0 100644
--- a/net-libs/libnetfilter_log/Manifest
+++ b/net-libs/libnetfilter_log/Manifest
@@ -1,4 +1,5 @@
DIST libnetfilter_log-1.0.2.tar.bz2 304022 BLAKE2B 5976dc484f8a5dc7b5484f12c9913acd9cf7600844f321da6105805b05ad7176d88185c4770bf9ac167c8525b01f1cd8cbc560f77a7cb8b1f129f9f6983b5bb1 SHA512 6b33718b1dd7f4504bceae14001da3a652cec46a6725a5dee83a7b55028cfa8e768cba917f968a5d5b60fd9ff04edf6040ef271a68e5fb65858bf73f4f9ccf23
DIST libnetfilter_log-1.0.2.tar.bz2.sig 566 BLAKE2B f4e3de583d9e0612bfc5932654d287154117fe720c28eb220fbc19c4e6cd8d57c66b92159d13949b035a2479a466110e38b0334f49dcf9b9fc0cb4c41ed79aa1 SHA512 b9a40fa08fa5d29a907522add329ea5268f2ef09274b5be3d30ab7e6a0c6aad915d8e8d7c5d708947a86c4a7fe950439ab536ec5ed78198f5b6b839de2f0ab35
+EBUILD libnetfilter_log-1.0.2-r1.ebuild 1093 BLAKE2B 0bcd0c2fc1fba49a8b33924280e71e78336fb16341404109c5e9b97206f7d085dcdbed0f0441d12bd08f3a31aa9318aa1232002526480333e8ac3b84654cd7bc SHA512 a851f8549f9c9913f695253137fe697abdb2a216ed67577b209cf990b4f2f9a79599a4942e12f25be9f5070d18c87963c2c88ec37f75e237b3a867c709bdea17
EBUILD libnetfilter_log-1.0.2.ebuild 1019 BLAKE2B 31ae8cb237b7616c62ac8846ad13cf7956c16a46966da3513cd72e8e2a6c43c001d5fa335b79ed8cbafcbc116aacc09b40ba6aeef7a9077b94305f13de38c922 SHA512 d741c2e7a2ebb20c1db23bc5b1549ac4fe0a0cc64f6b93fb3b295a314c854f8135f0146ec9c62d09aab8a2ac8a6cb178d4d4dfb03450c77ea1b93a5907e9d4c1
MISC metadata.xml 277 BLAKE2B 57fc90092c4674e5c4dfe38b0d79c983990fce4e8208b70c2ebb218aebb6d2135537f927115f3a7b7eb8c1ddb596461c17e60acb3e6a11b289796f20f3c80a33 SHA512 5ac67e6beabab60f83ac521249c6d1f021988d522fc86ab12ec98fbaa9d47a50157c10c7b9a39554e66a02b141cdc6dc6669e5e7c9c02c8b36ad404aa790d619
diff --git a/net-libs/libnetfilter_log/libnetfilter_log-1.0.2-r1.ebuild b/net-libs/libnetfilter_log/libnetfilter_log-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..21db6799c7c9
--- /dev/null
+++ b/net-libs/libnetfilter_log/libnetfilter_log-1.0.2-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info verify-sig
+
+DESCRIPTION="Interface to packets that have been logged by the kernel packet filter"
+HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_log/"
+SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
+ verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
+IUSE="doc"
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
+
+RDEPEND=">=net-libs/libnfnetlink-1.0.0
+ >=net-libs/libmnl-1.0.3"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+ doc? ( app-text/doxygen )
+ verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+
+CONFIG_CHECK="~NETFILTER_NETLINK_LOG"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version"
+}
+
+src_configure() {
+ econf \
+ $(use_enable doc html-doc) \
+ $(use_enable doc man-pages)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest
index 005848b703e4..be834ff72498 100644
--- a/net-libs/libupnp/Manifest
+++ b/net-libs/libupnp/Manifest
@@ -1,4 +1,6 @@
AUX libupnp-1.14.12-disable-network-tests.patch 416 BLAKE2B d1fea0b8e0abba960cd5296839977559bcc8081285f17de4a19e0d48557735bdee687f8d069976b3e97e5f0d5dde46063f1c8d83cd4df071bef439633d33b59c SHA512 e59e7695bad657b3e67efc3478f76ae2617732b22bbc7ea07b904260f0a73d7a57db83deedc58959f4335aba2c66c6bd0bf819051a7c4c8e412694883466d61b
DIST libupnp-1.14.19.tar.gz 814300 BLAKE2B 119281a2e220b3b9398566b649d76fc047741a251097059920e84ef9376db03ee953ebf10934423a56613ad85aa9f77b777e33d92095b1468dfffb12e37e86bd SHA512 76ae3bf8b69fd649ede0b92e03b36a6cbc7a9df9fa7828386c97761df12f2ae6346dec9ab45f78e17eb793d4d225707ecb3a7628d7678287979115cd4ba65c49
+DIST libupnp-1.14.20.tar.gz 815274 BLAKE2B 3d331a28b8f1b6c98d1153c4320b9c5b4191e82858a4874a2ce7fc93eab30c3aed61ebb2982aa6a08037943edf7a2196dc5d2e1103238292c48b119e6a8ed3ea SHA512 8aabd054d3c311abab762d15c739e5e10801e9a6caf09540560be9497cb632fdfc2c86a61522ab0b24e9baf20020ab0dab2a6e8e253c9cc1a1047efc701ba563
EBUILD libupnp-1.14.19.ebuild 1107 BLAKE2B da29061d6e6f686594165d9a0a6c65ce0fa546b69e1ba65abd112c9d24fb58c949612dc14db2cb80c43de57560be7bbecb04d552fff09e1fe4959fad81c80510 SHA512 b9c1b46811051ee239463574ff3aa74857c05a96771c7512d3871b5f352fc10e2d94a251a8c7b4f1d393c1517a07f92a936c670ced1f737d8a52e3ba9a4ccaf0
+EBUILD libupnp-1.14.20.ebuild 1114 BLAKE2B 130decc63d20bd88a1b4b36ea23179c1b524f46f23732f0b1645708954788f7ac63af46c815dd25d4a9afcb8abdb34f485232d9fa1014c454942bc3c6c4664c5 SHA512 b5edf8a07f4fb6c01c8c03a5629a4acc2eeb57b7cb2fcd73736f1bf4ef89ab971a6a09e980813100c29b8d3d4623b922b538868de589b834902c747ff6407096
MISC metadata.xml 676 BLAKE2B a5aa120c6aef01b436d44e14c0d3d9014b4d3392c75322c5269bb56c6c143ad184d409def0adec6a02a4158b67c71e0cb009eb83d023a0346937337ce171dd6a SHA512 507660834175c3675b9ca6aeb4f5cdae1a017f54ba46e25d1a3235f05c897548b18ca294c328c167d35c8babb3aa71838880965bf34269559aac02a831addd17
diff --git a/net-libs/libupnp/libupnp-1.14.20.ebuild b/net-libs/libupnp/libupnp-1.14.20.ebuild
new file mode 100644
index 000000000000..96a5ae8a15b7
--- /dev/null
+++ b/net-libs/libupnp/libupnp-1.14.20.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="pupnp"
+
+DESCRIPTION="An Portable Open Source UPnP Development Kit"
+HOMEPAGE="http://pupnp.sourceforge.net/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-release-${PV}"
+
+LICENSE="BSD"
+SLOT="0/17"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
+IUSE="blocking-tcp debug doc +reuseaddr samples +ssl static-libs"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/${PN}-1.14.12-disable-network-tests.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable blocking-tcp blocking-tcp-connections)
+ $(use_enable debug)
+ --enable-ipv6
+ $(use_enable reuseaddr)
+ $(use_enable samples)
+ $(use_enable ssl open_ssl)
+ $(use_enable static-libs static)
+ )
+
+ econf ${myeconfargs[@]}
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest
index 31d193237366..ca78257cf2ba 100644
--- a/net-libs/webkit-gtk/Manifest
+++ b/net-libs/webkit-gtk/Manifest
@@ -1,18 +1,10 @@
-AUX 2.42.3-arm64-non-jumbo-fix-925621.patch 1025 BLAKE2B 6a9641b4c05b62c143b2be5ed1d2d8563839466d56831b4dcba503c8892848155f753b0c892407882e41d9cdebd418eff68b94918ed098526813feb1cb87c435 SHA512 238531fe2cc6dff154527abafb8d9c3f0586a82122675d763a440d8dd58162840ebd0539b2ca5c797b203707b4b4470207e509f050220881bc5474660b057ab7
-AUX 2.44.1-branch-patchset.patch 11288 BLAKE2B 0966d524063bc6137464eca431d161ac3b8ec0687f5cb2fa318d95734ceebd6bf9a4bef8db39b135f02a5e64ab453a9e74b3484db1411cf8ad85292d9d4cf034 SHA512 7f2420e49e085fecd630a62866ba2df0470e89f5bf92251436e9aca55200a158b96e866bf15bef283abf4b81d484d9747368fcd3ed2c58d0650aee1df9d9cd52
AUX 2.44.1-non-unified-build-fixes.patch 11799 BLAKE2B 6928f61428c4bc6594a46f7427e644143b071c39cc7405b143d693f956631519860efd958dd928f55c1e6139334966fd6bb92e42594c7b7b9b11236d5b0154f2 SHA512 c3ee1b48bebe8c6e504b6d15277b67261cceffa9790a212972f2d0ffd32d68c60c96373a2fecc0af9c6400114ecc84130bb23d81d03e08473b60eaadc3df9802
-AUX 2.44.1-riscv.patch 2977 BLAKE2B 37a6e22cea8f621e1857141a77b886d82afca1bec70d56b5ecce4b5f89eefc1c0c311f11521840872314a1372ef4666b71000ed14eec787a26c4dc694a1168b3 SHA512 ee5ecbc98c0a40d41477975adc9d4d093cecb9dfe26901f6a5eed510bcefb505885fd7dc99cccc20a79661df900a70a985d2cf740f51481037a8888961488cda
-AUX 2.44.2-excessive-cpu-usage.patch 2972 BLAKE2B 2d01af909030900b4c2de7e441b4c667cdd739d3856ee21a2ec1f49ea74430159b1e66b7dd2cefbf6be6c4684a6ea70b39b7064d751076e2d409cff40e7a7521 SHA512 6a0b65e7c70d5d7ad1c80ca4441a3442dcfb399f55dd1c3c1771f710e20da45bb92490967e9efe8943b89b0c298812a65112100bdb0fcacefc24cb695b1bb61c
AUX 2.46.1-riscv-buildfix.patch 2144 BLAKE2B 27515b7497cb0ca0f04da4352fda97eb254643e1d2486603bb82aff32c96da2f0a08d0cb50b3ab124c83d249816310add54ca6b589372fd1756723ed6db6b4d8 SHA512 4020e64a11fc3df014deb568dcd6f8b07c9ebef53bd8b0dfaae94411b7bedbf14aeeb6d5eea893a4b45da41e29720b69f2d17c81f887ec3c23e6c84cca4d6a4f
-DIST webkitgtk-2.44.1.tar.xz 36280696 BLAKE2B a5fff4c4fe90bcd0ea098930e51a36ea60152da47fd06e78abbc10f146437838aa19fed15cf58732b538046e1f42d8461cd5c0e0859096506932c9fae150cc16 SHA512 b1752303f9ee38ef98c1e5c0cad001d389eaedbbf07d13fed8699104e6e311cb47a9bed7089868cb92c53d2777aaff441147353da13123d5c8eee4adf8709169
DIST webkitgtk-2.44.4.tar.xz 35858056 BLAKE2B 9e3d016bfb2b4e80d2ebeda95e75f8ec8b909b41b17a879d3e1119ed66e3bf4d590a22ed814bb1572dac8d8a8838bb37b5ab1372121b276e02ee8925f6c5b00c SHA512 037ef6a9faca68b68dc62927a475134450493129043ea6cc03595cd4a684d590f80a1e9c3ed40a9176874ba43fc9efbc5065a264dfe131ebd72e272756612db9
DIST webkitgtk-2.46.1.tar.xz 42776840 BLAKE2B 784b4cc4d59da31000612955413608f7a39481c66711139a7c8bc4cf854a62801865a6b3455d6a05918297b2ff3c9ba38ea9046f338ea6060768192af6d67bcd SHA512 e1ac92305b1d1b034eea9be6aa22cfa260249562fa0af41f0ed5c76a36916bba432073e033f228978d84d0377f245642ff31cdec324565e83aa8c82d8ea0c1f5
-EBUILD webkit-gtk-2.44.1-r410.ebuild 7961 BLAKE2B 442435051d98fbe4171bbddf7b65535d97ad33bb2b76ece855d2ca1a02fb423efb112a239c2c2ced7174c950e78d2347237be2dbf72392694b4fbdb618e98de6 SHA512 025bc8d14cc3459ba2a0fbcc1e3de32eae18394b3a43b0c1acea8ff68e601217364dea8eac862aff441ccf397f7f73c77750f09bf074b7887b5ab34692be8a23
-EBUILD webkit-gtk-2.44.1-r600.ebuild 8731 BLAKE2B cfe0215bd43e15124abf32ba0779441b3e48bd395479da706064cad2f0fd8ffd1eec6122d83ed6032d024997c3487f4175c0c16769696d14f45a05d1ec2f4d56 SHA512 ccfdd83983bf4ef3673a4e81459515f43e619e512694487fbdd345c6aaafb9c12fc4b28f98de4f50b262f8e984d07abda0e63511bff73f66ab51d3ad795aeb82
-EBUILD webkit-gtk-2.44.1.ebuild 7809 BLAKE2B f8eebb5a781e511fa7119c56f80e885c3af9af5ad58bcad6e3f53f903ea2777849f35167d1b2fece8f91ea2a7cba4795d1b978de7048aed8d59ebad053c64f39 SHA512 3dda8a65331b87ae3d7699757908623792b20d161e94391277cd82a81516c71dea7222d6d88b13a48464dfb8634278062d558901ec43e339b2ec53f40b03193d
-EBUILD webkit-gtk-2.44.4-r410.ebuild 7829 BLAKE2B c53726dabb79b327be04b7468d3de56f89533820ccabb5aaa1a7380bbe4eb984832c8a20dc4a9a07e8d7e522345ec6339d9f8ab05e900a0579c88911c9c1fbb5 SHA512 7798a5b06216aa056d8096aed2ffbf140c6d0dcb774a49f62fc5a0eac2f5ed710c006772b53d4ba2fccb04c08b841f97d95da3667a1560d5d9c141f8a88ec5a0
-EBUILD webkit-gtk-2.44.4-r600.ebuild 8570 BLAKE2B 490a86855a0f0f27c0ae43858f46f2e48a93a901ac4ef91b10eac426c5287514ede3cc29bde7d8f9d0aea17c53cf90e3d52219ce2463338caea5f8abce679ba8 SHA512 94a59ed3537b79d3750f742b1d42bd09704a31e122e5b3b48790311275195b0636c7ea90d9eb85dd58a898600ae90a1b7494ceb3d8a190e8b922242017642071
-EBUILD webkit-gtk-2.44.4.ebuild 7677 BLAKE2B 42d8395c7c59e2478905f794dcdd791e965bd42ed19eca8c47545359c888d49839766adf969a90edc8fa0b214e2cafd868dc40123684cfd234223d110309ae82 SHA512 fd0d908d4edbdd47b24a1f0fa8696a69f098a581af7f4d261edd398c0cd59c098ca31d9163b47873f2cae336865dea5089adc71c169f9fe43c952f87fc26304e
+EBUILD webkit-gtk-2.44.4-r410.ebuild 7827 BLAKE2B 6fbd74d881fd0ed0823d8c29bfc64aa81081f2c833c7afee977a5c02e212c5ab360a0c3a1d37a4c5af8b28dab1a4b8d1f3468ffd59a33543d64a7b82a34e0c50 SHA512 3ca6747a1ede0e6fe04b315f5b894129d697fad8a76b505218db61d3e0ccd5aa3eccb74f27db446e1b5beb2d62db262dd6f1eb587c3aa647ff2abf7a91787f4a
+EBUILD webkit-gtk-2.44.4-r600.ebuild 8568 BLAKE2B d5dea51d7c11708158e15b81085e6b84a0845eefe08cba3b1daa5b9141f4105bcdb3dfffab0ab31917ab376c475c024f5c85eed54eb3334208136325fb8394a1 SHA512 1d47707e7788e7bf1e6b2a90c60c05945bb73b9a03930a88389111df5ecbaed3ceb858aab8a981f3c7e80325a9a9d41dc5b969b9a6a62cae94baf5a1ec87895f
+EBUILD webkit-gtk-2.44.4.ebuild 7675 BLAKE2B 6ee7b1be0d3c0b7627dace6d9a9bff4f649e3399b48aaf4ddab173e62166d0c359113168d900d34f2f49e23419867dbd833f53a2c86ce3e706a352b88a888c76 SHA512 942d298f3a489b9a3d1b339dd1bd8d7c5a9f730a245c9223e5517404df112479b49493aaa99d52488dac3a3b13c6ade9b80d5f4e6a73eca22c57323983ef0ca0
EBUILD webkit-gtk-2.46.1-r410.ebuild 7919 BLAKE2B 53aaa0526bd07e9375d4bbdff0d986b5d398ca5e9db65fde2908d224c3a8a9d113cde940a8649fadb2ef1fcd43c7261abe3a34e0aa1aa0446f30e36d32fbbe09 SHA512 5c37d5230e9358734a69543ff73b4d1cfb6d110571a1711961dc0da752cb850a0f115bda56a1aede4fe503116f6e6c83cc09f29838f03611952b3f66262a41a2
EBUILD webkit-gtk-2.46.1-r600.ebuild 8663 BLAKE2B 25c7a4b9fdeb6f8ddf1b905452932a5ad6a022bcfa9510d5e0d797ce79103cab8d97f5c4f64c8dd32bed216d2d79df3d26004f8e3a25d41681873dc092fbebc0 SHA512 d838fbcab29aadb0076681e239c6d8c151f6e082645aa8c43e7650a3a183785a5389ddf62db7e6130058e17cf13c3efc42ee761ca891406be9672d39af125c65
EBUILD webkit-gtk-2.46.1.ebuild 7917 BLAKE2B fef623f3c402249c4d804e7ca4f47409c3b0ef3ace962d06f2550e9168b210f4af32089fdc4cc0ad8e0d7156a42dab092379d2ef426564ebe206395184d0f1f7 SHA512 8145b12ae9842e5da093443b7f6332a6367c8a377e61faa76a20b11b6705e1da0f4cad84d513cf29265ab22d0f10736bfbeabbf6ddb4d4d32ab7891ea2ddeaba
diff --git a/net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch b/net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch
deleted file mode 100644
index 51fc45fa32c4..000000000000
--- a/net-libs/webkit-gtk/files/2.42.3-arm64-non-jumbo-fix-925621.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 56001e951362a5064027b1af81283e523e35559b Mon Sep 17 00:00:00 2001
-From: Dennis Camera <dennis.camera+webkit@riiengineering.ch>
-Date: Mon, 4 Mar 2024 09:27:54 -0800
-Subject: [PATCH] [JSC] A64DOpcode include <mutex>
- https://bugs.webkit.org/show_bug.cgi?id=270394
-
-Reviewed by Michael Catanzaro.
-
-When UNIFIED_BUILDS are disabled, the build fails due to missing std::call_once.
-
-* Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h: include <mutex>.
-
-Canonical link: https://commits.webkit.org/275630@main
----
- Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h b/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h
-index 0392bcb6e20a0..202aa4d1d81de 100644
---- a/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h
-+++ b/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h
-@@ -25,6 +25,7 @@
-
- #pragma once
-
-+#include <mutex>
- #include <stdint.h>
- #include <wtf/Assertions.h>
- #include <wtf/DataLog.h>
diff --git a/net-libs/webkit-gtk/files/2.44.1-branch-patchset.patch b/net-libs/webkit-gtk/files/2.44.1-branch-patchset.patch
deleted file mode 100644
index 869c85e84a6e..000000000000
--- a/net-libs/webkit-gtk/files/2.44.1-branch-patchset.patch
+++ /dev/null
@@ -1,262 +0,0 @@
-From 53ca279739365f9a604fba0a673f0539dfd67c55 Mon Sep 17 00:00:00 2001
-From: Patrick Griffis <pgriffis@igalia.com>
-Date: Mon, 8 Apr 2024 10:21:34 -0700
-Subject: [PATCH 1/6] Cherry-pick 277203@main (bd1249cc9c4f).
- https://bugs.webkit.org/show_bug.cgi?id=272309
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
- Workaround restrict error in GCC 12
- https://bugs.webkit.org/show_bug.cgi?id=272309
-
- Reviewed by Darin Adler.
-
- In GCC 12.3.0:
-
- In static member function ‘static constexpr std::char_traits<char>::char_type* std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)’,
- inlined from ‘static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:431:21,
- inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.tcc:532:22,
- inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:2179:19,
- inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(size_type, const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:1936:22,
- inlined from ‘std::ostream& WTF::operator<<(std::ostream&, Int128Impl)’ at /host/home/tingping/Projects/WebKit/Source/WTF/wtf/Int128.cpp:268:17:
- /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict]
- 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
-
- * Source/WTF/wtf/Int128.cpp:
- (WTF::operator<<):
-
- Canonical link: https://commits.webkit.org/277203@main
-
-Canonical link: https://commits.webkit.org/274313.129@webkitglib/2.44
----
- Source/WTF/wtf/Int128.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Source/WTF/wtf/Int128.cpp b/Source/WTF/wtf/Int128.cpp
-index 3962059d0cb9..c04f6d74543a 100644
---- a/Source/WTF/wtf/Int128.cpp
-+++ b/Source/WTF/wtf/Int128.cpp
-@@ -265,9 +265,9 @@ std::ostream& operator<<(std::ostream& os, Int128Impl v) {
- (flags & std::ios::basefield) == std::ios_base::fmtflags();
- if (print_as_decimal) {
- if (Int128High64(v) < 0) {
-- rep = "-";
-+ rep.append("-");
- } else if (flags & std::ios::showpos) {
-- rep = "+";
-+ rep.append("+");
- }
- }
-
---
-2.43.0
-
-
-From 8ce83c4bf224122e0062248752a3ed014efc67e5 Mon Sep 17 00:00:00 2001
-From: Tim Nguyen <ntim@apple.com>
-Date: Wed, 3 Apr 2024 09:22:37 -0700
-Subject: [PATCH 4/6] Cherry-pick 277007@main (1870b119a450).
- https://bugs.webkit.org/show_bug.cgi?id=272044
-
- CrashTracer: com.apple.WebKit.WebContent at WebCore: WebCore::ValidatedFormListedElement::updateValidity
- https://bugs.webkit.org/show_bug.cgi?id=272044
- rdar://117727866
-
- Reviewed by Ryosuke Niwa.
-
- It speculatively fixes a bug that RadioButtonGroup::m_members may contain a nullptr WeakRef.
-
- * Source/WebCore/dom/RadioButtonGroups.cpp:
- (WebCore::RadioButtonGroup::isEmpty const):
- (WebCore::RadioButtonGroup::remove):
- (WebCore::RadioButtonGroup::setNeedsStyleRecalcForAllButtons):
- (WebCore::RadioButtonGroup::updateValidityForAllButtons):
-
- Canonical link: https://commits.webkit.org/277007@main
-
-Canonical link: https://commits.webkit.org/274313.132@webkitglib/2.44
----
- Source/WebCore/dom/RadioButtonGroups.cpp | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/Source/WebCore/dom/RadioButtonGroups.cpp b/Source/WebCore/dom/RadioButtonGroups.cpp
-index ba07a3fbdf09..4bbae6cbb72f 100644
---- a/Source/WebCore/dom/RadioButtonGroups.cpp
-+++ b/Source/WebCore/dom/RadioButtonGroups.cpp
-@@ -31,7 +31,7 @@ namespace WebCore {
- class RadioButtonGroup {
- WTF_MAKE_FAST_ALLOCATED;
- public:
-- bool isEmpty() const { return m_members.isEmpty(); }
-+ bool isEmpty() const { return m_members.isEmptyIgnoringNullReferences(); }
- bool isRequired() const { return m_requiredCount; }
- RefPtr<HTMLInputElement> checkedButton() const { return m_checkedButton.get(); }
- void add(HTMLInputElement&);
-@@ -47,7 +47,7 @@ private:
- bool isValid() const;
- void setCheckedButton(HTMLInputElement*);
-
-- HashSet<WeakRef<HTMLInputElement, WeakPtrImplWithEventTargetData>> m_members;
-+ WeakHashSet<HTMLInputElement, WeakPtrImplWithEventTargetData> m_members;
- WeakPtr<HTMLInputElement, WeakPtrImplWithEventTargetData> m_checkedButton;
- size_t m_requiredCount { 0 };
- };
-@@ -60,7 +60,7 @@ inline bool RadioButtonGroup::isValid() const
- Vector<Ref<HTMLInputElement>> RadioButtonGroup::members() const
- {
- auto sortedMembers = WTF::map(m_members, [](auto& element) -> Ref<HTMLInputElement> {
-- return element.get();
-+ return element;
- });
- std::sort(sortedMembers.begin(), sortedMembers.end(), [](auto& a, auto& b) {
- return is_lt(treeOrder<ComposedTree>(a, b));
-@@ -155,7 +155,7 @@ void RadioButtonGroup::remove(HTMLInputElement& button)
- }
- }
-
-- if (m_members.isEmpty()) {
-+ if (m_members.isEmptyIgnoringNullReferences()) {
- ASSERT(!m_requiredCount);
- ASSERT(!m_checkedButton);
- } else if (wasValid != isValid())
-@@ -170,7 +170,7 @@ void RadioButtonGroup::remove(HTMLInputElement& button)
- void RadioButtonGroup::setNeedsStyleRecalcForAllButtons()
- {
- for (auto& checkedButton : m_members) {
-- Ref button = checkedButton.get();
-+ Ref button = checkedButton;
- ASSERT(button->isRadioButton());
- button->invalidateStyleForSubtree();
- }
-@@ -179,7 +179,7 @@ void RadioButtonGroup::setNeedsStyleRecalcForAllButtons()
- void RadioButtonGroup::updateValidityForAllButtons()
- {
- for (auto& checkedButton : m_members) {
-- Ref button = checkedButton.get();
-+ Ref button = checkedButton;
- ASSERT(button->isRadioButton());
- button->updateValidity();
- }
---
-2.43.0
-
-
-From 93bde17ed761f5de54726de83ced4959303794c6 Mon Sep 17 00:00:00 2001
-From: Abrar Rahman Protyasha <a_protyasha@apple.com>
-Date: Mon, 1 Apr 2024 22:42:12 -0700
-Subject: [PATCH 5/6] Cherry-pick 276925@main (59cedf7135bc).
- https://bugs.webkit.org/show_bug.cgi?id=271962
-
- Linker error when logging ViewportConfiguration to TextStream in Release configuration
- https://bugs.webkit.org/show_bug.cgi?id=271962
- rdar://125713559
-
- Reviewed by Sihui Liu.
-
- WebCore::operator<<(WTF::TextStream&, WebCore::ViewConfiguration const&)
- is defined behind !LOG_DISABLED, which means in Release configuration,
- the linker cannot find this definition.
-
- This patch fixes the linker error by removing the relevant !LOG_DISABLED
- checks around both the operator<< overload definition and the
- description()/dump() declarations, since said methods are referenced by
- the operator<< overload.
-
- * Source/WebCore/page/ViewportConfiguration.cpp:
- (WebCore::ViewportConfiguration::setIsKnownToLayOutWiderThanViewport):
- (WebCore::ViewportConfiguration::dump const):
- * Source/WebCore/page/ViewportConfiguration.h:
-
- Canonical link: https://commits.webkit.org/276925@main
-
-Canonical link: https://commits.webkit.org/274313.133@webkitglib/2.44
----
- Source/WebCore/page/ViewportConfiguration.cpp | 4 ++--
- Source/WebCore/page/ViewportConfiguration.h | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Source/WebCore/page/ViewportConfiguration.cpp b/Source/WebCore/page/ViewportConfiguration.cpp
-index 51abb1154515..c58bc368cd6c 100644
---- a/Source/WebCore/page/ViewportConfiguration.cpp
-+++ b/Source/WebCore/page/ViewportConfiguration.cpp
-@@ -674,8 +674,6 @@ bool ViewportConfiguration::setIsKnownToLayOutWiderThanViewport(bool value)
- return true;
- }
-
--#if !LOG_DISABLED
--
- TextStream& operator<<(TextStream& ts, const ViewportConfiguration::Parameters& parameters)
- {
- ts.startGroup();
-@@ -747,6 +745,8 @@ String ViewportConfiguration::description() const
- return ts.release();
- }
-
-+#if !LOG_DISABLED
-+
- void ViewportConfiguration::dump() const
- {
- WTFLogAlways("%s", description().utf8().data());
-diff --git a/Source/WebCore/page/ViewportConfiguration.h b/Source/WebCore/page/ViewportConfiguration.h
-index acd5a92ae089..1a7c27225a4b 100644
---- a/Source/WebCore/page/ViewportConfiguration.h
-+++ b/Source/WebCore/page/ViewportConfiguration.h
-@@ -148,9 +148,9 @@ public:
- WEBCORE_EXPORT static Parameters imageDocumentParameters();
- WEBCORE_EXPORT static Parameters xhtmlMobileParameters();
- WEBCORE_EXPORT static Parameters testingParameters();
--
--#if !LOG_DISABLED
-+
- String description() const;
-+#if !LOG_DISABLED
- WEBCORE_EXPORT void dump() const;
- #endif
-
---
-2.43.0
-
-
-From aff53249f2d491d082094a2aa57008c46e55d278 Mon Sep 17 00:00:00 2001
-From: Erica Li <lerica@apple.com>
-Date: Tue, 19 Mar 2024 18:27:04 -0700
-Subject: [PATCH 6/6] Cherry-pick 276379@main (d036679431a5).
- https://bugs.webkit.org/show_bug.cgi?id=271028
-
- ASAN_SEGV | WebCore::LocalFrame::injectUserScripts.
- rdar://124432384
- https://bugs.webkit.org/show_bug.cgi?id=271028
-
- Reviewed by Ryosuke Niwa.
-
- Frame might be detached early, null checking before injectUserScripts from image document.
-
- * Source/WebCore/html/ImageDocument.cpp:
- (WebCore::ImageDocument::createDocumentStructure):
-
- Canonical link: https://commits.webkit.org/276379@main
-
-Canonical link: https://commits.webkit.org/274313.134@webkitglib/2.44
----
- Source/WebCore/html/ImageDocument.cpp | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/Source/WebCore/html/ImageDocument.cpp b/Source/WebCore/html/ImageDocument.cpp
-index f91478f138fe..67d3ed0d09af 100644
---- a/Source/WebCore/html/ImageDocument.cpp
-+++ b/Source/WebCore/html/ImageDocument.cpp
-@@ -230,7 +230,8 @@ void ImageDocument::createDocumentStructure()
- rootElement->insertedByParser();
- rootElement->setInlineStyleProperty(CSSPropertyHeight, 100, CSSUnitType::CSS_PERCENTAGE);
-
-- frame()->injectUserScripts(UserScriptInjectionTime::DocumentStart);
-+ if (RefPtr localFrame = frame())
-+ localFrame->injectUserScripts(UserScriptInjectionTime::DocumentStart);
-
- // We need a <head> so that the call to setTitle() later on actually has an <head> to append to <title> to.
- auto head = HTMLHeadElement::create(*this);
---
-2.43.0
-
diff --git a/net-libs/webkit-gtk/files/2.44.1-riscv.patch b/net-libs/webkit-gtk/files/2.44.1-riscv.patch
deleted file mode 100644
index fce0cec50113..000000000000
--- a/net-libs/webkit-gtk/files/2.44.1-riscv.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 30e1d5e22213fdaca2a29ec3400c927d710a37a8 Mon Sep 17 00:00:00 2001
-From: Thomas Devoogdt <thomas.devoogdt@barco.com>
-Date: Mon, 16 Jan 2023 17:03:30 +0100
-Subject: [PATCH] REGRESSION(257865@main): B3Validate.cpp: fix
- !ENABLE(WEBASSEMBLY_B3JIT)
-
-https://bugs.webkit.org/show_bug.cgi?id=250681
-
-Reviewed by NOBODY (OOPS!).
-
-WasmTypeDefinition.h isn't included if not ENABLE(WEBASSEMBLY_B3JIT).
-Also, toB3Type and simdScalarType are not defined if it is included.
-
-Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
----
- Source/JavaScriptCore/b3/B3Validate.cpp | 12 +++++++++---
- 1 file changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/Source/JavaScriptCore/b3/B3Validate.cpp b/Source/JavaScriptCore/b3/B3Validate.cpp
-index d06a76023392..53bf8b16ed86 100644
---- a/Source/JavaScriptCore/b3/B3Validate.cpp
-+++ b/Source/JavaScriptCore/b3/B3Validate.cpp
-@@ -47,6 +47,12 @@
- #include <wtf/StringPrintStream.h>
- #include <wtf/text/CString.h>
-
-+#if ENABLE(WEBASSEMBLY) && ENABLE(WEBASSEMBLY_B3JIT)
-+#define simdScalarTypeToB3Type(type) toB3Type(Wasm::simdScalarType(type))
-+#else
-+#define simdScalarTypeToB3Type(type) B3::Type()
-+#endif
-+
- namespace JSC { namespace B3 {
-
- namespace {
-@@ -452,7 +458,7 @@ class Validater {
- case VectorExtractLane:
- VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
- VALIDATE(value->numChildren() == 1, ("At ", *value));
-- VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
-+ VALIDATE(value->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
- VALIDATE(value->child(0)->type() == V128, ("At ", *value));
- break;
- case VectorReplaceLane:
-@@ -460,7 +466,7 @@ class Validater {
- VALIDATE(value->numChildren() == 2, ("At ", *value));
- VALIDATE(value->type() == V128, ("At ", *value));
- VALIDATE(value->child(0)->type() == V128, ("At ", *value));
-- VALIDATE(value->child(1)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
-+ VALIDATE(value->child(1)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
- break;
- case VectorNot:
- case VectorAbs:
-@@ -475,7 +481,7 @@ class Validater {
- VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
- VALIDATE(value->numChildren() == 1, ("At ", *value));
- VALIDATE(value->type() == V128, ("At ", *value));
-- VALIDATE(value->child(0)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
-+ VALIDATE(value->child(0)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
- break;
-
- case VectorPopcnt:
diff --git a/net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch b/net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch
deleted file mode 100644
index 215e92e532c9..000000000000
--- a/net-libs/webkit-gtk/files/2.44.2-excessive-cpu-usage.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From c6f625d1c91df9986d79a928b01399dce4beb1cc Mon Sep 17 00:00:00 2001
-From: Michael Catanzaro <mcatanzaro@redhat.com>
-Date: Sat, 18 May 2024 08:25:37 -0500
-Subject: [PATCH] Revert "Cherry-pick 276798@main (f91aeb92bd8e).
- https://bugs.webkit.org/show_bug.cgi?id=260455"
-
-Unreviewed. This reverts commit 30ad9a720e6b12a6c958fcef0d7dd3f52da485bd.
-
-See: https://bugs.webkit.org/show_bug.cgi?id=274261
-Canonical link: https://commits.webkit.org/274313.257@webkitglib/2.44
----
- ...e-muted-scroll-and-seek-crash-expected.txt | 4 --
- ...ia-source-muted-scroll-and-seek-crash.html | 65 -------------------
- .../gstreamer/MediaPlayerPrivateGStreamer.cpp | 14 +---
- 3 files changed, 3 insertions(+), 80 deletions(-)
- delete mode 100644 LayoutTests/media/media-source/media-source-muted-scroll-and-seek-crash-expected.txt
- delete mode 100644 LayoutTests/media/media-source/media-source-muted-scroll-and-seek-crash.html
-
-diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
-index 7b28083fae71..a5fb5d679153 100644
---- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
-+++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
-@@ -328,8 +328,8 @@ void MediaPlayerPrivateGStreamer::load(const String& urlString)
- m_fillTimer.stop();
-
- ASSERT(m_pipeline);
-- setPlaybinURL(url);
- setVisibleInViewport(player->isVisibleInViewport());
-+ setPlaybinURL(url);
-
- GST_DEBUG_OBJECT(pipeline(), "preload: %s", convertEnumerationToString(m_preload).utf8().data());
- if (m_preload == MediaPlayer::Preload::None && !isMediaSource()) {
-@@ -4027,18 +4027,10 @@ void MediaPlayerPrivateGStreamer::setVisibleInViewport(bool isVisible)
- if (!isVisible) {
- GstState currentState;
- gst_element_get_state(m_pipeline.get(), &currentState, nullptr, 0);
-- // WebKitMediaSrc cannot properly handle PAUSED -> READY -> PAUSED currently, so we have to avoid transitioning
-- // back to READY when the player becomes visible.
-- GstState minimumState = isMediaSource() ? GST_STATE_PAUSED : GST_STATE_READY;
-- if (currentState >= minimumState)
-+ if (currentState > GST_STATE_NULL)
- m_invisiblePlayerState = currentState;
- m_isVisibleInViewport = false;
-- // Avoid setting the pipeline to PAUSED unless the playbin URL has already been set,
-- // otherwise it will fail, and may leave the pipeline stuck on READY with PAUSE pending.
-- if (!m_url.isValid())
-- return;
-- [[maybe_unused]] auto setStateResult = gst_element_set_state(m_pipeline.get(), GST_STATE_PAUSED);
-- ASSERT(setStateResult != GST_STATE_CHANGE_FAILURE);
-+ gst_element_set_state(m_pipeline.get(), GST_STATE_PAUSED);
- } else {
- m_isVisibleInViewport = true;
- if (m_invisiblePlayerState != GST_STATE_VOID_PENDING)
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.1-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.1-r410.ebuild
deleted file mode 100644
index 211d06e5e00f..000000000000
--- a/net-libs/webkit-gtk/webkit-gtk-2.44.1-r410.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{10..12} )
-USE_RUBY="ruby31 ruby32 ruby33"
-
-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"
-
-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 found at 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 as at that time WebKitWebDriver migrated to SLOT=4.1; currently it is found in SLOT=6
-RDEPEND="
- >=x11-libs/cairo-1.16.0[X?]
- >=media-libs/fontconfig-2.13.0:1.0
- >=media-libs/freetype-2.9.0:2
- >=dev-libs/libgcrypt-1.7.0:0=
- dev-libs/libtasn1:=
- >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?]
- >=media-libs/harfbuzz-1.4.2:=[icu(+)]
- >=dev-libs/icu-61.2:=
- media-libs/libjpeg-turbo:0=
- >=media-libs/libepoxy-1.5.4[egl(+)]
- >=net-libs/libsoup-3.0.8:3.0[introspection?]
- >=dev-libs/libxml2-2.8.0:2
- >=media-libs/libpng-1.4:0=
- dev-db/sqlite:3
- sys-libs/zlib:0
- media-libs/libwebp:=
- >=app-accessibility/at-spi2-core-2.46.0:2
-
- >=dev-libs/glib-2.70.0:2
- >=dev-libs/libxslt-1.1.7
- media-libs/woff2
- keyring? ( app-crypt/libsecret )
- introspection? ( >=dev-libs/gobject-introspection-1.59.1:= )
- x11-libs/libdrm
- media-libs/mesa
- spell? ( >=app-text/enchant-0.22:2 )
- gstreamer? (
- >=media-libs/gstreamer-1.20:1.0
- >=media-libs/gst-plugins-base-1.20:1.0[egl,X?]
- media-libs/gst-plugins-base:1.0[opengl]
- >=media-plugins/gst-plugins-opus-1.20:1.0
- >=media-libs/gst-plugins-bad-1.20:1.0
- )
-
- X? ( x11-libs/libX11 )
-
- dev-libs/hyphen
- jpegxl? ( >=media-libs/libjxl-0.7.0:= )
- avif? ( >=media-libs/libavif-0.9.0:= )
- lcms? ( media-libs/lcms:2 )
-
- media-libs/libglvnd
- wayland? (
- >=dev-libs/wayland-1.20
- >=dev-libs/wayland-protocols-1.24
- )
-
- seccomp? (
- >=sys-apps/bubblewrap-0.3.1
- sys-libs/libseccomp
- sys-apps/xdg-dbus-proxy
- )
-
- systemd? ( sys-apps/systemd:= )
- gamepad? ( >=dev-libs/libmanette-0.2.4 )
- !<net-libs/webkit-gtk-2.38:4
-"
-DEPEND="${RDEPEND}"
-# Need real bison, not yacc
-BDEPEND="
- ${PYTHON_DEPS}
- ${RUBY_DEPS}
- >=app-accessibility/at-spi2-core-2.5.3
- dev-util/gdbus-codegen
- dev-util/glib-utils
- >=dev-util/gperf-3.0.1
- dev-util/unifdef
- >=sys-devel/bison-2.4.3
- || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 )
- sys-devel/gettext
- virtual/pkgconfig
-
- >=dev-lang/perl-5.10
- virtual/perl-Data-Dumper
- virtual/perl-Carp
- virtual/perl-JSON-PP
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307
-
-# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and
-# gnome2_src_prepare, and both apply ${PATCHES[@]}
-PATCHES=()
-
-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() {
- cmake_src_prepare
- gnome2_src_prepare
-
- # Upstream 2.44 branch commits up to aff53249f2d491d, includes a linking and GCC 12 fix
- eapply "${FILESDIR}"/${PV}-branch-patchset.patch
- # Fix USE=-jumbo-build compilation on arm64
- eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
- # Fix USE=-jumbo-build on all arches
- eapply "${FILESDIR}"/${PV}-non-unified-build-fixes.patch
-}
-
-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")
-
- # 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_GAMEPAD=$(usex gamepad)
- -DENABLE_MINIBROWSER=$(usex examples)
- -DENABLE_PDFJS=$(usex pdf)
- -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service)
- -DENABLE_SPELLCHECK=$(usex spell)
- -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build)
- -DENABLE_VIDEO=$(usex gstreamer)
- -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
- -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer)
- -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147
- -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.1 and use the webkit2gtk-6.0 one
- -DENABLE_WEBGL=ON
- -DENABLE_WEB_AUDIO=$(usex gstreamer)
- -DUSE_AVIF=$(usex avif)
- # 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_WOFF2=ON
- )
-
- # 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.44.1-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.1-r600.ebuild
deleted file mode 100644
index a9d9664cd9d2..000000000000
--- a/net-libs/webkit-gtk/webkit-gtk-2.44.1-r600.ebuild
+++ /dev/null
@@ -1,265 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{10..12} )
-USE_RUBY="ruby31 ruby32 ruby33"
-
-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"
-
-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 found at 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
-# TODO: There is build-time conditional depend on gtk-4.13.4 for using more efficient DmaBuf buffer type instead of EglImage, and gtk-4.13.7 for a11y support - ensure it at some point with a min dep
-# TODO: 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?
-RDEPEND="
- >=x11-libs/cairo-1.16.0[X?]
- >=media-libs/fontconfig-2.13.0:1.0
- >=media-libs/freetype-2.9.0:2
- >=dev-libs/libgcrypt-1.7.0:0=
- dev-libs/libtasn1:=
- >=gui-libs/gtk-4.6.0:4[aqua?,introspection?,wayland?,X?]
- >=media-libs/harfbuzz-1.4.2:=[icu(+)]
- >=dev-libs/icu-61.2:=
- media-libs/libjpeg-turbo:0=
- >=media-libs/libepoxy-1.5.4[egl(+)]
- >=net-libs/libsoup-3.0.8:3.0[introspection?]
- >=dev-libs/libxml2-2.8.0:2
- >=media-libs/libpng-1.4:0=
- dev-db/sqlite:3
- sys-libs/zlib:0
- media-libs/libwebp:=
- >=app-accessibility/at-spi2-core-2.46.0:2
-
- >=dev-libs/glib-2.70.0:2
- >=dev-libs/libxslt-1.1.7
- media-libs/woff2
- keyring? ( app-crypt/libsecret )
- introspection? ( >=dev-libs/gobject-introspection-1.59.1:= )
- x11-libs/libdrm
- media-libs/mesa
- spell? ( >=app-text/enchant-0.22:2 )
- gstreamer? (
- >=media-libs/gstreamer-1.20:1.0
- >=media-libs/gst-plugins-base-1.20:1.0[egl,X?]
- media-libs/gst-plugins-base:1.0[opengl]
- >=media-plugins/gst-plugins-opus-1.20:1.0
- >=media-libs/gst-plugins-bad-1.20:1.0
- )
-
- X? ( x11-libs/libX11 )
-
- dev-libs/hyphen
- jpegxl? ( >=media-libs/libjxl-0.7.0:= )
- avif? ( >=media-libs/libavif-0.9.0:= )
- lcms? ( media-libs/lcms:2 )
-
- media-libs/libglvnd
- wayland? (
- >=dev-libs/wayland-1.20
- >=dev-libs/wayland-protocols-1.24
- )
-
- seccomp? (
- >=sys-apps/bubblewrap-0.3.1
- sys-libs/libseccomp
- sys-apps/xdg-dbus-proxy
- )
-
- systemd? ( sys-apps/systemd:= )
- gamepad? ( >=dev-libs/libmanette-0.2.4 )
- !<net-libs/webkit-gtk-2.38:4
- !<net-libs/webkit-gtk-2.44:4.1
-"
-DEPEND="${RDEPEND}"
-# Need real bison, not yacc
-BDEPEND="
- ${PYTHON_DEPS}
- ${RUBY_DEPS}
- >=app-accessibility/at-spi2-core-2.5.3
- dev-util/gdbus-codegen
- dev-util/glib-utils
- >=dev-util/gperf-3.0.1
- dev-util/unifdef
- >=sys-devel/bison-2.4.3
- || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 )
- sys-devel/gettext
- virtual/pkgconfig
-
- >=dev-lang/perl-5.10
- virtual/perl-Data-Dumper
- virtual/perl-Carp
- virtual/perl-JSON-PP
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307
-
-# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and
-# gnome2_src_prepare, and both apply ${PATCHES[@]}
-PATCHES=()
-
-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() {
- cmake_src_prepare
- gnome2_src_prepare
-
- # Upstream 2.44 branch commits up to aff53249f2d491d, includes a linking and GCC 12 fix
- eapply "${FILESDIR}"/${PV}-branch-patchset.patch
- # Fix USE=-jumbo-build compilation on arm64
- eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
- # Fix USE=-jumbo-build on all arches
- eapply "${FILESDIR}"/${PV}-non-unified-build-fixes.patch
- # Fix building on riscv, bug 933675
- eapply "${FILESDIR}"/${PV}-riscv.patch
-}
-
-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")
-
- # 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_GAMEPAD=$(usex gamepad)
- -DENABLE_MINIBROWSER=$(usex examples)
- -DENABLE_PDFJS=$(usex pdf)
- -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service)
- -DENABLE_SPELLCHECK=$(usex spell)
- -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build)
- -DENABLE_VIDEO=$(usex gstreamer)
- -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
- -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer)
- -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147
- -DENABLE_WEBDRIVER=ON
- -DENABLE_WEBGL=ON
- -DENABLE_WEB_AUDIO=$(usex gstreamer)
- -DUSE_AVIF=$(usex avif)
- # 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_WOFF2=ON
- )
-
- # 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.44.1.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.1.ebuild
deleted file mode 100644
index 9ab93285e5cd..000000000000
--- a/net-libs/webkit-gtk/webkit-gtk-2.44.1.ebuild
+++ /dev/null
@@ -1,249 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{10..12} )
-USE_RUBY="ruby31 ruby32 ruby33"
-
-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"
-
-LICENSE="LGPL-2+ BSD"
-SLOT="4/37" # soname version of libwebkit2gtk-4.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 found at 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
-RDEPEND="
- >=x11-libs/cairo-1.16.0[X?]
- >=media-libs/fontconfig-2.13.0:1.0
- >=media-libs/freetype-2.9.0:2
- >=dev-libs/libgcrypt-1.7.0:0=
- dev-libs/libtasn1:=
- >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?]
- >=media-libs/harfbuzz-1.4.2:=[icu(+)]
- >=dev-libs/icu-61.2:=
- media-libs/libjpeg-turbo:0=
- >=media-libs/libepoxy-1.5.4[egl(+)]
- >=net-libs/libsoup-2.54:2.4[introspection?]
- >=dev-libs/libxml2-2.8.0:2
- >=media-libs/libpng-1.4:0=
- dev-db/sqlite:3
- sys-libs/zlib:0
- media-libs/libwebp:=
- >=app-accessibility/at-spi2-core-2.46.0:2
-
- >=dev-libs/glib-2.70.0:2
- >=dev-libs/libxslt-1.1.7
- media-libs/woff2
- keyring? ( app-crypt/libsecret )
- introspection? ( >=dev-libs/gobject-introspection-1.59.1:= )
- x11-libs/libdrm
- media-libs/mesa
- spell? ( >=app-text/enchant-0.22:2 )
- gstreamer? (
- >=media-libs/gstreamer-1.20:1.0
- >=media-libs/gst-plugins-base-1.20:1.0[egl,X?]
- media-libs/gst-plugins-base:1.0[opengl]
- >=media-plugins/gst-plugins-opus-1.20:1.0
- >=media-libs/gst-plugins-bad-1.20:1.0
- )
-
- X? ( x11-libs/libX11 )
-
- dev-libs/hyphen
- jpegxl? ( >=media-libs/libjxl-0.7.0:= )
- avif? ( >=media-libs/libavif-0.9.0:= )
- lcms? ( media-libs/lcms:2 )
-
- media-libs/libglvnd
- wayland? (
- >=dev-libs/wayland-1.20
- >=dev-libs/wayland-protocols-1.24
- )
-
- seccomp? (
- >=sys-apps/bubblewrap-0.3.1
- sys-libs/libseccomp
- sys-apps/xdg-dbus-proxy
- )
-
- systemd? ( sys-apps/systemd:= )
- gamepad? ( >=dev-libs/libmanette-0.2.4 )
-"
-DEPEND="${RDEPEND}"
-# Need real bison, not yacc
-BDEPEND="
- ${PYTHON_DEPS}
- ${RUBY_DEPS}
- >=app-accessibility/at-spi2-core-2.5.3
- dev-util/gdbus-codegen
- dev-util/glib-utils
- >=dev-util/gperf-3.0.1
- dev-util/unifdef
- >=sys-devel/bison-2.4.3
- || ( >=sys-devel/gcc-7.3 >=sys-devel/clang-5 )
- sys-devel/gettext
- virtual/pkgconfig
-
- >=dev-lang/perl-5.10
- virtual/perl-Data-Dumper
- virtual/perl-Carp
- virtual/perl-JSON-PP
-
- wayland? ( dev-util/wayland-scanner )
-"
-
-S="${WORKDIR}/${MY_P}"
-
-CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307
-
-# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and
-# gnome2_src_prepare, and both apply ${PATCHES[@]}
-PATCHES=()
-
-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() {
- cmake_src_prepare
- gnome2_src_prepare
-
- # Upstream 2.44 branch commits up to aff53249f2d491d, includes a linking and GCC 12 fix
- eapply "${FILESDIR}"/${PV}-branch-patchset.patch
- # Fix USE=-jumbo-build compilation on arm64
- eapply "${FILESDIR}"/2.42.3-arm64-non-jumbo-fix-925621.patch
- # Fix USE=-jumbo-build on all arches
- eapply "${FILESDIR}"/${PV}-non-unified-build-fixes.patch
-}
-
-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")
-
- # 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_GAMEPAD=$(usex gamepad)
- -DENABLE_MINIBROWSER=$(usex examples)
- -DENABLE_PDFJS=$(usex pdf)
- -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service)
- -DENABLE_SPELLCHECK=$(usex spell)
- -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build)
- -DENABLE_VIDEO=$(usex gstreamer)
- -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
- -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer)
- -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147
- -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.1 and use the webkit2gtk-6.0 one
- -DENABLE_WEBGL=ON
- -DENABLE_WEB_AUDIO=$(usex gstreamer)
- -DUSE_AVIF=$(usex avif)
- # 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=ON
- -DUSE_WOFF2=ON
- )
-
- # 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.44.4-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild
index 7430151ef077..77ed6220696d 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild
@@ -17,7 +17,7 @@ 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 examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X"
REQUIRED_USE="|| ( aqua wayland X )"
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild
index 253092a76ba6..97b056b6ff61 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild
@@ -17,7 +17,7 @@ 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 examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X"
REQUIRED_USE="|| ( aqua wayland X )"
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild
index 6481f9002b02..bf59ee2d2456 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+ BSD"
SLOT="4/37" # soname version of libwebkit2gtk-4.0
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+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 )"