Fri Nov 8 13:38:48 2019 UTC ()
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.


(nia)
diff -r1.81 -r1.82 pkgsrc/print/qpdfview/Makefile
diff -r1.4 -r1.5 pkgsrc/print/qpdfview/PLIST
diff -r1.5 -r1.6 pkgsrc/print/qpdfview/distinfo
diff -r1.1 -r1.2 pkgsrc/print/qpdfview/patches/patch-application.pro
diff -r1.4 -r1.5 pkgsrc/print/qpdfview/patches/patch-qpdfview.pri
diff -r0 -r1.1 pkgsrc/print/qpdfview/patches/patch-sources_pdfmodel.cpp

cvs diff -r1.81 -r1.82 pkgsrc/print/qpdfview/Makefile (expand / switch to unified diff)

--- pkgsrc/print/qpdfview/Makefile 2019/11/07 12:38:08 1.81
+++ pkgsrc/print/qpdfview/Makefile 2019/11/08 13:38:48 1.82
@@ -1,20 +1,18 @@ @@ -1,20 +1,18 @@
1# $NetBSD: Makefile,v 1.81 2019/11/07 12:38:08 wiz Exp $ 1# $NetBSD: Makefile,v 1.82 2019/11/08 13:38:48 nia Exp $
2 2
3VER= 0.4.16 3DISTNAME= qpdfview-0.4.18
4DISTNAME= qpdfview-${VER} 
5PKGREVISION= 46 
6CATEGORIES= print 4CATEGORIES= print
7MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/ 5MASTER_SITES= https://launchpad.net/qpdfview/trunk/${PKGVERSION_NOREV}/+download/
8 6
9MAINTAINER= ryoon@NetBSD.org 7MAINTAINER= ryoon@NetBSD.org
10HOMEPAGE= https://launchpad.net/qpdfview 8HOMEPAGE= https://launchpad.net/qpdfview
11COMMENT= Tabbed PDF viewer 9COMMENT= Tabbed PDF viewer
12LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
13 11
14DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data 12DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data
15 13
16USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
17USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
18USE_LIBTOOL= yes 16USE_LIBTOOL= yes
19 17
20INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} 18INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}

cvs diff -r1.4 -r1.5 pkgsrc/print/qpdfview/PLIST (expand / switch to unified diff)

--- pkgsrc/print/qpdfview/PLIST 2018/01/22 11:56:41 1.4
+++ pkgsrc/print/qpdfview/PLIST 2019/11/08 13:38:48 1.5
@@ -1,46 +1,54 @@ @@ -1,46 +1,54 @@
1@comment $NetBSD: PLIST,v 1.4 2018/01/22 11:56:41 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.5 2019/11/08 13:38:48 nia Exp $
2bin/qpdfview 2bin/qpdfview
3lib/qpdfview/libqpdfview_djvu.so 3lib/qpdfview/libqpdfview_djvu.so
4lib/qpdfview/libqpdfview_image.so 4lib/qpdfview/libqpdfview_image.so
5lib/qpdfview/libqpdfview_pdf.so 5lib/qpdfview/libqpdfview_pdf.so
6lib/qpdfview/libqpdfview_ps.so 6lib/qpdfview/libqpdfview_ps.so
7man/man1/qpdfview.1 7man/man1/qpdfview.1
8share/appdata/qpdfview.appdata.xml 8share/appdata/qpdfview.appdata.xml
9share/applications/qpdfview.desktop 9share/applications/qpdfview.desktop
10share/icons/hicolor/128x128/apps/qpdfview.png 10share/icons/hicolor/128x128/apps/qpdfview.png
11share/icons/hicolor/160x160/apps/qpdfview.png 11share/icons/hicolor/160x160/apps/qpdfview.png
12share/icons/hicolor/16x16/apps/qpdfview.png 12share/icons/hicolor/16x16/apps/qpdfview.png
13share/icons/hicolor/192x192/apps/qpdfview.png 13share/icons/hicolor/192x192/apps/qpdfview.png
14share/icons/hicolor/22x22/apps/qpdfview.png 14share/icons/hicolor/22x22/apps/qpdfview.png
15share/icons/hicolor/24x24/apps/qpdfview.png 15share/icons/hicolor/24x24/apps/qpdfview.png
16share/icons/hicolor/256x256/apps/qpdfview.png 16share/icons/hicolor/256x256/apps/qpdfview.png
17share/icons/hicolor/32x32/apps/qpdfview.png 17share/icons/hicolor/32x32/apps/qpdfview.png
18share/icons/hicolor/36x36/apps/qpdfview.png 18share/icons/hicolor/36x36/apps/qpdfview.png
19share/icons/hicolor/48x48/apps/qpdfview.png 19share/icons/hicolor/48x48/apps/qpdfview.png
20share/icons/hicolor/64x64/apps/qpdfview.png 20share/icons/hicolor/64x64/apps/qpdfview.png
21share/icons/hicolor/72x72/apps/qpdfview.png 21share/icons/hicolor/72x72/apps/qpdfview.png
22share/icons/hicolor/96x96/apps/qpdfview.png 22share/icons/hicolor/96x96/apps/qpdfview.png
23share/icons/hicolor/scalable/apps/qpdfview.svg 23share/icons/hicolor/scalable/apps/qpdfview.svg
24share/qpdfview/help.html 24share/qpdfview/help.html
25share/qpdfview/help_az.html 25share/qpdfview/help_az.html
26share/qpdfview/help_bg.html 26share/qpdfview/help_bg.html
 27share/qpdfview/help_ca.html
27share/qpdfview/help_cs.html 28share/qpdfview/help_cs.html
 29share/qpdfview/help_da.html
28share/qpdfview/help_de.html 30share/qpdfview/help_de.html
29share/qpdfview/help_en_GB.html 31share/qpdfview/help_en_GB.html
30share/qpdfview/help_es.html 32share/qpdfview/help_es.html
31share/qpdfview/help_fa.html 33share/qpdfview/help_fa.html
32share/qpdfview/help_fi.html 34share/qpdfview/help_fi.html
33share/qpdfview/help_fr.html 35share/qpdfview/help_fr.html
34share/qpdfview/help_gl.html 36share/qpdfview/help_gl.html
35share/qpdfview/help_it.html 37share/qpdfview/help_it.html
 38share/qpdfview/help_ja.html
36share/qpdfview/help_ko.html 39share/qpdfview/help_ko.html
 40share/qpdfview/help_ku.html
 41share/qpdfview/help_lt.html
37share/qpdfview/help_ms.html 42share/qpdfview/help_ms.html
38share/qpdfview/help_pl.html 43share/qpdfview/help_pl.html
39share/qpdfview/help_pt.html 44share/qpdfview/help_pt.html
40share/qpdfview/help_pt_BR.html 45share/qpdfview/help_pt_BR.html
41share/qpdfview/help_ru.html 46share/qpdfview/help_ru.html
42share/qpdfview/help_sk.html 47share/qpdfview/help_sk.html
 48share/qpdfview/help_sr.html
43share/qpdfview/help_sv.html 49share/qpdfview/help_sv.html
 50share/qpdfview/help_tr.html
44share/qpdfview/help_uk.html 51share/qpdfview/help_uk.html
45share/qpdfview/help_vi.html 52share/qpdfview/help_vi.html
46share/qpdfview/help_zh_CN.html 53share/qpdfview/help_zh_CN.html
 54share/qpdfview/help_zh_TW.html

cvs diff -r1.5 -r1.6 pkgsrc/print/qpdfview/distinfo (expand / switch to unified diff)

--- pkgsrc/print/qpdfview/distinfo 2016/04/22 09:35:00 1.5
+++ pkgsrc/print/qpdfview/distinfo 2019/11/08 13:38:48 1.6
@@ -1,8 +1,9 @@ @@ -1,8 +1,9 @@
1$NetBSD: distinfo,v 1.5 2016/04/22 09:35:00 nros Exp $ 1$NetBSD: distinfo,v 1.6 2019/11/08 13:38:48 nia Exp $
2 2
3SHA1 (qpdfview-0.4.16.tar.gz) = aa6c8445c23ab9188b2dc2b7dccb500bd11f1c21 3SHA1 (qpdfview-0.4.18.tar.gz) = 670c762436927a37980159206472d5a7a194da70
4RMD160 (qpdfview-0.4.16.tar.gz) = a52cd6c1bb62fec56f2eea28e4ab6ae74ef49d6a 4RMD160 (qpdfview-0.4.18.tar.gz) = 28d6676a7fc76b38f23b867b0d34a92d5002cec4
5SHA512 (qpdfview-0.4.16.tar.gz) = d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584 5SHA512 (qpdfview-0.4.18.tar.gz) = 38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66
6Size (qpdfview-0.4.16.tar.gz) = 636095 bytes 6Size (qpdfview-0.4.18.tar.gz) = 786577 bytes
7SHA1 (patch-application.pro) = 3c8c1482e1a10d0460e8adbd6b249f8ee8e7adf9 7SHA1 (patch-application.pro) = 11dd983ed4814f1c4913663b0bca13170fd8edfe
8SHA1 (patch-qpdfview.pri) = a9f51b2031a734abc2f1c68efa49e0aa043fc107 8SHA1 (patch-qpdfview.pri) = d569e92af7ee8baa80eec93df46d927f9bde3374
 9SHA1 (patch-sources_pdfmodel.cpp) = a718b01601d69bd4dfc4d3c4da0a19cd3f3f21ad

cvs diff -r1.1 -r1.2 pkgsrc/print/qpdfview/patches/patch-application.pro (expand / switch to unified diff)

--- pkgsrc/print/qpdfview/patches/patch-application.pro 2016/03/09 17:45:52 1.1
+++ pkgsrc/print/qpdfview/patches/patch-application.pro 2019/11/08 13:38:48 1.2
@@ -1,19 +1,23 @@ @@ -1,19 +1,23 @@
1$NetBSD: patch-application.pro,v 1.1 2016/03/09 17:45:52 nros Exp $ 1$NetBSD: patch-application.pro,v 1.2 2019/11/08 13:38:48 nia Exp $
 2
2* install png icons (makes the icon visible in xfce) 3* install png icons (makes the icon visible in xfce)
 4
3The reason .files and .path are not set within the for loop using  5The reason .files and .path are not set within the for loop using
4$${size} is that when done messages like 6$${size} is that when done messages like:
 7
5WARNING: icon16.path is not defined: install target not created 8WARNING: icon16.path is not defined: install target not created
6appear when the .pro file is processed and the icons won't be installed. 9appear when the .pro file is processed and the icons won't be installed.
 10
7--- application.pro.orig 2015-11-14 20:48:59.000000000 +0000 11--- application.pro.orig 2015-11-14 20:48:59.000000000 +0000
8+++ application.pro 12+++ application.pro
9@@ -254,6 +254,13 @@ APPDATA_FILE = miscellaneous/qpdfview.ap 13@@ -254,6 +254,13 @@ APPDATA_FILE = miscellaneous/qpdfview.ap
10  14
11 system("sed -e \"s:DATA_INSTALL_PATH:$${DATA_INSTALL_PATH}:\" -e \"s:MIME_TYPES:$$join(MIME_TYPES,";","",";"):\" $${DESKTOP_FILE}.in > $${DESKTOP_FILE}") 15 system("sed -e \"s:DATA_INSTALL_PATH:$${DATA_INSTALL_PATH}:\" -e \"s:MIME_TYPES:$$join(MIME_TYPES,";","",";"):\" $${DESKTOP_FILE}.in > $${DESKTOP_FILE}")
12  16
13+iconsizes = 16 22 24 32 36 48 64 72 96 128 160 192 256 17+iconsizes = 16 22 24 32 36 48 64 72 96 128 160 192 256
14+ 18+
15+system(mkdir tmp) 19+system(mkdir tmp)
16+for(size, iconsizes) { 20+for(size, iconsizes) {
17+ system(mkdir tmp/$${size}) 21+ system(mkdir tmp/$${size})
18+ system(rsvg-convert -w $${size} -h $${size} -f png -o tmp/$${size}/qpdfview.png icons/qpdfview.svg) 22+ system(rsvg-convert -w $${size} -h $${size} -f png -o tmp/$${size}/qpdfview.png icons/qpdfview.svg)
19+} 23+}

cvs diff -r1.4 -r1.5 pkgsrc/print/qpdfview/patches/patch-qpdfview.pri (expand / switch to unified diff)

--- pkgsrc/print/qpdfview/patches/patch-qpdfview.pri 2016/04/22 09:35:00 1.4
+++ pkgsrc/print/qpdfview/patches/patch-qpdfview.pri 2019/11/08 13:38:48 1.5
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1$NetBSD: patch-qpdfview.pri,v 1.4 2016/04/22 09:35:00 nros Exp $ 1$NetBSD: patch-qpdfview.pri,v 1.5 2019/11/08 13:38:48 nia Exp $
2 2
3* Set install places 3* Set install places
4 4
5--- qpdfview.pri.orig 2015-11-14 20:48:59.000000000 +0000 5--- qpdfview.pri.orig 2019-07-24 19:18:33.000000000 +0000
6+++ qpdfview.pri 6+++ qpdfview.pri
7@@ -1,12 +1,12 @@ 7@@ -1,12 +1,12 @@
8 isEmpty(APPLICATION_VERSION):APPLICATION_VERSION = 0.4.16 8 isEmpty(APPLICATION_VERSION):APPLICATION_VERSION = 0.4.18
9  9
10-isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = /usr/bin 10-isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = /usr/bin
11-isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = /usr/lib/qpdfview 11-isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = /usr/lib/qpdfview
12-isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = /usr/share/qpdfview 12-isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = /usr/share/qpdfview
13-isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = /usr/share/man/man1 13-isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = /usr/share/man/man1
14-isEmpty(ICON_INSTALL_PATH):ICON_INSTALL_PATH = /usr/share/icons/hicolor/scalable/apps 14-isEmpty(ICON_INSTALL_PATH):ICON_INSTALL_PATH = /usr/share/icons/hicolor/scalable/apps
15-isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = /usr/share/applications 15-isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = /usr/share/applications
16-isEmpty(APPDATA_INSTALL_PATH):APPDATA_INSTALL_PATH = /usr/share/appdata 16-isEmpty(APPDATA_INSTALL_PATH):APPDATA_INSTALL_PATH = /usr/share/appdata
17+isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = $$(PREFIX)/bin 17+isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = $$(PREFIX)/bin
18+isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = $$(PREFIX)/lib/qpdfview 18+isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = $$(PREFIX)/lib/qpdfview
19+isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = $$(PREFIX)/share/qpdfview 19+isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = $$(PREFIX)/share/qpdfview
20+isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = $$(PREFIX)/$$(PKGMANDIR)/man1 20+isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = $$(PREFIX)/$$(PKGMANDIR)/man1
21+isEmpty(ICON_INSTALL_PATH):ICON_INSTALL_PATH = $$(PREFIX)/share/icons/hicolor 21+isEmpty(ICON_INSTALL_PATH):ICON_INSTALL_PATH = $$(PREFIX)/share/icons/hicolor

File Added: pkgsrc/print/qpdfview/patches/patch-sources_pdfmodel.cpp
$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