From b939aaddb25abaf93a47092316e611a63efcf0a2a0b7e8991fd7a985d96dae0b Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Sat, 25 Jul 2020 09:36:57 +0000 Subject: [PATCH] Accepting request 822754 from home:ecsos - Update to 1.3.0 New Features: - Added FontTab to show a specific font by double-clicking in BookBrowser - Added Index Toolbar - Added increased protection against evil epubs manipulating file: urls - Changes to support building with Visual Studio 2019 on Windows - Improved Windows Installer and handling of C++ runtime libraries - Updated Build instructions for MacOS, Windows, and Linux Bug Fixes: - Reorganized the source code to add a Widgets folder to reduce code duplication - Fixed spelling mistakes in MetaEditor user interface and xmlsanitycheck error messages - Fixed mistakes handling font files (and other files) whose names start with a "." on macOS/Linux - Improved embedded python error messages - Improved some error messages on epub load - Fix TabConnections to properly handle the new FontTab tabs - grew Preferences Colour widths to better handle non-English colour names (Thanks BeckyEbook) - Fixed bug in handling missing local links when using Add Existing ... - Removed all python2 remanants from the Sigil plugin and pythonlib code - If "Mend on Open" set, better handle import of huge file of of run-on lines - Bug fix for css url updating - Fix bug that prevented css updates from being shown in Preview without reload - Fix gcc8 build warnings where possible - Prevent BookBrowser's Rename and RERename from using URI delimiters ("#",etc) in file names OBS-URL: https://build.opensuse.org/request/show/822754 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=44 --- sigil-1.2.1.tar.gz | 3 --- sigil-1.3.0.tar.gz | 3 +++ sigil.changes | 39 +++++++++++++++++++++++++++++++++++++++ sigil.spec | 41 ++++++++++++++++++++++++++++------------- 4 files changed, 70 insertions(+), 16 deletions(-) delete mode 100644 sigil-1.2.1.tar.gz create mode 100644 sigil-1.3.0.tar.gz diff --git a/sigil-1.2.1.tar.gz b/sigil-1.2.1.tar.gz deleted file mode 100644 index f5c3253..0000000 --- a/sigil-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5187084486513f9bd3239eb4f4961cd98192c34fe6e161f277b52511fd760861 -size 21462439 diff --git a/sigil-1.3.0.tar.gz b/sigil-1.3.0.tar.gz new file mode 100644 index 0000000..aa10971 --- /dev/null +++ b/sigil-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac302328f0d0e0144e67bd4cbd7834650eb219f81a623f393271bf6f0686cc56 +size 21697294 diff --git a/sigil.changes b/sigil.changes index 7661dd8..916b3f9 100644 --- a/sigil.changes +++ b/sigil.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Jul 25 08:22:20 UTC 2020 - ecsos + +- Update to 1.3.0 + New Features: + - Added FontTab to show a specific font by double-clicking in + BookBrowser + - Added Index Toolbar + - Added increased protection against evil epubs manipulating + file: urls + - Changes to support building with Visual Studio 2019 on Windows + - Improved Windows Installer and handling of C++ runtime + libraries + - Updated Build instructions for MacOS, Windows, and Linux + Bug Fixes: + - Reorganized the source code to add a Widgets folder to reduce + code duplication + - Fixed spelling mistakes in MetaEditor user interface and + xmlsanitycheck error messages + - Fixed mistakes handling font files (and other files) whose + names start with a "." on macOS/Linux + - Improved embedded python error messages + - Improved some error messages on epub load + - Fix TabConnections to properly handle the new FontTab tabs + - grew Preferences Colour widths to better handle non-English + colour names (Thanks BeckyEbook) + - Fixed bug in handling missing local links when using Add + Existing ... + - Removed all python2 remanants from the Sigil plugin and + pythonlib code + - If "Mend on Open" set, better handle import of huge file of of + run-on lines + - Bug fix for css url updating + - Fix bug that prevented css updates from being shown in Preview + without reload + - Fix gcc8 build warnings where possible + - Prevent BookBrowser's Rename and RERename from using URI + delimiters ("#",etc) in file names + ------------------------------------------------------------------- Sun Mar 29 18:16:02 UTC 2020 - ecsos@opensuse.org diff --git a/sigil.spec b/sigil.spec index e55d7b0..cc2afb0 100644 --- a/sigil.spec +++ b/sigil.spec @@ -18,7 +18,7 @@ %define sigil_doc_version 2019.09.03 Name: sigil -Version: 1.2.1 +Version: 1.3.0 Release: 0 Summary: WYSIWYG Ebook Editor License: GPL-3.0-only @@ -34,7 +34,6 @@ BuildRequires: cmake >= 3.0 BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: hunspell-devel # upstream use Qt 5.12.3 BuildRequires: libqt5-qtbase-devel >= 5.4.2 BuildRequires: libqt5-qtlocation-devel >= 5.4.2 @@ -43,28 +42,36 @@ BuildRequires: libxerces-c-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: make -BuildRequires: pcre-devel BuildRequires: pkgconfig # not need for build, only check for exists -# upstream use for python3-Pillow 5.4.1 -BuildRequires: python3-Pillow +# upstream use for python3-Pillow 7.1.2 +BuildRequires: python3-Pillow >= 7.1.2 +# upstream use python3-certifi 2020.6.20 +BuildRequires: python3-certifi +# upstream use python3-chardet 3.0.4 BuildRequires: python3-chardet >= 3.0.4 -BuildRequires: python3-cssselect >= 1.0.3 +# upstream use python3-css-parser 1.0.4 +BuildRequires: python3-css-parser >= 1.0.4 +# upstream use python3-cssselect 1.1.0 +BuildRequires: python3-cssselect >= 1.1.0 BuildRequires: python3-cssutils >= 1.0.2 # upstream use 3.7.2 BuildRequires: python3-devel >= 3.4 -# upstream use python3-dulwich 0.19.15 +# upstream use python3-dulwich 0.20.05 BuildRequires: python3-dulwich -BuildRequires: python3-html5lib >= 1.0.1 -# upstream use for python3-lxml 4.2.6 -BuildRequires: python3-lxml +# upstream use python3-html5lib >= 1.1 +BuildRequires: python3-html5lib +# upstream use for python3-lxml 4.5.1 +BuildRequires: python3-lxml >= 4.5.1 # upstream use for python3-qt5 5.12.3 BuildRequires: python3-qt5 -# upstream use for python3-regex 2018.11.12 +# upstream use for python3-regex 2020.6.8 BuildRequires: python3-regex -# upstream use for python3-six 1.12.0 -BuildRequires: python3-six +# upstream use for python3-six 1.15.0 +BuildRequires: python3-six >= 1.15.0 +# upstream use for python3-urllib3 1.25.9 BuildRequires: python3-tk +BuildRequires: python3-urllib3 >= 1.25.9 BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: zlib-devel @@ -79,9 +86,14 @@ BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5XmlPatterns) +BuildRequires: pkgconfig(hunspell) +BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(minizip) Requires: python3-Pillow +Requires: python3-certifi Requires: python3-chardet +Requires: python3-css-parser Requires: python3-cssselect Requires: python3-cssutils Requires: python3-dulwich @@ -90,6 +102,7 @@ Requires: python3-lxml Requires: python3-regex Requires: python3-six Requires: python3-tk +Requires: python3-urllib3 %description Sigil is an editor for the EPUB format. It is designed for WYSIWYG @@ -128,8 +141,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" # FIXME: you should use %%cmake macros +# With SYSTEM_LIBS=1 package does not build cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DUSE_SYSTEM_LIBS=0 \ -DCMAKE_BUILD_TYPE=Release . %make_build