Sun Feb 14 13:43:21 2016 UTC ()
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@.


(leot)
diff -r0 -r1.1 pkgsrc/print/zathura/DESCR
diff -r0 -r1.1 pkgsrc/print/zathura/Makefile
diff -r0 -r1.1 pkgsrc/print/zathura/PLIST
diff -r0 -r1.1 pkgsrc/print/zathura/buildlink3.mk
diff -r0 -r1.1 pkgsrc/print/zathura/distinfo
diff -r0 -r1.1 pkgsrc/print/zathura/patches/patch-zathura_main.c

File Added: pkgsrc/print/zathura/DESCR
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.

File Added: pkgsrc/print/zathura/Makefile
# $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"

File Added: pkgsrc/print/zathura/PLIST
@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

File Added: pkgsrc/print/zathura/buildlink3.mk
# $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

File Added: pkgsrc/print/zathura/distinfo
$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

File Added: pkgsrc/print/zathura/patches/Attic/patch-zathura_main.c
$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;