zathura: update to 0.3.5.

This commit is contained in:
Dominik Honnef 2016-03-04 12:14:49 +01:00
parent 3e9f3a9dcb
commit 3d89841009
2 changed files with 2 additions and 55 deletions

View File

@ -1,53 +0,0 @@
From 5b3c183a9f8edf778f405f5da9b1ef8384775852 Mon Sep 17 00:00:00 2001
From: Jan Palus <jan.palus@gmail.com>
Date: Mon, 28 Dec 2015 22:19:07 +0100
Subject: [PATCH] fix build without synctex
---
zathura/main.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/zathura/main.c b/zathura/main.c
index 060382a..3278dbe 100644
--- zathura/main.c
+++ zathura/main.c
@@ -84,12 +84,14 @@ run_synctex_forward(const char* synctex_fwd, const char* filename,
static zathura_t*
init_zathura(const char* config_dir, const char* data_dir,
- const char* cache_dir, const char* plugin_path, char** argv,
+ const char* cache_dir, const char* plugin_path, char** argv
+#ifdef WITH_SYNCTEX
+ , char* synctex_editor
+#endif
#ifdef GDK_WINDOWING_X11
- char* synctex_editor, Window embed)
-#else
- char* synctex_editor)
+ , Window embed
#endif
+ )
{
/* create zathura session */
zathura_t* zathura = zathura_create();
@@ -250,11 +252,14 @@ main(int argc, char* argv[])
/* Create zathura session */
zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir,
+ plugin_path, argv
+#ifdef WITH_SYNCTEX
+ , synctex_editor
+#endif
#ifdef GDK_WINDOWING_X11
- plugin_path, argv, synctex_editor, embed);
-#else
- plugin_path, argv, synctex_editor);
+ , embed
#endif
+ );
if (zathura == NULL) {
girara_error("Could not initialize zathura.");
return -1;
--
libgit2 0.23.3

View File

@ -1,6 +1,6 @@
# Template file for 'zathura'
pkgname=zathura
version=0.3.4
version=0.3.5
revision=1
build_style=gnu-makefile
# COLOR=0 to avoid "tput not found" spam in the build output
@ -13,7 +13,7 @@ license="zlib"
homepage="http://pwmt.org/projects/zathura/installation/"
short_desc="A highly customizable and functional document viewer"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=52c4a3efc5843ce7c720ea7357667699363c809fd34ada4cb350d0e1031d0234
checksum=2a71b5d49fa70c01535869f4642bc379bf4c182a97b01e2d09b81800426e330c
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk