Package: atril Version: 1.26.0-1 Severity: wishlist Tags: patch X-Debbugs-Cc: ur...@debian.org, unit...@debian.org
Hi, have attached a patch by Unit193 for transitioning atril to webkit2gtk-4.1
>From 8578ecbe3ede1b0766710b9c9e75d01dc78636c8 Mon Sep 17 00:00:00 2001 From: Unit 193 <unit...@unit193.net> Date: Wed, 26 Oct 2022 08:40:51 -0400 Subject: [PATCH] d/control, d/p/1001-webkit4.1.patch: Transition to webkit2gtk-4.1. --- debian/control | 2 +- debian/patches/1001-webkit2gtk4.1.patch | 15 +++++++++++++++ debian/patches/series | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 debian/patches/1001-webkit2gtk4.1.patch create mode 100644 debian/patches/series diff --git a/debian/control b/debian/control index b8a44ce..4bd2e91 100644 --- a/debian/control +++ b/debian/control @@ -25,7 +25,7 @@ Build-Depends: debhelper-compat (= 13), libspectre-dev, libsynctex-dev, libtiff-dev, - libwebkit2gtk-4.0-dev, + libwebkit2gtk-4.1-dev, libx11-dev, libxml2-dev, libxml2-utils, diff --git a/debian/patches/1001-webkit2gtk4.1.patch b/debian/patches/1001-webkit2gtk4.1.patch new file mode 100644 index 0000000..149071a --- /dev/null +++ b/debian/patches/1001-webkit2gtk4.1.patch @@ -0,0 +1,15 @@ +Description: Search for webkit2gtk-4.1. +Author: Unit 193 <unit...@debian.org> +Forwarded: no + +--- atril-1.26.0.orig/configure.ac ++++ atril-1.26.0/configure.ac +@@ -622,7 +622,7 @@ AC_ARG_ENABLE(epub, + + have_webkit="no" + if test "x$enable_epub" = "xyes"; then +- PKG_CHECK_MODULES(EPUB, webkit2gtk-4.0 >= $WEBKIT_REQUIRED \ ++ PKG_CHECK_MODULES(EPUB, webkit2gtk-4.1 >= $WEBKIT_REQUIRED \ + libxml-2.0 >= $LIBXML_REQUIRED zlib,have_webkit=yes,have_webkit=no) + + if test "x$have_webkit" = "xyes"; then diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..108af4f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +1001-webkit2gtk4.1.patch -- 2.35.1