commit: fa7ed3c78d086b0ccc0775c4306f54e8cc801efd Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed Aug 9 20:42:25 2023 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Aug 10 02:23:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7ed3c7
x11-libs/gtk+: Mark an expected failure on big-endian Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> x11-libs/gtk+/gtk+-3.24.37.ebuild | 15 ++++++++++++++- x11-libs/gtk+/gtk+-3.24.38.ebuild | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/x11-libs/gtk+/gtk+-3.24.37.ebuild b/x11-libs/gtk+/gtk+-3.24.37.ebuild index 4c1bde16b0ec..fd5f7784fdae 100644 --- a/x11-libs/gtk+/gtk+-3.24.37.ebuild +++ b/x11-libs/gtk+/gtk+-3.24.37.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome2 meson-multilib multilib virtualx +inherit gnome2 meson-multilib multilib toolchain-funcs virtualx DESCRIPTION="Gimp ToolKit +" HOMEPAGE="https://www.gtk.org/" @@ -100,6 +100,19 @@ PATCHES=( "${FILESDIR}"/${PN}-3.24.36-update-icon-cache.patch ) +src_prepare() { + default + + # The border-image-excess-size.ui test is known to fail on big-endian platforms + # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904 + if [[ $(tc-endian) == big ]]; then + sed -i \ + -e "/border-image-excess-size.ui/d" \ + -e "/^xfails =/a 'border-image-excess-size.ui'," \ + testsuite/reftests/meson.build || die + fi +} + multilib_src_configure() { local emesonargs=( $(meson_use aqua quartz_backend) diff --git a/x11-libs/gtk+/gtk+-3.24.38.ebuild b/x11-libs/gtk+/gtk+-3.24.38.ebuild index f87069b54741..27a3e05271ad 100644 --- a/x11-libs/gtk+/gtk+-3.24.38.ebuild +++ b/x11-libs/gtk+/gtk+-3.24.38.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome2 meson-multilib multilib virtualx +inherit gnome2 meson-multilib multilib toolchain-funcs virtualx DESCRIPTION="Gimp ToolKit +" HOMEPAGE="https://www.gtk.org/" @@ -101,6 +101,19 @@ PATCHES=( "${FILESDIR}"/${PN}-3.24.36-update-icon-cache.patch ) +src_prepare() { + default + + # The border-image-excess-size.ui test is known to fail on big-endian platforms + # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904 + if [[ $(tc-endian) == big ]]; then + sed -i \ + -e "/border-image-excess-size.ui/d" \ + -e "/^xfails =/a 'border-image-excess-size.ui'," \ + testsuite/reftests/meson.build || die + fi +} + multilib_src_configure() { local emesonargs=( $(meson_use aqua quartz_backend)