On Fri, Dec 18, 2015 at 06:02:47PM +0100, Matthias Kilian wrote: > Hi, > > On Thu, Dec 17, 2015 at 09:01:58PM +0100, Matthias Kilian wrote: > > Update to poppler-0.39.0. The major bump to libpoppler-glib is > > necessary because the removal of a function. > > This appears to break print/py-poppler. Here's a fix for it. Any > objections?
None from me. > > Ciao, > Kili > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/print/py-poppler/Makefile,v > retrieving revision 1.10 > diff -u -p -r1.10 Makefile > --- Makefile 5 May 2015 17:00:18 -0000 1.10 > +++ Makefile 18 Dec 2015 08:19:57 -0000 > @@ -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/ > Index: patches/patch-poppler_defs > =================================================================== > RCS file: /cvs/ports/print/py-poppler/patches/patch-poppler_defs,v > retrieving revision 1.2 > diff -u -p -r1.2 patch-poppler_defs > --- patches/patch-poppler_defs 27 Apr 2013 16:02:59 -0000 1.2 > +++ patches/patch-poppler_defs 18 Dec 2015 12:00:55 -0000 > @@ -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") > -- Antoine