--- /dev/null
+--- zathura/main.c.orig 2015-12-28 21:29:43.603042279 +0100
++++ zathura/main.c 2015-12-28 21:34:24.880442191 +0100
+@@ -84,12 +84,14 @@
+
+ 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 @@
+
+ /* 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;
Summary(hu.UTF-8): Egy vi-szerű pdf olvasó
Summary(pl.UTF-8): Czytnik pdf podobny do vi
Name: zathura
-Version: 0.3.3
+Version: 0.3.4
Release: 1
License: BSD-like
Group: Applications
Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.gz
-# Source0-md5: d360252210ce51a29e8d341b1b72a7cc
+# Source0-md5: 64a19c0a78d06e3a8c2098911d59b072
Source1: config.txt
+Patch0: %{name}-no_synctex.patch
URL: http://pwmt.org/projects/zathura
-BuildRequires: girara-devel >= 0.2.4
-BuildRequires: glib2-devel >= 1:2.28.0
-BuildRequires: gtk+3-devel
+BuildRequires: girara-devel >= 0.2.5
+BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gtk+3-devel >= 3.6
BuildRequires: intltool
BuildRequires: libmagic-devel
BuildRequires: pkgconfig
%prep
%setup -q
+%patch0 -p0
cp %{SOURCE1} config.txt
%{__mv} po/id_ID.po po/id.po