(re-)import zathura/core 0.2.9.

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.

Note that after 0.1.0, zathura was rearchitectured/splitted between
'core' (the viewer itself) and 'plugins' (taking care of the rendering
itself). Users of previous version will need to install
zathura-pdf-poppler or zathura-pdf-mupdf to restore their featureset.

ok ajacoutot@
This commit is contained in:
landry 2014-09-02 13:29:57 +00:00
parent 340f270267
commit cc1a74e789
7 changed files with 140 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/09/02 13:29:57 landry Exp $
V = 0.2.9
COMMENT = pdf viewer with vi-like keybindings
DISTNAME = zathura-${V}
CATEGORIES = textproc x11
HOMEPAGE = http://pwmt.org/projects/zathura/
MODULES = devel/gettext
# MIT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += atk-1.0 c cairo cairo-gobject fontconfig freetype gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 girara-gtk3 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-3 m magic pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pthread sqlite3 z
MASTER_SITES = http://pwmt.org/projects/zathura/download/
BUILD_DEPENDS = textproc/py-docutils
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS = graphics/gdk-pixbuf2 \
devel/libmagic \
x11/girara
MAKE_FLAGS = MANPREFIX=${PREFIX}/man \
DESKTOPPREFIX=${PREFIX}/share/applications \
TPUT=true \
CC="${CC}" \
VERBOSE=1
FAKE_FLAGS = PREFIX=${TRUEPREFIX}
USE_GMAKE = Yes
TEST_DEPENDS = devel/check
TEST_TARGET = test
TEST_IS_INTERACTIVE =X11
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/zathura
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (zathura-0.2.9.tar.gz) = LAcdQD7JNIuDlWeyiXhQvynZwkyFmCtVCaGkKacu4J8=
SIZE (zathura-0.2.9.tar.gz) = 196690

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2014/09/02 13:29:57 landry Exp $
--- Makefile.orig Tue Jun 24 22:31:41 2014
+++ Makefile Tue Aug 26 23:20:25 2014
@@ -148,7 +148,7 @@ gdb: debug
$(QUIET)cgdb ${PROJECT}-debug
test: ${OBJECTS}
- $(QUIET)make -C tests run
+ $(QUIET)${MAKE} -C tests run
dist: clean build-manpages
$(QUIET)tar -czf $(TARFILE) --exclude=.gitignore \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tests_Makefile,v 1.1.1.1 2014/09/02 13:29:57 landry Exp $
--- tests/Makefile.orig Tue Jun 24 22:31:41 2014
+++ tests/Makefile Tue Aug 26 23:20:25 2014
@@ -47,7 +47,7 @@ options:
$(QUIET)${CC} -c -I.. ${CPPFLAGS} ${CFLAGS} -o $@ $< -MMD -MF .depend/$@.dep
${PROJECT}: options ${OBJECTS}
- $(QUIET)make -C ..
+ $(QUIET)${MAKE} -C ..
$(ECHO) CC -o $@
$(QUIET)${CC} ${SFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${ZOBJECTS} ${LIBS}

View File

@ -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.

View File

@ -0,0 +1,53 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/09/02 13:29:57 landry Exp $
@conflict zathura-<=0.0.8.5p1
@pkgpath textproc/zathura
@bin bin/zathura
include/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
lib/zathura/
@man man/man1/zathura.1
@man man/man5/zathurarc.5
share/applications/zathura.desktop
share/dbus-1/
share/dbus-1/interfaces/
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/
share/locale/es_CL/LC_MESSAGES/
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/
share/locale/id_ID/LC_MESSAGES/
share/locale/id_ID/LC_MESSAGES/zathura.mo
share/locale/it/LC_MESSAGES/zathura.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
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/
share/locale/ta_IN/LC_MESSAGES/
share/locale/ta_IN/LC_MESSAGES/zathura.mo
share/locale/tr/LC_MESSAGES/zathura.mo
share/locale/uk_UA/
share/locale/uk_UA/LC_MESSAGES/
share/locale/uk_UA/LC_MESSAGES/zathura.mo
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database

View File

@ -0,0 +1,11 @@
$OpenBSD: README,v 1.1.1.1 2014/09/02 13:29:57 landry Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
With version 0.1.0, zathura has been rearchitectured to use plugins to
handle various file types. If you want to view PDF files, you'll need
to install either zathura-pdf-poppler or zathura-pdf-mupdf. Similarly,
you can install zathura-cb for comicbook support, zathura-djvu to view
DJVU files, and zathura-ps to view PostScript files.