Wednesday, March 24, 2021

Re: [UPDATE] editors/sigil

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/sigil/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile 23 Feb 2021 19:39:21 -0000 1.6
+++ Makefile 13 Mar 2021 07:37:09 -0000
@@ -3,12 +3,10 @@
COMMENT = EPUB ebook editor

PKGNAME = sigil-${GH_TAGNAME}
-REVISION = 1

-# newer versions require qtwebengine
GH_ACCOUNT = Sigil-Ebook
GH_PROJECT = Sigil
-GH_TAGNAME = 0.9.14
+GH_TAGNAME = 1.4.3

CATEGORIES = editors

@@ -18,20 +16,18 @@ HOMEPAGE = https://sigil-ebook.com/
PERMIT_PACKAGE = Yes

WANTLIB += ${COMPILER_LIBCXX} ${MODPY_WANTLIB}
-WANTLIB += Qt5Concurrent Qt5Core Qt5Gui Qt5Network Qt5PrintSupport
-WANTLIB += Qt5Svg Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml
-WANTLIB += Qt5XmlPatterns c hunspell-1.7 m pcre16 z
+WANTLIB += Qt5Concurrent Qt5Core Qt5Gui Qt5Network Qt5Positioning
+WANTLIB += Qt5PrintSupport Qt5Qml Qt5QmlModels Qt5Quick Qt5WebChannel
+WANTLIB += Qt5WebEngine Qt5WebEngineCore Qt5WebEngineWidgets Qt5Widgets
+WANTLIB += Qt5Xml c hunspell-1.7 m pcre16 z

-COMPILER = base-clang ports-gcc
MODULES = devel/cmake \
lang/python \
x11/qt5
RUN_DEPENDS = devel/desktop-file-utils \
textproc/py-lxml${MODPY_FLAVOR}
LIB_DEPENDS = textproc/hunspell \
- x11/qt5/qtsvg \
- x11/qt5/qtwebkit \
- x11/qt5/qtxmlpatterns
+ x11/qt5/qtwebengine

CONFIGURE_ARGS = -DUSE_SYSTEM_LIBS=ON

Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/sigil/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo 9 Mar 2020 21:13:41 -0000 1.2
+++ distinfo 13 Mar 2021 07:37:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (Sigil-0.9.14.tar.gz) = baVIKmFYiWx83lDXeHt9LGgas6/qAyKYzPBfUOyAOsQ=
-SIZE (Sigil-0.9.14.tar.gz) = 18253774
+SHA256 (Sigil-1.4.3.tar.gz) = dL1ILTxP5LIBXuAGpvp38RFDcb0hfk588dmoBepB5xk=
+SIZE (Sigil-1.4.3.tar.gz) = 24118565
Index: patches/patch-src_Resource_Files_python3lib_updatechecker_py
===================================================================
RCS file: /cvs/ports/editors/sigil/patches/patch-src_Resource_Files_python3lib_updatechecker_py,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_Resource_Files_python3lib_updatechecker_py
--- patches/patch-src_Resource_Files_python3lib_updatechecker_py 9 Mar 2020 21:13:41 -0000 1.1
+++ patches/patch-src_Resource_Files_python3lib_updatechecker_py 13 Mar 2021 07:37:09 -0000
@@ -5,7 +5,7 @@ disable phone-home
Index: src/Resource_Files/python3lib/updatechecker.py
--- src/Resource_Files/python3lib/updatechecker.py.orig
+++ src/Resource_Files/python3lib/updatechecker.py
-@@ -29,7 +29,7 @@ def check_for_updates(site_url):
+@@ -37,7 +37,7 @@ def check_for_updates(site_url):
latest_version = ""
_version_pattern = re.compile(r'<current-version>([^<]*)</current-version>')

Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/sigil/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST 9 Mar 2020 21:13:41 -0000 1.3
+++ pkg/PLIST 13 Mar 2021 07:37:09 -0000
@@ -44,78 +44,23 @@ share/sigil/hunspell_dictionaries/hyph_e
share/sigil/hunspell_dictionaries/hyph_es.dic
share/sigil/hunspell_dictionaries/hyph_fr.dic
share/sigil/hunspell_dictionaries/license.txt
+share/sigil/iconthemes/
+share/sigil/iconthemes/fluent.rcc
+share/sigil/iconthemes/main.rcc
+share/sigil/iconthemes/material.rcc
share/sigil/plugin_launchers/
share/sigil/plugin_launchers/python/
share/sigil/plugin_launchers/python/bookcontainer.py
share/sigil/plugin_launchers/python/compatibility_utils.py
-share/sigil/plugin_launchers/python/css_parser/
-share/sigil/plugin_launchers/python/css_parser/COPYING
-share/sigil/plugin_launchers/python/css_parser/COPYING.LESSER
-share/sigil/plugin_launchers/python/css_parser/CSSUTILS_README.txt
-share/sigil/plugin_launchers/python/css_parser/README.md
-share/sigil/plugin_launchers/python/css_parser/__init__.py
-share/sigil/plugin_launchers/python/css_parser/_codec2.py
-share/sigil/plugin_launchers/python/css_parser/_codec3.py
-share/sigil/plugin_launchers/python/css_parser/_fetch.py
-share/sigil/plugin_launchers/python/css_parser/_fetchgae.py
-share/sigil/plugin_launchers/python/css_parser/codec.py
-share/sigil/plugin_launchers/python/css_parser/css/
-share/sigil/plugin_launchers/python/css_parser/css/__init__.py
-share/sigil/plugin_launchers/python/css_parser/css/colors.py
-share/sigil/plugin_launchers/python/css_parser/css/csscharsetrule.py
-share/sigil/plugin_launchers/python/css_parser/css/csscomment.py
-share/sigil/plugin_launchers/python/css_parser/css/cssfontfacerule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssimportrule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssmediarule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssnamespacerule.py
-share/sigil/plugin_launchers/python/css_parser/css/csspagerule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssproperties.py
-share/sigil/plugin_launchers/python/css_parser/css/cssrule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssrulelist.py
-share/sigil/plugin_launchers/python/css_parser/css/cssstyledeclaration.py
-share/sigil/plugin_launchers/python/css_parser/css/cssstylerule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssstylesheet.py
-share/sigil/plugin_launchers/python/css_parser/css/cssunknownrule.py
-share/sigil/plugin_launchers/python/css_parser/css/cssvalue.py
-share/sigil/plugin_launchers/python/css_parser/css/cssvariablesdeclaration.py
-share/sigil/plugin_launchers/python/css_parser/css/cssvariablesrule.py
-share/sigil/plugin_launchers/python/css_parser/css/marginrule.py
-share/sigil/plugin_launchers/python/css_parser/css/property.py
-share/sigil/plugin_launchers/python/css_parser/css/selector.py
-share/sigil/plugin_launchers/python/css_parser/css/selectorlist.py
-share/sigil/plugin_launchers/python/css_parser/css/value.py
-share/sigil/plugin_launchers/python/css_parser/cssproductions.py
-share/sigil/plugin_launchers/python/css_parser/encutils/
-share/sigil/plugin_launchers/python/css_parser/encutils/__init__.py
-share/sigil/plugin_launchers/python/css_parser/errorhandler.py
-share/sigil/plugin_launchers/python/css_parser/helper.py
-share/sigil/plugin_launchers/python/css_parser/parse.py
-share/sigil/plugin_launchers/python/css_parser/prodparser.py
-share/sigil/plugin_launchers/python/css_parser/profiles.py
-share/sigil/plugin_launchers/python/css_parser/sac.py
-share/sigil/plugin_launchers/python/css_parser/script.py
-share/sigil/plugin_launchers/python/css_parser/scripts/
-share/sigil/plugin_launchers/python/css_parser/scripts/__init__.py
-share/sigil/plugin_launchers/python/css_parser/scripts/csscapture.py
-share/sigil/plugin_launchers/python/css_parser/scripts/csscombine.py
-share/sigil/plugin_launchers/python/css_parser/scripts/cssparse.py
-share/sigil/plugin_launchers/python/css_parser/serialize.py
-share/sigil/plugin_launchers/python/css_parser/settings.py
-share/sigil/plugin_launchers/python/css_parser/stylesheets/
-share/sigil/plugin_launchers/python/css_parser/stylesheets/__init__.py
-share/sigil/plugin_launchers/python/css_parser/stylesheets/medialist.py
-share/sigil/plugin_launchers/python/css_parser/stylesheets/mediaquery.py
-share/sigil/plugin_launchers/python/css_parser/stylesheets/stylesheet.py
-share/sigil/plugin_launchers/python/css_parser/stylesheets/stylesheetlist.py
-share/sigil/plugin_launchers/python/css_parser/tokenize2.py
-share/sigil/plugin_launchers/python/css_parser/util.py
-share/sigil/plugin_launchers/python/css_parser/version.py
share/sigil/plugin_launchers/python/epub_utils.py
+share/sigil/plugin_launchers/python/hrefutils.py
share/sigil/plugin_launchers/python/inputcontainer.py
share/sigil/plugin_launchers/python/launcher.py
+share/sigil/plugin_launchers/python/navprocessor.py
share/sigil/plugin_launchers/python/opf_parser.py
share/sigil/plugin_launchers/python/outputcontainer.py
share/sigil/plugin_launchers/python/pluginhunspell.py
+share/sigil/plugin_launchers/python/pluginhunspellml.py
share/sigil/plugin_launchers/python/preferences.py
share/sigil/plugin_launchers/python/quickparser.py
share/sigil/plugin_launchers/python/sigil_bs4/
@@ -152,6 +97,7 @@ share/sigil/polyfills/MJ/extensions/Math
share/sigil/polyfills/MJ/extensions/fast-preview.js
share/sigil/polyfills/MJ/extensions/jsMath2jax.js
share/sigil/polyfills/MJ/extensions/mml2jax.js
+share/sigil/polyfills/MJ/extensions/toMathML.js
share/sigil/polyfills/MJ/jax/
share/sigil/polyfills/MJ/jax/element/
share/sigil/polyfills/MJ/jax/element/mml/
@@ -356,6 +302,7 @@ share/sigil/polyfills/MJ/jax/output/SVG/
share/sigil/polyfills/MJ/jax/output/SVG/jax.js
share/sigil/python3lib/
share/sigil/python3lib/cssreformatter.py
+share/sigil/python3lib/diffstat.py
share/sigil/python3lib/gencheck.py
share/sigil/python3lib/metadata_utils.py
share/sigil/python3lib/metaproc2.py
@@ -365,7 +312,9 @@ share/sigil/python3lib/ncxgenerator.py
share/sigil/python3lib/opf2data.py
share/sigil/python3lib/opf3data.py
share/sigil/python3lib/opf_newparser.py
+share/sigil/python3lib/repomanager.py
share/sigil/python3lib/sanitycheck.py
+share/sigil/python3lib/sdifflibparser.py
share/sigil/python3lib/updatechecker.py
share/sigil/python3lib/xmlprocessor.py
share/sigil/python3lib/xmlsanitycheck.py
@@ -380,11 +329,16 @@ share/sigil/translations/sigil_fi.qm
share/sigil/translations/sigil_fr.qm
share/sigil/translations/sigil_gl.qm
share/sigil/translations/sigil_it.qm
+share/sigil/translations/sigil_ja.qm
+share/sigil/translations/sigil_ko.qm
share/sigil/translations/sigil_nl.qm
share/sigil/translations/sigil_pl.qm
+share/sigil/translations/sigil_pt_BR.qm
share/sigil/translations/sigil_ru.qm
share/sigil/translations/sigil_sr.qm
+share/sigil/translations/sigil_sv.qm
share/sigil/translations/sigil_th.qm
-share/sigil/translations/sigil_zh.qm
+share/sigil/translations/sigil_uk_UA.qm
+share/sigil/translations/sigil_zh_CN.qm
share/sigil/translations/sigil_zh_TW.qm
@tag update-desktop-database
On Sun, March 14, 2021 21:07, Kirill Bychkov wrote:
> Hi!
> The diff attached updates sigil to the latest version.
> The main change is that upstream switched from qtwebkit to
> qtwebengine.
> Changelog:
> https://github.com/Sigil-Ebook/Sigil/blob/master/ChangeLog.txt
>
> Slightly tested with random epub file.
> OK? Comments?

ping

No comments:

Post a Comment