diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-15 06:08:43 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-15 06:08:43 +0800 |
commit | e31a4c4226c37a72ae34c296275e3982b52eb136 (patch) | |
tree | 5ada2178f66023bd41acf779128f82eed55f3ea2 | |
parent | 34eb7081d651b437ded4e2f984e72b566411a91a (diff) | |
download | marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.tar marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.tar.gz marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.tar.bz2 marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.tar.lz marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.tar.xz marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.tar.zst marcuscom-ports-e31a4c4226c37a72ae34c296275e3982b52eb136.zip |
Update to 0.12.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13842 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | graphics/poppler-gtk/Makefile | 23 | ||||
-rw-r--r-- | graphics/poppler-gtk/pkg-plist | 39 | ||||
-rw-r--r-- | graphics/poppler-qt/Makefile | 19 | ||||
-rw-r--r-- | graphics/poppler-qt/pkg-plist | 9 | ||||
-rw-r--r-- | graphics/poppler-qt4/Makefile | 19 | ||||
-rw-r--r-- | graphics/poppler-qt4/pkg-plist | 14 | ||||
-rw-r--r-- | graphics/poppler/Makefile | 135 | ||||
-rw-r--r-- | graphics/poppler/distinfo | 3 | ||||
-rw-r--r-- | graphics/poppler/files/patch-glib_Makefile.in | 45 | ||||
-rw-r--r-- | graphics/poppler/files/patch-poppler_Page.cc | 11 | ||||
-rw-r--r-- | graphics/poppler/files/patch-qt4_Makefile.in | 11 | ||||
-rw-r--r-- | graphics/poppler/files/patch-qt4_src_Makefile.in | 19 | ||||
-rw-r--r-- | graphics/poppler/files/patch-qt_Makefile.in | 39 | ||||
-rw-r--r-- | graphics/poppler/files/patch-utils_Makefile.in | 73 | ||||
-rw-r--r-- | graphics/poppler/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/poppler/pkg-plist | 112 |
16 files changed, 577 insertions, 0 deletions
diff --git a/graphics/poppler-gtk/Makefile b/graphics/poppler-gtk/Makefile new file mode 100644 index 000000000..4160ef7f8 --- /dev/null +++ b/graphics/poppler-gtk/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: poppler-gtk +# Date created: 2006-01-12 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTREVISION= 0 +PKGNAMESUFFIX= -gtk + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Gtk bindings to poppler + +MASTERDIR= ${.CURDIR}/../../graphics/poppler +SLAVEPORT= gtk +PLIST= ${.CURDIR}/pkg-plist + +pre-build: + cd ${WRKSRC}/poppler && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ + Makefile ${MAKE_ARGS} libpoppler-cairo.la + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/poppler-gtk/pkg-plist b/graphics/poppler-gtk/pkg-plist new file mode 100644 index 000000000..6bb080493 --- /dev/null +++ b/graphics/poppler-gtk/pkg-plist @@ -0,0 +1,39 @@ +include/poppler/glib/poppler-action.h +include/poppler/glib/poppler-annot.h +include/poppler/glib/poppler-attachment.h +include/poppler/glib/poppler-date.h +include/poppler/glib/poppler-document.h +include/poppler/glib/poppler-enums.h +include/poppler/glib/poppler-features.h +include/poppler/glib/poppler-form-field.h +include/poppler/glib/poppler-layer.h +include/poppler/glib/poppler-page.h +include/poppler/glib/poppler.h +lib/libpoppler-glib.a +lib/libpoppler-glib.la +lib/libpoppler-glib.so +lib/libpoppler-glib.so.4 +libdata/pkgconfig/poppler-glib.pc +%%DOCSDIR%%/poppler/ch01.html +%%DOCSDIR%%/poppler/home.png +%%DOCSDIR%%/poppler/index.html +%%DOCSDIR%%/poppler/index.sgml +%%DOCSDIR%%/poppler/left.png +%%DOCSDIR%%/poppler/poppler-poppler-action.html +%%DOCSDIR%%/poppler/poppler-poppler-annot.html +%%DOCSDIR%%/poppler/poppler-poppler-attachment.html +%%DOCSDIR%%/poppler/poppler-poppler-document.html +%%DOCSDIR%%/poppler/poppler-poppler-enums.html +%%DOCSDIR%%/poppler/poppler-poppler-features.html +%%DOCSDIR%%/poppler/poppler-poppler-form-field.html +%%DOCSDIR%%/poppler/poppler-poppler-layer.html +%%DOCSDIR%%/poppler/poppler-poppler-page.html +%%DOCSDIR%%/poppler/poppler-poppler.html +%%DOCSDIR%%/poppler/poppler.devhelp +%%DOCSDIR%%/poppler/poppler.devhelp2 +%%DOCSDIR%%/poppler/right.png +%%DOCSDIR%%/poppler/style.css +%%DOCSDIR%%/poppler/up.png +@dirrmtry %%DOCSDIR%%/poppler +@dirrmtry %%DOCSDIR%% +@dirrm include/poppler/glib diff --git a/graphics/poppler-qt/Makefile b/graphics/poppler-qt/Makefile new file mode 100644 index 000000000..6e8cc345b --- /dev/null +++ b/graphics/poppler-qt/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: poppler-qt +# Date created: 2006-01-12 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTREVISION= 0 +PKGNAMESUFFIX= -qt + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Qt bindings to poppler + +MASTERDIR= ${.CURDIR}/../../graphics/poppler +SLAVEPORT= qt +PLIST= ${.CURDIR}/pkg-plist + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/poppler-qt/pkg-plist b/graphics/poppler-qt/pkg-plist new file mode 100644 index 000000000..77f6db2e2 --- /dev/null +++ b/graphics/poppler-qt/pkg-plist @@ -0,0 +1,9 @@ +include/poppler/qt3/poppler-link-qt3.h +include/poppler/qt3/poppler-page-transition.h +include/poppler/qt3/poppler-qt.h +lib/libpoppler-qt.a +lib/libpoppler-qt.la +lib/libpoppler-qt.so +lib/libpoppler-qt.so.2 +libdata/pkgconfig/poppler-qt.pc +@dirrm include/poppler/qt3 diff --git a/graphics/poppler-qt4/Makefile b/graphics/poppler-qt4/Makefile new file mode 100644 index 000000000..85185a145 --- /dev/null +++ b/graphics/poppler-qt4/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: poppler-qt4 +# Date created: June 26, 2007 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTREVISION= 0 +PKGNAMESUFFIX= -qt4 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Qt4 bindings to poppler + +MASTERDIR= ${.CURDIR}/../../graphics/poppler +SLAVEPORT= qt4 +PLIST= ${.CURDIR}/pkg-plist + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/poppler-qt4/pkg-plist b/graphics/poppler-qt4/pkg-plist new file mode 100644 index 000000000..d20d75d3e --- /dev/null +++ b/graphics/poppler-qt4/pkg-plist @@ -0,0 +1,14 @@ +include/poppler/qt4/poppler-annotation.h +include/poppler/qt4/poppler-export.h +include/poppler/qt4/poppler-form.h +include/poppler/qt4/poppler-link.h +include/poppler/qt4/poppler-optcontent.h +include/poppler/qt4/poppler-page-transition.h +include/poppler/qt4/poppler-page-transition-private.h +include/poppler/qt4/poppler-qt4.h +lib/libpoppler-qt4.a +lib/libpoppler-qt4.la +lib/libpoppler-qt4.so +lib/libpoppler-qt4.so.3 +libdata/pkgconfig/poppler-qt4.pc +@dirrm include/poppler/qt4 diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile new file mode 100644 index 000000000..aa087e116 --- /dev/null +++ b/graphics/poppler/Makefile @@ -0,0 +1,135 @@ +# New ports collection makefile for: poppler +# Date created: 03 March 2005 +# Whom: marcus@FreeBSD.org +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= poppler +PORTVERSION= 0.12.4 +PORTREVISION?= 0 +CATEGORIES= graphics print +MASTER_SITES= http://poppler.freedesktop.org/ + +MAINTAINER?= gnome@FreeBSD.org +COMMENT?= A PDF rendering library + +LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ + fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ + lcms.1:${PORTSDIR}/graphics/lcms +RUN_DEPENDS= poppler-data>0:${PORTSDIR}/graphics/poppler-data + +USE_GMAKE= yes +USE_GNOME= gnomehack gnometarget libxml2 ltverhack +USE_AUTOTOOLS= libtool:22 +USE_LDCONFIG= yes +CONFIGURE_ARGS= --enable-zlib \ + --enable-xpdf-headers \ + --with-html-dir=${DOCSDIR} +CPPFLAGS=-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ${PTHREAD_CFLAGS} +LDFLAGS=-L${LOCALBASE}/lib ${PTHREAD_LIBS} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" + +.if !defined(SLAVEPORT) +OPTIONS= CAIRO "Enable cairo output backend" on \ + OPENJPEG "Enable JPEG 2000 support" on +.endif + +.include <bsd.port.pre.mk> + +.if defined(SLAVEPORT) +LIB_DEPENDS+= poppler.5:${PORTSDIR}/graphics/poppler + +.if ${SLAVEPORT}=="gtk" +CONFIGURE_ARGS+=--enable-poppler-glib +USE_GNOME+= gtk20 +BUILD_WRKSRC= ${WRKSRC}/glib +INSTALL_WRKSRC= ${WRKSRC}/glib +.else +CONFIGURE_ARGS+=--disable-poppler-glib \ + --disable-gdk \ + --disable-gtk-test +.endif + +.if ${SLAVEPORT}=="qt" +CONFIGURE_ARGS+=--enable-poppler-qt +USE_QT_VER+= 3 +BUILD_WRKSRC= ${WRKSRC}/qt +INSTALL_WRKSRC= ${WRKSRC}/qt +.include "${PORTSDIR}/Mk/bsd.kde.mk" +.else +CONFIGURE_ARGS+=--disable-poppler-qt +.endif + +.if ${SLAVEPORT}=="qt4" +CONFIGURE_ARGS+=--enable-poppler-qt4 +USE_QT_VER+= 4 +QT_COMPONENTS= gui corelib xml qtestlib moc_build +# It requires poppler/splash to be built unless you disable splash backend +# support to allow you use BUILD_WRKSRC here. It seems that splash backend +# can read more PDF files than without, tested with demos's poppler_qt4viewer. +#BUILD_WRKSRC= ${WRKSRC}/qt4 +INSTALL_WRKSRC= ${WRKSRC}/qt4 +.include "${PORTSDIR}/Mk/bsd.qt.mk" +.else +CONFIGURE_ARGS+=--disable-poppler-qt4 +.endif + +.if ${SLAVEPORT}=="utils" +CONFIGURE_ARGS+=--enable-utils +CONFLICTS= xpdf-[0-9]* +BUILD_WRKSRC= ${WRKSRC}/utils +INSTALL_WRKSRC= ${WRKSRC}/utils +MAN1= pdffonts.1 pdfimages.1 pdfinfo.1 \ + pdftohtml.1 pdftops.1 pdftotext.1 pdftoppm.1 +.else +CONFIGURE_ARGS+=--disable-utils +.endif + +.else +CONFIGURE_ARGS+=--disable-poppler-glib --disable-poppler-qt \ + --disable-poppler-qt4 --disable-utils --disable-gdk \ + --disable-gtk-test + +.if defined(WITHOUT_CAIRO) +CONFIGURE_ARGS+=--disable-cairo-output +PLIST_SUB+= CAIRO="@comment " +.else +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +PLIST_SUB+= CAIRO="" +.endif + +.if defined(WITHOUT_OPENJPEG) +CONFIGURE_ARGS+=--disable-libopenjpeg +.else +CONFIGURE_ARGS+=--enable-libopenjpeg +LIB_DEPENDS+= openjpeg.2:${PORTSDIR}/graphics/openjpeg +.endif +.endif + +post-patch: +.if defined(SLAVEPORT) && ${SLAVEPORT}=="qt" + @${REINPLACE_CMD} -e 's|/usr/local/qt/include|${LOCALBASE}/include|; \ + s|/usr/local/qt/lib|${LOCALBASE}/lib|' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|$$QTDIR|${QT_PREFIX}|' ${WRKSRC}/configure +.endif +.if defined(SLAVEPORT) && ${SLAVEPORT}=="qt4" + @${REINPLACE_CMD} -e 's|MOCQT4=`.*|MOCQT4="${LOCALBASE}/bin/moc-qt4"|' \ + ${WRKSRC}/configure +.endif + +post-install: +.if defined(SLAVEPORT) +.if ${SLAVEPORT}=="gtk" + ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc ${PREFIX}/libdata/pkgconfig +.elif ${SLAVEPORT}=="qt" + ${INSTALL_DATA} ${WRKSRC}/poppler-qt.pc ${PREFIX}/libdata/pkgconfig +.elif ${SLAVEPORT}=="qt4" + ${INSTALL_DATA} ${WRKSRC}/poppler-qt4.pc ${PREFIX}/libdata/pkgconfig +.endif +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo new file mode 100644 index 000000000..fe24669ee --- /dev/null +++ b/graphics/poppler/distinfo @@ -0,0 +1,3 @@ +MD5 (poppler-0.12.4.tar.gz) = 4155346f9369b192569ce9184ff73e43 +SHA256 (poppler-0.12.4.tar.gz) = 2afa2a54bd4ccb09e92f82b64bcafa95d39a404a3b3db9d6a5fcad0e0229857a +SIZE (poppler-0.12.4.tar.gz) = 1674400 diff --git a/graphics/poppler/files/patch-glib_Makefile.in b/graphics/poppler/files/patch-glib_Makefile.in new file mode 100644 index 000000000..94d7703cd --- /dev/null +++ b/graphics/poppler/files/patch-glib_Makefile.in @@ -0,0 +1,45 @@ +--- glib/Makefile.in.orig 2008-03-24 09:03:54.000000000 -0400 ++++ glib/Makefile.in 2008-03-24 09:04:38.000000000 -0400 +@@ -66,7 +66,6 @@ + @BUILD_CAIRO_OUTPUT_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/poppler/libpoppler-cairo.la \ + @BUILD_CAIRO_OUTPUT_TRUE@ $(am__DEPENDENCIES_1) + libpoppler_glib_la_DEPENDENCIES = \ +- $(top_builddir)/poppler/libpoppler.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) + am__objects_1 = poppler-enums.lo +@@ -80,7 +79,6 @@ + @BUILD_WITH_GDK_TRUE@ test-poppler-glib.$(OBJEXT) + test_poppler_glib_OBJECTS = $(am_test_poppler_glib_OBJECTS) + @BUILD_WITH_GDK_TRUE@test_poppler_glib_DEPENDENCIES = \ +-@BUILD_WITH_GDK_TRUE@ $(top_builddir)/poppler/libpoppler.la \ + @BUILD_WITH_GDK_TRUE@ libpoppler-glib.la $(am__DEPENDENCIES_1) \ + @BUILD_WITH_GDK_TRUE@ $(am__DEPENDENCIES_1) \ + @BUILD_WITH_GDK_TRUE@ $(am__DEPENDENCIES_1) \ +@@ -295,7 +293,7 @@ + @BUILD_CAIRO_OUTPUT_TRUE@ $(top_builddir)/poppler/libpoppler-cairo.la \ + @BUILD_CAIRO_OUTPUT_TRUE@ $(CAIRO_LIBS) + +-SUBDIRS = . reference demo ++SUBDIRS = . reference + INCLUDES = \ + -DG_LOG_DOMAIN=\"Poppler\" \ + -I$(top_srcdir) \ +@@ -336,7 +334,7 @@ + poppler-private.h + + libpoppler_glib_la_LIBADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler \ + $(POPPLER_GLIB_LIBS) \ + $(GDK_LIBS) \ + $(FREETYPE_LIBS) \ +@@ -348,7 +346,7 @@ + @BUILD_WITH_GDK_TRUE@ test-poppler-glib.cc + + @BUILD_WITH_GDK_TRUE@test_poppler_glib_LDADD = \ +-@BUILD_WITH_GDK_TRUE@ $(top_builddir)/poppler/libpoppler.la \ ++@BUILD_WITH_GDK_TRUE@ -lpoppler \ + @BUILD_WITH_GDK_TRUE@ libpoppler-glib.la \ + @BUILD_WITH_GDK_TRUE@ $(POPPLER_GLIB_LIBS) \ + @BUILD_WITH_GDK_TRUE@ $(GDK_LIBS) \ diff --git a/graphics/poppler/files/patch-poppler_Page.cc b/graphics/poppler/files/patch-poppler_Page.cc new file mode 100644 index 000000000..1d0f63298 --- /dev/null +++ b/graphics/poppler/files/patch-poppler_Page.cc @@ -0,0 +1,11 @@ +--- poppler/Page.cc.orig 2008-07-09 17:53:56.000000000 +0200 ++++ poppler/Page.cc 2008-07-09 17:54:49.000000000 +0200 +@@ -230,7 +230,7 @@ + + Page::Page(XRef *xrefA, int numA, Dict *pageDict, PageAttrs *attrsA, Form *form) { + Object tmp; +- ++ pageWidgets = NULL; + ok = gTrue; + xref = xrefA; + num = numA; diff --git a/graphics/poppler/files/patch-qt4_Makefile.in b/graphics/poppler/files/patch-qt4_Makefile.in new file mode 100644 index 000000000..ffb4777b4 --- /dev/null +++ b/graphics/poppler/files/patch-qt4_Makefile.in @@ -0,0 +1,11 @@ +--- qt4/Makefile.in.orig 2008-03-24 08:30:49.000000000 -0400 ++++ qt4/Makefile.in 2008-03-24 08:30:34.000000000 -0400 +@@ -223,7 +223,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + win32_libs = @win32_libs@ +-SUBDIRS = src tests demos ++SUBDIRS = src + all: all-recursive + + .SUFFIXES: diff --git a/graphics/poppler/files/patch-qt4_src_Makefile.in b/graphics/poppler/files/patch-qt4_src_Makefile.in new file mode 100644 index 000000000..e9f0ee2e3 --- /dev/null +++ b/graphics/poppler/files/patch-qt4_src_Makefile.in @@ -0,0 +1,19 @@ +--- qt4/src/Makefile.in.orig 2008-07-02 14:06:32.000000000 -0500 ++++ qt4/src/Makefile.in 2008-07-02 14:07:35.000000000 -0500 +@@ -62,7 +62,6 @@ + LTLIBRARIES = $(lib_LTLIBRARIES) + am__DEPENDENCIES_1 = + libpoppler_qt4_la_DEPENDENCIES = \ +- $(top_builddir)/poppler/libpoppler.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__append_1) + am_libpoppler_qt4_la_OBJECTS = poppler-document.lo poppler-page.lo \ + poppler-fontinfo.lo poppler-embeddedfile.lo poppler-textbox.lo \ +@@ -303,7 +302,7 @@ + poppler-export.h \ + poppler-private.h + +-libpoppler_qt4_la_LIBADD = $(top_builddir)/poppler/libpoppler.la \ ++libpoppler_qt4_la_LIBADD = -lpoppler \ + $(FONTCONFIG_LIBS) $(POPPLER_QT4_LIBS) $(am__append_1) + libpoppler_qt4_la_LDFLAGS = -version-info 3:0:0 + all: all-am diff --git a/graphics/poppler/files/patch-qt_Makefile.in b/graphics/poppler/files/patch-qt_Makefile.in new file mode 100644 index 000000000..d872262ea --- /dev/null +++ b/graphics/poppler/files/patch-qt_Makefile.in @@ -0,0 +1,39 @@ +--- qt/Makefile.in.orig 2008-03-27 08:17:35.000000000 -0400 ++++ qt/Makefile.in 2008-03-27 08:18:20.000000000 -0400 +@@ -59,8 +59,7 @@ + libLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(lib_LTLIBRARIES) + am__DEPENDENCIES_1 = +-libpoppler_qt_la_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ +- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ ++libpoppler_qt_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) + am_libpoppler_qt_la_OBJECTS = poppler-document.lo poppler-fontinfo.lo \ + poppler-link.lo poppler-page.lo poppler-page-transition.lo +@@ -71,7 +70,7 @@ + PROGRAMS = $(noinst_PROGRAMS) + am_test_poppler_qt_OBJECTS = test-poppler-qt.$(OBJEXT) + test_poppler_qt_OBJECTS = $(am_test_poppler_qt_OBJECTS) +-test_poppler_qt_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++test_poppler_qt_DEPENDENCIES = \ + libpoppler-qt.la $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/poppler + depcomp = $(SHELL) $(top_srcdir)/depcomp +@@ -273,7 +272,7 @@ + poppler-private.h + + libpoppler_qt_la_LIBADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler -lqt-mt \ + $(POPPLER_QT_LIBS) \ + $(FREETYPE_LIBS) \ + $(FONTCONFIG_LIBS) +@@ -283,7 +282,7 @@ + test-poppler-qt.cpp + + test_poppler_qt_LDADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler -lqt-mt \ + libpoppler-qt.la \ + $(POPPLER_QT_LIBS) \ + $(FREETYPE_LIBS) diff --git a/graphics/poppler/files/patch-utils_Makefile.in b/graphics/poppler/files/patch-utils_Makefile.in new file mode 100644 index 000000000..4a621ba6e --- /dev/null +++ b/graphics/poppler/files/patch-utils_Makefile.in @@ -0,0 +1,73 @@ +--- utils/Makefile.in.orig 2009-10-22 20:33:17.000000000 +0200 ++++ utils/Makefile.in 2009-10-22 20:33:49.000000000 +0200 +@@ -64,7 +64,7 @@ am_pdffonts_OBJECTS = pdffonts.$(OBJEXT) + pdffonts_OBJECTS = $(am_pdffonts_OBJECTS) + pdffonts_LDADD = $(LDADD) + am__DEPENDENCIES_1 = +-pdffonts_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdffonts_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + AM_V_lt = $(am__v_lt_$(V)) + am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +@@ -73,19 +73,19 @@ am_pdfimages_OBJECTS = pdfimages.$(OBJEX + $(am__objects_1) + pdfimages_OBJECTS = $(am_pdfimages_OBJECTS) + pdfimages_LDADD = $(LDADD) +-pdfimages_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdfimages_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + am_pdfinfo_OBJECTS = pdfinfo.$(OBJEXT) printencodings.$(OBJEXT) \ + $(am__objects_1) + pdfinfo_OBJECTS = $(am_pdfinfo_OBJECTS) + pdfinfo_LDADD = $(LDADD) +-pdfinfo_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdfinfo_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + am__pdftoabw_SOURCES_DIST = pdftoabw.cc parseargs.c parseargs.h + @BUILD_ABIWORD_OUTPUT_TRUE@am_pdftoabw_OBJECTS = pdftoabw.$(OBJEXT) \ + @BUILD_ABIWORD_OUTPUT_TRUE@ $(am__objects_1) + pdftoabw_OBJECTS = $(am_pdftoabw_OBJECTS) +-am__DEPENDENCIES_2 = $(top_builddir)/poppler/libpoppler.la \ ++am__DEPENDENCIES_2 = \ + $(am__DEPENDENCIES_1) + @BUILD_ABIWORD_OUTPUT_TRUE@pdftoabw_DEPENDENCIES = \ + @BUILD_ABIWORD_OUTPUT_TRUE@ $(am__DEPENDENCIES_2) \ +@@ -94,25 +94,25 @@ am_pdftohtml_OBJECTS = pdftohtml.$(OBJEX + HtmlLinks.$(OBJEXT) HtmlOutputDev.$(OBJEXT) $(am__objects_1) + pdftohtml_OBJECTS = $(am_pdftohtml_OBJECTS) + pdftohtml_LDADD = $(LDADD) +-pdftohtml_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdftohtml_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + am__pdftoppm_SOURCES_DIST = pdftoppm.cc parseargs.c parseargs.h + @BUILD_SPLASH_OUTPUT_TRUE@am_pdftoppm_OBJECTS = pdftoppm.$(OBJEXT) \ + @BUILD_SPLASH_OUTPUT_TRUE@ $(am__objects_1) + pdftoppm_OBJECTS = $(am_pdftoppm_OBJECTS) + pdftoppm_LDADD = $(LDADD) +-pdftoppm_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdftoppm_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + am_pdftops_OBJECTS = pdftops.$(OBJEXT) $(am__objects_1) + pdftops_OBJECTS = $(am_pdftops_OBJECTS) + pdftops_LDADD = $(LDADD) +-pdftops_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdftops_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + am_pdftotext_OBJECTS = pdftotext.$(OBJEXT) printencodings.$(OBJEXT) \ + $(am__objects_1) + pdftotext_OBJECTS = $(am_pdftotext_OBJECTS) + pdftotext_LDADD = $(LDADD) +-pdftotext_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \ ++pdftotext_DEPENDENCIES = \ + $(am__DEPENDENCIES_1) + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/poppler + depcomp = $(SHELL) $(top_srcdir)/depcomp +@@ -382,7 +382,7 @@ INCLUDES = \ + $(ABIWORD_CFLAGS) + + LDADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler \ + $(UTILS_LIBS) \ + $(FONTCONFIG_LIBS) + diff --git a/graphics/poppler/pkg-descr b/graphics/poppler/pkg-descr new file mode 100644 index 000000000..d10674940 --- /dev/null +++ b/graphics/poppler/pkg-descr @@ -0,0 +1,6 @@ +Poppler is a fork of the xpdf PDF viewer developed by Derek Noonburg +of Glyph and Cog, LLC. It provides PDF rendering functionality as a +shared library, and uses modern components from Freedesktop.org such as +fontconfig and cairo to take advantage of modern UNIX desktops. + +WWW: http://poppler.freedesktop.org/ diff --git a/graphics/poppler/pkg-plist b/graphics/poppler/pkg-plist new file mode 100644 index 000000000..5ccd2f4ab --- /dev/null +++ b/graphics/poppler/pkg-plist @@ -0,0 +1,112 @@ +include/poppler/Annot.h +include/poppler/Array.h +include/poppler/BuiltinFont.h +include/poppler/BuiltinFontTables.h +include/poppler/CMap.h +include/poppler/Catalog.h +include/poppler/CharCodeToUnicode.h +include/poppler/CharTypes.h +include/poppler/CompactFontTables.h +include/poppler/DateInfo.h +include/poppler/Decrypt.h +include/poppler/Dict.h +include/poppler/Error.h +include/poppler/ErrorCodes.h +include/poppler/FileSpec.h +include/poppler/FontEncodingTables.h +include/poppler/FontInfo.h +include/poppler/Form.h +include/poppler/Function.h +include/poppler/Gfx.h +include/poppler/GfxFont.h +include/poppler/GfxState.h +include/poppler/GfxState_helpers.h +include/poppler/GlobalParams.h +include/poppler/JArithmeticDecoder.h +include/poppler/JBIG2Stream.h +include/poppler/Lexer.h +include/poppler/Link.h +include/poppler/Movie.h +include/poppler/NameToCharCode.h +include/poppler/NameToUnicodeTable.h +include/poppler/Object.h +include/poppler/OptionalContent.h +include/poppler/Outline.h +include/poppler/OutputDev.h +include/poppler/PDFDoc.h +include/poppler/PDFDocEncoding.h +include/poppler/PSOutputDev.h +include/poppler/PSTokenizer.h +include/poppler/Page.h +include/poppler/PageTransition.h +include/poppler/Parser.h +include/poppler/PopplerCache.h +include/poppler/PreScanOutputDev.h +include/poppler/ProfileData.h +include/poppler/SecurityHandler.h +include/poppler/Sound.h +include/poppler/SplashOutputDev.h +include/poppler/Stream-CCITT.h +include/poppler/Stream.h +include/poppler/TextOutputDev.h +include/poppler/UTF8.h +include/poppler/UnicodeCClassTables.h +include/poppler/UnicodeCompTables.h +include/poppler/UnicodeDecompTables.h +include/poppler/UnicodeMap.h +include/poppler/UnicodeMapTables.h +include/poppler/UnicodeTypeTable.h +include/poppler/XRef.h +include/poppler/XpdfPluginAPI.h +include/poppler/fofi/FoFiBase.h +include/poppler/fofi/FoFiEncodings.h +include/poppler/fofi/FoFiTrueType.h +include/poppler/fofi/FoFiType1.h +include/poppler/fofi/FoFiType1C.h +include/poppler/goo/FixedPoint.h +include/poppler/goo/GooHash.h +include/poppler/goo/GooList.h +include/poppler/goo/GooMutex.h +include/poppler/goo/GooString.h +include/poppler/goo/GooTimer.h +include/poppler/goo/GooVector.h +include/poppler/goo/PNGWriter.h +include/poppler/goo/gfile.h +include/poppler/goo/gmem.h +include/poppler/goo/gstrtod.h +include/poppler/goo/gtypes.h +include/poppler/poppler-config.h +include/poppler/splash/Splash.h +include/poppler/splash/SplashBitmap.h +include/poppler/splash/SplashClip.h +include/poppler/splash/SplashErrorCodes.h +include/poppler/splash/SplashFTFont.h +include/poppler/splash/SplashFTFontEngine.h +include/poppler/splash/SplashFTFontFile.h +include/poppler/splash/SplashFont.h +include/poppler/splash/SplashFontEngine.h +include/poppler/splash/SplashFontFile.h +include/poppler/splash/SplashFontFileID.h +include/poppler/splash/SplashGlyphBitmap.h +include/poppler/splash/SplashMath.h +include/poppler/splash/SplashPath.h +include/poppler/splash/SplashPattern.h +include/poppler/splash/SplashScreen.h +include/poppler/splash/SplashState.h +include/poppler/splash/SplashT1Font.h +include/poppler/splash/SplashT1FontEngine.h +include/poppler/splash/SplashT1FontFile.h +include/poppler/splash/SplashTypes.h +include/poppler/splash/SplashXPath.h +include/poppler/splash/SplashXPathScanner.h +lib/libpoppler.a +lib/libpoppler.la +lib/libpoppler.so +lib/libpoppler.so.5 +%%CAIRO%%libdata/pkgconfig/poppler-cairo.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 |