Re-enable synctex support via libsynctex

epel9
Petr Šabata 9 years ago
parent 88d902d665
commit 2052f87890

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

@ -1,12 +1,11 @@
Name: zathura Name: zathura
Version: 0.3.4 Version: 0.3.4
Release: 1%{?dist} Release: 2%{?dist}
Summary: A lightweight document viewer Summary: A lightweight document viewer
Group: Applications/Publishing Group: Applications/Publishing
License: zlib License: zlib
URL: http://pwmt.org/projects/%{name}/ URL: http://pwmt.org/projects/%{name}/
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz
Patch0: %{name}-0.3.4-no-synctex.patch
BuildRequires: binutils BuildRequires: binutils
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -22,6 +21,7 @@ BuildRequires: pkgconfig(gmodule-no-export-2.0)
BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(synctex)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
Requires(post): glibc Requires(post): glibc
Requires(post): desktop-file-utils Requires(post): desktop-file-utils
@ -67,7 +67,6 @@ This package installs all available Zathura plugins.
%setup -q %setup -q
# don't rebuild at install time # don't rebuild at install time
sed -ie "s/install:\ all/install:\ /g" Makefile sed -ie "s/install:\ all/install:\ /g" Makefile
%patch0 -p1
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
@ -110,6 +109,9 @@ update-desktop-database &> /dev/null || :
%files plugins-all %files plugins-all
%changelog %changelog
* Fri Jan 15 2016 Petr Šabata <contyk@redhat.com> - 0.3.4-2
- Re-enable synctex support via libsynctex
* Mon Dec 21 2015 Petr Šabata <contyk@redhat.com> - 0.3.4-1 * Mon Dec 21 2015 Petr Šabata <contyk@redhat.com> - 0.3.4-1
- 0.3.4 bump - 0.3.4 bump

Loading…
Cancel
Save