[Python-modules-commits] [python-poppler] 01/01: fix poppler 0.39 ftbfs

Vincent Cheng vcheng at moszumanska.debian.org
Sun May 29 05:39:44 UTC 2016


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

vcheng pushed a commit to branch master
in repository python-poppler.

commit cb95dbe84e01d69d33c25e0a6167b53b947ced78
Author: Vincent Cheng <vcheng at debian.org>
Date:   Sat May 28 22:39:32 2016 -0700

    fix poppler 0.39 ftbfs
---
 debian/changelog                    |  1 +
 debian/patches/05-poppler-0.39.diff | 26 ++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7088197..c705686 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ python-poppler (0.12.1-9) UNRELEASED; urgency=low
   * Acknowledge NMU. Thanks Gregor!
 
   [ Vincent Cheng ]
+  * Fix FTBFS with poppler 0.39. (Closes: #812680)
   * Add dh-python to build-depends.
   * Bump standards version to 3.9.8 (no changes needed).
 
diff --git a/debian/patches/05-poppler-0.39.diff b/debian/patches/05-poppler-0.39.diff
new file mode 100644
index 0000000..1637ebf
--- /dev/null
+++ b/debian/patches/05-poppler-0.39.diff
@@ -0,0 +1,26 @@
+Description: Fix FTBFS due to poppler 0.39 API changes
+Origin: https://bugs.launchpad.net/poppler-python/+bug/1528489/comments/2
+Bug-Debian: https://bugs.debian.org/812680
+Last-Update: 2016-05-28
+
+--- a/poppler.defs
++++ b/poppler.defs
+@@ -578,18 +578,6 @@
+   )
+ )
+ 
+-(define-enum Orientation
+-  (in-module "Poppler")
+-  (c-name "PopplerOrientation")
+-  (gtype-id "POPPLER_TYPE_ORIENTATION")
+-  (values
+-    '("portrait" "POPPLER_ORIENTATION_PORTRAIT")
+-    '("landscape" "POPPLER_ORIENTATION_LANDSCAPE")
+-    '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN")
+-    '("seascape" "POPPLER_ORIENTATION_SEASCAPE")
+-  )
+-)
+-
+ (define-enum PageTransitionType
+   (in-module "Poppler")
+   (c-name "PopplerPageTransitionType")
diff --git a/debian/patches/series b/debian/patches/series
index 7d44f21..8f56894 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-poppler-0.18.diff
 03-psfilenew.diff
 04-closefiles.diff
+05-poppler-0.39.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-poppler.git



More information about the Python-modules-commits mailing list