pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zathura: Import zathura-0.4.1 as wip/zathura
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Sep 27 12:48:05 2018 +0200
Changeset: 9039cc5598191308907d714e4f949b369ae27ac6
Modified Files:
Makefile
Added Files:
zathura/DESCR
zathura/Makefile
zathura/PLIST
zathura/buildlink3.mk
zathura/distinfo
zathura/patches/patch-doc_meson.build
zathura/patches/patch-zathura_database-plain.c
Log Message:
zathura: Import zathura-0.4.1 as wip/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.
Based on print/zathura and intended to be used to update it.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9039cc5598191308907d714e4f949b369ae27ac6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
zathura/DESCR | 5 ++++
zathura/Makefile | 26 +++++++++++++++++
zathura/PLIST | 40 ++++++++++++++++++++++++++
zathura/buildlink3.mk | 16 +++++++++++
zathura/distinfo | 8 ++++++
zathura/patches/patch-doc_meson.build | 12 ++++++++
zathura/patches/patch-zathura_database-plain.c | 16 +++++++++++
8 files changed, 124 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 75fc91f2f2..f8f5486284 100644
--- a/Makefile
+++ b/Makefile
@@ -4856,6 +4856,7 @@ SUBDIR+= yp-tools
SUBDIR+= ypbind-mt
SUBDIR+= ypserv
SUBDIR+= zapping
+SUBDIR+= zathura
SUBDIR+= zbackup
SUBDIR+= zbar
SUBDIR+= zenity
diff --git a/zathura/DESCR b/zathura/DESCR
new file mode 100644
index 0000000000..bf504a5f1c
--- /dev/null
+++ b/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/zathura/Makefile b/zathura/Makefile
new file mode 100644
index 0000000000..b35fe1d5e0
--- /dev/null
+++ b/zathura/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.20 2018/07/20 03:34:26 ryoon Exp $
+
+DISTNAME= zathura-0.4.1
+CATEGORIES= print
+MASTER_SITES= https://pwmt.org/projects/zathura/download/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= leot%NetBSD.org@localhost
+HOMEPAGE= https://pwmt.org/projects/zathura/
+COMMENT= PDF viewer with vi-like keybindings
+LICENSE= zlib
+
+USE_TOOLS+= pkg-config
+
+# XXX: msgfmt needs to support `--xml', always use the one from pkgsrc
+TOOL_DEPENDS+= gettext-tools>=0.15:../../devel/gettext-tools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/py-meson/build.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../wip/girara/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../sysutils/file/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/zathura/PLIST b/zathura/PLIST
new file mode 100644
index 0000000000..06fedc7365
--- /dev/null
+++ b/zathura/PLIST
@@ -0,0 +1,40 @@
+@comment $NetBSD$
+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/zathura-version.h
+lib/pkgconfig/zathura.pc
+man/man1/zathura.1
+man/man5/zathurarc.5
+share/applications/org.pwmt.zathura.desktop
+share/bash-completion/completions/zathura
+share/dbus-1/interfaces/org.pwmt.zathura.xml
+share/icons/hicolor/128x128/apps/org.pwmt.zathura.png
+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/nl/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
+share/metainfo/org.pwmt.zathura.appdata.xml
+share/zsh/vendor-completions/_zathura
diff --git a/zathura/buildlink3.mk b/zathura/buildlink3.mk
new file mode 100644
index 0000000000..73d2fbe1f0
--- /dev/null
+++ b/zathura/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.7 2018/04/16 14:33:55 wiz 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.3.8nb3
+BUILDLINK_PKGSRCDIR.zathura?= ../../wip/zathura
+
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../wip/girara/buildlink3.mk"
+.endif # ZATHURA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -zathura
diff --git a/zathura/distinfo b/zathura/distinfo
new file mode 100644
index 0000000000..49dab6c2b1
--- /dev/null
+++ b/zathura/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.6 2018/01/07 12:57:59 leot Exp $
+
+SHA1 (zathura-0.4.1.tar.xz) = bbf056b3f93e56ce679f165c9bab1d38816d8be5
+RMD160 (zathura-0.4.1.tar.xz) = 0c1985fe32dbf98b8c0409b73ed63698db20a5be
+SHA512 (zathura-0.4.1.tar.xz) = 370e7fa12a3a3a2a973870a99f7b2b910c808d6932c1de9093630d7e8bd7d97feb4b7df713e9ac33c7927849b63174a899ce6eaa60db89b1c47d6e13ef181ad6
+Size (zathura-0.4.1.tar.xz) = 148592 bytes
+SHA1 (patch-doc_meson.build) = 3a783569c5367ab31cf21911422b6aec7c19a0a1
+SHA1 (patch-zathura_database-plain.c) = 28b107ce014947dfb90377268ee0fc6cba3d2b4f
diff --git a/zathura/patches/patch-doc_meson.build b/zathura/patches/patch-doc_meson.build
new file mode 100644
index 0000000000..95a0ed2bde
--- /dev/null
+++ b/zathura/patches/patch-doc_meson.build
@@ -0,0 +1,12 @@
+$NetBSD$
+
+Also search for versioned sphinx-build-s.
+
+--- doc/meson.build.orig 2018-09-20 19:23:16.000000000 +0000
++++ doc/meson.build
+@@ -1,4 +1,4 @@
+-sphinx = find_program('sphinx-build')
++sphinx = find_program('sphinx-build', 'sphinx-build2.7', 'sphinx-build3.7', 'sphinx-build3.6', 'sphinx-build3.4', 'sphinx-build3.5')
+ custom_target('man pages',
+ command: [
+ sphinx,
diff --git a/zathura/patches/patch-zathura_database-plain.c b/zathura/patches/patch-zathura_database-plain.c
new file mode 100644
index 0000000000..b28b9260b9
--- /dev/null
+++ b/zathura/patches/patch-zathura_database-plain.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-zathura_database-plain.c,v 1.1 2016/02/17 09:43:24 leot Exp $
+
+Correctly define _POSIX_SOURCE and bump _XOPEN_SOURCE.
+
+--- zathura/database-plain.c.orig 2015-12-21 10:19:18.000000000 +0000
++++ zathura/database-plain.c
+@@ -1,7 +1,7 @@
+ /* See LICENSE file for license and copyright information */
+
+-#define _POSIX_SOURCE
+-#define _XOPEN_SOURCE 500
++#define _POSIX_SOURCE 1
++#define _XOPEN_SOURCE 700
+
+ #include <glib.h>
+ #include <stdlib.h>
Home |
Main Index |
Thread Index |
Old Index