summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/Build-with-webkit2gtk-4.1.patch24
-rw-r--r--debian/patches/series1
2 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/Build-with-webkit2gtk-4.1.patch b/debian/patches/Build-with-webkit2gtk-4.1.patch
new file mode 100644
index 00000000..4f3d78be
--- /dev/null
+++ b/debian/patches/Build-with-webkit2gtk-4.1.patch
@@ -0,0 +1,24 @@
+From: Jeremy Bicha <jeremy.bicha@canonical.com>
+Date: Wed, 18 May 2022 16:00:02 -0400
+Subject: Build with webkit2gtk 4.1
+
+webkit2gtk 4.1 is gtk3 + libsoup3
+
+https://gitlab.gnome.org/GNOME/zenity/-/issues/46
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 6f28790..032031b 100644
+--- a/meson.build
++++ b/meson.build
+@@ -70,7 +70,7 @@ if get_option('libnotify')
+ endif
+ endif
+
+-webkitgtk = dependency('webkit2gtk-4.0', version: '>= 2.8.1', required: false)
++webkitgtk = dependency('webkit2gtk-4.1', version: '>= 2.8.1', required: false)
+ if get_option('webkitgtk')
+ if webkitgtk.found()
+ zenity_conf.set('HAVE_WEBKITGTK', true)
diff --git a/debian/patches/series b/debian/patches/series
index e69de29b..49e4979a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Build-with-webkit2gtk-4.1.patch
bgstack15