1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

textproc/sigil: Update to 1.3.0

Too many changes in ChangeLog:
https://sigil-ebook.com/2020/07/24/sigil-1-3-0-release/

PR:	248376
Submitted by:	jonc@chen.org.nz (maintainer)
This commit is contained in:
Fernando Apesteguía 2020-08-02 18:03:59 +00:00
parent ae671c6afd
commit 4d703e882a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543985
4 changed files with 7 additions and 18 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sigil
PORTVERSION= 1.2.1
PORTREVISION= 1
PORTVERSION= 1.3.0
CATEGORIES= textproc
MAINTAINER= jonc@chen.org.nz

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1585628447
SHA256 (Sigil-Ebook-Sigil-1.2.1_GH0.tar.gz) = 5187084486513f9bd3239eb4f4961cd98192c34fe6e161f277b52511fd760861
SIZE (Sigil-Ebook-Sigil-1.2.1_GH0.tar.gz) = 21462439
TIMESTAMP = 1596153618
SHA256 (Sigil-Ebook-Sigil-1.3.0_GH0.tar.gz) = ac302328f0d0e0144e67bd4cbd7834650eb219f81a623f393271bf6f0686cc56
SIZE (Sigil-Ebook-Sigil-1.3.0_GH0.tar.gz) = 21697294

View File

@ -1,12 +0,0 @@
diff -ruN ../Sigil-1.2.1/src/MainUI/MainWindow.cpp ./src/MainUI/MainWindow.cpp
--- ../Sigil-1.2.1/src/MainUI/MainWindow.cpp 2020-03-30 09:54:01.000000000 +1300
+++ ./src/MainUI/MainWindow.cpp 2020-07-09 15:23:47.027951000 +1200
@@ -4277,7 +4277,7 @@
web_settings->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false);
web_settings->setAttribute(QWebEngineSettings::JavascriptCanAccessClipboard, false);
web_settings->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, (settings.remoteOn() == 1));
- web_settings->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, false);
+ web_settings->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, true);
web_settings->setAttribute(QWebEngineSettings::PluginsEnabled, false);
web_settings->setAttribute(QWebEngineSettings::AutoLoadIconsForPage, false);
web_settings->setAttribute(QWebEngineSettings::FocusOnNavigationEnabled, true);

View File

@ -263,12 +263,14 @@ share/pixmaps/sigil.png
%%DATADIR%%/translations/sigil_gl.qm
%%DATADIR%%/translations/sigil_it.qm
%%DATADIR%%/translations/sigil_ja.qm
%%DATADIR%%/translations/sigil_ko.qm
%%DATADIR%%/translations/sigil_nl.qm
%%DATADIR%%/translations/sigil_pl.qm
%%DATADIR%%/translations/sigil_pt_BR.qm
%%DATADIR%%/translations/sigil_ru.qm
%%DATADIR%%/translations/sigil_sr.qm
%%DATADIR%%/translations/sigil_sv.qm
%%DATADIR%%/translations/sigil_th.qm
%%DATADIR%%/translations/sigil_uk_UA.qm
%%DATADIR%%/translations/sigil_zh.qm
%%DATADIR%%/translations/sigil_zh_CN.qm
%%DATADIR%%/translations/sigil_zh_TW.qm