commit: ac60278836c396aff6a3a651c301292eb5fb2abd
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 9 19:52:06 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 9 19:54:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac602788
www-client/epiphany: Skip broken test
It also started to rely on the use.masked mesa[zink], upstream ignores
the problem, even if they are broken in many distributions like Debian
and Arch.
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
www-client/epiphany/epiphany-46.2.ebuild | 8 +++++++
.../epiphany-46.2-disable-web-viez-test.patch | 27 ++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/www-client/epiphany/epiphany-46.2.ebuild
b/www-client/epiphany/epiphany-46.2.ebuild
index 910ff618f805..9ec271df5e46 100644
--- a/www-client/epiphany/epiphany-46.2.ebuild
+++ b/www-client/epiphany/epiphany-46.2.ebuild
@@ -49,6 +49,14 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ # Test not ready to be run in sandboxed systems, also need
+ # mesa[zink]. Skip, as done by Debian.
+ # https://gitlab.gnome.org/GNOME/epiphany/-/issues/2209
+ # https://gitlab.gnome.org/GNOME/epiphany/-/issues/2271
+ "${FILESDIR}/${PN}-46.2-disable-web-viez-test.patch"
+)
+
src_prepare() {
default
xdg_environment_reset
diff --git
a/www-client/epiphany/files/epiphany-46.2-disable-web-viez-test.patch
b/www-client/epiphany/files/epiphany-46.2-disable-web-viez-test.patch
new file mode 100644
index 000000000000..def22113104f
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-46.2-disable-web-viez-test.patch
@@ -0,0 +1,27 @@
+From: Jeremy Bicha <[email protected]>
+Date: Wed, 22 Feb 2023 16:17:00 -0500
+Subject: disable web view test: doesn't work in our build environment
+
+---
+ tests/meson.build | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/meson.build b/tests/meson.build
+index 1402ae3..5528a6e 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -186,10 +186,10 @@ if get_option('unit_tests').enabled()
+ adguard_resources,
+ dependencies: ephymain_dep
+ )
+- test('Web view test',
+- web_view_test,
+- env: envs
+- )
++# test('Web view test',
++# web_view_test,
++# env: envs
++# )
+
+ web_extension_test = executable('test-ephy-web-extension',
+ 'ephy-web-extension-test.c',