Update to poppler-0.22.2.
Changes since 0.22.0:
Release 0.22.2
core:
* Correct rendering of underline and strike out annotations (Bug
#61518)
* Workaround broken jpeg stream definitions (Bug #61994)
* SplashOutputDev: Restore CTM on early exits (Bug #61413)
* SplashOutputDev: Make sure we don't try to paint in x < 0 (KDE Bug
#315432)
* Fix latin page labels. (Bug #61034)
* Fix compilation with jpeglib9
* Fix minor valgrind warning
utils:
* pdfimages: Fix extraction of some images (Bug #61168)
build system:
* Fix the build with automake-1.13
Release 0.22.1
core:
* Fix crash in some pdf files when extracting text (Bug #59561)
* Fix crashes in wrongly formed files
* Fix wrong warning when opening some files (Bug #58966)
build system:
* Improve autoconf jpeglib.h detection (Bug #59186)
The constructor of class DCTStream got an additional third argument
(an Object *dict), so I think libpoppler itself needs a major bump
(and while writing this mail, I just noticed that this time even
upstream applied a major bump). I didn't see any other incompatible
changes, not even additions, in the other libraries.
I successfully built the following ports on amd64 with it:
editors/gummi editors/libreoffice editors/texmaker editors/texworks
graphics/evince graphics/gimp/stable graphics/inkscape print/apvlv
print/cups-filters print/epdfview print/py-poppler print/texlive/base
productivity/impressive textproc/calibre textproc/zathura
x11/kde/graphics3 x11/kde/office3 x11/xfce4/tumbler
I did some manual tests on some evil pdf files with evince and
epdfview. There may be a regression on one pdf file, I'll check
tomorrow if this is a real regression.
Anyway, tests, comments and oks are welcome.
If you want to give it a try, don't forget to explicitely reset the
flavor, i.e. run something like
env FLAVOR= make ...
or you'll end up without the qt and qt4 libraries.
Ciao,
Kili
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/poppler/Makefile,v
retrieving revision 1.72
diff -u -p -r1.72 Makefile
--- Makefile 11 Mar 2013 11:37:54 -0000 1.72
+++ Makefile 18 Mar 2013 23:22:15 -0000
@@ -5,7 +5,7 @@ COMMENT-qt= qt interface to PDF renderin
COMMENT-qt4= qt4 interface to PDF rendering library
COMMENT-utils= PDF conversion tools and utilities
-V= 0.22.0
+V= 0.22.2
DISTNAME= poppler-$V
CATEGORIES= print
PKGNAME-main= poppler-$V
@@ -14,7 +14,7 @@ PKGNAME-qt= poppler-qt-$V
PKGNAME-qt4= poppler-qt4-$V
OLDSHIT = poppler-0.16.7
-SHARED_LIBS += poppler 16.0 # 34.0
+SHARED_LIBS += poppler 17.0 # 35.0
SHARED_LIBS += poppler-glib 12.0 # 14.0
SHARED_LIBS += poppler-qt 11.0 # 3.0
SHARED_LIBS += poppler-qt4 12.0 # 6.0
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/poppler/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo 21 Jan 2013 19:08:00 -0000 1.25
+++ distinfo 18 Mar 2013 23:22:15 -0000
@@ -1,4 +1,4 @@
SHA256 (poppler-0.16.7.tar.gz) = +rTory001BQqcYgZ/XR9QJMLce9SDuDmvMlOLETyK80=
-SHA256 (poppler-0.22.0.tar.gz) = hGhFCRwtEl9bYDaA1ieoAHmoK5PRmfNMxJc2utXVueY=
+SHA256 (poppler-0.22.2.tar.gz) = EIc274QGkxf2xb6stSaPO3mez0AeNT4jlhF3Lq6KZi0=
SIZE (poppler-0.16.7.tar.gz) = 1952179
-SIZE (poppler-0.22.0.tar.gz) = 2210986
+SIZE (poppler-0.22.2.tar.gz) = 2215737
Index: patches/patch-aclocal_m4
===================================================================
RCS file: /cvs/ports/print/poppler/patches/patch-aclocal_m4,v
retrieving revision 1.2
diff -u -p -r1.2 patch-aclocal_m4
--- patches/patch-aclocal_m4 13 Jul 2012 15:03:19 -0000 1.2
+++ patches/patch-aclocal_m4 18 Mar 2013 23:22:15 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-aclocal_m4,v 1.2 2012/07/13 15:03:19 kili Exp $
---- aclocal.m4.orig Sun Jun 10 20:45:31 2012
-+++ aclocal.m4 Mon Jul 9 14:47:58 2012
-@@ -2203,6 +2203,7 @@ m4_include([m4/define-dir.m4])
+--- aclocal.m4.orig Mon Mar 11 18:47:31 2013
++++ aclocal.m4 Sun Mar 17 23:41:08 2013
+@@ -2191,6 +2191,7 @@ m4_include([m4/define-dir.m4])
m4_include([m4/gtk-doc.m4])
m4_include([m4/iconv.m4])
m4_include([m4/introspection.m4])
Index: patches/patch-configure_ac
===================================================================
RCS file: /cvs/ports/print/poppler/patches/patch-configure_ac,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure_ac
--- patches/patch-configure_ac 21 Jan 2013 19:08:00 -0000 1.5
+++ patches/patch-configure_ac 18 Mar 2013 23:22:15 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-configure_ac,v 1.5 2013/01/21 19:08:00 kili Exp $
---- configure.ac.orig Sat Dec 29 19:45:50 2012
-+++ configure.ac Fri Jan 18 19:23:07 2013
-@@ -565,6 +565,24 @@ AC_SUBST(POPPLER_GLIB_DISABLE_SINGLE_INCLUDES)
+--- configure.ac.orig Mon Mar 11 18:45:38 2013
++++ configure.ac Sun Mar 17 23:41:08 2013
+@@ -564,6 +564,24 @@ AC_SUBST(POPPLER_GLIB_DISABLE_SINGLE_INCLUDES)
GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
@@ -26,7 +26,7 @@ $OpenBSD: patch-configure_ac,v 1.5 2013/
dnl
dnl Try Qt4
dnl
-@@ -597,7 +615,7 @@ AC_SUBST(POPPLER_QT4_LIBS)
+@@ -596,7 +614,7 @@ AC_SUBST(POPPLER_QT4_LIBS)
AC_SUBST(POPPLER_QT4_TEST_LIBS)
if test x$enable_poppler_qt4 = xyes; then
@@ -35,7 +35,7 @@ $OpenBSD: patch-configure_ac,v 1.5 2013/
AC_MSG_CHECKING([for Qt4 moc])
mocversion=`$MOCQT4 -v 2>&1`
mocversiongrep=`echo $mocversion | grep "Qt 4"`
-@@ -783,6 +801,9 @@ glib/reference/Makefile
+@@ -782,6 +800,9 @@ glib/reference/Makefile
glib/reference/version.xml
glib/demo/Makefile
test/Makefile
@@ -45,7 +45,7 @@ $OpenBSD: patch-configure_ac,v 1.5 2013/
qt4/Makefile
qt4/src/Makefile
qt4/tests/Makefile
-@@ -809,6 +830,7 @@ echo "Building poppler with support for:"
+@@ -808,6 +829,7 @@ echo "Building poppler with support for:"
echo " font configuration: $with_font_configuration"
echo " splash output: $enable_splash_output"
echo " cairo output: $use_cairo"