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.diff -r1.81 -r1.82 pkgsrc/print/qpdfview/Makefile
(nia)
@@ -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 | |||
3 | VER= 0.4.16 | 3 | DISTNAME= qpdfview-0.4.18 | |
4 | DISTNAME= qpdfview-${VER} | |||
5 | PKGREVISION= 46 | |||
6 | CATEGORIES= print | 4 | CATEGORIES= print | |
7 | MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/ | 5 | MASTER_SITES= https://launchpad.net/qpdfview/trunk/${PKGVERSION_NOREV}/+download/ | |
8 | 6 | |||
9 | MAINTAINER= ryoon@NetBSD.org | 7 | MAINTAINER= ryoon@NetBSD.org | |
10 | HOMEPAGE= https://launchpad.net/qpdfview | 8 | HOMEPAGE= https://launchpad.net/qpdfview | |
11 | COMMENT= Tabbed PDF viewer | 9 | COMMENT= Tabbed PDF viewer | |
12 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
13 | 11 | |||
14 | DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data | 12 | DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data | |
15 | 13 | |||
16 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
17 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
18 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
19 | 17 | |||
20 | INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} | 18 | INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} |
@@ -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 $ | |
2 | bin/qpdfview | 2 | bin/qpdfview | |
3 | lib/qpdfview/libqpdfview_djvu.so | 3 | lib/qpdfview/libqpdfview_djvu.so | |
4 | lib/qpdfview/libqpdfview_image.so | 4 | lib/qpdfview/libqpdfview_image.so | |
5 | lib/qpdfview/libqpdfview_pdf.so | 5 | lib/qpdfview/libqpdfview_pdf.so | |
6 | lib/qpdfview/libqpdfview_ps.so | 6 | lib/qpdfview/libqpdfview_ps.so | |
7 | man/man1/qpdfview.1 | 7 | man/man1/qpdfview.1 | |
8 | share/appdata/qpdfview.appdata.xml | 8 | share/appdata/qpdfview.appdata.xml | |
9 | share/applications/qpdfview.desktop | 9 | share/applications/qpdfview.desktop | |
10 | share/icons/hicolor/128x128/apps/qpdfview.png | 10 | share/icons/hicolor/128x128/apps/qpdfview.png | |
11 | share/icons/hicolor/160x160/apps/qpdfview.png | 11 | share/icons/hicolor/160x160/apps/qpdfview.png | |
12 | share/icons/hicolor/16x16/apps/qpdfview.png | 12 | share/icons/hicolor/16x16/apps/qpdfview.png | |
13 | share/icons/hicolor/192x192/apps/qpdfview.png | 13 | share/icons/hicolor/192x192/apps/qpdfview.png | |
14 | share/icons/hicolor/22x22/apps/qpdfview.png | 14 | share/icons/hicolor/22x22/apps/qpdfview.png | |
15 | share/icons/hicolor/24x24/apps/qpdfview.png | 15 | share/icons/hicolor/24x24/apps/qpdfview.png | |
16 | share/icons/hicolor/256x256/apps/qpdfview.png | 16 | share/icons/hicolor/256x256/apps/qpdfview.png | |
17 | share/icons/hicolor/32x32/apps/qpdfview.png | 17 | share/icons/hicolor/32x32/apps/qpdfview.png | |
18 | share/icons/hicolor/36x36/apps/qpdfview.png | 18 | share/icons/hicolor/36x36/apps/qpdfview.png | |
19 | share/icons/hicolor/48x48/apps/qpdfview.png | 19 | share/icons/hicolor/48x48/apps/qpdfview.png | |
20 | share/icons/hicolor/64x64/apps/qpdfview.png | 20 | share/icons/hicolor/64x64/apps/qpdfview.png | |
21 | share/icons/hicolor/72x72/apps/qpdfview.png | 21 | share/icons/hicolor/72x72/apps/qpdfview.png | |
22 | share/icons/hicolor/96x96/apps/qpdfview.png | 22 | share/icons/hicolor/96x96/apps/qpdfview.png | |
23 | share/icons/hicolor/scalable/apps/qpdfview.svg | 23 | share/icons/hicolor/scalable/apps/qpdfview.svg | |
24 | share/qpdfview/help.html | 24 | share/qpdfview/help.html | |
25 | share/qpdfview/help_az.html | 25 | share/qpdfview/help_az.html | |
26 | share/qpdfview/help_bg.html | 26 | share/qpdfview/help_bg.html | |
27 | share/qpdfview/help_ca.html | |||
27 | share/qpdfview/help_cs.html | 28 | share/qpdfview/help_cs.html | |
29 | share/qpdfview/help_da.html | |||
28 | share/qpdfview/help_de.html | 30 | share/qpdfview/help_de.html | |
29 | share/qpdfview/help_en_GB.html | 31 | share/qpdfview/help_en_GB.html | |
30 | share/qpdfview/help_es.html | 32 | share/qpdfview/help_es.html | |
31 | share/qpdfview/help_fa.html | 33 | share/qpdfview/help_fa.html | |
32 | share/qpdfview/help_fi.html | 34 | share/qpdfview/help_fi.html | |
33 | share/qpdfview/help_fr.html | 35 | share/qpdfview/help_fr.html | |
34 | share/qpdfview/help_gl.html | 36 | share/qpdfview/help_gl.html | |
35 | share/qpdfview/help_it.html | 37 | share/qpdfview/help_it.html | |
38 | share/qpdfview/help_ja.html | |||
36 | share/qpdfview/help_ko.html | 39 | share/qpdfview/help_ko.html | |
40 | share/qpdfview/help_ku.html | |||
41 | share/qpdfview/help_lt.html | |||
37 | share/qpdfview/help_ms.html | 42 | share/qpdfview/help_ms.html | |
38 | share/qpdfview/help_pl.html | 43 | share/qpdfview/help_pl.html | |
39 | share/qpdfview/help_pt.html | 44 | share/qpdfview/help_pt.html | |
40 | share/qpdfview/help_pt_BR.html | 45 | share/qpdfview/help_pt_BR.html | |
41 | share/qpdfview/help_ru.html | 46 | share/qpdfview/help_ru.html | |
42 | share/qpdfview/help_sk.html | 47 | share/qpdfview/help_sk.html | |
48 | share/qpdfview/help_sr.html | |||
43 | share/qpdfview/help_sv.html | 49 | share/qpdfview/help_sv.html | |
50 | share/qpdfview/help_tr.html | |||
44 | share/qpdfview/help_uk.html | 51 | share/qpdfview/help_uk.html | |
45 | share/qpdfview/help_vi.html | 52 | share/qpdfview/help_vi.html | |
46 | share/qpdfview/help_zh_CN.html | 53 | share/qpdfview/help_zh_CN.html | |
54 | share/qpdfview/help_zh_TW.html |
@@ -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 | |||
3 | SHA1 (qpdfview-0.4.16.tar.gz) = aa6c8445c23ab9188b2dc2b7dccb500bd11f1c21 | 3 | SHA1 (qpdfview-0.4.18.tar.gz) = 670c762436927a37980159206472d5a7a194da70 | |
4 | RMD160 (qpdfview-0.4.16.tar.gz) = a52cd6c1bb62fec56f2eea28e4ab6ae74ef49d6a | 4 | RMD160 (qpdfview-0.4.18.tar.gz) = 28d6676a7fc76b38f23b867b0d34a92d5002cec4 | |
5 | SHA512 (qpdfview-0.4.16.tar.gz) = d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584 | 5 | SHA512 (qpdfview-0.4.18.tar.gz) = 38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66 | |
6 | Size (qpdfview-0.4.16.tar.gz) = 636095 bytes | 6 | Size (qpdfview-0.4.18.tar.gz) = 786577 bytes | |
7 | SHA1 (patch-application.pro) = 3c8c1482e1a10d0460e8adbd6b249f8ee8e7adf9 | 7 | SHA1 (patch-application.pro) = 11dd983ed4814f1c4913663b0bca13170fd8edfe | |
8 | SHA1 (patch-qpdfview.pri) = a9f51b2031a734abc2f1c68efa49e0aa043fc107 | 8 | SHA1 (patch-qpdfview.pri) = d569e92af7ee8baa80eec93df46d927f9bde3374 | |
9 | SHA1 (patch-sources_pdfmodel.cpp) = a718b01601d69bd4dfc4d3c4da0a19cd3f3f21ad |
@@ -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 | ||||
3 | The reason .files and .path are not set within the for loop using | 5 | The 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 | ||||
5 | WARNING: icon16.path is not defined: install target not created | 8 | WARNING: icon16.path is not defined: install target not created | |
6 | appear when the .pro file is processed and the icons won't be installed. | 9 | appear 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 | +} |
@@ -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 |
$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