Add patch to fix FTBFS for the udeb and non-Linux architectures
This commit is contained in:
27
debian/patches/build-Define-USE_XDG_ACTIVATION-conditional-when-Wayland-.patch
vendored
Normal file
27
debian/patches/build-Define-USE_XDG_ACTIVATION-conditional-when-Wayland-.patch
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
From: Simon McVittie <smcv@debian.org>
|
||||
Date: Fri, 18 Nov 2022 11:21:18 +0000
|
||||
Subject: build: Define USE_XDG_ACTIVATION conditional when Wayland is
|
||||
disabled
|
||||
|
||||
This fixes Autotools builds that disable Wayland, such as non-Linux
|
||||
operating systems and the minimal "udeb" (micro-.deb) package used in
|
||||
Debian's installer.
|
||||
|
||||
Signed-off-by: Simon McVittie <smcv@debian.org>
|
||||
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5226
|
||||
---
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b17c5cc..ae4110e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -480,6 +480,7 @@ if test "$enable_wayland_backend" = "yes"; then
|
||||
AM_CONDITIONAL(USE_WAYLAND, true)
|
||||
else
|
||||
AM_CONDITIONAL(USE_WAYLAND, false)
|
||||
+ AM_CONDITIONAL(USE_XDG_ACTIVATION, false)
|
||||
fi
|
||||
|
||||
# strip leading space
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -99,3 +99,4 @@ Disable-accessibility-dump-aka-a11ytests-test.patch
|
||||
reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
|
||||
reftests-Allow-minor-differences-to-be-tolerated.patch
|
||||
testsuite-Allow-reftest-output-directory-to-be-forced-via.patch
|
||||
build-Define-USE_XDG_ACTIVATION-conditional-when-Wayland-.patch
|
||||
|
||||
Reference in New Issue
Block a user