From 2052f87890ae5cbc17a1354f776da0faf9d3b495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Fri, 15 Jan 2016 14:49:28 +0100 Subject: [PATCH] Re-enable synctex support via libsynctex --- zathura-0.3.4-no-synctex.patch | 15 --------------- zathura.spec | 8 +++++--- 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 zathura-0.3.4-no-synctex.patch diff --git a/zathura-0.3.4-no-synctex.patch b/zathura-0.3.4-no-synctex.patch deleted file mode 100644 index 7c98986..0000000 --- a/zathura-0.3.4-no-synctex.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/zathura/main.c b/zathura/main.c -index 060382a..1c5b73e 100644 ---- a/zathura/main.c -+++ b/zathura/main.c -@@ -135,10 +135,8 @@ main(int argc, char* argv[]) - gchar* plugin_path = NULL; - gchar* loglevel = NULL; - gchar* password = NULL; --#ifdef WITH_SYNCTEX - gchar* synctex_editor = NULL; - gchar* synctex_fwd = NULL; --#endif - gchar* mode = NULL; - bool forkback = false; - bool print_version = false; diff --git a/zathura.spec b/zathura.spec index a4d501d..94a8f31 100644 --- a/zathura.spec +++ b/zathura.spec @@ -1,12 +1,11 @@ Name: zathura Version: 0.3.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight document viewer Group: Applications/Publishing License: zlib URL: http://pwmt.org/projects/%{name}/ Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz -Patch0: %{name}-0.3.4-no-synctex.patch BuildRequires: binutils BuildRequires: coreutils BuildRequires: desktop-file-utils @@ -22,6 +21,7 @@ BuildRequires: pkgconfig(gmodule-no-export-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(synctex) BuildRequires: pkgconfig(zlib) Requires(post): glibc Requires(post): desktop-file-utils @@ -67,7 +67,6 @@ This package installs all available Zathura plugins. %setup -q # don't rebuild at install time sed -ie "s/install:\ all/install:\ /g" Makefile -%patch0 -p1 %build export CFLAGS="%{optflags}" @@ -110,6 +109,9 @@ update-desktop-database &> /dev/null || : %files plugins-all %changelog +* Fri Jan 15 2016 Petr Šabata - 0.3.4-2 +- Re-enable synctex support via libsynctex + * Mon Dec 21 2015 Petr Šabata - 0.3.4-1 - 0.3.4 bump