diff --git a/.gitattributes b/.gitattributes index 9b03811..51d7027 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,3 +21,5 @@ *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text +## Specific LFS patterns +Sigil_User_Guide_0_7_2.epub filter=lfs diff=lfs merge=lfs -text diff --git a/0.8.4.tar.gz b/0.8.4.tar.gz deleted file mode 100644 index 6117182..0000000 --- a/0.8.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:48d007eee8cc795a1db2e38fff7d1cce3c03cb0fae37280d3d85e19d37eb220e -size 19394693 diff --git a/0.9.7.tar.gz b/0.9.7.tar.gz new file mode 100644 index 0000000..adc38a9 --- /dev/null +++ b/0.9.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c42ccc1484a8c4d6d48b6f3fb2904ddcbde9ebbf0853c838b7062175ec77315 +size 18468399 diff --git a/Sigil_User_Guide_0_7_2.epub b/Sigil_User_Guide_0_7_2.epub new file mode 100644 index 0000000..684b3f8 --- /dev/null +++ b/Sigil_User_Guide_0_7_2.epub @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:322e1732ea04849d768bfd8633ea654f547b78fbc1987f0271effe337df0fa76 +size 7068751 diff --git a/sigil-Dialogs-About.cpp.patch b/sigil-gt-0.9.0-Dialogs-About.cpp.patch similarity index 61% rename from sigil-Dialogs-About.cpp.patch rename to sigil-gt-0.9.0-Dialogs-About.cpp.patch index cc344ee..5ba0063 100644 --- a/sigil-Dialogs-About.cpp.patch +++ b/sigil-gt-0.9.0-Dialogs-About.cpp.patch @@ -1,18 +1,19 @@ ---- src/Sigil/Dialogs/About.cpp~ 2013-02-17 12:02:24.000000000 +0100 -+++ src/Sigil/Dialogs/About.cpp 2013-02-24 13:48:30.225303970 +0100 -@@ -68,6 +68,7 @@ +diff -Pdpru Sigil-0.9.0.orig/src/Dialogs/About.cpp Sigil-0.9.0/src/Dialogs/About.cpp +--- Sigil-0.9.0.orig/src/Dialogs/About.cpp 2015-11-04 14:52:16.000000000 +0100 ++++ Sigil-0.9.0/src/Dialogs/About.cpp 2015-11-29 10:12:53.023905765 +0100 +@@ -75,6 +75,7 @@ About::About(QWidget *parent) QDateTime About::GetUTCBuildTime() { -+/* ++ /* QString time_string = QString::fromLatin1(__TIME__); QString date_string = QString::fromLatin1(__DATE__); Q_ASSERT(!date_string.isEmpty()); -@@ -76,6 +77,8 @@ +@@ -83,6 +84,8 @@ QDateTime About::GetUTCBuildTime() QRegularExpressionMatch mo = date_match.match(date_string); QDate date(mo.captured(3).toInt(), MonthIndexFromString(mo.captured(1)), mo.captured(2).toInt()); return QDateTime(date, QTime::fromString(time_string, "hh:mm:ss")).toUTC(); -+*/ ++ */ + return QDateTime( QDate::fromString("@DATE@", "yyyyMMdd"), QTime::fromString( "@TIME@", "hh:mm:ss" ) ).toUTC(); } diff --git a/sigil.changes b/sigil.changes index 95cf0d8..0c71c40 100644 --- a/sigil.changes +++ b/sigil.changes @@ -1,7 +1,564 @@ ------------------------------------------------------------------- -Mon Mar 16 16:43:54 UTC 2015 - opensuse@dstoecker.de +Tue Nov 29 13:37:50 UTC 2016 - ecsos@opensuse.org + +- update to 0.9.7 + * Bug Fixes + - Allow tags in the svg and mathml namespace to automtically + self-close if empty to help work around a bug in Kindlegen + that will not seem to accept a closing svg image tag even + though image is non-void + - Prevent TextTab from constantly recentering page when focus + is lost + - Fix bugs in plugin basename_to_id when used with xpgt files + or any unrecognized extensions + - Fix typos in pls mimetype in plugins + - Fix code synchronization issues among 3 places where file + extensions are mapped to mimetypes + - Fix plugin readotherfile interface to rebuild the opf on the + fly only if it has been modified + - Fix plugin validation issues with integer vs string + representations of line number and character offsets + - Fix duplicate filename in multiple directories bug when + updating CSS urls + - Fix bug in page-map.xml mimetype when “Add Existing …” is + used + - Fix undefined behaviour shifting signed negative values in + 3rdparty libs and fix many warnings + - Fix text vs binary file type recognition in the plugin + interface (CSS and js files are text not binary) + - Fix too small toolbar icons on high dpi displays + - Fix bug that caused text highlighting to get lost on some + systems when doing a CSS Find & Replace. + - Fix bug in plugin interface basename_to_id to recognize .htm + extensions + - Fix bug in epub3 semantic popups to always refect the local + name of epub:type setting + - Fix bug where creation on an HTML TOC could overwrite an + existing Nav under epub3 + - Fix manifest id not starting with alpha character bug + * New Features + - Extend validation plugin interface with add_extended_result() + method to allow better cursor positioning + - Extend TextTab and Tabs derived by it to position cursor based + on offset + - Allow editing of page-map.xml files, xpgt files and other + misc xml based files inside Sigil + - Update Windows builds use Python 3.5.2, VS2015 + - Update Mac OS X builds and build instructions to use + Python-3.5.2 + - Remove support for python2.7 only plugins and simply Manage + Plugins settings + - Update to Qt 5.6.1-1 with QtWebKit added back for release + builds for Windows (VS2015) and Mac OSX + - Update Mac OS X and Linux build instruction documentation for + recent changes + - Allow Linux Dictionaries to look up default paths for + dictionaries passed in by build cmake settings + - Make the columns in the Manage Plugins table be sortable by + the user + - Better detect undefined and non-existing url fragments to + prevent issues when splitting or merging files + - Make tooltips for Run Plugin Icons show the name of the + selected plugin on hover + - Upgrade from jquery 1.6.2 to version 2.2.4 + - Upgrade from jquery.scrollTo 1.4.2 to version 2.1.2 + - Upgrade to double sized 48×48 pixel icons for High DPI + displays, Special Thanks to PatNY for creating our icons + +------------------------------------------------------------------- +Fri Jul 1 19:08:47 UTC 2016 - ecsos@opensuse.org + +- update to 0.9.6 + * Bug Fixes + - Make StdWarningDialog resizeable when “Show Details” is used + - Fix CleanSource svg prefix removal bug that sometimes broke + valid svg code + - Remove svg image and html5 menuitem from the list of void + elements in the Sigil and plugin code + - Properly xml escape “&” in metadata attribute values + - Properly perform source updates on epub on load even when + they do not follow recommended spec + - Make handling of comments in both xhtml and xml more robust + - Properly url escape css file names to handle css files with + spaces in them + - Try to make direct editing of content.opf more safe by + auto-fixing errors when possible + - Properly handle WellFormed checks for pure XML in + XMLResource.cpp by using embedded python3 lxml + - Make opf_newparser.py and xmlprocessor.py more robust to + broken user input in content.opf + - Make ProcessXML (repairXML in xmlprocessor.py) – leave + untouched anything well-formed + - Fix thinko in plugin bookcontainer.py and outputcontainer.py + contributed by wrCisco + - Fix for improper encoding in plugins on Mac OS X due to + missing inherited plugin environment + - Fix for typos in epub xmlns when splitting epub3 ebooks in + BookView + - Update testplugin_v012.zip to testplugin_v013.zip to handle + sgc-nav.css new feature + - Fix bugs in DeleteUnusedStyles when selector exists more than + once in the same stylesheet + - Fix bugs in DeleteUnusedStyles when group selectors span more + than one line + - Fix bugs in Reports: CSS Styles missing cases when selector + exists more than once + - Fix bug in Reports: All Files to use Landmark Semantics under + epub3 not guide semantics + - Fix bug, slow in loading ini when too large clipboard + history, user can now delete them via dialog + - Stop cosmetic double-spaces being introduced into OPF + manifest, spine and guide entries + - Prevent bug when user selects too much in BookView and then + tries to change case + - Fix bug in Delete Unused Media when css urls do not use + quotes + - vTry to set all ways of updating the ncx to use 2 character + indentation of head element + - Fix Building Relocatable Python on Mac build instructions + to remove BeautifulSoup4 requirement + - Fix for generating empty guide for epub3 when in plugins + * New Features + - created sgc-nav.css stylesheet for nav and allow templates in + Prefs Dir for user to control it + - Added General Setting to allow user to set own temporary + directory location + - Added Qt Stylesheet support – Recognize and load + “qt_styles.qss” file if stored in Sigil Preferences folder + - Extended the plugin interface to add support for epub3 + bindings elements + - Add option + forward delete shortcut to active Metadata + Editor remove + +------------------------------------------------------------------- +Fri Apr 15 15:02:50 UTC 2016 - ecsos@opensuse.org + +- update to 0.9.5 + * Bug Fixes + - Fix regression when ImportHTML in gathering HTML based + DC. metadata + - Fix regression - remove incorrect use of opf:scheme from + dc:creator and dc:contributor under epub2 + - Fix regression - the guide reference tag is always a void tag + - Fix issues with hunspell spell checking under Windows when + non-ascii paths to dictionaries + - Fix issues with overridding the prefs directory on Windows + with non-ascii paths + - Fix broken manual "Check" button on W3C stylesheet + validation's generated html form. + - Fix media-type recognition for .m4a and .m4v file extenstions + in main Sigil and plugin code + - Treat ruby and rt as inline tags when pretty-printing in + Sigils and for plugins + * New Feature + - Allow user to choose what level of CSS gets used in the + "Validate Stylesheets + With W3C" tool via user preference (General). + +------------------------------------------------------------------- +Tue Mar 15 20:14:48 UTC 2016 - ecsos@opensuse.org + +- update to 0.9.4 + * Bug Fixes + - Prevent the use of zero length key fields when obfuscating + fonts + - IDPF font obfuscation key accepts all input except as + specified + - Fix typo in main.ui accelerator assignment + - Update Transifex project URL + - Prevent NCX Weirdness with ampersand added when editing NCX + in codeview and TOC widget showing + - Fix lost namespace attributes on metadata tag + - Allow auto conversion from package version 1.0 to 2.0 + - Remove unused parameter from gumbo create_text_node + - Fix bug that hits package version when no xml declaration + on opf on import + - Add id to Heading structure to greatly speed up NCX/TOC + creation even more + - Only the true nav should ever have the nav manifest property + set + - Prevent nav property from being overwritten when updating + manifest properties + - Prevent segfault if user add semantics but never chooses one + - Prevent Add Cover from returning the wrong doctype for epub3 + - Make sure cover-image and svg (if needed) are added as epub3 + manifest properties when adding a cover + - Make sure all referenced resources are found for Delete + Unused Media + - Remap non-standard epub namespace prefixes in the opf to + those now reserved for epub3 + - Make loading epubs with broken opf files more robust + * New Features + - Extract all MarcRelators related code into its own class so + it can be shared + - Added some missing MARC relators + - Removed obsolete MARC relators (ctb replaced clb, and sng + replaces voc) + - Completely redesign MetaEditor gui to work with both epub2 + and epub3 metadata + - Add default metadata language and title for the user + - Make the Nav a required part of an epub3 - create an empty + one if need be + - Create NavProcessor to use gumbo to update the nav.xhtml + - Add support for Adding/Removing Nav Landmarks + - Better identify the true nav when loading epub3s + - Add ability to generate Nav TOC from Book Headings to + CreateTOC tool + - Check for valid nav otherwise create a new default one + ready for updates + - Do not allow split markers to be added to nav.xhtml + - Do not allow nav to get merged + - Do not allow the nav to be deleted + - Do not allow plugins to delete the nav under epub3 + - Completely Revamp BookBrowser interface to support both Guide + and Landmark Semantics + - Create Semantics Dialog to better handle epub2 and epub3 + semantics + - Create Separate Guide/Landmarks classes for epub2 and + epub3 respectively + - Rename DescriptiveMetaInfo structure to just + DescriptiveInfo to work with guide/landmarks elements + - Add a mapping from Landmark to Guide and Back + - Remove old GuideSemantics code + - Make sure Landmarks semantics show up in BookBrowser + tooltips + - Update epub3 semantic vocab in Landmarks + - Completely Revamp how the dockable TableOfContents gui widget + is built and updated + - Remove strong coupling between TableOfContents widget + and NCX + - Allow dockable Table Of Contents to refresh from Nav + under epub3 + - Large update for translations needed + - Many new strings supporting the MetaEditor GUI and Add + Semantics GUI were added + +- update to 0.9.3 + * Bug Fixes + - Add a python based updatechecker for Sigil updates to prevent + Windows OpenSSL build issues + - Stop 'Generate TOC' from introducing unnecessary spaces in + front of class attibute values + - Use localeAwareCompare to attempt to add Index Entries to + build them sorted + - Fix segfault caused by use of possibly stale htmlresource + pointer in FlowTab destructor + - Workaround Qt bug that causes slow selection/highlighting of + xhtml on Linux + - Fix multiple typos in sigil_gumbo_bs4_adapter code + * New Features + - Add an autostart/autoclose capability for plugin developers + - Add 3 User-assignable ToolBar Buttons for up to 3 plugins - + users can an assign key accelerators to them + - Add General Settings Preference for setting default + (epub 2 or 3) for new documents + - Merge CleanSource Preference Settings into General Settings + Preferences + - Add Setting to control Epub access non-multimedia remote + resources + - Completely reworked Sigil internals to support epub version + (2 or 3) specific functionality + - ImportHTML, ImportEPUB, Splitting and Merging, Index + Generation, Mending, are all now epub version aware + - AddModificationDate upon save is now epub2 and epub3 aware + - Add "Epub3 Tools" to the Tools menu + - Add three new epub3 tools: "Update Manifest Properties", + "Generate Nav From NCX" and + "Generate NCX From Nav" to "Epub3 Tools" menu + - Add local-storage support to PV/BV for epub3's that use + javascripts + - Added support to recognize and update upon load SMIL files + and Adobe page-map.xml files + - Make quoteurl url scheme-aware in both python and for Qt, + since epub3 allows external resources + - Extend url address recognition to include track, video, and + object elements attributes + - Recognize and store .vtt and .ttml files for video subtitles + and captioning + - Prevent attempts from using Metadata Editor gui from hurting + epub3 until support is added later + - Many epub3 related bug fixes and changes to make sure all new + epub3 href/links are properly updated + - Reworked the plugin_launcher epub3 interface code to allow + fallback and media-overlay attributes + - Added support for MathML in Preview via Mathjax.js-single + polyfill + - Added the MathML list of void tags to GumboInterface for + proper serialization + - Add technique to call long EmbeddedPython calls by using + QtConcurrent::run + + +------------------------------------------------------------------- +Sat Dec 19 12:57:15 UTC 2015 - ecsos@opensuse.org + +- update to 0.9.2 + - Update BuildingOnLinux docs + - Update Building on Mac OS X docs + - Fix example clips/searches loading on Linux + - Simplify UseBundledInterpreter Logic + - Preliminary Linux binary installer support added + - Include Pull Request 161 by pinotree "Switch TempFolder to + QTemporaryDir" to improve safety + - Fix bug when adding existing html links to stylesheets not + being updated + - Fix bug in Well-Formed error messages due to bug inside + gumbo's error.c + - Add xmlns="http://www.w3.org/1999/xhtml" attribute to html tag + if missing + - Reduce fear of Cleaning ToValidXHTML by using serialize not + prettyprint + - Add ability to change Sigil's user preferences directory by + specifying a new path via the SIGIL_PREFS_DIR environment + variable (path must be user-writable). + - Fix lost DOCTYPE info when splitting or merging + - Completely rework pretty printing via gumbo to be much more + robust + - Make identification and storage of page-map.xml more robust + - Completely revamp Cleaning to use "Mend Code" and remove + PrettyPrintGumbo as on option + - Rename PrettyPrintGumbo to "Mend and Prettify" and move to + CodeView Right-click menu + - Restore Sigil's update checker that's been broken for a while + - Update sigil_bs4 prettyprint_xhtml and serialize_xhtml routines + to use logic of code in GumboInterface + - Update sigil_bs4 to use numeric entities when faced with nbsp + so they do not get lost later in Sigil + - Rename "Sanity Check" to "Well-Formed Check EPUB" and remove + check icon people confused with FlightCrew + - Fix out of date error message referencing Tidy + - Coerce missing or bad doctypes to meet either epub2 or epub3 + standard + - Inject empty title tag if missing from head + - Html escape Index entry text used to create index.html + +------------------------------------------------------------------- +Mon Nov 30 19:15:59 UTC 2015 - ecsos@opensuse.org + +- update to 0.9.1 + - Fix bug when template sgc_toc.css could be changed to blank on + save, since no InitialLoad() was done + - Change order of TextResource m_IsLoaded and m_CacheInUse flags + to minimize potentail race exposure. + - Fix PluginRunner bug that introduced errors into xhtml files + when both the content.opf and xhtml were modified + - Auto XML Decode and Escape Metadata entries created in the + Metadata GUI + - Alter pluginhunspell.py so a missing libhunspell doesn't stop + ALL plugins from working + - default to using clean by gumbo vs prettyprint gumbo in new + installs + - fix prettyprint bug with trailing whitespace improperly + inserted after inline tags inside div tags + - fix for bundled interpreter packages PIL and cssutils on + Mac OS X that were missing + - Fix for crash when using Find in BV on pages with no text, only + images (issue #156) + - Added testplugin_v010.zip to docs to allow Linux packagers to + test their plugin implementation + - Fix for prettyprint bug with tables (issue # 158) + - Fix for serialize in gumbo to limit injected returns + - Update to Sigil_Plugin_Framework_rev6.epub + - Make build order of sigilgumbo deterministic in order to help + Linux packagers + - Make plugin launcher success and error messages robust to + non-utf-8 strings + - Fix for crash bug when comments exist inside manifest of opf + - Fix for Sigil's gumbo - only inject end tags when current token + does NOT need to be reprocessed + +------------------------------------------------------------------- +Sun Nov 29 08:58:58 UTC 2015 - ecsos@opensuse.org + +- update to 0.9.0 + - Add "Use Bundled Python" option to bring sanity and choice to + Python3 Interpreter selection + - Merge EmbeddedPython code across platforms and fix python flags + for all platforms + - Properly build translation base.ts to prevent blank message + fields being generated by tr() + - Allow PrettyPrint_Gumbo to condense whitespace where allowed + - In PluginRunner auto-repair modified xml (opf, ncx), do not + check xml with xhtml wellformed check + - Fix bug in plugin epub3 interface, conversion of properties + with null strings to None + - Restore ability to override hunspell dictionary locations on + Linux with SIGIL_DICTIONARIES env var + - Restore ability to build Sigil against system hunspell + libraries on Linux + - Adjust pluginhunspell.py to try to find system hunspell if + bundled hunspell is not built/installed + - Fix hang/slowness in TOC creation when huge number of headings + all exist in the same file + - Performance speedups for NCX writing to help with slow ToC + Creation + - bug fix for better detecting comments in sanitycheck.py + - bug fix for Adding Blank xhtml files to an epub3 + - bug fix for Issue 140 - TOC gets cut-off under some platforms + (lxml needs utf-8 not unicode) + - add cmake option INSTALL_BUNDLED_DICTS to enable/disable + installation of bundled hunspell dictionaries + - allow SIGIL_DICTIONARIES env var to specify multiple paths + (colon delimited) + - Fix bug in sanitycheck.py error message creation + - Identify woff files as fonts when importing epubs + - Fixes for nbsp being "lost" when linking in stylesheets and + when splitting and merging chapters + - Fix for lost whitespace inside text holding tags when pretty + printing + - Workaround for broken QShortCut in Qt 5.4.X see Issue 149 + - cleanup up some compiler warnigns +- changes from pre-release 0.8.901 + - Fixes + - fix for hang when trying to add a cover + - multiple fixes for segfaults in the TOC creation code + - fixes for blank TOC headings caused by tags nested inside of + h1-h6 tags + - workaround for an instability caused by a compiler bug in + Visual Studio 2013 on Windows + - fixes for multiple xml header declarations appearing when + using sigil_bs4 prettyprint_xhtml() or serialzie_xhtml() + - build fixes to include MSVCR100.DLL for Windows machines that + are too new to have it + - fix pretty printing using gumbo to support some mbp: tags + - fixes to deal with self-closing iframe tags which made gumbo + stumble + - fixes to more robustly convert from QByteArray types to their + char * pointers + - fixes and improvements to the Building on Linux instructions + - protect gumbo parsing with a mutex to prevent unknown issues + with potential for non-reentrant code in that library + - workaround Qt QHash operator()= bugs that caused static QHash + objects to freed multiple times + - fix for internal opf processing encoding detection being + confused by xml header declarations potentially resulting in + missing spine and manifest items. + - Features + - new launcher/wrapper code interface to support plugins that + operate on epub3 ebooks + - added cssutils, cssselect, and chardet to the site-packages + of the embedded Python 3.4 interpreter + - validation plugins that report no errors will now have + "No problems found" appear in the Sigil Validation window. + - validation plugins will auto accept/close the plugin runner + window no matter the results + - Windows installer now detects whether MS redistributable + runtimes are already installed +- changes from pre-release 0.8.900 + - Kill tidy and replace it with a combination of a specially + modified Gumbo parser that supports html5 + - Kill Xerces and XercesExtras. + - Kill Boost, replace with C++ 11 + - Kill unused bundles. + - Replace all "undefined - behaviour" use of "Null" References + with proper pointers across entire codebase to allow it to + work with the latest clang compilers + - Completely revamp the build process to embed the Python 3.4 + Interpreter inside of Sigil and integrate it in, including as + site-packages: [lxml, bs4, PIL, regex, six, html5lib]. + This will allow plugins that use the internal Python 3.X + engine access to all of these specialized packaes by default + with no additional action needed by end users of their plugin. + - Create our own version of BeautifulSoup4-4.4.0 called + sigil_bs4 that fixes lxml namespace bugs, fixes + serialization/prettyprinting of inline xhtml tags, and + modifies the bs4 codebase so that a single sourcecode works + equally well on both Python 2.7 and Python 3.X + - Replace internal opf and ncx xml processing and cleaning with + a combination of embedded Python 3.4, sigil_bs4 / lxml + - Build hunspell as a shared library and then add a ctypes + interface to allow plugins to spellcheck + - Build our modified gumbo html5 parser as a shared library and + provide a bs4 ctypes interface to it for easy xhtml + processing in plugins that use Python 2.7 and Python 3.X + - Allow plugins to auto-fix "text/html" media-types to + "application/xhtml+xml" + - Redesign the ebook source updates upon load process to use + our modified gumbo-parser + - Begin the transition to allow for both epub2 and epub3 + editing (Note: epub3 editing is still incomplete) + - Convert Flightcrew to become a Sigil plugin and replace it + with a simple and fast internal sanity checker. + - Update Hunspell dictionaries to be actual dictioanries and + not word lists for en_US and en_GB + - Updated other dictionaries to their most current version to + match what is used in LibreOffice 5 + - Fix issue #54 modified date using local numerials when it + should be using Arabic numerals per the spec. + - Set the book to modified when font's are obfuscated. + - Change FORCE_BUNDLED_COPIES build flag to USE_SYSTEM_LIBS. + This flips the meaning of the flag. Now USE_SYSTEM_LIBS will + enable using system libraries. Also, SYSTEM_LIBS_REQUIRED was + added which will fail the cmake configure if any system + libraries are not found instead of falling back to the + bundled copy. Finally, this makes the build more consistent + for Windows and OS X users. + +------------------------------------------------------------------- +Wed Jun 17 21:29:40 UTC 2015 - ecsos@opensuse.org + +- update to 0.8.7 + - This is a very small maintenance release. + It mainly updates links for the change in code location. + +------------------------------------------------------------------- +Sat Apr 18 16:00:17 UTC 2015 - ecsos@opensuse.org + +- update to 0.8.6 + - Fix for crash during merging xhtml files. + - Changed fix for "Create TOC crash in Sigil 0.8.5" to reduce the + degree of disconnecting to prevent lost signals on html + resources. + - Fix for missing audio and video mime types in OPFResource and + FolderKeeper. + - Attempt to prevent Tidy from simply deleting all mathml during + cleaning. +- previous updates from 0.8.5 + - Fix text resource not alwalys saving to disk. + - Fix bug in missing CSS. + - Fix create html toc crash bug. + - Update some links in the help menu. + +------------------------------------------------------------------- +Fri Mar 27 15:46:12 UTC 2015 - ecsos@opensuse.org - update to 0.8.4 + - Fix for removeall plugins bug where all plugins would remove + all plugins regardless if the user clicked no instead of yes. +- previous updates from 0.8.3 + - 10.9.5 is now the minimum OS X version required. + Only 10.10.1 has been tested. + - -DCODE_SIGN_ID=XYZ option has been added to auto sign the app + bundle on OS X. + - Validation result plugins will auto close the Plugin Runner + Dialog since the dialog has no real info and openes the + validation pane with the results anyway. + - New Plugin Preferences Support added + - Plugins Manager will now remember last folder used + - Support for building both Linux .deb and .rpm packages + - Lots of Linux build support, compilation, installation, and + documentation improvements + - Qt 5.4 is now a minimum requirement. + - Build changes to support update to latest Qt 5.4.0 and to + use latest C++11 compiler + - Numerous bugs fixed or worked around including: + - Make Invocation of CSS W3C Online Validator more reliable + - Fix to make Preview Window update after BookView to prevent + memory corruption and crashes + - Workaround Qt bug (font cache assertion) when using + clearMemoryCaches() + - see https://bugreports.qt.io/browse/QTBUG-43504 + - Properly handle loadFinsihed Signal in BookViewPreview to + prevent clashes between BookView and Preview + - Fix for Sigil memory use after it was freed bug + - Workaround to the extent possible Qt bug with memory use after + free using QWebInspectors + - see https://bugreports.qt.io/browse/QTBUG-43725 + - Workaround to the extent possible Qt bug with memory use + after free when closing MainWindows + - see https://bugreports.qt.io/browse/QTBUG-43692 + - Bug fix to prevent crashes in KeyboardsShortcuts when accessing + Preferences with multiple MainWindows ------------------------------------------------------------------- Sat Jan 24 12:05:59 UTC 2015 - ecsos@opensuse.org diff --git a/sigil.spec b/sigil.spec index 45c330b..834c539 100644 --- a/sigil.spec +++ b/sigil.spec @@ -1,7 +1,7 @@ # # spec file for package sigil # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,43 +17,68 @@ Name: sigil +Version: 0.9.7 +Release: 0 Summary: Multi-platform WYSIWYG Ebook Editor License: GPL-3.0 Group: Productivity/Other -Version: 0.8.4 -Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: https://github.com/user-none/Sigil/archive/%{version}.tar.gz -Source1: %{name}.desktop -# PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section -Patch0: %{name}-Dialogs-About.cpp.patch 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_0_7_2.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 -BuildRequires: boost-devel BuildRequires: cmake >= 3.0 +BuildRequires: boost-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hunspell-devel -BuildRequires: libqt5-qtbase-devel >= 5.4 -BuildRequires: libstdc++-devel -BuildRequires: libxerces-c-devel -BuildRequires: make -BuildRequires: pcre-devel -BuildRequires: unzip -BuildRequires: update-desktop-files -BuildRequires: zlib-devel BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Multimedia) -BuildRequires: pkgconfig(Qt5Positioning) -BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(Qt5XmlPatterns) +BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5WebChannel) BuildRequires: pkgconfig(Qt5WebKit) BuildRequires: pkgconfig(Qt5WebKitWidgets) -BuildRequires: pkgconfig(Qt5Xml) -BuildRequires: pkgconfig(Qt5XmlPatterns) -Requires: python >= 3 +BuildRequires: libqt5-qtbase-devel >= 5.4.2 +BuildRequires: libqt5-qtlocation-devel >= 5.4.2 +BuildRequires: libstdc++-devel +BuildRequires: libxerces-c-devel +BuildRequires: make +BuildRequires: unzip +BuildRequires: update-desktop-files +BuildRequires: zlib-devel +BuildRequires: pcre-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: python3-devel >= 3.4 +BuildRequires: dos2unix +# not need for build, only check for exists +BuildRequires: python3-tk +BuildRequires: python3-six +BuildRequires: python3-lxml +BuildRequires: python3-html5lib +#BuildRequires: python3-regex +BuildRequires: python3-Pillow +BuildRequires: python3-cssutils +BuildRequires: python3-cssselect +#BuildRequires: python3-chardet +Requires: python3-tk +Requires: python3-six +Requires: python3-lxml +Requires: python3-html5lib +#Requires: python3-regex +Requires: python3-Pillow +Requires: python3-cssutils +Requires: python3-cssselect +#Requires: python3-chardet + + %description Sigil is a free and open source editor for the EPUB format. @@ -68,8 +93,14 @@ specification and create a hierarchical Table of Contents. %prep %setup -q -n Sigil-%{version} sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt +%patch0 -p 1 %{__cp} -v %{S:1} . -%patch0 +%{__cp} -v %{S:2} . +# rpmlint +dos2unix src/Resource_Files/python3lib/meta*.py +dos2unix src/Resource_Files/python3lib/opf_*.py + + #FIXME MANUAL UPDATE OF DATE REQUIRED HERE!!!! # Fix "Your file uses __DATE and __TIME__ this causes the package to rebuild @@ -80,7 +111,7 @@ sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt _date=$(date +"%Y%m%d") _time=$(date +"%H:%M:%S") # Change it: -sed -i "s/@DATE@/$_date/;s/@TIME@/$_time/g" src/Sigil/Dialogs/About.cpp +find . -type f -name 'About.cpp' | xargs sed -i "s/@DATE@/$_date/;s/@TIME@/$_time/g" %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" @@ -88,7 +119,7 @@ export CXXFLAGS="$CFLAGS" cmake -G "Unix Makefiles" \ -DCMAKE_INSTALL_PREFIX=%_prefix \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release . make %{?jobs:-j %jobs} @@ -99,11 +130,11 @@ make %{?jobs:-j %jobs} mkdir -p %{buildroot}%{_datadir}/applications # install icons for the .desktop file -install -m644 -D src/Sigil/Resource_Files/icon/app_icon_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/sigil.png -install -m644 -D src/Sigil/Resource_Files/icon/app_icon_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/sigil.png -install -m644 -D src/Sigil/Resource_Files/icon/app_icon_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/sigil.png -install -m644 -D src/Sigil/Resource_Files/icon/app_icon_128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/sigil.png -install -m644 -D src/Sigil/Resource_Files/icon/app_icon_256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/sigil.png +install -m644 -D src/Resource_Files/icon/app_icon_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/sigil.png +install -m644 -D src/Resource_Files/icon/app_icon_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/sigil.png +install -m644 -D src/Resource_Files/icon/app_icon_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/sigil.png +install -m644 -D src/Resource_Files/icon/app_icon_128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/sigil.png +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 @@ -111,9 +142,8 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt %files %defattr(-,root,root) -%doc ChangeLog.txt README.md COPYING.txt +%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide_0_7_2.epub %{_bindir}/%{name} -%{_datadir}/%{name}/%{name}-real %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/icons/hicolor/ %dir %{_datadir}/icons/hicolor/16x16 @@ -128,12 +158,17 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt %dir %{_datadir}/icons/hicolor/256x256/apps %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/pixmaps/*.png -%dir %_datadir/%name -%dir %_datadir/%name/translations -%_datadir/%{name}/translations/* -%dir %_datadir/%name/*dictionaries -%_datadir/%{name}/*dictionaries/* -%_datadir/%{name}/examples -%_datadir/%{name}/plugin_launchers +%dir %{_datadir}/%name +%dir %{_datadir}/%name/translations +%{_datadir}/%{name}/translations/* +%dir %{_datadir}/%name/*dictionaries +%{_datadir}/%{name}/*dictionaries/* +%{_datadir}/%{name}/examples +%{_datadir}/%{name}/python3lib +%dir %{_datadir}/%{name}/polyfills +%{_datadir}/%{name}/polyfills/MathJax.js +%{_datadir}/%{name}/plugin_launchers +%dir /usr/lib/%name +/usr/lib/%{name}/* %changelog