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:
14
foliate-WebKit-version.patch
Normal file
14
foliate-WebKit-version.patch
Normal 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
|
@@ -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>
|
||||
|
||||
|
@@ -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++
|
||||
|
Reference in New Issue
Block a user