dev-python/python-poppler: Add fixes for poppler-0.39.0
authorJustin Lecher <jlec@gentoo.org>
Fri, 25 Dec 2015 12:24:15 +0000 (13:24 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 25 Dec 2015 12:24:27 +0000 (13:24 +0100)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568948

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.39.0-changes.patch [new file with mode: 0644]
dev-python/python-poppler/python-poppler-0.12.1-r4.ebuild

diff --git a/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.39.0-changes.patch b/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.39.0-changes.patch
new file mode 100644 (file)
index 0000000..dd3ee52
--- /dev/null
@@ -0,0 +1,19 @@
+--- poppler.defs       2009-09-27 16:07:59.000000000 +0700
++++ poppler.defs       2015-12-22 16:36:14.000000000 +0600
+@@ -579,16 +579,4 @@
+ )
+ 
+-(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")
index 6da0020a1a12537eba11c6e358a9d50a7dc22b2e..b9dbfea911c9e1b62b791702df4302879012dd70 100644 (file)
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI="5"
+
 PYTHON_COMPAT=( python2_7 )
 
 inherit autotools-utils eutils python-r1
@@ -31,6 +32,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-79_78.diff
        "${FILESDIR}"/${P}-poppler0.15.0-changes.patch
        "${FILESDIR}"/${P}-poppler-0.18.0-minimal-fix.patch
+       "${FILESDIR}"/${P}-poppler-0.39.0-changes.patch
 )
 
 src_configure() {