summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-11-08 13:38:48 +0000
committernia <nia@pkgsrc.org>2019-11-08 13:38:48 +0000
commitaffeabe661789203ba91ac5981870af23a7fcdc1 (patch)
treeceb0dce19ef550bd959e1f67a570025350643446 /print
parentffe45a9e34285f363a86269938a8f706ec5b105e (diff)
downloadpkgsrc-affeabe661789203ba91ac5981870af23a7fcdc1.tar.gz
qpdfview: Update to 0.4.18
Fixed rendering with latest pkgsrc poppler. Release 0.4.18: * Fixed various issue w.r.t. statically linked plug-ins and cross builds for Windows. Thanks to Marshall Banana. * Fixed encoding issues w.r.t. CUPS names. Thanks to Silvan Scherrer. * Fixed not overwriting page ranges CUPS option when set already by Qt's print dialog. Thanks to Fabio Rossi. * Fixed refreshing modified documents from disk. * Added support for nested splitting of document views. * Added support for transparent decompression of document files. * Added restoring of tab order and of current tab. * Added action to open current file in new window. Thanks to Pavel Sanda. * Updated support for MuPDF to version 1.12 and later. Thanks to S. Razi Alavizadeh. * Added support for EPUB, XPS, CBZ and FB2 via MuPDF. Thanks to S. Razi Alavizadeh. * Automated translations import from Launchpad via Travis CI. Thanks to S. Razi Alavizadeh. * Imported various new and updated translations from Launchpad. Thanks to all Launchpad translators! Release 0.4.17: * Fixed query to populate the instance list for the choose instance dialog. * Fixed selecting the complete text upon opening a page number dialog. * Fixed computation of tile sub rect w.r.t. non-unit device pixel ratios. * Moved loading of interactive elements out of the main event loop. * Optimize tile rendering event handling by centralizing dispatch. * The results of the current tab are now automatically expanded in the extended search dock. * Added support for external document links to the outline view. * Added optional page-parallel execution of text search. * Added triggering SyncTeX reverse search using a keyboard modifier. * Keyboard modifiers for mouse interaction can be disabled. * Optimizations of the search dock layout w.r.t. vertical/horizontal positioning. * Added context menu action to move document to a different instance. * Changed cache size tracking from byte to kilobyte granularity to support more than 2 GB cache. * Added a save in addition to the save-as action to simplify modifying documents in-place. * Added Japanese translations. Thanks to Koji Yokota. * Updated British English translations. Thanks to Anthony Harrington. * Updated Russian translations. Thanks to ned. * Updated French translations. Thanks to Charles Monzat. * Updated Lithunian translations. Thanks Moo.
Diffstat (limited to 'print')
-rw-r--r--print/qpdfview/Makefile8
-rw-r--r--print/qpdfview/PLIST10
-rw-r--r--print/qpdfview/distinfo15
-rw-r--r--print/qpdfview/patches/patch-application.pro8
-rw-r--r--print/qpdfview/patches/patch-qpdfview.pri6
-rw-r--r--print/qpdfview/patches/patch-sources_pdfmodel.cpp15
6 files changed, 44 insertions, 18 deletions
diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile
index d5969ed054b..a0b47b3a1c5 100644
--- a/print/qpdfview/Makefile
+++ b/print/qpdfview/Makefile
@@ -1,10 +1,8 @@
-# $NetBSD: Makefile,v 1.81 2019/11/07 12:38:08 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2019/11/08 13:38:48 nia Exp $
-VER= 0.4.16
-DISTNAME= qpdfview-${VER}
-PKGREVISION= 46
+DISTNAME= qpdfview-0.4.18
CATEGORIES= print
-MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/
+MASTER_SITES= https://launchpad.net/qpdfview/trunk/${PKGVERSION_NOREV}/+download/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://launchpad.net/qpdfview
diff --git a/print/qpdfview/PLIST b/print/qpdfview/PLIST
index 86bea5494d1..55dc440f0d1 100644
--- a/print/qpdfview/PLIST
+++ b/print/qpdfview/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/01/22 11:56:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/11/08 13:38:48 nia Exp $
bin/qpdfview
lib/qpdfview/libqpdfview_djvu.so
lib/qpdfview/libqpdfview_image.so
@@ -24,7 +24,9 @@ share/icons/hicolor/scalable/apps/qpdfview.svg
share/qpdfview/help.html
share/qpdfview/help_az.html
share/qpdfview/help_bg.html
+share/qpdfview/help_ca.html
share/qpdfview/help_cs.html
+share/qpdfview/help_da.html
share/qpdfview/help_de.html
share/qpdfview/help_en_GB.html
share/qpdfview/help_es.html
@@ -33,14 +35,20 @@ share/qpdfview/help_fi.html
share/qpdfview/help_fr.html
share/qpdfview/help_gl.html
share/qpdfview/help_it.html
+share/qpdfview/help_ja.html
share/qpdfview/help_ko.html
+share/qpdfview/help_ku.html
+share/qpdfview/help_lt.html
share/qpdfview/help_ms.html
share/qpdfview/help_pl.html
share/qpdfview/help_pt.html
share/qpdfview/help_pt_BR.html
share/qpdfview/help_ru.html
share/qpdfview/help_sk.html
+share/qpdfview/help_sr.html
share/qpdfview/help_sv.html
+share/qpdfview/help_tr.html
share/qpdfview/help_uk.html
share/qpdfview/help_vi.html
share/qpdfview/help_zh_CN.html
+share/qpdfview/help_zh_TW.html
diff --git a/print/qpdfview/distinfo b/print/qpdfview/distinfo
index 90d0afd1fc0..1eb9733c93c 100644
--- a/print/qpdfview/distinfo
+++ b/print/qpdfview/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2016/04/22 09:35:00 nros Exp $
+$NetBSD: distinfo,v 1.6 2019/11/08 13:38:48 nia Exp $
-SHA1 (qpdfview-0.4.16.tar.gz) = aa6c8445c23ab9188b2dc2b7dccb500bd11f1c21
-RMD160 (qpdfview-0.4.16.tar.gz) = a52cd6c1bb62fec56f2eea28e4ab6ae74ef49d6a
-SHA512 (qpdfview-0.4.16.tar.gz) = d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584
-Size (qpdfview-0.4.16.tar.gz) = 636095 bytes
-SHA1 (patch-application.pro) = 3c8c1482e1a10d0460e8adbd6b249f8ee8e7adf9
-SHA1 (patch-qpdfview.pri) = a9f51b2031a734abc2f1c68efa49e0aa043fc107
+SHA1 (qpdfview-0.4.18.tar.gz) = 670c762436927a37980159206472d5a7a194da70
+RMD160 (qpdfview-0.4.18.tar.gz) = 28d6676a7fc76b38f23b867b0d34a92d5002cec4
+SHA512 (qpdfview-0.4.18.tar.gz) = 38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66
+Size (qpdfview-0.4.18.tar.gz) = 786577 bytes
+SHA1 (patch-application.pro) = 11dd983ed4814f1c4913663b0bca13170fd8edfe
+SHA1 (patch-qpdfview.pri) = d569e92af7ee8baa80eec93df46d927f9bde3374
+SHA1 (patch-sources_pdfmodel.cpp) = a718b01601d69bd4dfc4d3c4da0a19cd3f3f21ad
diff --git a/print/qpdfview/patches/patch-application.pro b/print/qpdfview/patches/patch-application.pro
index bebd880fd25..7aad36cc05d 100644
--- a/print/qpdfview/patches/patch-application.pro
+++ b/print/qpdfview/patches/patch-application.pro
@@ -1,9 +1,13 @@
-$NetBSD: patch-application.pro,v 1.1 2016/03/09 17:45:52 nros Exp $
+$NetBSD: patch-application.pro,v 1.2 2019/11/08 13:38:48 nia Exp $
+
* install png icons (makes the icon visible in xfce)
+
The reason .files and .path are not set within the for loop using
-$${size} is that when done messages like
+$${size} is that when done messages like:
+
WARNING: icon16.path is not defined: install target not created
appear when the .pro file is processed and the icons won't be installed.
+
--- application.pro.orig 2015-11-14 20:48:59.000000000 +0000
+++ application.pro
@@ -254,6 +254,13 @@ APPDATA_FILE = miscellaneous/qpdfview.ap
diff --git a/print/qpdfview/patches/patch-qpdfview.pri b/print/qpdfview/patches/patch-qpdfview.pri
index a83cba1dfd2..a8eb96cda98 100644
--- a/print/qpdfview/patches/patch-qpdfview.pri
+++ b/print/qpdfview/patches/patch-qpdfview.pri
@@ -1,11 +1,11 @@
-$NetBSD: patch-qpdfview.pri,v 1.4 2016/04/22 09:35:00 nros Exp $
+$NetBSD: patch-qpdfview.pri,v 1.5 2019/11/08 13:38:48 nia Exp $
* Set install places
---- qpdfview.pri.orig 2015-11-14 20:48:59.000000000 +0000
+--- qpdfview.pri.orig 2019-07-24 19:18:33.000000000 +0000
+++ qpdfview.pri
@@ -1,12 +1,12 @@
- isEmpty(APPLICATION_VERSION):APPLICATION_VERSION = 0.4.16
+ isEmpty(APPLICATION_VERSION):APPLICATION_VERSION = 0.4.18
-isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = /usr/bin
-isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = /usr/lib/qpdfview
diff --git a/print/qpdfview/patches/patch-sources_pdfmodel.cpp b/print/qpdfview/patches/patch-sources_pdfmodel.cpp
new file mode 100644
index 00000000000..58286aed322
--- /dev/null
+++ b/print/qpdfview/patches/patch-sources_pdfmodel.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-sources_pdfmodel.cpp,v 1.1 2019/11/08 13:38:48 nia Exp $
+
+Use Arthur as the rendering backend - Splash is currently disabled in pkgsrc.
+
+--- sources/pdfmodel.cpp.orig 2019-07-24 19:18:33.000000000 +0000
++++ sources/pdfmodel.cpp
+@@ -301,7 +301,7 @@ const int thinLineMode = 0;
+
+ #endif // HAS_POPPLER_24
+
+-const int backend = 0;
++const int backend = 1;
+
+ } // Defaults
+