SHA256
1
0
forked from pool/sigil

Accepting request 691998 from home:ecsos

- Update to 0.9.13
  * Bug Fixes
    - Revert change of INI encoding to utf-8 as QSettings very 
      broken under utf-8 (commit 5484463)
    - Ensure all url attributes in shape-outside properties in
      CSS stylesheets get updated (commit de7b09f)
    - Workaround for lost cursor in qlineedit Qt bug (issue #398)
      (commit a8acab7)
    - Workaround missing File New, Open, Quit menus in Mac menubar 
      if windows closed (commit 660a8aa)
    - Remove Icon from Tab for macOS only to workaround Qt bug 
      (commit 5c91924)
    - Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601, 
      bf2f2f4, ebfb613, 4qa8f33)
    - Backport Qt 5.12alpha fix to prevent heap corruption due 
      to qwidget next focus pointers (commit f5c7284)
    - Plug macOS memory leaks when closing a main window 
      (commit fbf9015)
    - Put back quote in tag name bug fix lost in recent changes 
      (commit ebd8c7c)
    - Disable Netscape Plugins being used in BookView and Preview 
      Window (commit 79314ea)
    - Use custom version of qtwebkit with Qt 5.5 memory leak fix 
      added back and no load plugins if disabled
      (see commits 94a28d7, 9f7ebba, and 4b968a9)
  * New Features
    - Add filename to tab tooltip (commit 27f8db7)
    - Clear memory caches when Preview changes to keep memory 
      footprint smaller (commit 87b9247)
    - Update to MathJax 2.75, adds support for mathml mlongdiv, 
      mstack, mcarries (commit 568aba5)
    - Reduce memory footprint by letting worker threads expire 
      (commit c1ee7ea)
    - Reduce memory footprint by properly setting web page caches 
      (commit 9f07cbe)
  Be aware that Sigil-0.9.13 still enforces the need for epub3 
  to have and support an NCX so that it generates as backward 
  a compatible epub as possible. This may be relaxed in future 
  releases.

OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
This commit is contained in:
Eric Schirra 2019-04-06 12:02:58 +00:00 committed by Git OBS Bridge
parent 94f520bea7
commit 70400abcce
7 changed files with 83 additions and 25 deletions

2
.gitattributes vendored
View File

@ -22,4 +22,4 @@
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
Sigil_User_Guide.epub filter=lfs diff=lfs merge=lfs -text
Sigil_User_Guide_2019.02.15.epub filter=lfs diff=lfs merge=lfs -text

View File

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

3
0.9.13.tar.gz Normal file
View File

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

View File

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

View File

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

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Sat Apr 6 10:22:55 UTC 2019 - ecsos@opensuse.org
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
-------------------------------------------------------------------
Fri Sep 21 18:47:29 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package sigil
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,8 +16,10 @@
#
%define sigil_doc_version 2019.02.15
Name: sigil
Version: 0.9.10
Version: 0.9.13
Release: 0
Summary: WYSIWYG Ebook Editor
License: GPL-3.0-only
@ -25,7 +27,7 @@ Group: Productivity/Other
Url: http://sigil-ebook.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: https://github.com/Sigil-Ebook/Sigil/archive/%{version}.tar.gz
Source1: https://github.com/Sigil-Ebook/Sigil/raw/master/docs/Sigil_User_Guide.epub
Source1: https://github.com/Sigil-Ebook/Sigil/raw/master/docs/Sigil_User_Guide_%{sigil_doc_version}.epub
Source2: %{name}.desktop
# PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section
Patch0: %{name}-gt-0.9.0-Dialogs-About.cpp.patch
@ -58,24 +60,30 @@ BuildRequires: pkgconfig(Qt5WebKitWidgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt5XmlPatterns)
# not need for build, only check for exists
BuildRequires: python3-html5lib
# upstream use for python3-Pillow 5.4.1
BuildRequires: python3-Pillow
BuildRequires: python3-chardet >= 3.0.4
BuildRequires: python3-cssselect >= 1.0.3
BuildRequires: python3-cssutils >= 1.0.2
BuildRequires: python3-html5lib >= 1.0.1
# upstream use for python3-lxml 4.2.6
BuildRequires: python3-lxml
# upstream use for python3-qt5 5.12
BuildRequires: python3-qt5
# upstream use for python3-regex 2018.11.12
BuildRequires: python3-regex
# upstream use for python3-six 1.12.0
BuildRequires: python3-six
BuildRequires: python3-tk
#BuildRequires: python3-regex
BuildRequires: python3-Pillow
BuildRequires: python3-cssselect
BuildRequires: python3-cssutils
#BuildRequires: python3-chardet
Requires: python3-html5lib
Requires: python3-lxml
Requires: python3-six
Requires: python3-tk
#Requires: python3-regex
Requires: python3-Pillow
Requires: python3-chardet
Requires: python3-cssselect
Requires: python3-cssutils
#Requires: python3-chardet
Requires: python3-html5lib
Requires: python3-lxml
Requires: python3-regex
Requires: python3-six
Requires: python3-tk
%description
Sigil is an editor for the EPUB format. It is designed for WYSIWYG
@ -105,6 +113,8 @@ find . -type f -name About.cpp -exec sed -i "s/@DATE@/$_date/;s/@TIME@/$_time/g"
sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
dos2unix src/Resource_Files/python3lib/meta*.py
dos2unix src/Resource_Files/python3lib/opf_*.py
# rpmlint:
find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python3|#!\/usr\/bin\/python3|g' {} +
find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python|#!\/usr\/bin\/python3|g' {} +
%build
@ -134,9 +144,14 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt
%suse_update_desktop_file %name
%fdupes -s %buildroot
# fix rpmlint: non-executable-script
pushd %{buildroot}%{_datadir}
grep -lr "/usr/bin/python" | xargs chmod +x
popd
%files
%defattr(-,root,root)
%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide.epub
%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide_%{sigil_doc_version}.epub
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/icons/hicolor/
@ -159,8 +174,7 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt
%{_datadir}/%{name}/*dictionaries/*
%{_datadir}/%{name}/examples
%{_datadir}/%{name}/python3lib
%dir %{_datadir}/%{name}/polyfills
%{_datadir}/%{name}/polyfills/MathJax.js
%{_datadir}/%{name}/polyfills
%{_datadir}/%{name}/plugin_launchers
%dir /usr/lib/%name
/usr/lib/%{name}/*