update to Sigil-0.9.14 (there are newer versions than this, but they require

QtWebEngine).  Disable the phone-home update checker while there.
This commit is contained in:
sthen 2020-03-09 21:13:41 +00:00
parent 2ea78a6fee
commit db2a6b77a2
4 changed files with 23 additions and 6 deletions

View File

@ -1,12 +1,13 @@
# $OpenBSD: Makefile,v 1.2 2019/07/12 20:46:06 sthen Exp $
# $OpenBSD: Makefile,v 1.3 2020/03/09 21:13:41 sthen Exp $
COMMENT = EPUB ebook editor
PKGNAME = sigil-${GH_TAGNAME}
# newer versions require qtwebengine
GH_ACCOUNT = Sigil-Ebook
GH_PROJECT = Sigil
GH_TAGNAME = 0.9.13
GH_TAGNAME = 0.9.14
CATEGORIES = editors

View File

@ -1,2 +1,2 @@
SHA256 (Sigil-0.9.13.tar.gz) = e58xpsx+9GnW6wfNGxa4HAaqpKnSfRItfnfjXgNgZ3c=
SIZE (Sigil-0.9.13.tar.gz) = 18235134
SHA256 (Sigil-0.9.14.tar.gz) = baVIKmFYiWx83lDXeHt9LGgas6/qAyKYzPBfUOyAOsQ=
SIZE (Sigil-0.9.14.tar.gz) = 18253774

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_Resource_Files_python3lib_updatechecker_py,v 1.1 2020/03/09 21:13:41 sthen Exp $
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):
latest_version = ""
_version_pattern = re.compile(r'<current-version>([^<]*)</current-version>')
- if is_connected():
+ if 0:
try:
from urllib.request import Request, urlopen
socket.setdefaulttimeout(2)

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.2 2019/05/09 01:05:50 bentley Exp $
@comment $OpenBSD: PLIST,v 1.3 2020/03/09 21:13:41 sthen Exp $
bin/sigil
lib/sigil/
lib/sigil/libsigilgumbo.so
@so lib/sigil/libsigilgumbo.so
@bin lib/sigil/sigil
share/applications/sigil.desktop
share/pixmaps/