File: 05-poppler-0.39.diff

package info (click to toggle)
python-poppler 0.12.1-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,684 kB
  • ctags: 117
  • sloc: sh: 10,208; python: 89; makefile: 51; ansic: 37
file content (26 lines) | stat: -rw-r--r-- 716 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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")