Accepting request 946194 from GNOME:Apps

- Update to version 2.6.4:
  * Fixed various bugs.
  * Remove foliate-WebKit-version.patch: Patch in the release.

OBS-URL: https://build.opensuse.org/request/show/946194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/foliate?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2022-01-13 22:21:35 +00:00 committed by Git OBS Bridge
commit 043c7968ce
7 changed files with 17 additions and 27 deletions

View File

@ -4,7 +4,7 @@
<param name="filename">foliate</param>
<param name="url">https://github.com/johnfactotum/foliate.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/2.6.3</param>
<param name="revision">refs/tags/2.6.4</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97da8ff3e7fa5f5930b26e527b1cd9856a69f7138ba2e2cb712bd93cb158695e
size 9729549

3
foliate-2.6.4.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b569cb1eb8d3f5e3123f87db980397e51614ccc26b9a0ce28a67aa04f660050
size 9734669

View File

@ -1,14 +0,0 @@
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,10 @@
-------------------------------------------------------------------
Thu Jan 13 13:00:58 UTC 2022 - Dead Mozay <dead-mozay@opensuse.org>
- Update to version 2.6.4:
* Fixed various bugs.
* Remove foliate-WebKit-version.patch: Patch in the release.
-------------------------------------------------------------------
Fri Nov 12 13:38:40 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,5 +1,4 @@
name: foliate
version: 2.6.3
mtime: 1617266826
commit: 9dffbec14ad0351462b78a7e8bd784e1e51f5e18
version: 2.6.4
mtime: 1642076606
commit: c16a24c14a8b399267bca2130bf54661e930404b

View File

@ -1,7 +1,7 @@
#
# spec file for package foliate
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,13 @@
%global __requires_exclude typelib(\\(Handy\\) = 0.0|\\(Tracker\\))
%define oname com.github.johnfactotum.Foliate
Name: foliate
Version: 2.6.3
Version: 2.6.4
Release: 0
Summary: A GTK eBook reader
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++
@ -78,7 +76,7 @@ ln -sr %{buildroot}/%{_bindir}/%{oname} %{buildroot}/%{_bindir}/%{name}
%{_datadir}/applications/com.github.johnfactotum.Foliate.desktop
%{_datadir}/com.github.johnfactotum.Foliate
%{_datadir}/glib-2.0/schemas/
%{_datadir}/metainfo/com.github.johnfactotum.Foliate.appdata.xml
%{_datadir}/metainfo/com.github.johnfactotum.Foliate.metainfo.xml
%{_datadir}/icons/hicolor/*/apps/*
%files lang -f %{oname}.lang