forked from pool/sigil
Accepting request 771057 from home:ecsos
- Update to 1.1.0 * New Features: - Added Support for Dark Mode for Windows, Linux and macOSX - Added new icons that work well under both Light and Dark modes - Added ability to use Dark Mode for Preview (controlled by Preferences) - Added Zoom Keys Ctrl +/- support to the Inspector (for improved Accessibility) - Added support for a second Clip bar with up to 20 additional clips - Select Special Character Dialog now support scrollbars - Guide and Nav titles are now translated into ebook language (if translations available) - All Report Names have been shortened to allow larger font sizes for better Accessibility - Added improved contrast icons - Completely reworked all Sigil Preference Dialogs to make them more screen/user friendly - Added support for controlling Windows/Linux HighDPI settings - Clips from the Clips QDockwidget window can now be used in CSS Tabs as well. - The plugin interface has been extended to show current colorMode and primary colors * Bug Fixes: - Replaced deprecated QSignalMapper code with QActionGroups throughout Sigil’s code base (still more work to do there) - Fixed bug in “open-with” on macOSX that did not allow .app files to be selected - Soft hyphens characters are now handled properly by Spellchecking [PR from BeckyEbook] - Fixed bug in ‘split at cursor” that created extra empty pages - Fix bug in Insert Files from Disk - Fixed same thread re-entrancy issues with tab creation / deletion code due to Qt signal/slot handling - Fixed source code typos [PR from luzpaz] - Fixed incorrect number of “times used” in Image Reports - Fixed plugin font_iter() code to properly handle new Iana.org font media types - Broken links are no longer changed during ImportHTML (Add Existing…) operations - Cover svg image “vh” “vw” fixup code now properly handles empty headers on cover page - GetBookpathByPathEnd() will now work properly and thereby better handle detection of file name conflicts during imports - Better handle file name info from Validation plugins - Inserting Links now creates proper links for top of page of the same file - Fix ImportHTML when creating a new book to properly add an NCX if needed - Include official QT backported fixes to Qt 5.12.6 to make it more stable - The nav will now properly handle internal links to top of page of the nav itself - harden lxml xml processing with resolve_entities set to false for improved security - Run spec-cleaner. OBS-URL: https://build.opensuse.org/request/show/771057 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=38
This commit is contained in:
parent
3d095ce77b
commit
2974f63316
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:431c25791c1bdfa0397a1473aa014727d40b2def7e6be236b23ef98a495b1b10
|
||||
size 21623303
|
3
1.1.0.tar.gz
Normal file
3
1.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b22c612464f5d3f62f850c0412183d7eba0c6f4879c3d6a521f9872b6f98da79
|
||||
size 21370163
|
@ -1,3 +1,64 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 10:29:02 UTC 2020 - ecsos@opensuse.org
|
||||
|
||||
- Update to 1.1.0
|
||||
* New Features:
|
||||
- Added Support for Dark Mode for Windows, Linux and macOSX
|
||||
- Added new icons that work well under both Light and Dark
|
||||
modes
|
||||
- Added ability to use Dark Mode for Preview
|
||||
(controlled by Preferences)
|
||||
- Added Zoom Keys Ctrl +/- support to the Inspector
|
||||
(for improved Accessibility)
|
||||
- Added support for a second Clip bar with up to 20 additional
|
||||
clips
|
||||
- Select Special Character Dialog now support scrollbars
|
||||
- Guide and Nav titles are now translated into ebook language
|
||||
(if translations available)
|
||||
- All Report Names have been shortened to allow larger font
|
||||
sizes for better Accessibility
|
||||
- Added improved contrast icons
|
||||
- Completely reworked all Sigil Preference Dialogs to make them
|
||||
more screen/user friendly
|
||||
- Added support for controlling Windows/Linux HighDPI settings
|
||||
- Clips from the Clips QDockwidget window can now be used in
|
||||
CSS Tabs as well.
|
||||
- The plugin interface has been extended to show current
|
||||
colorMode and primary colors
|
||||
* Bug Fixes:
|
||||
- Replaced deprecated QSignalMapper code with QActionGroups
|
||||
throughout Sigil’s code base (still more work to do there)
|
||||
- Fixed bug in “open-with” on macOSX that did not allow .app
|
||||
files to be selected
|
||||
- Soft hyphens characters are now handled properly by
|
||||
Spellchecking [PR from BeckyEbook]
|
||||
- Fixed bug in ‘split at cursor” that created extra empty pages
|
||||
- Fix bug in Insert Files from Disk
|
||||
- Fixed same thread re-entrancy issues with tab
|
||||
creation / deletion code due to Qt signal/slot handling
|
||||
- Fixed source code typos [PR from luzpaz]
|
||||
- Fixed incorrect number of “times used” in Image Reports
|
||||
- Fixed plugin font_iter() code to properly handle new Iana.org
|
||||
font media types
|
||||
- Broken links are no longer changed during ImportHTML
|
||||
(Add Existing…) operations
|
||||
- Cover svg image “vh” “vw” fixup code now properly handles
|
||||
empty headers on cover page
|
||||
- GetBookpathByPathEnd() will now work properly and thereby
|
||||
better handle detection of file name conflicts during imports
|
||||
- Better handle file name info from Validation plugins
|
||||
- Inserting Links now creates proper links for top of page of
|
||||
the same file
|
||||
- Fix ImportHTML when creating a new book to properly add
|
||||
an NCX if needed
|
||||
- Include official QT backported fixes to Qt 5.12.6 to make it
|
||||
more stable
|
||||
- The nav will now properly handle internal links to top of
|
||||
page of the nav itself
|
||||
- harden lxml xml processing with resolve_entities set to
|
||||
false for improved security
|
||||
- Run spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 09:56:13 UTC 2019 - ecsos@opensuse.org
|
||||
|
||||
|
72
sigil.spec
72
sigil.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sigil
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,15 +17,13 @@
|
||||
|
||||
|
||||
%define sigil_doc_version 2019.09.03
|
||||
|
||||
Name: sigil
|
||||
Version: 1.0.0
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: WYSIWYG Ebook Editor
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Other
|
||||
Url: http://sigil-ebook.com/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://sigil-ebook.com/
|
||||
Source0: https://github.com/Sigil-Ebook/Sigil/archive/%{version}.tar.gz
|
||||
Source1: https://github.com/Sigil-Ebook/Sigil/raw/master/docs/Sigil_User_Guide_%{sigil_doc_version}.epub
|
||||
Source2: %{name}.desktop
|
||||
@ -46,8 +44,25 @@ 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
|
||||
BuildRequires: python3-chardet >= 3.0.4
|
||||
BuildRequires: python3-cssselect >= 1.0.3
|
||||
BuildRequires: python3-cssutils >= 1.0.2
|
||||
# upstream use 3.7.2
|
||||
BuildRequires: python3-devel >= 3.4
|
||||
BuildRequires: python3-html5lib >= 1.0.1
|
||||
# upstream use for python3-lxml 4.2.6
|
||||
BuildRequires: python3-lxml
|
||||
# upstream use for python3-qt5 5.12.3
|
||||
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: unzip
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
@ -62,22 +77,6 @@ BuildRequires: pkgconfig(Qt5WebEngine)
|
||||
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
||||
# not need for build, only check for exists
|
||||
# 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.3
|
||||
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
|
||||
Requires: python3-Pillow
|
||||
Requires: python3-chardet
|
||||
Requires: python3-cssselect
|
||||
@ -98,12 +97,12 @@ specification and create a hierarchical Table of Contents.
|
||||
%prep
|
||||
%setup -q -n Sigil-%{version}
|
||||
%patch0 -p 1
|
||||
cp -v %{S:1} .
|
||||
cp -v %{S:2} .
|
||||
cp -v %{SOURCE1} .
|
||||
cp -v %{SOURCE2} .
|
||||
# rpmlint
|
||||
|
||||
#FIXME MANUAL UPDATE OF DATE REQUIRED HERE!!!!
|
||||
# Fix "Your file uses __DATE and __TIME__ this causes the package to rebuild
|
||||
# Fix "Your file uses __DATE and __TIME__ this causes the package to rebuild
|
||||
# when not needed warning"
|
||||
# http://sourceforge.net/tracker/?func=detail&atid=102439&aid=3314371&group_id=2439
|
||||
#
|
||||
@ -124,11 +123,12 @@ find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python|#!\/usr\/bin\/python3
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
|
||||
# FIXME: you should use %%cmake macros
|
||||
cmake -G "Unix Makefiles" \
|
||||
-DCMAKE_INSTALL_PREFIX=%_prefix \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release .
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -144,17 +144,17 @@ install -m644 -D src/Resource_Files/icon/app_icon_128.png %{buildroot}%{_datadir
|
||||
install -m644 -D src/Resource_Files/icon/app_icon_256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/sigil.png
|
||||
install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%suse_update_desktop_file %name
|
||||
%fdupes -s %buildroot
|
||||
%suse_update_desktop_file %{name}
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
# fix rpmlint: non-executable-script
|
||||
# fix rpmlint: non-executable-script
|
||||
pushd %{buildroot}%{_datadir}
|
||||
grep -lr "/usr/bin/python" | xargs chmod +x
|
||||
grep -lr "%{_bindir}/python" | xargs chmod +x
|
||||
popd
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide_%{sigil_doc_version}.epub
|
||||
%license COPYING.txt
|
||||
%doc ChangeLog.txt README.md Sigil_User_Guide_%{sigil_doc_version}.epub
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%dir %{_datadir}/icons/hicolor/
|
||||
@ -170,16 +170,16 @@ popd
|
||||
%dir %{_datadir}/icons/hicolor/256x256/apps
|
||||
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||
%{_datadir}/pixmaps/*.png
|
||||
%dir %{_datadir}/%name
|
||||
%dir %{_datadir}/%name/translations
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %{_datadir}/%{name}/translations
|
||||
%{_datadir}/%{name}/translations/*
|
||||
%dir %{_datadir}/%name/*dictionaries
|
||||
%dir %{_datadir}/%{name}/*dictionaries
|
||||
%{_datadir}/%{name}/*dictionaries/*
|
||||
%{_datadir}/%{name}/examples
|
||||
%{_datadir}/%{name}/python3lib
|
||||
%{_datadir}/%{name}/polyfills
|
||||
%{_datadir}/%{name}/plugin_launchers
|
||||
%dir %{_libdir}/%name
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user