summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Vanicat <vanicat@debian.org>2017-09-16 23:01:49 +0200
committerRémi Vanicat <vanicat@debian.org>2017-09-16 23:01:49 +0200
commit3771b0cf307a534b9c3cfa169f0877172f652ba4 (patch)
tree113a00303858c778f3599eea5b58d47dcf39fbd0
parentbdd225ba2e43d906edd0aae2daf4767f77baa411 (diff)
update patches, drop 0002-Look-for-epdfinfo-where-it-is
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches/0001-Use-debian-libsynctex-dev.patch21
-rw-r--r--debian/patches/0002-Look-for-epdfinfo-where-it-is.patch23
-rw-r--r--debian/patches/series1
4 files changed, 9 insertions, 39 deletions
diff --git a/debian/changelog b/debian/changelog
index 4778e0e..ac121dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
emacs-pdf-tools (0.80-1) unstable; urgency=medium
* New upstream released
+ * drop 0002-Look-for-epdfinfo-where-it-is.patch
- -- Rémi Vanicat <vanicat@debian.org> Sat, 16 Sep 2017 22:05:12 +0200
+ -- Rémi Vanicat <vanicat@debian.org> Sat, 16 Sep 2017 23:01:41 +0200
emacs-pdf-tools (0.70-3) unstable; urgency=medium
diff --git a/debian/patches/0001-Use-debian-libsynctex-dev.patch b/debian/patches/0001-Use-debian-libsynctex-dev.patch
index 60767c3..0d18eb3 100644
--- a/debian/patches/0001-Use-debian-libsynctex-dev.patch
+++ b/debian/patches/0001-Use-debian-libsynctex-dev.patch
@@ -3,15 +3,15 @@ Date: Tue, 19 Apr 2016 22:38:29 +0200
Subject: Use debian libsynctex-dev
---
- server/Makefile.am | 7 +------
+ server/Makefile.am | 2 +-
server/epdfinfo.c | 2 +-
- 2 files changed, 2 insertions(+), 7 deletions(-)
+ 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/Makefile.am b/server/Makefile.am
-index 43984a7..17dc02f 100644
+index 2321571..0452257 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
-@@ -3,14 +3,9 @@ epdfinfo_CFLAGS = -Wall $(glib_CFLAGS) $(poppler_glib_CFLAGS) $(poppler_CFLAGS)
+@@ -3,7 +3,7 @@ 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) \
@@ -19,19 +19,12 @@ index 43984a7..17dc02f 100644
+ $(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
+ noinst_LIBRARIES = libsynctex.a
diff --git a/server/epdfinfo.c b/server/epdfinfo.c
-index 54377a5..6d8fddf 100644
+index 86d9200..5bee3dc 100644
--- a/server/epdfinfo.c
+++ b/server/epdfinfo.c
-@@ -37,7 +37,7 @@
+@@ -39,7 +39,7 @@
#include <png.h>
#include <math.h>
#include <regex.h>
diff --git a/debian/patches/0002-Look-for-epdfinfo-where-it-is.patch b/debian/patches/0002-Look-for-epdfinfo-where-it-is.patch
deleted file mode 100644
index f207181..0000000
--- a/debian/patches/0002-Look-for-epdfinfo-where-it-is.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: =?utf-8?q?R=C3=A9mi_Vanicat?= <moi@arkana.lot-of-stuff.info>
-Date: Tue, 18 Oct 2016 17:40:49 +0200
-Subject: Look for epdfinfo where it is.
-
----
- lisp/pdf-info.el | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/lisp/pdf-info.el b/lisp/pdf-info.el
-index 2eea21f..da48192 100644
---- a/lisp/pdf-info.el
-+++ b/lisp/pdf-info.el
-@@ -62,9 +62,7 @@
- :group 'pdf-tools)
-
- (defcustom pdf-info-epdfinfo-program
-- (expand-file-name "epdfinfo"
-- (file-name-directory
-- (or load-file-name default-directory)))
-+ "/usr/bin/epdfinfo"
- "Filename of the epdfinfo executable."
- :group 'pdf-info
- :type '(file :must-match t))
diff --git a/debian/patches/series b/debian/patches/series
index 128cc2b..885ccc8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
0001-Use-debian-libsynctex-dev.patch
-0002-Look-for-epdfinfo-where-it-is.patch