Let it build with poppler-0.39.0.

No objections from aja@
This commit is contained in:
kili 2015-12-18 22:41:37 +00:00
parent e3c1a65546
commit ea575bcfdd
2 changed files with 37 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2015/05/05 17:00:18 sthen Exp $
# $OpenBSD: Makefile,v 1.11 2015/12/18 22:41:37 kili Exp $
COMMENT= python bindings for poppler
@ -6,7 +6,7 @@ DISTNAME= pypoppler-0.12.1
PKGNAME= ${DISTNAME:S/^py/py-/}
CATEGORIES= print
REVISION= 6
REVISION= 7
MASTER_SITES= ${HOMEPAGE}/trunk/development/+download/
HOMEPAGE= http://launchpad.net/poppler-python/

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-poppler_defs,v 1.2 2013/04/27 16:02:59 kili Exp $
$OpenBSD: patch-poppler_defs,v 1.3 2015/12/18 22:41:37 kili Exp $
Let this work with poppler >= 0.18.
@ -8,8 +8,39 @@ And follow API changes from poppler-0.16.
--- poppler.defs.orig Sun Sep 27 11:07:59 2009
+++ poppler.defs Fri Apr 26 22:49:32 2013
@@ -1646,58 +1646,6 @@
+++ poppler.defs Fri Dec 18 13:00:41 2015
@@ -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")
@@ -1341,11 +1329,6 @@
(return-type "GType")
)
-(define-function poppler_orientation_get_type
- (c-name "poppler_orientation_get_type")
- (return-type "GType")
-)
-
(define-function poppler_page_transition_type_get_type
(c-name "poppler_page_transition_type_get_type")
(return-type "GType")
@@ -1646,58 +1629,6 @@
(return-type "GType")
)
@ -68,7 +99,7 @@ And follow API changes from poppler-0.16.
(define-method render
(of-object "PopplerPage")
(c-name "poppler_page_render")
@@ -1795,6 +1743,12 @@
@@ -1795,6 +1726,12 @@
(define-method get_text
(of-object "PopplerPage")
(c-name "poppler_page_get_text")