summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2016-03-09 17:45:51 +0000
committernros <nros@pkgsrc.org>2016-03-09 17:45:51 +0000
commit3cbfffed5e7613d1aba2ccb82cde2f02570484ef (patch)
tree3d5caf17ca9852a9627a13397f2da5bcc3c04c1e /print
parentae52f7a77818f50c5997ce54a29c7f3de7b071c2 (diff)
downloadpkgsrc-3cbfffed5e7613d1aba2ccb82cde2f02570484ef.tar.gz
Updated qpdfview to version 0.4.16.
Changelog: Release 0.4.16: * Fixed an incompatibility with FDo's shared MIME type database that broke opening DjVu documents. * Added function to dynamically fit thumbnails into the viewport. * Added support to use system SyncTeX parser library. * Added support to open image formats supported by Qt. * SyncTeX is now available and discoverable with the main view's context menu. * Updated Czech translations. Thanks to Pavel Fric. * Updated Malay translations. Thanks to abuyop. * Updated Brazilian Portuguese translations. Thanks to Felipe Braga. * Updated Russian translations. Thanks to ned. * Updated British English translations. Thanks to Andi Chandler and Anthony Harrington. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Portuguese translations. Thanks to Sérgio Marques. * Updated Lithunian translations. Thanks to Moo. * Updated Spanish translations. Thanks to Guillermo and Adolfo Jayme. * Updated French translations. Thanks to Charles Monzat. Release 0.4.15: * Fixed compatibility with MuPDF version 1.7. Thanks to Martin Banky. * Added keeping the page-relative position upon page change. * Added document properties on PDF version, encryption and linearization. * Added keyboard navigation to the outline view. Thanks to Bendik R. Opstad. * Added configurable document and tab context menus. Thanks to S. Razi Alavizadeh. * Added composition modes to adjust the background of scanned documents. * Extended the default movement keyboard shortcuts to include the numpad keys. * Made the trim-margins setting a per-tab property. * Added Hungarian translations. Thanks to Páder Rezső. * Updated Polish translations. Thanks to Piotr Strębski. * Updated Italian translations. Thanks to Claudio Arseni. * Updated Czech translations. Thanks to Pavel Fric. * Updated British English translations. Thanks to Anthony Harrington and Andy Chandler. * Updated Malay translations. Thanks to abuyop. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated French translations. Thanks to Jean Marc. Release 0.4.14: * Fixed keyboard movement not working in annotations and form fields. * Fixed display of warning dialog upon restoring tabs. * Fixed compilation using LLVM Clang. Thanks to Franz Fellner. * Fixed crash upon middle-clicking into empty part of tab bar. * Fixed a race condition in text extraction within the extended search dock. * Fixed losing rendering hints after unlocking encrypted PDF documents. * Improved user interaction of the extended search dock. * Improved the speed of text extraction within the extended search dock. Thanks to S. Razi Alavizadeh. * Improved performance at very large scale factors by dynamically adjusting tile size. * Added restoring of expanded outline items after refresh. Thanks to Bendik R. Opstad. * Added various smaller user interface enhancements. * Added whole-words-only search option (depending on Poppler version 0.31 or higher). * Added optionally searchable tabs and bookmarks menus. * Improved flexibility of searching DjVu documents. * Added Finnish translation of online help. Thanks to Timo Seppola. * Updated settings section of the online help. * Updated Czech translations. Thanks to Pavel Fric. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Polish translations. Thanks to Piotr Strębski. * Updated British English translations. Thanks to Anthony Harrington. * Updated Slovak translations. Thanks to DAG Software. * Updated Spanish translations. Thanks to Adolfo Jayme. * Updated Simplified Chinese translations. Thanks to electricface. * Updated Catalan translations. Thanks to VPablo. * Updated Russian translations. Thanks to ☠Jay ZDLin☠ and Aleksey Kabanov. * Updated Galician translations. Thanks to Marcos Lans. * Updated Malay translations. Thanks to abuyop. * Updated French translations. Thanks to Jean Marc. Release 0.4.13: * Fixed a memory leak when processing meta-data in the DjVu plug-in. * Fixed a crash when loading corrupted DjVu documents. * Removed the warning dialog about unknown file type to fix the '--quiet' option. * Added optional extended search dock displaying results from all open tabs. Thanks to S. Razi Alavizadeh. * Added per-tab setting to convert pages to grayscale after rendering. * Updated British English translations. Thanks to Anthony Harrington. * Updated Czech translations. Thanks to Pavel Fric. * Updated Malay translations. Thanks to abuyop. * Updated Galician translations. Thanks to Marcos Lans. * Updated Kazakh translations. Thanks to Baurzhan Muftakhidinov. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Portuguese translations. Thanks to Sérgio Marques. * Updated Polish translations. Thanks to Piotr Strębski. Release 0.4.12: * Fixed loading document-supplied view mode defaults. * Fixed installation location of application icon to use hicolor icon theme. * Fixed an instability of DjVu meta-data extraction. * Added function to automatically trim empty page margins. * Added dock to improved access to bookmarks. Thanks to S. Razi Alavizadeh. * Added support for document-supplied page label. Thanks to S. Razi Alavizadeh. * Added context menu to copy link addresses. * Improved caching, i.e. do not drop pixmaps on scale factor change. Thanks to Martin Spacek. * Improved rendering by giving a higher priority to rendering visible pages compared to prefetching. Thanks to S. Razi Alavizadeh. * Improved computation of current page for continuous layouts. Thanks to S. Razi Alavizadeh. * Improved searching of DjVu documents. Thanks to S. Razi Alavizadeh. * Extended the D-Bus interface to support more IPC scenarios. * Updated Italian translations. Thanks to Claudio Arseni. * Updated British English translations. Thanks to Anthony Harrington. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Czech translations. Thanks to Pavel Fric. * Updated Slovak translations. Thanks to DAG Software. * Updated Thai translations. Thanks to Rockworld. * Updated Russian translations. Thanks to Oleg Koptev. * Updated Malay translations. Thanks to abuyop. * Updated Catalan translations. Thanks to VPablo. * Updated Galician translations. Thanks to Marcos Lans. * Updated Polish translations. Thanks to Mateusz Łukasik. Release 0.4.11.1: * Fix progress and error icons and obsolete pixmaps not working without tiling. * Fix compilation using Microsoft Visual C++. Thanks to S. Razi Alavizadeh. Release 0.4.11: * Added tiled rendering currently disabled by default. * Made zooming logarithmic instead of linear. Thanks to Martin Spacek. * Added displaying various library versions in the about box. Thanks to Martin Spacek. * Added actions to toggle visibility of tool bars and menu bar. * Fixed questionably low interval for automatically saving persistent state. Thanks to Martin Spacek. * Fixed high writing overhead for automatically saving persistent state. Thanks to Boris Popov. * Fixed building without SQLite support again. Thanks to Sébastien Szymanski. * Fixed disabling restoring of tabs and bookmarks. Thanks to Benjamin Eltzner. * Removed extended print options page set and number-up as Qt version 5.2 supports them internally. * Updated French translations. Thanks to Tubuntu and Sylvie Gallet. * Updated British English translations. Thanks to A. Kohl, Anthony Harrington and fossfreedom. * Updated Galician translations. Thanks to Marcos Lans. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Spanish translations. Thanks to Adolfo Jayme. * Updated Czech translations. Thanks to Pavel Fric. * Updated Catalan translations. Thanks to VPablo. * Updated Malay translations. Thanks to abuyop. * Updated Italian translations. Thanks to Claudio Arseni. * Updated Polish translations. Thanks to Piotr Strębski. * Updated Russian translations. Thanks to Alexander Volkov. * Updated Slovak translations. Thanks to DAG Software. * Added Belarussian translations. Thanks to Yury Yatsynovich. * Added Thai translations. Thanks to KL. Release 0.4.10: * Fixed race condition when a deleted render task mit tries to emit a signal. Thanks to Benjamin Eltzner. * Fixed double deletion in recently closed menu. Thanks to Arnaud Schmittbuhl. * Fixed inconsistency when invoking a unique instance. Thanks to Dorian Scholz. * Fixed confusing auto-refresh if file is deleted. * Added using the document title from the meta-data as the tab title. Thanks to Dorian Scholz. * Added spreading out tabs to fill the whole tab bar. Thanks to Dorian Scholz. * Added periodically storing persistent state. * Added opening internal links in a new tab by middle-clicking. * Added zooming to selection by middle-dragging. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated British English translations. Thanks to Anthony Harrington. * Updated Vietnamese translations. Thanks to Khang Mạnh Tử. * Updated Indonesian translation. Thanks to Rizal Muttaqin and Trisno Pamuji. * Updated Czech translations. Thanks to Pavel Fric. * Updated Slovak translations. Thanks to DAG Software. * Updated Polish translations. Thanks to Piotr Strębski. * Updated Romainian translations. Thanks to Vlad Paul Paval. * Updated Portuguese translations. Thanks to Sérgio Marques. * Updated Malay translations. Thanks abuyop. * Updated Galician translations. Thanks to Marcos Lans. * Updated Asturian translations. Thanks to Xuacu Saturio. * Updated Brazilian Portuguese translations. Thanks to Lucas Reis. Release 0.4.9: * Added experimental Fitz plug-in. * Added action to use text as selection instead of copying to clipboard. * Added color feedback whether search term was found to help dialog. Thanks to Benjamin Eltzner. * Added option to switch multiple page layouts into right-to-left mode. Thanks to Abdellah Chelli. * Added loading of document-supplied defaults. * Added setting to choose Poppler backend. * Updated Czech translations. Thanks to Pavel Fric. * Updated Slovak translations. Thanks to DAG Software. * Updated British English translations. Thanks to Anthony Harrington. * Updated Polish translations. Thanks to Piotr Strębski. * Updated French translations. Thanks to Pierre Soulat and Arnaud Schmittbuhl. * Updated Azerbaijani translations. Thanks to Rashid Aliyev. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Malay translations. Thanks to abuyop. * Updated German translations. Thanks to Benjamin Eltzner. * Updated Vietnamese translations. Thanks to Khang Mạnh Tử. * Updated Kazakh translations. Thanks to Baurzhan Muftakhidinov. * Updated Asturian translations. Thanks to Xuacu Saturio. * Updated Catalan translations. Thanks to Marc Coll Carrillo and VPablo. * Updated Spanish translations. Thanks to Aaron Farias. * Updated Galician translatios. Thanks to Miguel Anxo Bouzada. * Updated Hebrew translations. Thanks to Yaron Shahrabani. * Updated Italian translations. Thanks to Claudio Arseni. Release 0.4.8: * Fixed building without SQLite support. Thanks to Franz Fellner. * Fixed a performance problem when switching to a tab with a fallback outline takes seconds. * Added optional functionality to restore closed tabs. * Added zoom functionality to the presentation view. * Added Vietnamese translations. Thanks to Khang Mạnh Tử. * Added Swedish translations. Thanks to Martin Linder. * Updated Bulgarian translations. Thanks to Atanas Kovachki. * Updated Malay translations. Thanks to abuyop. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated Slovak translations. Thanks to DAG Software. * Updated Portuguese translations. Thanks to Sérgio Marques. * Updated Czech translations. Thanks to Pavel Fric. * Updated Russian translations. Thanks to HsH and Aleksey Kabanov. * Updated French translations. Thanks to Arnaud Schmittbuhl. * Updated British English translations. Thanks to Anthony Harrington. * Updated Catalan translations. Thanks to Marc Coll Carrillo. * Updated German translations. Thanks to Dennis Baudys. * Updated Chinese (Simplified) translations. Thanks to Evo Jimmy. * Updated Malay translations. Thanks to abuyop. * Updated Azerbaijani translations. Thanks to Rashid Aliyev. * Updated Polish translations. Thanks to Mateusz Łukasik. Release 0.4.7: * Extended bookmarks storage format to add labelled bookmarks. * Extended handling of annotations and form fields using overlays. * Added support for opening execute links and for saving file attachments from annotations. * Improved parsing of command-line arguments and Workbench integration on AmigaOS. Thanks to Chris Young. * Improved behaviour of movement keys in certain corner cases. Thanks to Thomas Etter. * Added keyboard shortcuts to focus current page and scale factor in tool bar. * Fixed a race condition that could lead to dropping rendered pages. * Fixed a small issue with adding and removing annotations. * Added partial Lithunian translation. Thanks to Automatizatorius. * Added partial Korean translation. Thanks to Litty. * Updated Czech translations. Thanks to Pavel Fric. * Updated French translations. Thanks to Arnaud Schmittbuhl, Tubuntu, Pierre Soulat and Teromene. * Updated Ukrainian translations. Thanks to Yuri Chornoivan. * Updated British English translations. Thanks to Andi Chandler and Anthony Harrington. * Updated Malay translations. Thanks to abuyop. * Updated Italian translations. Thanks to Claudio Arseni. * Updated Polish translations. Thanks to Mateusz Łukasik and Piotr Strębski. * Updated Brazilian Portuguese translations. Thanks to Rodrigo Zimmermann. * Updated German translations. Thanks to Thomas Worofsky, Tobias B. and Benjamin Eltzner. * Updated Kazakh translations. Thanks to Baurzhan Muftakhidinov. * Updated Slovak translations. Thanks to DAG Software. * Updated Bulgarian translations. Thanks to Atanas Kovachki. * Updated Galician translations. Thanks to Marcos Lans. * Updated Catalan translations. Thanks to VPablo. * Updated Greek translations. Thanks to George Christofis. * Updated Italian translations. Thanks to Giovanni Grieco. * Updated Spanish translations. Thanks to Adolfo Jayme Barrientos. * Updated Azerbaijani translations. Thanks to Rashid Aliyev. Release 0.4.6: * Added function that keeps obsolete pixmaps and displays them until final rendering is available. * Added command-line option that displays a dialog to choose the name of the started instance. * Added confirmation dialog before closing a modified document. * Added optional support for device pixel ratios that are unequal to one. * Added setting to change presentation background. * Added desktop action for non-unique instances and choosing instances to the desktop entry. * Fixed loading of translation for Qt dialogs, e.g. the print dialog. * Added support for translations of online help. Thanks to Yuri Chornoivan. * Added support for searching of online help. Thanks to Benjamin Eltzner. * Updated Ukrainian translation and added translation of the online help. Thanks to Yuri Chornoivan. * Updated Czech translation. Thanks to Pavel Fric. * Updated Galician translation and added partial translation of the online help. Thanks to Marcos Lans. * Updated Malay translation and added partial translation of the online help. Thanks to abuyop. * Updated Polish translation and added partial translation of the online help. Thanks to Mateusz Łukasik. * Updated French translation and added partial translation ofthe online help. Thanks to Arnaud Schmittbuhl, Pierre Soulat and Pierre Slamich. * Updated Italian translation and added partial translation of the online help. Thanks to Claudio Arseni. * Updated Catalan translation. Thanks to Marc Coll Carrillo and VPablo. * Updated Czech translation and added translation of the online help. Thanks to Pavel Fric. * Updated Slovak translation and added partial translation of the online help. Thanks to DAG Software. * Updated Portuguese translation. Thanks to Sérgio Marques. * Updated British English translation and added partial translation of the online help. Thanks to fossfreedom and Andi Chandler. * Updated Idonesian translation. Thanks to Trisno Pamuji. * Updated Azerbaijani translation and added partial translation of the online help. Thanks to Rashid Aliyev. * Updated Chinese (Simplified) translation and added partial translation of the online help. Thanks to Xiaoxing Ye. * Updated Hebrew translation. Thanks to Yaron Shahrabani. * Updated German translation and added partial translation of the online help. Thanks to Tobias B. and Benjamin Eltzner. * Added partial Bulgarian translation of the online help. Thanks to Atanas Kovachki. Release 0.4.5: * Fixed an error in drawing the search progress. * Fixed an error preventing the annotation context menu from being displayed. * Fixed decorating links when using Qt5. * Improved the layout of the search widgets. * Added setting to heuristically synchronize the outline view to the current page. * Improved thumbnails layout to change between horizontal and vertical according to dock location. * Updated Malay translation. Thanks to abuyop. * Updated Ukrainian translation. Thanks to Yuri Chornoivan. * Updated Czech translation. Thanks to Pavel Fric. * Updated Italian translation. Thanks to Claudio Arseni. * Updated Slovak translation. Thanks to DAG Software. * Updated German translation. Thanks to A. Kohl. * Updated Bulgarian translation. Thanks to Blagovest Petrov. * Updated French translation. Thanks to Arnaud Schmittbuhl. * Updated Kazakh translation. Thanks to Baurzhan Muftakhidinov. Release 0.4.4: * Improved building on Windows and OS/2 and plug-in handling on all platforms. Thanks to Silvan Scherrer. * Added button to revert only the settings on the current tab of the settings dialog to their defaults. * Added tool tip showing paper size to the thumbnails view. * Added setting for number of entries in the recently used list. * Updated Russian translation. Thanks to Kyrill Detinov and Rashid Aliyev. * Updated Azerbaijani translation. Thanks to Rashid Aliyev. * Updated Brazilian Portuguese translation. Thanks to Phillipe Smith. * Updated Spanish translation. Thanks to Adolfo Jayme Barrientos. * Updated Slovak translation. Thanks to DAG Software. * Updated Ukrainian translation. Thanks to Yuri Chornoivan. * Updated Esperanto translation. Thanks to Eliovir. * Updated Czech translation. Thanks to Pavel Fric. * Updated Galician translation. Thanks to Marcos Lans. * Updated Romanian translation. Thanks to Vlad Paul Paval. * Updated Malay translation. Thanks to abuyop. * Updated British English translation. Thanks to Andi Chandler. * Updated Italian translation. Thanks to Claudio Arseni. * Updated Polish translation. Thanks to Mateusz Łukasik. * Updated Croatian translation. Thanks to freedomrun. * Updated French translation. Thanks to Teromene. * Added Portuguese translation. Thanks to Sérgio Marques. * Added Kazakh translation. Thanks to Baurzhan Muftakhidinov. Release 0.4.3: * Fixed custom movement shortcuts not being activated after program initialization. * Fixed default scroll area shortcuts not being shadowed completely. * Fixed outline view layout on open and refresh and trying to set resize mode of non-existent outline view columns. * Increased auto-refresh timeout and made auto-refresh and prefetch timeouts configurable. * Improved drawing of search result highlights and added a setting for the highlight color. * Added command-line options '--quiet' and '--help'. * Added support for multiple shortcuts for each action. * Added option to highlight the current thumbnail. * Updated Ukrainian translation. Thanks to Yuri Chornoivan. * Updated Malay translation. Thanks to abuyop. * Updated Slovak translation. Thanks to DAG Software. * Updated Croatian translation. Thanks to freedomrun. * Updated Polish translation. Thanks to Mateusz Łukasik. * Updated Czech translation. Thanks to Pavel Fric. * Updated French translation. Thanks to Hélion du Mas des Bourboux and Dorian. * Updated Catalan translation. Thanks to VPablo. * Updated Hebrew translation. Thanks to Yaron Shahrabani. * Updated Asturian translation. Thanks to Xuacu Saturio. * Updated British English translation. Thanks to Andi Chandler. * Updated Brazilian Portuguese translation. Thanks to Phillipe Smith. * Updated Romanian translation. Thanks to Vlad Paul Paval. * Added Galician translation. Thanks to Marcos Lans and Miguel Anxo Bouzada. Release 0.4.2: * Refactoring to improve code size and quality. * Added restoring and saving of printer settings. * Added command-line option to initiate a search in the current tab. * Added setting to determine the color of annotations added. * Instead of return to page, there is now jump backward and forward. * Added setting to limit thumbnails to search results. * Added setting on where to open new tabs. * Added setting to display the current page in the window title. * Updated Czech translation. Thanks Pavel Fric. * Updated Malay translation. Thanks to abuyop. * Updated French translation. Thanks to Tubuntu and Hélion du Mas des Bourboux. * Updated Ukrainian translation. Thanks to Yuri Chornoivan. * Updated Polish translation. Thanks to isamu715 and Mateusz Łukasik. * Updated Azerbaijani translation. Thanks to Rashid Aliyev. * Updated Romanian translation. Thanks to Vlad Paul Paval. * Updated Bulgarian translation. Thanks to Blagovest Petrov. * Updated Slovak translation. Thanks to DAG Software. * Updated Russian translation. Thanks to Eugene Marshal and Ivlev Denis. * Updated British English translation. Thanks to fossfreedom. * Updated Croatian translation. Thanks to freedomrun and Paolo Pelesk. * Updated Spanish translation. Thanks to Adolfo Jayme Barrientos and Aaron Farias. * Updated Italian translation. Thanks to Claudio Arseni. * Updated Catalan translation. Thanks to VPablo. * Updated Chinese (Simplified) translation. Thanks to Wang Dianjin. * Updated Brazilian Portuguese translation. Thanks to Phillipe Smith. Release 0.4.1: * Added configurable keyboard shortcuts. * Added per-plug-in settings for PDF and PS plug-ins. * Added granular hinting and thin line mode settings for the PDF plug-in. * Added progress and errors icons for page rendering. * Added workaround for overwriting a file with itself using a temporary file. * Added rudimentary text extraction and search support for DjVu documents. * Changed color inversion to be a per-tab property. * Improved rotation and color inversion in the presentation view. * Updated Danish translation. Thanks to Aputsiaq Niels Janussen. * Updated Czech translation. Thanks to Pavel Fric. * Updated Polish translation. Thanks to Mateusz Łukasik and isamu715. * Updated Malay translation. Thanks to abuyop. * Updated Slovak translation. Thanks to DAG Software. * Updated Italian translation. Thanks to Claudio Arseni. * Updated Russian translation. Thanks to Kyrill Detinov. * Updated Brazilian Portuguese translation. Thanks to Phillipe Smith. * Updated Danish translation. Thanks to Aputsiaq Niels Janussen. * Updated French translation. Thanks to Sylvie Gallet and Tubuntu. * Updated Catalan translation. Thanks to VPablo. * Updated Spanish translation. Thanks to Adolfo Jayme Barrientos. * Updated Hebrew translation. Thanks to Yaron Shahrabani. * Updated Ukrainian translation. Thanks to yurchor. * Updated British English translation. Thanks to Andi Chandler. * Added Esperanto translation. Thanks to Donald Rogers. * Added Bulgarian translation. Thanks to Atanas Kovachki and Blagovest Petrov. * Added partial Azerbaijani translation. Thanks to Rashid Aliyev.
Diffstat (limited to 'print')
-rw-r--r--print/qpdfview/Makefile7
-rw-r--r--print/qpdfview/PLIST69
-rw-r--r--print/qpdfview/distinfo13
-rw-r--r--print/qpdfview/patches/patch-application.pro79
-rw-r--r--print/qpdfview/patches/patch-qpdfview.pri20
5 files changed, 143 insertions, 45 deletions
diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile
index ca8558adec5..5fabdba650d 100644
--- a/print/qpdfview/Makefile
+++ b/print/qpdfview/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2016/03/05 11:29:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.30 2016/03/09 17:45:51 nros Exp $
-VER= 0.4
+VER= 0.4.16
DISTNAME= qpdfview-${VER}
-PKGREVISION= 20
CATEGORIES= print
MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/
@@ -29,6 +28,8 @@ do-configure:
${QTDIR}/bin/qmake qpdfview.pro
.include "../../graphics/djvulibre-lib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
.include "../../print/cups15/buildlink3.mk"
.include "../../print/libspectre/buildlink3.mk"
.include "../../print/poppler-qt4/buildlink3.mk"
diff --git a/print/qpdfview/PLIST b/print/qpdfview/PLIST
index 344852df3a6..2b225908dd8 100644
--- a/print/qpdfview/PLIST
+++ b/print/qpdfview/PLIST
@@ -1,37 +1,46 @@
-@comment $NetBSD: PLIST,v 1.2 2013/02/25 21:36:51 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/03/09 17:45:51 nros Exp $
bin/qpdfview
lib/qpdfview/libqpdfview_djvu.la
+lib/qpdfview/libqpdfview_image.la
lib/qpdfview/libqpdfview_pdf.la
lib/qpdfview/libqpdfview_ps.la
man/man1/qpdfview.1
+share/appdata/qpdfview.appdata.xml
share/applications/qpdfview.desktop
+share/icons/hicolor/128x128/apps/qpdfview.png
+share/icons/hicolor/160x160/apps/qpdfview.png
+share/icons/hicolor/16x16/apps/qpdfview.png
+share/icons/hicolor/192x192/apps/qpdfview.png
+share/icons/hicolor/22x22/apps/qpdfview.png
+share/icons/hicolor/24x24/apps/qpdfview.png
+share/icons/hicolor/256x256/apps/qpdfview.png
+share/icons/hicolor/32x32/apps/qpdfview.png
+share/icons/hicolor/36x36/apps/qpdfview.png
+share/icons/hicolor/48x48/apps/qpdfview.png
+share/icons/hicolor/64x64/apps/qpdfview.png
+share/icons/hicolor/72x72/apps/qpdfview.png
+share/icons/hicolor/96x96/apps/qpdfview.png
+share/icons/hicolor/scalable/apps/qpdfview.svg
share/qpdfview/help.html
-share/qpdfview/qpdfview.svg
-share/qpdfview/qpdfview_ast.qm
-share/qpdfview/qpdfview_bs.qm
-share/qpdfview/qpdfview_ca.qm
-share/qpdfview/qpdfview_cs.qm
-share/qpdfview/qpdfview_da.qm
-share/qpdfview/qpdfview_de.qm
-share/qpdfview/qpdfview_el.qm
-share/qpdfview/qpdfview_en_GB.qm
-share/qpdfview/qpdfview_es.qm
-share/qpdfview/qpdfview_eu.qm
-share/qpdfview/qpdfview_fi.qm
-share/qpdfview/qpdfview_fr.qm
-share/qpdfview/qpdfview_he.qm
-share/qpdfview/qpdfview_hr.qm
-share/qpdfview/qpdfview_id.qm
-share/qpdfview/qpdfview_it.qm
-share/qpdfview/qpdfview_ky.qm
-share/qpdfview/qpdfview_ms.qm
-share/qpdfview/qpdfview_my.qm
-share/qpdfview/qpdfview_pl.qm
-share/qpdfview/qpdfview_pt_BR.qm
-share/qpdfview/qpdfview_ro.qm
-share/qpdfview/qpdfview_ru.qm
-share/qpdfview/qpdfview_sk.qm
-share/qpdfview/qpdfview_tr.qm
-share/qpdfview/qpdfview_ug.qm
-share/qpdfview/qpdfview_uk.qm
-share/qpdfview/qpdfview_zh_CN.qm
+share/qpdfview/help_az.html
+share/qpdfview/help_bg.html
+share/qpdfview/help_cs.html
+share/qpdfview/help_de.html
+share/qpdfview/help_en_GB.html
+share/qpdfview/help_es.html
+share/qpdfview/help_fa.html
+share/qpdfview/help_fi.html
+share/qpdfview/help_fr.html
+share/qpdfview/help_gl.html
+share/qpdfview/help_it.html
+share/qpdfview/help_ko.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_sv.html
+share/qpdfview/help_uk.html
+share/qpdfview/help_vi.html
+share/qpdfview/help_zh_CN.html
diff --git a/print/qpdfview/distinfo b/print/qpdfview/distinfo
index 646ec9afc55..f91842720b1 100644
--- a/print/qpdfview/distinfo
+++ b/print/qpdfview/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:01:39 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/03/09 17:45:51 nros Exp $
-SHA1 (qpdfview-0.4.tar.gz) = 6598a9f863a247b544c3a8a068aa14ab4ef85c8f
-RMD160 (qpdfview-0.4.tar.gz) = 72f211cbba8a6c2abfb326dbd810786a567a2475
-SHA512 (qpdfview-0.4.tar.gz) = da25a10e6e76a6334d403b65b066fc5749fc8430761d90979efe091557097375216b823fe2e6703cc59abd5ae397d9e86b6ccb5a24aaa860cca661d5de65f72d
-Size (qpdfview-0.4.tar.gz) = 396479 bytes
-SHA1 (patch-qpdfview.pri) = ba8d5058c73120d8b297915e67a64de3ba8024d3
+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) = 8d43bc2009d5ce5f6fffdebfb5c4dd5be42a72e6
diff --git a/print/qpdfview/patches/patch-application.pro b/print/qpdfview/patches/patch-application.pro
new file mode 100644
index 00000000000..bebd880fd25
--- /dev/null
+++ b/print/qpdfview/patches/patch-application.pro
@@ -0,0 +1,79 @@
+$NetBSD: patch-application.pro,v 1.1 2016/03/09 17:45:52 nros 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
+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
+
+ system("sed -e \"s:DATA_INSTALL_PATH:$${DATA_INSTALL_PATH}:\" -e \"s:MIME_TYPES:$$join(MIME_TYPES,";","",";"):\" $${DESKTOP_FILE}.in > $${DESKTOP_FILE}")
+
++iconsizes = 16 22 24 32 36 48 64 72 96 128 160 192 256
++
++system(mkdir tmp)
++for(size, iconsizes) {
++ system(mkdir tmp/$${size})
++ system(rsvg-convert -w $${size} -h $${size} -f png -o tmp/$${size}/qpdfview.png icons/qpdfview.svg)
++}
+
+ target.path = $${TARGET_INSTALL_PATH}
+
+@@ -264,7 +271,46 @@ manual.files = miscellaneous/qpdfview.1
+ manual.path = $${MANUAL_INSTALL_PATH}
+
+ icon.files = icons/qpdfview.svg
+-icon.path = $${ICON_INSTALL_PATH}
++icon.path = $${ICON_INSTALL_PATH}/scalable/apps
++
++icon16.files = tmp/16/qpdfview.png
++icon16.path = $${ICON_INSTALL_PATH}/16x16/apps
++
++icon22.files = tmp/22/qpdfview.png
++icon22.path = $${ICON_INSTALL_PATH}/22x22/apps
++
++icon24.files = tmp/24/qpdfview.png
++icon24.path = $${ICON_INSTALL_PATH}/24x24/apps
++
++icon32.files = tmp/32/qpdfview.png
++icon32.path = $${ICON_INSTALL_PATH}/32x32/apps
++
++icon36.files = tmp/36/qpdfview.png
++icon36.path = $${ICON_INSTALL_PATH}/36x36/apps
++
++icon48.files = tmp/48/qpdfview.png
++icon48.path = $${ICON_INSTALL_PATH}/48x48/apps
++
++icon64.files = tmp/64/qpdfview.png
++icon64.path = $${ICON_INSTALL_PATH}/64x64/apps
++
++icon72.files = tmp/72/qpdfview.png
++icon72.path = $${ICON_INSTALL_PATH}/72x72/apps
++
++icon96.files = tmp/96/qpdfview.png
++icon96.path = $${ICON_INSTALL_PATH}/96x96/apps
++
++icon128.files = tmp/128/qpdfview.png
++icon128.path = $${ICON_INSTALL_PATH}/128x128/apps
++
++icon160.files = tmp/160/qpdfview.png
++icon160.path = $${ICON_INSTALL_PATH}/160x160/apps
++
++icon192.files = tmp/192/qpdfview.png
++icon192.path = $${ICON_INSTALL_PATH}/192x192/apps
++
++icon256.files = tmp/256/qpdfview.png
++icon256.path = $${ICON_INSTALL_PATH}/256x256/apps
+
+ launcher.files = $${DESKTOP_FILE}
+ launcher.path = $${LAUNCHER_INSTALL_PATH}
+@@ -273,6 +319,8 @@ appdata.files = $${APPDATA_FILE}
+ appdata.path = $${APPDATA_INSTALL_PATH}
+
+ INSTALLS += target data manual icon launcher appdata
++INSTALLS += icon16 icon22 icon24 icon32 icon36 icon48 icon64 icon72
++INSTALLS += icon96 icon128 icon160 icon192 icon256
+
+ INCLUDEPATH += icons
+ win32:RC_FILE = icons/qpdfview_win32.rc
diff --git a/print/qpdfview/patches/patch-qpdfview.pri b/print/qpdfview/patches/patch-qpdfview.pri
index 3956d255b63..3d1d32e8457 100644
--- a/print/qpdfview/patches/patch-qpdfview.pri
+++ b/print/qpdfview/patches/patch-qpdfview.pri
@@ -1,18 +1,26 @@
-$NetBSD: patch-qpdfview.pri,v 1.2 2013/02/25 21:36:51 ryoon Exp $
+$NetBSD: patch-qpdfview.pri,v 1.3 2016/03/09 17:45:52 nros Exp $
* Set install places
---- qpdfview.pri.orig 2013-02-16 12:42:07.000000000 +0000
+--- qpdfview.pri.orig 2015-11-14 20:48:59.000000000 +0000
+++ qpdfview.pri
-@@ -1,6 +1,5 @@
+@@ -1,12 +1,12 @@
+ isEmpty(APPLICATION_VERSION):APPLICATION_VERSION = 0.4.16
+
-isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = /usr/bin
-isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = /usr/lib/qpdfview
-isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = /usr/share/qpdfview
--isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = /usr/share/applications
-isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = /usr/share/man/man1
--
+-isEmpty(ICON_INSTALL_PATH):ICON_INSTALL_PATH = /usr/share/icons/hicolor/scalable/apps
+-isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = /usr/share/applications
+-isEmpty(APPDATA_INSTALL_PATH):APPDATA_INSTALL_PATH = /usr/share/appdata
+isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = @DESTDIR@@PREFIX@/bin
+isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = @DESTDIR@@PREFIX@/lib/qpdfview
+isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = @DESTDIR@@PREFIX@/share/qpdfview
-+isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = @DESTDIR@@PREFIX@/share/applications
+isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = @DESTDIR@@PREFIX@/@PKGMANDIR@/man1
++isEmpty(ICON_INSTALL_PATH):ICON_INSTALL_PATH = @DESTDIR@@PREFIX@/share/icons/hicolor
++isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = @DESTDIR@@PREFIX@/share/applications
++isEmpty(APPDATA_INSTALL_PATH):APPDATA_INSTALL_PATH = @DESTDIR@@PREFIX@/share/appdata
+
+ win32:include(qpdfview_win32.pri)
+ os2:include(qpdfview_os2.pri)