diff options
author | Rémi Vanicat <vanicat@debian.org> | 2016-04-20 00:07:13 +0200 |
---|---|---|
committer | Rémi Vanicat <vanicat@debian.org> | 2016-04-20 00:16:12 +0200 |
commit | 1a4257c6ac17cc641c2c0bb3b0ad02d54f19bae7 (patch) | |
tree | da57aa289a5983a38c56a2b7b80b49df0eaa144b /debian/patches | |
parent | e1b9af59e9828977c785111384bfe366a7c2592a (diff) |
use standard synctex
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0001-Use-debian-libsynctex-dev.patch | 42 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/0001-Use-debian-libsynctex-dev.patch b/debian/patches/0001-Use-debian-libsynctex-dev.patch new file mode 100644 index 0000000..60767c3 --- /dev/null +++ b/debian/patches/0001-Use-debian-libsynctex-dev.patch @@ -0,0 +1,42 @@ +From: =?utf-8?q?R=C3=A9mi_Vanicat?= <vanicat@debian.org> +Date: Tue, 19 Apr 2016 22:38:29 +0200 +Subject: Use debian libsynctex-dev + +--- + server/Makefile.am | 7 +------ + server/epdfinfo.c | 2 +- + 2 files changed, 2 insertions(+), 7 deletions(-) + +diff --git a/server/Makefile.am b/server/Makefile.am +index 43984a7..17dc02f 100644 +--- a/server/Makefile.am ++++ b/server/Makefile.am +@@ -3,14 +3,9 @@ epdfinfo_CFLAGS = -Wall $(glib_CFLAGS) $(poppler_glib_CFLAGS) $(poppler_CFLAGS) + $(png_CFLAGS) + epdfinfo_CXXFLAGS = -Wall $(epdfinfo_CFLAGS) + epdfinfo_LDADD = $(glib_LIBS) $(poppler_glib_LIBS) $(poppler_LIBS) \ +- $(png_LIBS) libsynctex.a $(zlib_LIBS) ++ $(png_LIBS) -lsynctex $(zlib_LIBS) + epdfinfo_SOURCES = epdfinfo.c epdfinfo.h poppler-hack.cc + +-noinst_LIBRARIES = libsynctex.a +-libsynctex_a_SOURCES = synctex_parser.c synctex_parser_utils.c synctex_parser.h \ +- synctex_parser_local.h synctex_parser_utils.h +-libsynctex_a_CFLAGS = -w +- + GITCLEANFILES = Makefile.in aclocal.m4 config.h.in \ + configure depcomp install-sh missing autom4te.cache \ + $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz +diff --git a/server/epdfinfo.c b/server/epdfinfo.c +index 54377a5..6d8fddf 100644 +--- a/server/epdfinfo.c ++++ b/server/epdfinfo.c +@@ -37,7 +37,7 @@ + #include <png.h> + #include <math.h> + #include <regex.h> +-#include "synctex_parser.h" ++#include <synctex/synctex_parser.h> + #include "epdfinfo.h" + + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..885ccc8 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Use-debian-libsynctex-dev.patch |