summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-01-03 13:38:55 +0000
committerryoon <ryoon@pkgsrc.org>2013-01-03 13:38:55 +0000
commit03d893a7b7ef73d686b2fb5e7ebabb4b267888d1 (patch)
tree8101b4fc60bb32f99f422fd1e721e78e9c77ab7a /print
parent7b5f56912d30531dd1740f426a3a09e52c890311 (diff)
downloadpkgsrc-03d893a7b7ef73d686b2fb5e7ebabb4b267888d1.tar.gz
Import qpdfview-0.3.7 as print/qpdfview.
qpdfview uses the Poppler library for rendering and CUPS for printing. It provides a clear and simple graphical user interface using the Qt framework. Current features include: * Outline, properties and thumbnail panes * Scale, rotate and fit * Fullscreen and presentation views * Continuous and multiple-page layouts * Search for text * Configurable tool bars * Persistent per-file settings * SyncTeX support * Rudimentary annotation support (with Poppler version 0.20.1 or higher) * Rudimentary form support
Diffstat (limited to 'print')
-rw-r--r--print/qpdfview/DESCR15
-rw-r--r--print/qpdfview/Makefile38
-rw-r--r--print/qpdfview/PLIST33
-rw-r--r--print/qpdfview/distinfo6
-rw-r--r--print/qpdfview/patches/patch-qpdfview.pri15
5 files changed, 107 insertions, 0 deletions
diff --git a/print/qpdfview/DESCR b/print/qpdfview/DESCR
new file mode 100644
index 00000000000..657c9afd2ce
--- /dev/null
+++ b/print/qpdfview/DESCR
@@ -0,0 +1,15 @@
+qpdfview uses the Poppler library for rendering and CUPS for
+printing. It provides a clear and simple graphical user interface
+using the Qt framework.
+
+Current features include:
+* Outline, properties and thumbnail panes
+* Scale, rotate and fit
+* Fullscreen and presentation views
+* Continuous and multiple-page layouts
+* Search for text
+* Configurable tool bars
+* Persistent per-file settings
+* SyncTeX support
+* Rudimentary annotation support (with Poppler version 0.20.1 or higher)
+* Rudimentary form support
diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile
new file mode 100644
index 00000000000..95ae2c724d8
--- /dev/null
+++ b/print/qpdfview/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+#
+
+VER= 0.3.7
+DISTNAME= qpdfview-${VER}
+CATEGORIES= print
+MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= https://launchpad.net/qpdfview
+COMMENT= Tabbed PDF viewer
+LICENSE= gnu-gpl-v2
+
+# Force using "curl" for fetching the distribution file. It is only available
+# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
+FETCH_USING= curl
+
+DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_MESSAGE.prefix= Fix install path
+SUBST_FILES.prefix+= qpdfview.pri
+SUBST_VARS.prefix+= DESTDIR PREFIX PKGMANDIR
+
+USE_LANGUAGES= c c++
+
+do-configure:
+ cd ${WRKSRC} && QTDIR=${QTDIR} \
+ ${QTDIR}/bin/qmake qpdfview.pro
+
+.include "../../print/cups/buildlink3.mk"
+.include "../../print/poppler-qt4/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-qdbus/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/qpdfview/PLIST b/print/qpdfview/PLIST
new file mode 100644
index 00000000000..139ed0548f0
--- /dev/null
+++ b/print/qpdfview/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+bin/qpdfview
+man/man1/qpdfview.1
+share/applications/qpdfview.desktop
+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_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
diff --git a/print/qpdfview/distinfo b/print/qpdfview/distinfo
new file mode 100644
index 00000000000..ece7b02e58f
--- /dev/null
+++ b/print/qpdfview/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+
+SHA1 (qpdfview-0.3.7.tar.gz) = 1b5012b1602837e9709d562e168d3c9fff4a3076
+RMD160 (qpdfview-0.3.7.tar.gz) = b8b200baed6fbca53d9ed7fcbf3d33e9c16f37f4
+Size (qpdfview-0.3.7.tar.gz) = 385833 bytes
+SHA1 (patch-qpdfview.pri) = 5275448accbd24f190f09e6cf29f16924fee13b6
diff --git a/print/qpdfview/patches/patch-qpdfview.pri b/print/qpdfview/patches/patch-qpdfview.pri
new file mode 100644
index 00000000000..6c6cb7d1776
--- /dev/null
+++ b/print/qpdfview/patches/patch-qpdfview.pri
@@ -0,0 +1,15 @@
+$NetBSD: patch-qpdfview.pri,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+
+* Set install places
+
+--- qpdfview.pri.orig 2012-12-29 16:48:33.000000000 +0000
++++ qpdfview.pri
+@@ -1,4 +1,4 @@
+-TARGET_INSTALL_PATH = /usr/bin
+-DATA_INSTALL_PATH = /usr/share/qpdfview
+-LAUNCHER_INSTALL_PATH = /usr/share/applications
+-MANUAL_INSTALL_PATH = /usr/share/man/man1
++TARGET_INSTALL_PATH = @DESTDIR@@PREFIX@/bin
++DATA_INSTALL_PATH = @DESTDIR@@PREFIX@/share/qpdfview
++LAUNCHER_INSTALL_PATH = @DESTDIR@@PREFIX@/share/applications
++MANUAL_INSTALL_PATH = @DESTDIR@@PREFIX@/@PKGMANDIR@/man1