aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/poppler-glib/Makefile4
-rw-r--r--graphics/poppler-glib/pkg-plist37
-rw-r--r--graphics/poppler-qt4/Makefile4
-rw-r--r--graphics/poppler-qt4/pkg-plist4
-rw-r--r--graphics/poppler-qt5/Makefile13
-rw-r--r--graphics/poppler-qt5/pkg-plist12
-rw-r--r--graphics/poppler-utils/Makefile2
-rw-r--r--graphics/poppler/Makefile46
-rw-r--r--graphics/poppler/distinfo4
-rw-r--r--graphics/poppler/files/patch-qt5_Makefile.in11
-rw-r--r--graphics/poppler/files/patch-qt5_src_Makefile.in20
-rw-r--r--graphics/poppler/files/patch-utils_Makefile.in10
-rw-r--r--graphics/poppler/pkg-plist19
14 files changed, 105 insertions, 82 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index afa32f544dec..09a148b613bd 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -790,6 +790,7 @@
SUBDIR += poppler-data
SUBDIR += poppler-glib
SUBDIR += poppler-qt4
+ SUBDIR += poppler-qt5
SUBDIR += poppler-utils
SUBDIR += pornview
SUBDIR += potrace
diff --git a/graphics/poppler-glib/Makefile b/graphics/poppler-glib/Makefile
index 0391f2dadadb..0fb0d7fab07b 100644
--- a/graphics/poppler-glib/Makefile
+++ b/graphics/poppler-glib/Makefile
@@ -2,11 +2,11 @@
# $FreeBSD$
# $MCom: ports/graphics/poppler-glib/Makefile,v 1.4 2012/10/14 23:04:21 kwm Exp $
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -glib
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Glib bindings to poppler
+COMMENT= GLib bindings to poppler
MASTERDIR= ${.CURDIR}/../../graphics/poppler
SLAVEPORT= glib
diff --git a/graphics/poppler-glib/pkg-plist b/graphics/poppler-glib/pkg-plist
index 573680f14100..a3b2da511dc9 100644
--- a/graphics/poppler-glib/pkg-plist
+++ b/graphics/poppler-glib/pkg-plist
@@ -10,46 +10,11 @@ include/poppler/glib/poppler-layer.h
include/poppler/glib/poppler-media.h
include/poppler/glib/poppler-movie.h
include/poppler/glib/poppler-page.h
+include/poppler/glib/poppler-structure-element.h
include/poppler/glib/poppler.h
lib/girepository-1.0/Poppler-0.18.typelib
-lib/libpoppler-glib.a
-lib/libpoppler-glib.la
lib/libpoppler-glib.so
lib/libpoppler-glib.so.8
lib/libpoppler-glib.so.8.6.0
libdata/pkgconfig/poppler-glib.pc
-%%DOCSDIR%%/poppler/PopplerAnnot.html
-%%DOCSDIR%%/poppler/PopplerAttachment.html
-%%DOCSDIR%%/poppler/PopplerDocument.html
-%%DOCSDIR%%/poppler/PopplerFormField.html
-%%DOCSDIR%%/poppler/PopplerLayer.html
-%%DOCSDIR%%/poppler/PopplerMedia.html
-%%DOCSDIR%%/poppler/PopplerMovie.html
-%%DOCSDIR%%/poppler/PopplerPage.html
-%%DOCSDIR%%/poppler/annotation-glossary.html
-%%DOCSDIR%%/poppler/api-index-0-12.html
-%%DOCSDIR%%/poppler/api-index-0-14.html
-%%DOCSDIR%%/poppler/api-index-0-16.html
-%%DOCSDIR%%/poppler/api-index-0-18.html
-%%DOCSDIR%%/poppler/api-index-0-20.html
-%%DOCSDIR%%/poppler/api-index-0-22.html
-%%DOCSDIR%%/poppler/api-index-deprecated.html
-%%DOCSDIR%%/poppler/api-index-full.html
-%%DOCSDIR%%/poppler/ch01.html
-%%DOCSDIR%%/poppler/home.png
-%%DOCSDIR%%/poppler/index.html
-%%DOCSDIR%%/poppler/index.sgml
-%%DOCSDIR%%/poppler/left.png
-%%DOCSDIR%%/poppler/poppler-PopplerAction.html
-%%DOCSDIR%%/poppler/poppler-Version-and-Features-Information.html
-%%DOCSDIR%%/poppler/poppler-poppler.html
-%%DOCSDIR%%/poppler/poppler.devhelp2
-%%DOCSDIR%%/poppler/right.png
-%%DOCSDIR%%/poppler/style.css
-%%DOCSDIR%%/poppler/up.png
share/gir-1.0/Poppler-0.18.gir
-@dirrmtry share/gir-1.0
-@dirrmtry lib/girepository-1.0
-@dirrmtry %%DOCSDIR%%/poppler
-@dirrmtry %%DOCSDIR%%
-@dirrm include/poppler/glib
diff --git a/graphics/poppler-qt4/Makefile b/graphics/poppler-qt4/Makefile
index c50e1f71863c..cbf9b0a954ef 100644
--- a/graphics/poppler-qt4/Makefile
+++ b/graphics/poppler-qt4/Makefile
@@ -2,11 +2,11 @@
# $FreeBSD$
# $MCom: ports/graphics/poppler-qt4/Makefile,v 1.18 2012/10/14 23:04:21 kwm Exp $
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -qt4
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Qt4 bindings to poppler
+COMMENT= Qt 4 bindings to poppler
MASTERDIR= ${.CURDIR}/../../graphics/poppler
SLAVEPORT= qt4
diff --git a/graphics/poppler-qt4/pkg-plist b/graphics/poppler-qt4/pkg-plist
index 8ae3abc1a233..a85e279b1ee5 100644
--- a/graphics/poppler-qt4/pkg-plist
+++ b/graphics/poppler-qt4/pkg-plist
@@ -6,9 +6,7 @@ include/poppler/qt4/poppler-media.h
include/poppler/qt4/poppler-optcontent.h
include/poppler/qt4/poppler-page-transition.h
include/poppler/qt4/poppler-qt4.h
-lib/libpoppler-qt4.a
-lib/libpoppler-qt4.la
lib/libpoppler-qt4.so
lib/libpoppler-qt4.so.4
-lib/libpoppler-qt4.so.4.3.0
+lib/libpoppler-qt4.so.4.4.0
libdata/pkgconfig/poppler-qt4.pc
diff --git a/graphics/poppler-qt5/Makefile b/graphics/poppler-qt5/Makefile
new file mode 100644
index 000000000000..390830e15b9b
--- /dev/null
+++ b/graphics/poppler-qt5/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PORTREVISION= 0
+PKGNAMESUFFIX= -qt5
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Qt 5 bindings to poppler
+
+MASTERDIR= ${.CURDIR}/../../graphics/poppler
+SLAVEPORT= qt5
+PLIST= ${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/poppler-qt5/pkg-plist b/graphics/poppler-qt5/pkg-plist
new file mode 100644
index 000000000000..3ce5f8fa9c09
--- /dev/null
+++ b/graphics/poppler-qt5/pkg-plist
@@ -0,0 +1,12 @@
+include/poppler/qt5/poppler-annotation.h
+include/poppler/qt5/poppler-export.h
+include/poppler/qt5/poppler-form.h
+include/poppler/qt5/poppler-link.h
+include/poppler/qt5/poppler-media.h
+include/poppler/qt5/poppler-optcontent.h
+include/poppler/qt5/poppler-page-transition.h
+include/poppler/qt5/poppler-qt5.h
+lib/libpoppler-qt5.so
+lib/libpoppler-qt5.so.1
+lib/libpoppler-qt5.so.1.1.0
+libdata/pkgconfig/poppler-qt5.pc
diff --git a/graphics/poppler-utils/Makefile b/graphics/poppler-utils/Makefile
index ec92217ce9fa..fe9540f610dc 100644
--- a/graphics/poppler-utils/Makefile
+++ b/graphics/poppler-utils/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
# $MCom: ports/graphics/poppler-utils/Makefile,v 1.8 2012/10/14 23:04:21 kwm Exp $
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -utils
MAINTAINER= gnome@FreeBSD.org
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index c3f0ab2d107f..58732ef9a184 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -3,8 +3,8 @@
# $MCom: ports/graphics/poppler/Makefile,v 1.84 2013/03/12 14:53:49 kwm Exp $
PORTNAME= poppler
-PORTVERSION= 0.24.5
-PORTREVISION?= 4
+PORTVERSION= 0.26.3
+PORTREVISION?= 0
CATEGORIES= graphics print
MASTER_SITES= http://poppler.freedesktop.org/
@@ -12,30 +12,37 @@ MAINTAINER?= gnome@FreeBSD.org
COMMENT?= PDF rendering library
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libtiff.so:${PORTSDIR}/graphics/tiff \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
- liblcms2.so:${PORTSDIR}/graphics/lcms2
+ liblcms2.so:${PORTSDIR}/graphics/lcms2 \
+ libfreetype.so:${PORTSDIR}/print/freetype2
RUN_DEPENDS= poppler-data>0:${PORTSDIR}/graphics/poppler-data
-USES= gmake libtool:keepla pathfix pkgconfig tar:xz
+USES= gmake libtool pathfix pkgconfig tar:xz
USE_GNOME= libxml2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-zlib \
--enable-xpdf-headers \
--disable-gtk-test \
- --with-html-dir=${DOCSDIR}
+ --without-html-dir \
+ --disable-static
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# see https://bugs.freedesktop.org/show_bug.cgi?id=72499
CPPFLAGS+= -D__LONG_LONG_SUPPORTED
+INSTALL_TARGET= install-strip
+
.if !defined(SLAVEPORT)
PORTSCOUT= limitw:1,even
-OPTIONS_DEFINE= CAIRO OPENJPEG
+OPTIONS_DEFINE= CAIRO CURL OPENJPEG
OPTIONS_DEFAULT=CAIRO OPENJPEG
USES+= iconv
@@ -48,7 +55,7 @@ PORTSCOUT= ignore:1
LIB_DEPENDS+= libpoppler.so:${PORTSDIR}/graphics/poppler
.if ${SLAVEPORT}==glib
-CONFIGURE_ARGS+=--enable-poppler-glib
+CONFIGURE_ARGS+=--enable-poppler-glib --enable-introspection=yes
USE_GNOME+= cairo gnomehier glib20 introspection:build
BUILD_WRKSRC= ${WRKSRC}/glib
INSTALL_WRKSRC= ${WRKSRC}/glib
@@ -58,7 +65,7 @@ CONFIGURE_ARGS+=--disable-poppler-glib
.if ${SLAVEPORT}==qt4
CONFIGURE_ARGS+=--enable-poppler-qt4
-CONFIGURE_ENV+= ac_cv_prog_MOCQT4=${LOCALBASE}/bin/moc-qt4
+CONFIGURE_ENV+= MOCQT4=${MOC}
USE_QT4= gui corelib xml qtestlib moc_build
BUILD_WRKSRC= ${WRKSRC}/qt4
INSTALL_WRKSRC= ${WRKSRC}/qt4
@@ -66,11 +73,10 @@ INSTALL_WRKSRC= ${WRKSRC}/qt4
CONFIGURE_ARGS+=--disable-poppler-qt4
.endif
-# needs checking when Qt5 is available
.if ${SLAVEPORT}==qt5
CONFIGURE_ARGS+=--enable-poppler-qt5
-CONFIGURE_ENV+= ac_cv_prog_MOCQT4=${LOCALBASE}/bin/moc-qt5
-USE_QT5= gui corelib xml qtestlib moc_build
+CONFIGURE_ENV+= MOCQT5=${MOC}
+USE_QT5= core gui widgets xml buildtools_build testlib_build
BUILD_WRKSRC= ${WRKSRC}/qt5
INSTALL_WRKSRC= ${WRKSRC}/qt5
.else
@@ -100,6 +106,15 @@ CONFIGURE_ARGS+=--disable-cairo-output
PLIST_SUB+= CAIRO="@comment "
.endif
+.if ${PORT_OPTIONS:MCURL}
+LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
+CONFIGURE_ARGS+=--enable-libcurl
+PLIST_SUB+= CURL=""
+.else
+CONFIGURE_ARGS+=--disable-libcurl
+PLIST_SUB+= CURL="@comment "
+.endif
+
.if ${PORT_OPTIONS:MOPENJPEG}
CONFIGURE_ARGS+=--enable-libopenjpeg
LIB_DEPENDS+= libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
@@ -111,14 +126,6 @@ CONFIGURE_ARGS+=--disable-libopenjpeg
post-patch:
@${REINPLACE_CMD} '/CXXFLAGS.*-ansi/d' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-fno-check-new||g' ${WRKSRC}/configure
-.if defined(SLAVEPORT) && ${SLAVEPORT}==qt4
- @${REINPLACE_CMD} -e 's|MOCQT4=`.*|MOCQT4="${LOCALBASE}/bin/moc-qt4"|' \
- ${WRKSRC}/configure
-.endif
-.if defined(SLAVEPORT) && ${SLAVEPORT}==qt5
- @${REINPLACE_CMD} -e 's|MOCQT5=`.*|MOCQT5="${LOCALBASE}/bin/moc-qt5"|' \
- ${WRKSRC}/configure
-.endif
post-install:
.if defined(SLAVEPORT)
@@ -133,6 +140,5 @@ post-install:
${STAGEDIR}${PREFIX}/libdata/pkgconfig
. endif
.endif
- -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpoppler*.so.*
.include <bsd.port.mk>
diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo
index f9205d7462b0..e9365bd4c3bd 100644
--- a/graphics/poppler/distinfo
+++ b/graphics/poppler/distinfo
@@ -1,2 +1,2 @@
-SHA256 (poppler-0.24.5.tar.xz) = a2654910100c923c44e366242495e226db2798254f2fa2781138867348759f84
-SIZE (poppler-0.24.5.tar.xz) = 1512476
+SHA256 (poppler-0.26.3.tar.xz) = 88cb1af3574f861bc08853a681be97ae79bf5302782fbac803f877b879a642b1
+SIZE (poppler-0.26.3.tar.xz) = 1593760
diff --git a/graphics/poppler/files/patch-qt5_Makefile.in b/graphics/poppler/files/patch-qt5_Makefile.in
new file mode 100644
index 000000000000..f0b38d172a29
--- /dev/null
+++ b/graphics/poppler/files/patch-qt5_Makefile.in
@@ -0,0 +1,11 @@
+--- qt5/Makefile.in.orig 2014-11-25 11:49:19 UTC
++++ qt5/Makefile.in
+@@ -384,7 +384,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ win32_libs = @win32_libs@
+-SUBDIRS = src tests demos
++SUBDIRS = src
+ all: all-recursive
+
+ .SUFFIXES:
diff --git a/graphics/poppler/files/patch-qt5_src_Makefile.in b/graphics/poppler/files/patch-qt5_src_Makefile.in
new file mode 100644
index 000000000000..1b1fb04a1bb9
--- /dev/null
+++ b/graphics/poppler/files/patch-qt5_src_Makefile.in
@@ -0,0 +1,20 @@
+--- qt5/src/Makefile.in.orig 2014-11-25 11:49:19 UTC
++++ qt5/src/Makefile.in
+@@ -129,7 +129,7 @@ am__installdirs = "$(DESTDIR)$(libdir)"
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+ libpoppler_qt5_la_DEPENDENCIES = \
+- $(top_builddir)/poppler/libpoppler.la $(am__DEPENDENCIES_1)
++ $(am__DEPENDENCIES_1)
+ am_libpoppler_qt5_la_OBJECTS = libpoppler_qt5_la-poppler-document.lo \
+ libpoppler_qt5_la-poppler-page.lo \
+ libpoppler_qt5_la-poppler-fontinfo.lo \
+@@ -505,7 +505,7 @@ libpoppler_qt5_la_CXXFLAGS = \
+ -Dpoppler_qt5_EXPORTS -fPIC
+
+ libpoppler_qt5_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_QT5_LIBS)
+
+ libpoppler_qt5_la_LDFLAGS = -version-info 2:0:1 @create_shared_lib@ @auto_import_flags@
diff --git a/graphics/poppler/files/patch-utils_Makefile.in b/graphics/poppler/files/patch-utils_Makefile.in
index 735c224944f5..02dfbc852675 100644
--- a/graphics/poppler/files/patch-utils_Makefile.in
+++ b/graphics/poppler/files/patch-utils_Makefile.in
@@ -1,5 +1,5 @@
---- utils/Makefile.in.orig 2013-12-02 19:00:03.000000000 +0100
-+++ utils/Makefile.in 2013-12-02 19:01:25.000000000 +0100
+--- utils/Makefile.in.orig 2014-11-25 11:49:19 UTC
++++ utils/Makefile.in
@@ -111,7 +111,7 @@
am_pdfdetach_OBJECTS = pdfdetach.$(OBJEXT) $(am__objects_1)
pdfdetach_OBJECTS = $(am_pdfdetach_OBJECTS)
@@ -16,13 +16,13 @@
-pdffonts_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la
+pdffonts_DEPENDENCIES =
am_pdfimages_OBJECTS = pdfimages.$(OBJEXT) ImageOutputDev.$(OBJEXT) \
- $(am__objects_1)
+ JSInfo.$(OBJEXT) $(am__objects_1)
pdfimages_OBJECTS = $(am_pdfimages_OBJECTS)
pdfimages_LDADD = $(LDADD)
-pdfimages_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la
+pdfimages_DEPENDENCIES =
am_pdfinfo_OBJECTS = pdfinfo.$(OBJEXT) printencodings.$(OBJEXT) \
- $(am__objects_1)
+ JSInfo.$(OBJEXT) $(am__objects_1)
pdfinfo_OBJECTS = $(am_pdfinfo_OBJECTS)
pdfinfo_LDADD = $(LDADD)
-pdfinfo_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la
@@ -52,7 +52,7 @@
pdftohtml_OBJECTS = $(am_pdftohtml_OBJECTS)
pdftohtml_LDADD = $(LDADD)
-pdftohtml_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la
-+pdftohtml_DEPENDENCIES =
++pdftohtml_DEPENDENCIES =
pdftohtml_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(pdftohtml_CXXFLAGS) \
$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
diff --git a/graphics/poppler/pkg-plist b/graphics/poppler/pkg-plist
index bbf394ff7ef7..2bcf0c196b7b 100644
--- a/graphics/poppler/pkg-plist
+++ b/graphics/poppler/pkg-plist
@@ -8,6 +8,8 @@ include/poppler/Catalog.h
include/poppler/CharCodeToUnicode.h
include/poppler/CharTypes.h
include/poppler/CompactFontTables.h
+%%CURL%%include/poppler/CurlCachedFile.h
+%%CURL%%include/poppler/CurlPDFDocBuilder.h
include/poppler/DateInfo.h
include/poppler/Decrypt.h
include/poppler/Dict.h
@@ -30,6 +32,7 @@ include/poppler/Lexer.h
include/poppler/Linearization.h
include/poppler/Link.h
include/poppler/LocalPDFDocBuilder.h
+include/poppler/MarkedContentOutputDev.h
include/poppler/Movie.h
include/poppler/NameToCharCode.h
include/poppler/NameToUnicodeTable.h
@@ -57,6 +60,8 @@ include/poppler/StdinCachedFile.h
include/poppler/StdinPDFDocBuilder.h
include/poppler/Stream-CCITT.h
include/poppler/Stream.h
+include/poppler/StructElement.h
+include/poppler/StructTreeRoot.h
include/poppler/TextOutputDev.h
include/poppler/UTF.h
include/poppler/UTF8.h
@@ -95,6 +100,7 @@ include/poppler/goo/GooString.h
include/poppler/goo/GooTimer.h
include/poppler/goo/ImgWriter.h
include/poppler/goo/JpegWriter.h
+include/poppler/goo/NetPBMWriter.h
include/poppler/goo/PNGWriter.h
include/poppler/goo/TiffWriter.h
include/poppler/goo/gfile.h
@@ -126,22 +132,13 @@ include/poppler/splash/SplashT1FontFile.h
include/poppler/splash/SplashTypes.h
include/poppler/splash/SplashXPath.h
include/poppler/splash/SplashXPathScanner.h
-lib/libpoppler-cpp.a
-lib/libpoppler-cpp.la
lib/libpoppler-cpp.so
lib/libpoppler-cpp.so.0
lib/libpoppler-cpp.so.0.2.0
-lib/libpoppler.a
-lib/libpoppler.la
lib/libpoppler.so
-lib/libpoppler.so.44
-lib/libpoppler.so.44.0.0
+lib/libpoppler.so.46
+lib/libpoppler.so.46.0.0
%%CAIRO%%libdata/pkgconfig/poppler-cairo.pc
libdata/pkgconfig/poppler-cpp.pc
libdata/pkgconfig/poppler-splash.pc
libdata/pkgconfig/poppler.pc
-@dirrm include/poppler/splash
-@dirrm include/poppler/goo
-@dirrm include/poppler/fofi
-@dirrm include/poppler/cpp
-@dirrm include/poppler