1 |
commit: 6fbcb03b918df48f33d24326640209de3d031074 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 25 12:24:15 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 25 12:24:27 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbcb03b |
7 |
|
8 |
dev-python/python-poppler: Add fixes for poppler-0.39.0 |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568948 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
...python-poppler-0.12.1-poppler-0.39.0-changes.patch | 19 +++++++++++++++++++ |
16 |
.../python-poppler/python-poppler-0.12.1-r4.ebuild | 2 ++ |
17 |
2 files changed, 21 insertions(+) |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 0000000..dd3ee52 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/python-poppler/files/python-poppler-0.12.1-poppler-0.39.0-changes.patch |
24 |
@@ -0,0 +1,19 @@ |
25 |
+--- poppler.defs 2009-09-27 16:07:59.000000000 +0700 |
26 |
++++ poppler.defs 2015-12-22 16:36:14.000000000 +0600 |
27 |
+@@ -579,16 +579,4 @@ |
28 |
+ ) |
29 |
+ |
30 |
+-(define-enum Orientation |
31 |
+- (in-module "Poppler") |
32 |
+- (c-name "PopplerOrientation") |
33 |
+- (gtype-id "POPPLER_TYPE_ORIENTATION") |
34 |
+- (values |
35 |
+- '("portrait" "POPPLER_ORIENTATION_PORTRAIT") |
36 |
+- '("landscape" "POPPLER_ORIENTATION_LANDSCAPE") |
37 |
+- '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN") |
38 |
+- '("seascape" "POPPLER_ORIENTATION_SEASCAPE") |
39 |
+- ) |
40 |
+-) |
41 |
+- |
42 |
+ (define-enum PageTransitionType |
43 |
+ (in-module "Poppler") |
44 |
|
45 |
diff --git a/dev-python/python-poppler/python-poppler-0.12.1-r4.ebuild b/dev-python/python-poppler/python-poppler-0.12.1-r4.ebuild |
46 |
index 6da0020..b9dbfea 100644 |
47 |
--- a/dev-python/python-poppler/python-poppler-0.12.1-r4.ebuild |
48 |
+++ b/dev-python/python-poppler/python-poppler-0.12.1-r4.ebuild |
49 |
@@ -3,6 +3,7 @@ |
50 |
# $Id$ |
51 |
|
52 |
EAPI="5" |
53 |
+ |
54 |
PYTHON_COMPAT=( python2_7 ) |
55 |
|
56 |
inherit autotools-utils eutils python-r1 |
57 |
@@ -31,6 +32,7 @@ PATCHES=( |
58 |
"${FILESDIR}"/${P}-79_78.diff |
59 |
"${FILESDIR}"/${P}-poppler0.15.0-changes.patch |
60 |
"${FILESDIR}"/${P}-poppler-0.18.0-minimal-fix.patch |
61 |
+ "${FILESDIR}"/${P}-poppler-0.39.0-changes.patch |
62 |
) |
63 |
|
64 |
src_configure() { |