Accepting request 881495 from GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/881495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/foliate?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-04-12 10:36:17 +00:00 committed by Git OBS Bridge
commit 0daf270763
7 changed files with 39 additions and 39 deletions

View File

@ -1,30 +0,0 @@
From 2c28932c6266cbeddbe49d7aa6ca8d70d125e96f Mon Sep 17 00:00:00 2001
From: John Factotum <50942278+johnfactotum@users.noreply.github.com>
Date: Sat, 20 Mar 2021 22:52:23 +0800
Subject: [PATCH] Don't write to construct only property after construction
Fixes #689
---
src/window.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/window.js b/src/window.js
index 824781b..464edc0 100644
--- a/src/window.js
+++ b/src/window.js
@@ -1022,8 +1022,14 @@ var Window = GObject.registerClass({
this.loading = true
this._setTitle(_('Foliate'))
}
+ get file() {
+ return this._file || null
+ }
+ set file(file) {
+ this._file = file
+ }
open(file) {
- this.file = file
+ this._file = file
this._epub.open(file)
}
_connectEpub() {

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.5.0</param>
<param name="revision">refs/tags/2.6.2</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:b42c5d06c2b69c7b842a27930f56dfe084c068d127cfd00d68b7dfd6b33e8d27
size 9186317

3
foliate-2.6.2.obscpio Normal file
View File

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

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Mar 25 04:33:03 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 2.6.2:
* Fix UI when running with libhandy 1.x
-------------------------------------------------------------------
Wed Mar 24 11:19:17 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Remove 2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch
Included in release 2.6.0.
-------------------------------------------------------------------
Wed Mar 24 06:36:39 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 2.6.1:
* Fixed automatic layout.
-------------------------------------------------------------------
Wed Mar 24 04:27:45 UTC 2021 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 2.6.0:
* Added support for opening HTML files.
* Consistent inner and outer margins.
* The automatic layout no longer supports 4 columns.
* Fixed long words overflowing.
* Fixed custom themes not saved across sessions.
* Fixed shortcuts for key pads.
* Fixed opening non-UTF-8 zipped FB2 files.
* Fixed books not opening on GNOME 40.
-------------------------------------------------------------------
Sun Mar 21 15:03:26 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,5 +1,5 @@
name: foliate
version: 2.5.0
mtime: 1602723164
commit: c570ba1b03d5188aa335a485784b121f430ebcd1
version: 2.6.2
mtime: 1616604595
commit: 26884e84fadf3ce905fe4afa5ceeb9562f6bbf70

View File

@ -19,14 +19,13 @@
%global __requires_exclude typelib\\(Handy\\) = 0.0
%define oname com.github.johnfactotum.Foliate
Name: foliate
Version: 2.5.0
Version: 2.6.2
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: https://github.com/johnfactotum/foliate/commit/2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch
BuildRequires: fdupes
BuildRequires: gcc-c++