summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
commit2198f8593ae0312add1bdccb49edfcb935e5f8a6 (patch)
tree67d79ffd7e91cc3858d188c49a65f46860a9bac7 /net-libs
parentd285f0ab4ab38d4ea1cd0757a465db5f06764e06 (diff)
gentoo auto-resync : 07:12:2024 - 02:07:26
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/Manifest.gzbin30693 -> 30693 bytes
-rw-r--r--net-libs/libssh2/Manifest7
-rw-r--r--net-libs/libssh2/files/0001-cmake-always-run-the-tests-even-when-static-libs-are.patch66
-rw-r--r--net-libs/libssh2/files/libssh2-1.11.0-size_t.patch95
-rw-r--r--net-libs/libssh2/libssh2-1.11.0-r2.ebuild66
-rw-r--r--net-libs/libssh2/libssh2-1.11.0-r3.ebuild69
-rw-r--r--net-libs/libssh2/libssh2-1.11.1.ebuild2
-rw-r--r--net-libs/webkit-gtk/Manifest7
-rw-r--r--net-libs/webkit-gtk/files/2.46.4-no-egl.patch115
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.46.4-r410.ebuild2
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.46.4-r600.ebuild2
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.46.4.ebuild2
12 files changed, 127 insertions, 306 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index f897473cfc76..fa5e99330303 100644
--- a/net-libs/Manifest.gz
+++ b/net-libs/Manifest.gz
Binary files differ
diff --git a/net-libs/libssh2/Manifest b/net-libs/libssh2/Manifest
index 5f725a2bdf90..c2bc5a3439cb 100644
--- a/net-libs/libssh2/Manifest
+++ b/net-libs/libssh2/Manifest
@@ -1,10 +1,5 @@
-AUX 0001-cmake-always-run-the-tests-even-when-static-libs-are.patch 2738 BLAKE2B e39dd6a0d63a137d20ee10dea596c3ed4a6e6e4ef9a49dbc9de24f144ec6c3f06c05270b44758cd397ed7906a863130ffea22394ce23d49bcc8b2892fc599f8b SHA512 32acf70a1d7ba79c17f625f289b97eea12f189c9f27812dc6bdbf87fb12ad70a3adb261423d608fa262375f6185a6ad1e5e97fc0a9ab0103de6c3ed28197c506
AUX libssh2-1.11.0-mansyntax_sh.patch 304 BLAKE2B 465b6cf0a67fb9d4db83b0ae1556a2cc5d40a2feb981129b8bbe80fcbd75c26fb551a7a33de997ef70101418b094fd18cda55078e2147843c9852b9f7f069451 SHA512 657a6980c505d7359d544d802039325a9e91d2c08f76c499b189c356f47102d793c447aae03d82a22ca25e37c4a02e2c3f7f9cd2cefd37a2c91e0efbf99e86c7
-AUX libssh2-1.11.0-size_t.patch 4251 BLAKE2B e5ef686f8c3d0211d33524b81433f3a8be86b6ce7ac274d788075e827c8b37c6adb6fc790e471d1702118123ae0919f2b2bdd78b3788feffaf94672d1d32b328 SHA512 e52a0f2a531daf8c0e512b3ab802fbe7e7705f793f50455399f1d5e905e1b4d26299ac649b0da7f5856eb451eeaff814124e751d39996927f5cd931c85046981
-DIST libssh2-1.11.0.tar.xz 686796 BLAKE2B 36903798c72f7261d9e997254169c10a4e69166017445276de8b0066fff15cd4dae4119a8d6cbbab8859d765b2d7f34f2911bbaf83c8d6ac5d1feead6b5de64e SHA512 6d50c71b778ca0f769fcc9d2cc257ab669cd0b6c35e8b0e047b6b38aea10638974cc591ba27c25bb7dd523020b4a8a62e2c1ae368287d9dc254d5e24d4a7cee7
DIST libssh2-1.11.1.tar.xz 721700 BLAKE2B 8ab227556f8e7f094b2b8dc77e311d6935580690dd7d46f8766654a30078fb0be4182f43136896a04b5a2d15175397fab76607472d5f3cd31c8837a86e0c3c83 SHA512 8322b54a522b0cbbb07916d29ec045c08f8ed94bd8abb5e524038640e90a317667a25be46d95b62b101ed726ade0a51a90fb246cf34c045c38f927f4e439e431
-EBUILD libssh2-1.11.0-r2.ebuild 1475 BLAKE2B d008d48739105848113d1b73d5f16682e8de50c55b6ee8301169e3c830a21c9764a1ecb2232695bd8f7074c523bc6848cbc60ccb8d2618a1cd98bd8b0bc34140 SHA512 4d1eacc93142a7eee3567a152425746400bc8871f3f78b2afe0bfcc3b1ae34c0dde2d22f8b1f47cd2e960a0f239c36dc1fc1880863c3b4b6762993bcda7e995a
-EBUILD libssh2-1.11.0-r3.ebuild 1622 BLAKE2B 754c3340c15d028a8d682263cf5d4ad76a67edee82380906cb117fbbcd704f2326a952a497286e6ca007f2edc004792eb672f1187db022976b9b5087bc54742f SHA512 a27f994ad1f055a2c88258123ab0616a5593bca01b2ef34d6462a11a83db693bb7b83b8bbe86dfda968043840dce917ec76bbf6dc92ba58c0a0ff78a537658d7
-EBUILD libssh2-1.11.1.ebuild 1453 BLAKE2B 7f6452adbcf5148165b54147d603c60affd18f5f21ecadc9789c0f0089311e5f1e5725eef279de7ce1f96e4e1cb2f94136a49741c702430e4dea1167be905322 SHA512 e0dcd715a059a98341462be907a3164c73725b60b9b1b653a6d5daf3114511976d361f75f2279589b550147b38561057138af9ac7b8f6413f90fa14eacdd3383
+EBUILD libssh2-1.11.1.ebuild 1452 BLAKE2B 98775eface42d790f29c8c0418e95ad14403681401c750069e70415ad00fcb5f975935f5340323142d2aa0cc985f0d51efd7ef3d8076fcd31586e2b22071c121 SHA512 ca2362db882b46e1a5066a8cbde07ac4ca61dbd383d1673860456f39f355b5626fe20a77c6bfa8b76c58bdf3534724caee8858feb3e1a8c6d0e7f4870de4c86b
EBUILD libssh2-9999.ebuild 1340 BLAKE2B 20782fca446145ee85fa31929878dacb60fcd8a223a730545443d646524d80bc055753651e7cfb09d6d93123656e50548ab1661e1858a74e5d81e726a1783808 SHA512 f774ba8bbaae89a0cfa12eb572915f71a2fe653da635f26be723f875e9d06054ec5dd7aa6766399f2d0c74ed98142449b5cf5d6acbcb30fe2f35c1b567325a16
MISC metadata.xml 684 BLAKE2B 24abefd923c417602ceba0d1eda1c43a14c20b3b7091b30e4a17d729e01ad8247fb6b5d10df16f26f89ea53c006a5cad03b227213b76c3d7953047ac9bfe8b30 SHA512 c4ca1fb726c643206c3db74c5ed92e4755afa65310695ca3f8e5bed67308dedadc4ff44e5554af706ac0e618748c8cf52b9616e60c1b872841817f193b56af3b
diff --git a/net-libs/libssh2/files/0001-cmake-always-run-the-tests-even-when-static-libs-are.patch b/net-libs/libssh2/files/0001-cmake-always-run-the-tests-even-when-static-libs-are.patch
deleted file mode 100644
index a809420ca803..000000000000
--- a/net-libs/libssh2/files/0001-cmake-always-run-the-tests-even-when-static-libs-are.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From 9a769054fc03f02db75355f0850360a26fae7324 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz <eschwartz@gentoo.org>
-Date: Thu, 5 Sep 2024 23:18:47 -0400
-Subject: [PATCH] cmake: always run the tests even when static libs are
- disabled
-
-The BUILD_STATIC_LIBS option is intended for the use case where users do
-not wish to build and install a static lib because it is not one of the
-artifacts they are interested in. The option should not be used to
-disable running the testsuite.
-
-Instead, when tests are enabled, define the target. Just don't export or
-install it. Build systems build lots of things that aren't deliverable
-artifacts, and this becomes just one more of them.
-
-(cherry-picked from PR https://github.com/libssh2/libssh2/pull/1450)
-
-Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
----
- src/CMakeLists.txt | 6 ++++--
- tests/CMakeLists.txt | 8 ++------
- 2 files changed, 6 insertions(+), 8 deletions(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 5bbed5e5..eb2fb7c2 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -97,8 +97,10 @@ if(WIN32 AND BUILD_STATIC_LIBS AND BUILD_SHARED_LIBS AND
- endif()
-
- # we want it to be called libssh2 on all platforms
--if(BUILD_STATIC_LIBS)
-- list(APPEND libssh2_export ${LIB_STATIC})
-+if(BUILD_STATIC_LIBS OR BUILD_TESTING)
-+ if(BUILD_STATIC_LIBS)
-+ list(APPEND libssh2_export ${LIB_STATIC})
-+ endif()
- add_library(${LIB_STATIC} STATIC ${SOURCES})
- target_compile_definitions(${LIB_STATIC} PRIVATE ${PRIVATE_COMPILE_DEFINITIONS} ${libssh2_DEFINITIONS})
- target_link_libraries(${LIB_STATIC} PRIVATE ${LIBRARIES})
-diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
-index 76eb78ef..a61ea5a3 100644
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -73,16 +73,12 @@ target_include_directories(runner PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../src" .
- foreach(test ${DOCKER_TESTS} ${STANDALONE_TESTS} ${SSHD_TESTS})
- if(NOT ";${TESTS_WITH_LIB_STATIC};" MATCHES ";${test};")
- set(LIB_FOR_TESTS ${LIB_SELECTED})
-- elseif(TARGET ${LIB_STATIC})
-- set(LIB_FOR_TESTS ${LIB_STATIC})
- else()
-- unset(LIB_FOR_TESTS)
-- message(STATUS "Skip test requiring static libssh2 lib: ${test}")
-+ set(LIB_FOR_TESTS ${LIB_STATIC})
- endif()
-
- # We support the same target as both Docker and SSHD test. Build those just once.
-- # Skip building tests that require the static lib when the static lib is disabled.
-- if(NOT TARGET ${test} AND LIB_FOR_TESTS)
-+ if(NOT TARGET ${test})
- add_executable(${test} ${test}.c)
- target_compile_definitions(${test} PRIVATE "${CRYPTO_BACKEND_DEFINE}")
- target_include_directories(${test} PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../src" ../src ../include "${CRYPTO_BACKEND_INCLUDE_DIR}")
---
-2.44.2
-
diff --git a/net-libs/libssh2/files/libssh2-1.11.0-size_t.patch b/net-libs/libssh2/files/libssh2-1.11.0-size_t.patch
deleted file mode 100644
index ade3cdee8a49..000000000000
--- a/net-libs/libssh2/files/libssh2-1.11.0-size_t.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-https://bugs.gentoo.org/911279
-Upstream: https://github.com/libssh2/libssh2/issues/1053
-Commit: https://github.com/libssh2/libssh2/commit/1153ebdeba563ac657b525edd6bf6da68b1fe5e2
-From: Viktor Szakats <commit@vsz.me>
-Date: Tue, 30 May 2023 17:28:03 +0000
-Subject: [PATCH] mbedtls: use more `size_t` to sync up with `crypto.h`
-
-Ref: 5a96f494ee0b00282afb2db2e091246fc5e1774a #846 #879
-
-Fixes #1053
-Closes #1054
---- a/src/mbedtls.c
-+++ b/src/mbedtls.c
-@@ -186,7 +186,7 @@ _libssh2_mbedtls_cipher_dtor(_libssh2_cipher_ctx *ctx)
- int
- _libssh2_mbedtls_hash_init(mbedtls_md_context_t *ctx,
- mbedtls_md_type_t mdtype,
-- const unsigned char *key, unsigned long keylen)
-+ const unsigned char *key, size_t keylen)
- {
- const mbedtls_md_info_t *md_info;
- int ret, hmac;
-@@ -221,7 +221,7 @@ _libssh2_mbedtls_hash_final(mbedtls_md_context_t *ctx, unsigned char *hash)
- }
-
- int
--_libssh2_mbedtls_hash(const unsigned char *data, unsigned long datalen,
-+_libssh2_mbedtls_hash(const unsigned char *data, size_t datalen,
- mbedtls_md_type_t mdtype, unsigned char *hash)
- {
- const mbedtls_md_info_t *md_info;
-@@ -497,8 +497,9 @@ int
- _libssh2_mbedtls_rsa_sha2_verify(libssh2_rsa_ctx * rsactx,
- size_t hash_len,
- const unsigned char *sig,
-- unsigned long sig_len,
-- const unsigned char *m, unsigned long m_len)
-+ size_t sig_len,
-+ const unsigned char *m,
-+ size_t m_len)
- {
- int ret;
- int md_type;
-@@ -548,8 +549,9 @@ _libssh2_mbedtls_rsa_sha2_verify(libssh2_rsa_ctx * rsactx,
- int
- _libssh2_mbedtls_rsa_sha1_verify(libssh2_rsa_ctx * rsactx,
- const unsigned char *sig,
-- unsigned long sig_len,
-- const unsigned char *m, unsigned long m_len)
-+ size_t sig_len,
-+ const unsigned char *m,
-+ size_t m_len)
- {
- return _libssh2_mbedtls_rsa_sha2_verify(rsactx, SHA_DIGEST_LENGTH,
- sig, sig_len, m, m_len);
---- a/src/mbedtls.h
-+++ b/src/mbedtls.h
-@@ -478,12 +478,12 @@ _libssh2_mbedtls_cipher_dtor(_libssh2_cipher_ctx *ctx);
- int
- _libssh2_mbedtls_hash_init(mbedtls_md_context_t *ctx,
- mbedtls_md_type_t mdtype,
-- const unsigned char *key, unsigned long keylen);
-+ const unsigned char *key, size_t keylen);
-
- int
- _libssh2_mbedtls_hash_final(mbedtls_md_context_t *ctx, unsigned char *hash);
- int
--_libssh2_mbedtls_hash(const unsigned char *data, unsigned long datalen,
-+_libssh2_mbedtls_hash(const unsigned char *data, size_t datalen,
- mbedtls_md_type_t mdtype, unsigned char *hash);
-
- _libssh2_bn *
-@@ -526,9 +526,8 @@ _libssh2_mbedtls_rsa_new_private_frommemory(libssh2_rsa_ctx **rsa,
- int
- _libssh2_mbedtls_rsa_sha1_verify(libssh2_rsa_ctx *rsa,
- const unsigned char *sig,
-- unsigned long sig_len,
-- const unsigned char *m,
-- unsigned long m_len);
-+ size_t sig_len,
-+ const unsigned char *m, size_t m_len);
- int
- _libssh2_mbedtls_rsa_sha1_sign(LIBSSH2_SESSION *session,
- libssh2_rsa_ctx *rsa,
-@@ -540,8 +539,8 @@ int
- _libssh2_mbedtls_rsa_sha2_verify(libssh2_rsa_ctx * rsactx,
- size_t hash_len,
- const unsigned char *sig,
-- unsigned long sig_len,
-- const unsigned char *m, unsigned long m_len);
-+ size_t sig_len,
-+ const unsigned char *m, size_t m_len);
- int
- _libssh2_mbedtls_rsa_sha2_sign(LIBSSH2_SESSION *session,
- libssh2_rsa_ctx *rsa,
diff --git a/net-libs/libssh2/libssh2-1.11.0-r2.ebuild b/net-libs/libssh2/libssh2-1.11.0-r2.ebuild
deleted file mode 100644
index 540db8213b04..000000000000
--- a/net-libs/libssh2/libssh2-1.11.0-r2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="Library implementing the SSH2 protocol"
-HOMEPAGE="https://www.libssh2.org"
-SRC_URI="https://www.libssh2.org/download/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="gcrypt mbedtls test zlib"
-REQUIRED_USE="?? ( gcrypt mbedtls )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
- !gcrypt? (
- mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] )
- !mbedtls? (
- >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
- )
- )
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-"
-DEPEND="
- ${RDEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.11.0-mansyntax_sh.patch
- "${FILESDIR}"/${PN}-1.11.0-size_t.patch
-)
-
-multilib_src_configure() {
- local crypto_backend=OpenSSL
- if use gcrypt; then
- crypto_backend=Libgcrypt
- elif use mbedtls; then
- crypto_backend=mbedTLS
- fi
-
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_TESTING=$(usex test)
- -DCRYPTO_BACKEND=${crypto_backend}
- -DENABLE_ZLIB_COMPRESSION=$(usex zlib)
- )
-
- if use test ; then
- # Pass separately to avoid unused var warnings w/ USE=-test
- mycmakeargs+=(
- -DRUN_SSHD_TESTS=OFF
- -DRUN_DOCKER_TESTS=OFF
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_install_all() {
- einstalldocs
-}
diff --git a/net-libs/libssh2/libssh2-1.11.0-r3.ebuild b/net-libs/libssh2/libssh2-1.11.0-r3.ebuild
deleted file mode 100644
index 1714863f1368..000000000000
--- a/net-libs/libssh2/libssh2-1.11.0-r3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="Library implementing the SSH2 protocol"
-HOMEPAGE="https://libssh2.org"
-SRC_URI="https://libssh2.org/download/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="gcrypt mbedtls test zlib"
-REQUIRED_USE="?? ( gcrypt mbedtls )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
- !gcrypt? (
- mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] )
- !mbedtls? (
- >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
- )
- )
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-"
-DEPEND="
- ${RDEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.11.0-mansyntax_sh.patch
- "${FILESDIR}"/${PN}-1.11.0-size_t.patch
- # https://github.com/libssh2/libssh2/pull/1450
- "${FILESDIR}"/0001-cmake-always-run-the-tests-even-when-static-libs-are.patch
-)
-
-multilib_src_configure() {
- local crypto_backend=OpenSSL
- if use gcrypt; then
- crypto_backend=Libgcrypt
- elif use mbedtls; then
- crypto_backend=mbedTLS
- fi
-
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_STATIC_LIBS=OFF
- -DBUILD_TESTING=$(usex test)
- -DCRYPTO_BACKEND=${crypto_backend}
- -DENABLE_ZLIB_COMPRESSION=$(usex zlib)
- )
-
- if use test ; then
- # Pass separately to avoid unused var warnings w/ USE=-test
- mycmakeargs+=(
- -DRUN_SSHD_TESTS=OFF
- -DRUN_DOCKER_TESTS=OFF
- )
- fi
-
- cmake_src_configure
-}
-
-multilib_src_install_all() {
- einstalldocs
-}
diff --git a/net-libs/libssh2/libssh2-1.11.1.ebuild b/net-libs/libssh2/libssh2-1.11.1.ebuild
index d43bef9af884..e30c2f36adef 100644
--- a/net-libs/libssh2/libssh2-1.11.1.ebuild
+++ b/net-libs/libssh2/libssh2-1.11.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://libssh2.org/download/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="gcrypt mbedtls test zlib"
REQUIRED_USE="?? ( gcrypt mbedtls )"
RESTRICT="!test? ( test )"
diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest
index 691279811b3a..101b0e2faa97 100644
--- a/net-libs/webkit-gtk/Manifest
+++ b/net-libs/webkit-gtk/Manifest
@@ -1,11 +1,12 @@
AUX 2.44.1-non-unified-build-fixes.patch 11799 BLAKE2B 6928f61428c4bc6594a46f7427e644143b071c39cc7405b143d693f956631519860efd958dd928f55c1e6139334966fd6bb92e42594c7b7b9b11236d5b0154f2 SHA512 c3ee1b48bebe8c6e504b6d15277b67261cceffa9790a212972f2d0ffd32d68c60c96373a2fecc0af9c6400114ecc84130bb23d81d03e08473b60eaadc3df9802
AUX 2.44.4-fix-icu76.1.patch 1215 BLAKE2B 0d4aa869b52eb6579ff58421982e80f02077e064988b30887af9d7da5a1c31bb652fdc406fbfe4e0895cd4c4e0e67b2cc4e363e8d8c60aac5d5683808fd52080 SHA512 356051853ce56e040aed620a6cb68dba75c2387ed396cfea85c2fcd5e51998a31ea2e2eca5305d9aa99b66f6f8ea7e8983851c77ca654a97ec3b3ecce8bd651c
+AUX 2.46.4-no-egl.patch 4739 BLAKE2B 6fde02d0dbcff8c89d10af7c9081880d29196174335409241929513155d093bca70545698b8a653d454a05c58b1fba4b90bfd42d285ded3c268376b917f92d78 SHA512 0bb8ba9d9f41100908f762063f7e0e3eca57a4aefa1e9203bfcb114f745acf61b78a76a05a4ed09c7aa0053effd3ff07e0c9cd3fa583a9520648c82845af8a1d
DIST webkitgtk-2.44.4.tar.xz 35858056 BLAKE2B 9e3d016bfb2b4e80d2ebeda95e75f8ec8b909b41b17a879d3e1119ed66e3bf4d590a22ed814bb1572dac8d8a8838bb37b5ab1372121b276e02ee8925f6c5b00c SHA512 037ef6a9faca68b68dc62927a475134450493129043ea6cc03595cd4a684d590f80a1e9c3ed40a9176874ba43fc9efbc5065a264dfe131ebd72e272756612db9
DIST webkitgtk-2.46.4.tar.xz 42899016 BLAKE2B df837d4acf53fc404e0ed4de074756c9585238cb8696f4627a7c720bc8d9bff7483ae19b41f564044ebe4bfc8ce0a8673c3773a8f2fe8cea689c214f62f4a645 SHA512 9f3967524ef2ca3242609d4e49e773d33bb944f109a6fbf30d2cc3179eb563df59044b2bc627bcdc9991e09e9d3041b9dc5c22c857227385508ada6276829e29
EBUILD webkit-gtk-2.44.4-r410.ebuild 7909 BLAKE2B 2c547c9f14882583fdf020a450dc84d1584205ba4d659b07fde44cc2c21916ae37ec64db77148261dd700ec07d203d3322f97e864dc87bacd3688846c482116c SHA512 1ea30d126cc5ca5d57dd5a101572dd0f570121a0a3dd002c36c87e8ce977063ad2ec9d6a2e84fb9d1ba319f54bb882f2d423155311d3fdf1ecd1db5f605c1b4c
EBUILD webkit-gtk-2.44.4-r600.ebuild 8650 BLAKE2B 91c5240a65bd29376f36d56783b600159722b1f0686d69ed2ad9551d8872e9495f59a5e38203a0c279527e643948048f35ee7f08edf0993bae519e229d14d71c SHA512 7a8904c9755d768021f8840db35f0658de9580257df0b62b92d5a6d995c80fe1aaf976059c6232d3cdf12957aa48e02708d25ce6eab40d6f5049023b880c02dd
EBUILD webkit-gtk-2.44.4.ebuild 7757 BLAKE2B 94f79a2ac9f8f1b3f95297c50af5aa155604ef670e7600d7e567cb5971fc509efd9e07a9fd892010b2bd7332912a17407031d658cd2ba393678ebf5b7c7c2e42 SHA512 b8cdbf26b732b669da0ec5c5feb7fb708f27dc285792dca74aef3bf49d4b0d774b8d6d79603c65a564deae345e0c40b5d6f106225463cab6c4e5f3ea3813db26
-EBUILD webkit-gtk-2.46.4-r410.ebuild 7889 BLAKE2B cb0185fe6b0673f4aaa8945074cd3b5fe201c9a503ed598959e73a8c376eb09813f8a57eed48095543c752dbb3b24db5d1ae3b83cf9001d2b56bcf007690a48a SHA512 a12f811a13585cf3fd310ef44640568ff5ee82a732abd184ea44223e83d4ad9913096e749d3e6d4d07fcfc90892c706070f93a5d678972d994291f1053a0bd7c
-EBUILD webkit-gtk-2.46.4-r600.ebuild 8633 BLAKE2B 4fe3419ab32227661c6020a32342c33678b28368a2c9157c918606a06a66c0ddbdd53afdaf4d50a9a85f4c5f399889f3f52f5495aa9b955a0649e479cb721e16 SHA512 d20a153affcd8536dc65f4cf60feb3e97665a6841127b34dbb7347399e8f41e83fc3b9d298ed604e3183a5ac6659a36a3c3ee3b8486ad3e0adf538ff814fa026
-EBUILD webkit-gtk-2.46.4.ebuild 7887 BLAKE2B 88453c06f882ee8fb025368da72030a2f78b25d03c9e6887b816ecd7614c3bd2ae192141104611da61b4aa64d383ad4cf0ae9b43b888bc9b1e30384db06ab991 SHA512 c7e2792e511c879bfe6dcb7a5dc039511f4daf809132089a284eb970fddf7103edfb71314e1c957f9aee729f54e8a89bd8d2b9fc687b7e3ba3ced5bd2bde26ca
+EBUILD webkit-gtk-2.46.4-r410.ebuild 7965 BLAKE2B 605aa4530def2483f38d9fadf54f8496038ea53a2be2326d26c98ecc9c76cd75955d2258cbf50a95d07af4377d7c589cf87bcedd8fdb97245dec93a1782c4e9e SHA512 73365485e72c897118e8e088bec22904be664e4143185e2c22f39c681b6823c496c73f23ab33f1e970d8b6c45822bec3f5f89a659adde128c5334f008a24ceb2
+EBUILD webkit-gtk-2.46.4-r600.ebuild 8709 BLAKE2B 455caf98474e9ed09694579a636c307968f125ac57391848d83d121601a6906c49a8686d7a2c3412d801094ebc1833ad89040ccbb1ba61948245e5e3b7575bc7 SHA512 34fc007b4c3e78ee801257ac3661dd6c0bcee4f0f3367ad179bfe8866109eba592bf5829c578f31608f5ab043fee9dc688186c9d2d18345817f0d09fbf3cba90
+EBUILD webkit-gtk-2.46.4.ebuild 7963 BLAKE2B 1dd43c3b0b5ee4b53ef8d99954d2d6f1f8a1e17713898760b1e87bb944cd1593e97d898c87761f40324b88e9bc5d8517d027f4553e5dd35e86e8485a656302b5 SHA512 981924192b2010b31eadd2ad7ee764818215c3d2b1df98be4b30d6fe5b21c03bfbebe8f52332a1281934b4cfaf11be129caafe4346368ba4644805c6a9455ecf
MISC metadata.xml 615 BLAKE2B 5527ca0439e337193601d221df1b5f9b85c6f4ea0b0867fe8ac0548307672de45fe956fe61c0044b778644c8079271eba565854ab041ce45738dd98a9b3db39e SHA512 4681816de7821ede7c252e62a4cb29ee5c6e88f1799972a7325b40ed1998f9462835ca38c42dc65eeac4c0bcb0d672593af857fcf442cced865bdfdefe063eb1
diff --git a/net-libs/webkit-gtk/files/2.46.4-no-egl.patch b/net-libs/webkit-gtk/files/2.46.4-no-egl.patch
new file mode 100644
index 000000000000..cf66a8c3bf45
--- /dev/null
+++ b/net-libs/webkit-gtk/files/2.46.4-no-egl.patch
@@ -0,0 +1,115 @@
+https://bugs.gentoo.org/945827
+https://bugs.webkit.org/show_bug.cgi?id=283750
+https://github.com/WebKit/WebKit/commit/1cfbdd74e97ea29636ce442322b5399b43937401
+
+From 9cd50ae71cd463145529f86ca0306319cc9a4321 Mon Sep 17 00:00:00 2001
+From: Philippe Normand <philn@igalia.com>
+Date: Wed, 27 Nov 2024 07:20:41 -0800
+Subject: [PATCH] [WPE][GTK] Build fixes for gbm disabled and release logs
+ disabled https://bugs.webkit.org/show_bug.cgi?id=283750
+
+* Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:
+(WebCore::PeerConnectionBackend::PeerConnectionBackend):
+* Source/WebCore/Modules/mediastream/PeerConnectionBackend.h:
+* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
+(WebCore::GStreamerMediaEndpoint::startRTCLogs):
+* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
+* Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.h:
+(WKWPE::ViewPlatform::ViewPlatform):
+
+Cherrypicked https://commits.webkit.org/287124@main to 2.46.4
+--- a/Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp
++++ b/Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp
+@@ -165,6 +165,10 @@ PeerConnectionBackend::PeerConnectionBackend(RTCPeerConnection& peerConnection)
+ m_shouldFilterICECandidates = page->webRTCProvider().isSupportingMDNS();
+ #endif
+
++#if RELEASE_LOG_DISABLED
++ m_logIdentifierString = makeString(hex(reinterpret_cast<uintptr_t>(this)));
++#endif
++
+ #if !RELEASE_LOG_DISABLED && (PLATFORM(WPE) || PLATFORM(GTK))
+ m_jsonFilePath = String::fromUTF8(getenv("WEBKIT_WEBRTC_JSON_EVENTS_FILE"));
+ if (!m_jsonFilePath.isEmpty())
+--- a/Source/WebCore/Modules/mediastream/PeerConnectionBackend.h
++++ b/Source/WebCore/Modules/mediastream/PeerConnectionBackend.h
+@@ -281,8 +281,8 @@ private:
+ #if !RELEASE_LOG_DISABLED
+ Ref<const Logger> m_logger;
+ const void* m_logIdentifier;
+- String m_logIdentifierString;
+ #endif
++ String m_logIdentifierString;
+ bool m_finishedGatheringCandidates { false };
+ bool m_isProcessingLocalDescriptionAnswer { false };
+
+--- a/Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
++++ b/Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
+@@ -2228,7 +2228,9 @@ std::optional<bool> GStreamerMediaEndpoint::canTrickleIceCandidates() const
+ void GStreamerMediaEndpoint::startRTCLogs()
+ {
+ m_isGatheringRTCLogs = true;
++#if !RELEASE_LOG_DISABLED
+ startLoggingStats();
++#endif
+ }
+
+ void GStreamerMediaEndpoint::stopRTCLogs()
+--- a/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
++++ b/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
+@@ -1726,7 +1726,7 @@ void gstStructureFilterAndMapInPlace(GstStructure* structure, Function<bool(GstI
+ #endif
+ }
+
+-#if !GST_CHECK_VERSION(1, 24, 0)
++#if USE(GBM) && !GST_CHECK_VERSION(1, 24, 0)
+ static GstVideoFormat drmFourccToGstVideoFormat(uint32_t fourcc)
+ {
+ switch (fourcc) {
+@@ -1761,7 +1761,7 @@ static GstVideoFormat drmFourccToGstVideoFormat(uint32_t fourcc)
+ RELEASE_ASSERT_NOT_REACHED();
+ return GST_VIDEO_FORMAT_UNKNOWN;
+ }
+-#endif // !GST_CHECK_VERSION(1, 24, 0)
++#endif // USE(GBM) && !GST_CHECK_VERSION(1, 24, 0)
+
+ #if USE(GBM)
+ GRefPtr<GstCaps> buildDMABufCaps()
+@@ -1805,7 +1805,7 @@ GRefPtr<GstCaps> buildDMABufCaps()
+ gst_value_list_append_and_take_value(&supportedFormats, &value);
+ }
+ }
+-#else
++#elif USE(GBM)
+ GValue value = G_VALUE_INIT;
+ g_value_init(&value, G_TYPE_STRING);
+ g_value_set_string(&value, gst_video_format_to_string(drmFourccToGstVideoFormat(format.fourcc)));
+@@ -1815,7 +1815,7 @@ GRefPtr<GstCaps> buildDMABufCaps()
+
+ #if GST_CHECK_VERSION(1, 24, 0)
+ gst_caps_set_value(caps.get(), "drm-format", &supportedFormats);
+-#else
++#elif USE(GBM)
+ gst_caps_set_value(caps.get(), "format", &supportedFormats);
+ #endif
+ g_value_unset(&supportedFormats);
+--- a/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.h
++++ b/Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.h
+@@ -93,13 +93,14 @@ private:
+ #if !RELEASE_LOG_DISABLED
+ Ref<const Logger> m_logger;
+ const void* m_logIdentifier;
++#endif
++
+ uint64_t m_nextSourceBufferID { 0 };
+
+ // Stores known track IDs, so we can work around ID collisions between multiple source buffers.
+ // The registry is placed here to enforce ID uniqueness specifically by player, not by process,
+ // since its not an issue if multiple players use the same ID, and we want to preserve IDs as much as possible.
+ HashSet<TrackID, WTF::IntHash<TrackID>, WTF::UnsignedWithZeroKeyHashTraits<TrackID>> m_trackIdRegistry;
+-#endif
+ };
+
+ } // namespace WebCore
+--
+2.47.1
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.46.4-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.46.4-r410.ebuild
index ae6d1d99d97d..8e3a28eb83da 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.46.4-r410.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.46.4-r410.ebuild
@@ -148,6 +148,8 @@ src_prepare() {
# https://bugs.gentoo.org/943213
eapply "${FILESDIR}"/2.44.4-fix-icu76.1.patch
+ # https://bugs.gentoo.org/945827
+ eapply "${FILESDIR}"/2.46.4-no-egl.patch
}
src_configure() {
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.46.4-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.46.4-r600.ebuild
index 753098b08520..67d0513a0a53 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.46.4-r600.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.46.4-r600.ebuild
@@ -159,6 +159,8 @@ src_prepare() {
# https://bugs.gentoo.org/943213
eapply "${FILESDIR}"/2.44.4-fix-icu76.1.patch
+ # https://bugs.gentoo.org/945827
+ eapply "${FILESDIR}"/2.46.4-no-egl.patch
}
src_configure() {
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.46.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.46.4.ebuild
index 251e70b171d4..299d89ff4edc 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.46.4.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.46.4.ebuild
@@ -148,6 +148,8 @@ src_prepare() {
# https://bugs.gentoo.org/943213
eapply "${FILESDIR}"/2.44.4-fix-icu76.1.patch
+ # https://bugs.gentoo.org/945827
+ eapply "${FILESDIR}"/2.46.4-no-egl.patch
}
src_configure() {