Accepting request 881021 from home:Dead_Mozay:GNOME:Apps

- Remove 2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch
  Included in release 2.6.0. 
- Update to version 2.6.1:
  * Fixed automatic layout.
- 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.

OBS-URL: https://build.opensuse.org/request/show/881021
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/foliate?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2021-03-24 16:29:14 +00:00 committed by Git OBS Bridge
parent 77e420b89c
commit 989c844b87
7 changed files with 33 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.1</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.1.obscpio Normal file
View File

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

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
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.1
mtime: 1616567421
commit: 6b65728ac2b8222b2d4ee716005dfebc624c7dc6

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.1
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++