summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-07-09 21:52:06 +0200
committerPacho Ramos <pacho@gentoo.org>2024-07-09 21:54:00 +0200
commitac60278836c396aff6a3a651c301292eb5fb2abd (patch)
treebd94b225ea0bc920c48a09114d884254dab70f83 /www-client/epiphany
parentwww-client/epiphany: Bump to 46.2 (diff)
downloadgentoo-ac60278836c396aff6a3a651c301292eb5fb2abd.tar.gz
gentoo-ac60278836c396aff6a3a651c301292eb5fb2abd.tar.bz2
gentoo-ac60278836c396aff6a3a651c301292eb5fb2abd.zip
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@gentoo.org>
Diffstat (limited to 'www-client/epiphany')
-rw-r--r--www-client/epiphany/epiphany-46.2.ebuild8
-rw-r--r--www-client/epiphany/files/epiphany-46.2-disable-web-viez-test.patch27
2 files changed, 35 insertions, 0 deletions
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 <jeremy.bicha@canonical.com>
+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',