From 6bc5e6bb764b1bd57f1dcfa0dc606d032de5d5a3 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Thu, 11 May 2023 06:58:03 +0100 Subject: [PATCH] Switch to webkit2gtk-4.1 --- webkit2gtk-41.patch | 11 +++++++++++ xreader.spec | 8 ++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 webkit2gtk-41.patch diff --git a/webkit2gtk-41.patch b/webkit2gtk-41.patch new file mode 100644 index 0000000..66735a7 --- /dev/null +++ b/webkit2gtk-41.patch @@ -0,0 +1,11 @@ +--- a/meson.build" 2022-11-16 15:53:09.000000000 +0000 ++++ b/meson.build 2023-05-11 06:45:19.690070920 +0100 +@@ -111,7 +111,7 @@ endif + thumbnailer_mime_types = xreader_mime_types + + if get_option('epub') +- webkit = dependency('webkit2gtk-4.0', version: '>= 2.4.3') ++ webkit = dependency('webkit2gtk-4.1', version: '>= 2.4.3') + backend_subdirs += 'epub' + xreader_mime_types += 'application/epub+zip;' + endif diff --git a/xreader.spec b/xreader.spec index 8f04285..16aeeba 100644 --- a/xreader.spec +++ b/xreader.spec @@ -3,12 +3,13 @@ Name: xreader Version: 3.6.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple document viewer License: GPLv2+ URL: https://github.com/linuxmint/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: webkit2gtk-41.patch ExcludeArch: %{ix86} @@ -38,7 +39,7 @@ BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(xapp) >= 1.4.0 BuildRequires: pkgconfig(zlib) -BuildRequires: pkgconfig(webkit2gtk-4.0) +BuildRequires: pkgconfig(webkit2gtk-4.1) BuildRequires: texlive BuildRequires: t1lib-devel BuildRequires: yelp-tools @@ -167,6 +168,9 @@ This package adds configuration to use %{name} as a thumbnailer. %doc %{_datadir}/doc/%{name}* %changelog +* Thu May 11 2023 Leigh Scott - 3.6.3-2 +- Switch to webkit2gtk-4.1 + * Sun Feb 05 2023 Jonathan Wright - 3.6.3-1 - Update to 3.6.3 rhbz#2160519