diff options
author | leot <leot> | 2016-02-14 13:43:21 +0000 |
---|---|---|
committer | leot <leot> | 2016-02-14 13:43:21 +0000 |
commit | bc854aeea71e91e1f872c48f9b78320308ba255d (patch) | |
tree | 0d8a619b749ff3fe8ae8e5931e54b48d4c1ae808 /print | |
parent | 0cf711e51385c76adb2abbc1e23d397472ca6557 (diff) | |
download | pkgsrc-bc854aeea71e91e1f872c48f9b78320308ba255d.tar.gz |
Import zathura-0.3.4 as print/zathura.
zathura is a highly customizable and functional PDF viewer based
on the poppler rendering library and the gtk+ toolkit. The idea
behind zathura is an application that provides a minimalistic and
space saving interface as well as an easy usage that mainly focuses
on keyboard interaction.
Initially packaged in pkgsrc-wip by bodie and updated by degroote@ and myself.
Discussed and ok degroote@.
Diffstat (limited to 'print')
-rw-r--r-- | print/zathura/DESCR | 5 | ||||
-rw-r--r-- | print/zathura/Makefile | 23 | ||||
-rw-r--r-- | print/zathura/PLIST | 36 | ||||
-rw-r--r-- | print/zathura/buildlink3.mk | 16 | ||||
-rw-r--r-- | print/zathura/distinfo | 7 | ||||
-rw-r--r-- | print/zathura/patches/patch-zathura_main.c | 17 |
6 files changed, 104 insertions, 0 deletions
diff --git a/print/zathura/DESCR b/print/zathura/DESCR new file mode 100644 index 00000000000..bf504a5f1cb --- /dev/null +++ b/print/zathura/DESCR @@ -0,0 +1,5 @@ +zathura is a highly customizable and functional PDF viewer based +on the poppler rendering library and the gtk+ toolkit. The idea +behind zathura is an application that provides a minimalistic and +space saving interface as well as an easy usage that mainly focuses +on keyboard interaction. diff --git a/print/zathura/Makefile b/print/zathura/Makefile new file mode 100644 index 00000000000..ed0e2c537d1 --- /dev/null +++ b/print/zathura/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2016/02/14 13:43:21 leot Exp $ + +DISTNAME= zathura-0.3.4 +CATEGORIES= print +MASTER_SITES= http://pwmt.org/projects/zathura/download/ + +MAINTAINER= leot@NetBSD.org +HOMEPAGE= http://pwmt.org/projects/zathura/ +COMMENT= PDF viewer with vi-like keybindings +LICENSE= zlib + +USE_TOOLS+= gmake msgfmt pkg-config +USE_LIBTOOL= yes + +MAKE_ENV+= COLOR=0 +MAKE_ENV+= MANPREFIX=${PREFIX}/${PKGMANDIR} + +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../graphics/girara/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/gtk3/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/zathura/PLIST b/print/zathura/PLIST new file mode 100644 index 00000000000..833201f66ba --- /dev/null +++ b/print/zathura/PLIST @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.1 2016/02/14 13:43:21 leot Exp $ +bin/zathura +include/zathura/document.h +include/zathura/links.h +include/zathura/macros.h +include/zathura/page.h +include/zathura/plugin-api.h +include/zathura/types.h +include/zathura/version.h +lib/pkgconfig/zathura.pc +man/man1/zathura.1 +man/man5/zathurarc.5 +share/appdata/zathura.appdata.xml +share/applications/zathura.desktop +share/dbus-1/interfaces/org.pwmt.zathura.xml +share/locale/ca/LC_MESSAGES/zathura.mo +share/locale/cs/LC_MESSAGES/zathura.mo +share/locale/de/LC_MESSAGES/zathura.mo +share/locale/el/LC_MESSAGES/zathura.mo +share/locale/eo/LC_MESSAGES/zathura.mo +share/locale/es/LC_MESSAGES/zathura.mo +share/locale/es_CL/LC_MESSAGES/zathura.mo +share/locale/et/LC_MESSAGES/zathura.mo +share/locale/fr/LC_MESSAGES/zathura.mo +share/locale/he/LC_MESSAGES/zathura.mo +share/locale/hr/LC_MESSAGES/zathura.mo +share/locale/id_ID/LC_MESSAGES/zathura.mo +share/locale/it/LC_MESSAGES/zathura.mo +share/locale/lt/LC_MESSAGES/zathura.mo +share/locale/no/LC_MESSAGES/zathura.mo +share/locale/pl/LC_MESSAGES/zathura.mo +share/locale/pt_BR/LC_MESSAGES/zathura.mo +share/locale/ru/LC_MESSAGES/zathura.mo +share/locale/ta_IN/LC_MESSAGES/zathura.mo +share/locale/tr/LC_MESSAGES/zathura.mo +share/locale/uk_UA/LC_MESSAGES/zathura.mo diff --git a/print/zathura/buildlink3.mk b/print/zathura/buildlink3.mk new file mode 100644 index 00000000000..ed68e83de97 --- /dev/null +++ b/print/zathura/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/02/14 13:43:21 leot Exp $ + +BUILDLINK_TREE+= zathura + +.if !defined(ZATHURA_BUILDLINK3_MK) +ZATHURA_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.zathura+= zathura>=0.2.1 +BUILDLINK_ABI_DEPENDS.zathura+= zathura>=0.2.1 +BUILDLINK_PKGSRCDIR.zathura?= ../../print/zathura + +.include "../../graphics/cairo/buildlink3.mk" +.include "../../graphics/girara/buildlink3.mk" +.endif # ZATHURA_BUILDLINK3_MK + +BUILDLINK_TREE+= -zathura diff --git a/print/zathura/distinfo b/print/zathura/distinfo new file mode 100644 index 00000000000..8a7ca4a1d8d --- /dev/null +++ b/print/zathura/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2016/02/14 13:43:21 leot Exp $ + +SHA1 (zathura-0.3.4.tar.gz) = d8142ffdd9df8f04619cc823da07afb1f7694270 +RMD160 (zathura-0.3.4.tar.gz) = 0a5061b60300d33710898287824300a13ab8b99a +SHA512 (zathura-0.3.4.tar.gz) = 663a24574838fe6531bf588ec97ed54f3bf3601c6ed11bbcd38347e8fa1876c4cfa964ab7bba70f8afd40dd9d984315b0966546394c0efac00c6fbd9967b77a2 +Size (zathura-0.3.4.tar.gz) = 167584 bytes +SHA1 (patch-zathura_main.c) = 1c9d1c15934846713feb01653d8307b1d608d4f0 diff --git a/print/zathura/patches/patch-zathura_main.c b/print/zathura/patches/patch-zathura_main.c new file mode 100644 index 00000000000..8dbf12169f2 --- /dev/null +++ b/print/zathura/patches/patch-zathura_main.c @@ -0,0 +1,17 @@ +$NetBSD: patch-zathura_main.c,v 1.1 2016/02/14 13:43:21 leot Exp $ + +synctex_editor parameter is passed to init_zathura() inconditionally if +WITH_SYNCTEX (or without). Declare it in both cases. + +--- zathura/main.c.orig 2015-12-21 10:19:18.000000000 +0000 ++++ zathura/main.c +@@ -135,8 +135,8 @@ main(int argc, char* argv[]) + gchar* plugin_path = NULL; + gchar* loglevel = NULL; + gchar* password = NULL; +-#ifdef WITH_SYNCTEX + gchar* synctex_editor = NULL; ++#ifdef WITH_SYNCTEX + gchar* synctex_fwd = NULL; + #endif + gchar* mode = NULL; |