Hello community, here is the log from the commit of package sigil for openSUSE:Leap:15.2 checked in at 2020-04-17 13:38:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/sigil (Old) and /work/SRC/openSUSE:Leap:15.2/.sigil.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sigil" Fri Apr 17 13:38:15 2020 rev:12 rq:794546 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/sigil/sigil.changes 2020-01-15 16:02:42.495902814 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.sigil.new.2738/sigil.changes 2020-04-17 13:38:42.944272798 +0200 @@ -1,0 +2,412 @@ +Sun Mar 29 18:16:02 UTC 2020 - [email protected] + +- Update to 1.2.1 + Mainly a Linux source-only release to handle an issue with the + dulwich Python module (required for the new Sigil checkpointing + feature) on systems with a Python 3 version less than 3.8.0. + +------------------------------------------------------------------- +Sun Mar 29 16:45:24 UTC 2020 - [email protected] + +- Update to 1.2.0 + * New Features: + - Provide a tweak setting to adjust drag distance for + Windows & Linux + - Added YesToAll and NoToAll options for replacing images via + Add Existing... + - Highdpi and uifont setting information is now available to + Sigil's plugins + - Add a Checkpoint feature to Sigil for fast versioned saves to + git repositories + - add ability to easily create a Checkpoint (stored via a local + git repository) + - add ability to see the changes between the current epub and + any earlier Checkpoint + - add ability to revert the entire epub back to an earlier + Checkpoint + - added ability to manage and delete Checkpoint repositories. + * Bug Fixes: + - Fix cosmetic file name issue when aborts file rename edits in + BookBrowser + - Improve default drag-distance for BookBrowser for + Windows & Linux + - Reduce required drag distance for macOS + - Fix index generation bug related to non-escaped text used in + regular expressions + - Fix bug that caused lost class attributes when marking words + for an index + - Guide to Landmark Semantic mappings have been extended to + better cover "other.*" guide items + - Changed the removeDir() routine to better deal with Windows + delete file issues. + - Updated Building on Windows docs + - Updated Building on MacOS docs + - Modified the codebase to use Ordered hashes/dictionaries + throughout to prevent unneeded reordering in tag attribute + order + +------------------------------------------------------------------- +Fri Feb 7 10:29:02 UTC 2020 - [email protected] + +- 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 - [email protected] + +- Update to 1.1.0 + * Bug Fixes: + - All bugs reported in alpha release have been fixed. + Special thanks to Vroni, BeckEBook, Doitsu, Odamizu, + Un_Pogaz, snarkophilus, and many others who ran tests and + reported bugs. + - Fix for crash on macOS opening Preferences following New + MainWindow + - Workaround Qt bug in restoreState after maximize with Find + and Replace open + - Fix logic to identify and store window geometry when normal + (not maximized) + - Fix handling of plugin dialog being closed or + aborted / cancelled + - Prevent Preview timer related crashes on closing MainWindow + on macOS + - Update and harden media types recognition + - Use non-native QFileDialogs on macOS to workaround Qt bugs + - Fix crash of fast Tab closing on all platforms + - Prevent whitespace inside code tags from being changed when + prettifying + - replace case change "text icon" with actual sizable icon + * New Features: + - Add Load/Save capability for the Custom Empty Epub Layout + Designer + - Large speedups in Reports using QtConcurrent + - Speedups in Spellcheck Dialog sorting + - Add File Name to Preview Window title + - Add Regular Expression File Renamer to BookBrowser context + menu + - Mend on Open or Save only touch/repair non-wellformed files + - Re-enable Drag and Drop of Tabs + - Add menus/icons for "New ePub2" and "New ePub3" to ease + creation of empty epubs (icons courtesy of BeckyEbook) + - Extend ePub2 Guide Semantics to include many of the "other.*" + codes common to ePub3 as well + +- Changes from 0.9.991 (pre1.0 Alpha Release) + * Bug Fixes: + - handle javascript location.href style in Preview + - use CaseInsensitive sort in Plugins menu (Thank you BeckDTP) + - use Locale aware sort routines for AddMetadata, and MetaData + Names (Thankyou Doitsu) + - recognize x-font-otf style media types + - recognize vnd.adobe.page-template+xml media type + - recognize webp images media type + - improve updating of smil xml files when moved + - preserve whitespace inside the code element when prettifying + - try again to prevent timer events during MainWindow close + that causes random crashes on exit on macOS + - fix svg cover images to use 100vh and 100vx in Preview + * New Features: + - completely reworked most of Sigil's internals to now load all + Epubs in their "as-is" state and fully allow editing and + plugins to work + - added Tools menu item to standardize an epub to Sigil norm. + - added Tools menu item to allow user to design a custom empty + epub and make it default + - added font tooltips that describe each font by mousing over + in BookBrowser (with improvements by BeckyDTP) + +------------------------------------------------------------------- +Wed Sep 4 10:31:11 UTC 2019 - [email protected] + +- Update to 0.9.18 + * Bug Fixes: + - fix bug in macOS that caused spurious warnings about missing + file in the manifest + - hopefully fix macOS bug about launching files using open-with + from Desktop + - make sure JQuery gets loaded before starting to use Preview + javascript functions + - fix local links during split that incorrectly used target + filename for internal link + - create GetEnvironmentVar to make access to environment + variables more cross-platform + - fix macOS bug when hitting close on the title bar of + MainWindow causing strange window behaviour + - hopefully fix macOS segfault on close by disabling Preview + timer immediately + - fix Windows 7 issues when running batch (.bat) files via + OpenExternally (open with) + - all error messages are now properly logged + - fix improperly disabled open-with menu in Image Tabs popup + context menu + - removed use of Qt obsolete methods in About and Error Dialogs ++++ 217 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/sigil/sigil.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.sigil.new.2738/sigil.changes Old: ---- 0.9.10.tar.gz Sigil_User_Guide.epub New: ---- Sigil_User_Guide_2019.09.03.epub sigil-1.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sigil.spec ++++++ --- /var/tmp/diff_new_pack.Cm6rp0/_old 2020-04-17 13:38:44.176273724 +0200 +++ /var/tmp/diff_new_pack.Cm6rp0/_new 2020-04-17 13:38:44.176273724 +0200 @@ -1,7 +1,7 @@ # # spec file for package sigil # -# Copyright (c) 2018 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 @@ -12,20 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define sigil_doc_version 2019.09.03 Name: sigil -Version: 0.9.10 +Version: 1.2.1 Release: 0 Summary: WYSIWYG Ebook Editor License: GPL-3.0-only 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 +URL: https://sigil-ebook.com/ +Source0: https://github.com/Sigil-Ebook/Sigil/archive/%{version}/%{name}-%{version}.tar.gz +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 @@ -35,6 +35,7 @@ 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 BuildRequires: libstdc++-devel @@ -43,7 +44,27 @@ 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 +# upstream use python3-dulwich 0.19.15 +BuildRequires: python3-dulwich +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 @@ -53,29 +74,22 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5WebChannel) -BuildRequires: pkgconfig(Qt5WebKit) +#BuildRequires: pkgconfig(Qt5WebKit) +BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5XmlPatterns) -# not need for build, only check for exists -BuildRequires: python3-html5lib -BuildRequires: python3-lxml -BuildRequires: python3-six -BuildRequires: python3-tk -#BuildRequires: python3-regex -BuildRequires: python3-Pillow -BuildRequires: python3-cssselect -BuildRequires: python3-cssutils -#BuildRequires: python3-chardet +BuildRequires: pkgconfig(libusb-1.0) +Requires: python3-Pillow +Requires: python3-chardet +Requires: python3-cssselect +Requires: python3-cssutils +Requires: python3-dulwich Requires: python3-html5lib Requires: python3-lxml +Requires: python3-regex Requires: python3-six Requires: python3-tk -#Requires: python3-regex -Requires: python3-Pillow -Requires: python3-cssselect -Requires: python3-cssutils -#Requires: python3-chardet %description Sigil is an editor for the EPUB format. It is designed for WYSIWYG @@ -87,8 +101,8 @@ %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!!!! @@ -105,17 +119,20 @@ 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 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 @@ -131,12 +148,17 @@ 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 +pushd %{buildroot}%{_datadir} +grep -lr "%{_bindir}/python" | xargs chmod +x +popd %files -%defattr(-,root,root) -%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide.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/ @@ -152,17 +174,16 @@ %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 -%dir %{_datadir}/%{name}/polyfills -%{_datadir}/%{name}/polyfills/MathJax.js +%{_datadir}/%{name}/polyfills %{_datadir}/%{name}/plugin_launchers -%dir /usr/lib/%name -/usr/lib/%{name}/* +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/* %changelog
