Accepting request 931146 from home:dimstar:Factory

- Add foliate-WebKit-version.patch: Fix launch if WebKit2-5.0
  happens to be installed (boo#1192627).

OBS-URL: https://build.opensuse.org/request/show/931146
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/foliate?expand=0&rev=51
This commit is contained in:
2021-11-12 13:49:30 +00:00
committed by Git OBS Bridge
parent d7699a30fd
commit 1db8cdba6e
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
diff --git a/src/main.js b/src/main.js
index 8725301..a608f75 100644
--- a/src/main.js
+++ b/src/main.js
@@ -17,7 +17,8 @@ pkg.initGettext()
pkg.initFormat()
pkg.require({
'Gio': '2.0',
- 'Gtk': '3.0'
+ 'Gtk': '3.0',
+ 'WebKit2': '4.0'
})
const { Gio, Gtk, Gdk, GLib, WebKit2 } = imports.gi

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 12 13:38:40 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Add foliate-WebKit-version.patch: Fix launch if WebKit2-5.0
happens to be installed (boo#1192627).
-------------------------------------------------------------------
Thu Oct 14 19:37:51 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -26,6 +26,8 @@ License: GPL-3.0-only
Group: Productivity/Office/Other
URL: https://johnfactotum.github.io/foliate/
Source: %{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM foliate-WebKit-version.patch boo#1192627 dimstar@opensuse.org -- Fix launch in case WebKit2-5.0 happens to be installed
Patch0: foliate-WebKit-version.patch
BuildRequires: fdupes
BuildRequires: gcc-c++