[DRE-commits] [ruby-gnome2] 03/04: Apply patch to fix FTBFS with poppler 0.39.0

zeha at debian.org zeha at debian.org
Sun May 1 21:31:25 UTC 2016


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

zeha pushed a commit to branch master
in repository ruby-gnome2.

commit 61310fe7f31c6078c307189767c838f76406e1f9
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Sun May 1 21:10:55 2016 +0000

    Apply patch to fix FTBFS with poppler 0.39.0
    
    Closes: #812677
    Thanks: Pino Toscano <pino at debian.org>
---
 ...ove-needless-POPPLER_TYPE_ORIENTATION-bin.patch | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/0001-poppler-remove-needless-POPPLER_TYPE_ORIENTATION-bin.patch b/debian/patches/0001-poppler-remove-needless-POPPLER_TYPE_ORIENTATION-bin.patch
new file mode 100644
index 0000000..e5d702c
--- /dev/null
+++ b/debian/patches/0001-poppler-remove-needless-POPPLER_TYPE_ORIENTATION-bin.patch
@@ -0,0 +1,30 @@
+>From 3dda85661515d71101f1028dc7d68d4e53de45b1 Mon Sep 17 00:00:00 2001
+From: Kouhei Sutou <kou at clear-code.com>
+Date: Fri, 25 Dec 2015 23:36:00 +0900
+Subject: [PATCH] poppler: remove needless POPPLER_TYPE_ORIENTATION binding
+
+Poppler 0.39 removed it. And there are no Poppler releases that use
+POPPLER_TYPE_ORIENTATION.
+
+GitHub: fix #653
+
+Reported by Rob Brackett. Thanks!!!
+---
+ poppler/ext/poppler/rbpoppler.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/poppler/ext/poppler/rbpoppler.c b/poppler/ext/poppler/rbpoppler.c
+index 2b28f95..fb3bfed 100644
+--- a/poppler/ext/poppler/rbpoppler.c
++++ b/poppler/ext/poppler/rbpoppler.c
+@@ -56,7 +56,6 @@ Init_poppler(void)
+                                 INT2FIX(POPPLER_MICRO_VERSION)));
+ 
+     G_DEF_CLASS(POPPLER_TYPE_ERROR, "Error", RG_TARGET_NAMESPACE);
+-    G_DEF_CLASS(POPPLER_TYPE_ORIENTATION, "Orientation", RG_TARGET_NAMESPACE);
+ 
+     G_DEF_CLASS(POPPLER_TYPE_PAGE_TRANSITION_TYPE,
+                 "PageTransitionType", RG_TARGET_NAMESPACE);
+-- 
+2.7.0.rc3
+
diff --git a/debian/patches/series b/debian/patches/series
index ea009d9..39608d5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ no-vte.patch
 Fail-the-build-if-any-subpackage-fails
 reject_goocanvas.patch
 no-clutter-gst-2.0
+0001-poppler-remove-needless-POPPLER_TYPE_ORIENTATION-bin.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gnome2.git



More information about the Pkg-ruby-extras-commits mailing list