Accepting request 931148 from GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/931148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/foliate?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2021-11-12 14:59:37 +00:00 committed by Git OBS Bridge
commit f1c4ab8923
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> 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 Group: Productivity/Office/Other
URL: https://johnfactotum.github.io/foliate/ URL: https://johnfactotum.github.io/foliate/
Source: %{name}-%{version}.tar.gz 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: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++