[atril] 04/05: debian/patches: Add 0001_thumbnailer-skip-epub-files.patch. Fix crashes caused by thumbnailer when processing epub files. (LP:#1540018).

Mike Gabriel sunweaver at debian.org
Tue Jan 24 09:44:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository atril.

commit 49655ef619bb6861209668e0e9cf1a34200d2e3e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jan 24 10:41:55 2017 +0100

    debian/patches: Add 0001_thumbnailer-skip-epub-files.patch. Fix crashes caused by thumbnailer when processing epub files. (LP:#1540018).
---
 .../patches/0001_thumbnailer-skip-epub-files.patch | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0001_thumbnailer-skip-epub-files.patch b/debian/patches/0001_thumbnailer-skip-epub-files.patch
new file mode 100644
index 0000000..6a0ca9d
--- /dev/null
+++ b/debian/patches/0001_thumbnailer-skip-epub-files.patch
@@ -0,0 +1,23 @@
+From b479e541d113881b10ef7c0641688d62600c79a9 Mon Sep 17 00:00:00 2001
+From: monsta <monsta at inbox.ru>
+Date: Mon, 31 Oct 2016 11:49:47 +0300
+Subject: [PATCH] thumbnailer: skip epub files
+
+temporary workaround for stupid segfaults - until we implement
+proper thumbnailing in epub backend
+---
+ thumbnailer/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am
+index 27ab020..0f01eeb 100644
+--- a/thumbnailer/Makefile.am
++++ b/thumbnailer/Makefile.am
+@@ -33,6 +33,7 @@ thumbnailer_DATA = $(thumbnailer_in_files:.thumbnailer.in=.thumbnailer)
+ atril.thumbnailer: $(thumbnailer_in_files)
+    $(AM_V_GEN)sed \
+	-e "s|\@ATRIL_MIME_TYPES\@|$(ATRIL_MIME_TYPES)|" \
++		-e "s|application/epub+zip;||" \
+	$< > $@
+ 
+ EXTRA_DIST =         	\
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bdb8df1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_thumbnailer-skip-epub-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/atril.git



More information about the pkg-mate-commits mailing list