diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-13 05:04:49 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-13 05:04:49 +0800 |
commit | 88f4436eb5a025073a11dbda4084733958bca759 (patch) | |
tree | e4c9181b4e40f86b5863635026dd8634d565c84a | |
parent | 7337461ef84666ba4432f20eae3d854b4a35f48e (diff) | |
download | marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.tar marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.tar.gz marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.tar.bz2 marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.tar.lz marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.tar.xz marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.tar.zst marcuscom-ports-88f4436eb5a025073a11dbda4084733958bca759.zip |
- Split qt and gtk bindings of poppler into slave ports since it looks like
new versions of kde apps will be using poppler
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5372 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | graphics/poppler-gtk/Makefile | 18 | ||||
-rw-r--r-- | graphics/poppler-gtk/pkg-plist | 10 | ||||
-rw-r--r-- | graphics/poppler-qt/Makefile | 18 | ||||
-rw-r--r-- | graphics/poppler-qt/pkg-plist | 5 | ||||
-rw-r--r-- | graphics/poppler/Makefile | 67 | ||||
-rw-r--r-- | graphics/poppler/distinfo | 3 | ||||
-rw-r--r-- | graphics/poppler/files/patch-glib_Makefile.in | 38 | ||||
-rw-r--r-- | graphics/poppler/files/patch-qt_Makefile.in | 38 | ||||
-rw-r--r-- | graphics/poppler/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/poppler/pkg-plist | 90 |
10 files changed, 293 insertions, 0 deletions
diff --git a/graphics/poppler-gtk/Makefile b/graphics/poppler-gtk/Makefile new file mode 100644 index 000000000..4df2a7ab3 --- /dev/null +++ b/graphics/poppler-gtk/Makefile @@ -0,0 +1,18 @@ +# 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 + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/poppler-gtk/pkg-plist b/graphics/poppler-gtk/pkg-plist new file mode 100644 index 000000000..34ecba179 --- /dev/null +++ b/graphics/poppler-gtk/pkg-plist @@ -0,0 +1,10 @@ +include/poppler/glib/poppler-action.h +include/poppler/glib/poppler-document.h +include/poppler/glib/poppler-enums.h +include/poppler/glib/poppler-page.h +include/poppler/glib/poppler.h +lib/libpoppler-glib.a +lib/libpoppler-glib.so +lib/libpoppler-glib.so.0 +libdata/pkgconfig/poppler-glib.pc +@dirrm include/poppler/glib diff --git a/graphics/poppler-qt/Makefile b/graphics/poppler-qt/Makefile new file mode 100644 index 000000000..5b83374a8 --- /dev/null +++ b/graphics/poppler-qt/Makefile @@ -0,0 +1,18 @@ +# 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..f2d302faa --- /dev/null +++ b/graphics/poppler-qt/pkg-plist @@ -0,0 +1,5 @@ +include/poppler/poppler-qt.h +lib/libpoppler-qt.a +lib/libpoppler-qt.so +lib/libpoppler-qt.so.0 +libdata/pkgconfig/poppler-qt.pc diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile new file mode 100644 index 000000000..f368c9905 --- /dev/null +++ b/graphics/poppler/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: poppler +# Date created: 03 March 2005 +# Whom: marcus@FreeBSD.org +# +# $FreeBSD$ +# $MCom: ports/graphics/poppler/Makefile,v 1.14 2005/09/03 04:44:58 ahze Exp $ +# + +PORTNAME= poppler +PORTVERSION= 0.4.4 +PORTREVISION?= 1 +CATEGORIES= graphics print +MASTER_SITES= http://poppler.freedesktop.org/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A PDF rendering library + +LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_AUTOTOOLS= libtool:15 +USE_GNOME= gnomehack +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-zlib +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" + +.include <bsd.port.pre.mk> + +.if defined(SLAVEPORT) +LIB_DEPENDS+= poppler.0:${PORTSDIR}/graphics/poppler +.if ${SLAVEPORT}=="gtk" +CONFIGURE_ARGS+=--enable-poppler-glib +USE_GNOME+= gtk20 +BUILD_WRKSRC= ${WRKSRC}/glib +INSTALL_WRKSRC= ${WRKSRC}/glib +.elif ${SLAVEPORT}=="qt" +CONFIGURE_ARGS+=--enable-poppler-qt +USE_QT_VER+= 3 +BUILD_WRKSRC= ${WRKSRC}/qt +INSTALL_WRKSRC= ${WRKSRC}/qt +# blah.. USE_QT_VER can't be defined after bsd.port.pre.mk +.include "${PORTSDIR}/Mk/bsd.kde.mk" +.endif +.else +CONFIGURE_ARGS+=--disable-poppler-glib --disable-poppler-qt \ + --disable-poppler-qt4 +.endif + +post-patch: +.if defined(SLAVEPORT) && ${SLAVEPORT}=="qt" + @${REINPLACE_CMD} -e 's|/usr/local/qt/include|${X11BASE}/include|; \ + s|/usr/local/qt/lib|${X11BASE}/lib|' \ + ${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 +.endif +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo new file mode 100644 index 000000000..daff28212 --- /dev/null +++ b/graphics/poppler/distinfo @@ -0,0 +1,3 @@ +MD5 (poppler-0.4.4.tar.gz) = e081bca749a3373b2d95e696b7dddb9b +SHA256 (poppler-0.4.4.tar.gz) = 31ba8968c8811d31da61a6dbc5797c31624ca7f9936c6ca1691b41a0cf71ce60 +SIZE (poppler-0.4.4.tar.gz) = 783571 diff --git a/graphics/poppler/files/patch-glib_Makefile.in b/graphics/poppler/files/patch-glib_Makefile.in new file mode 100644 index 000000000..1c4dddb07 --- /dev/null +++ b/graphics/poppler/files/patch-glib_Makefile.in @@ -0,0 +1,38 @@ +--- glib/Makefile.in.orig Thu Jan 12 15:17:02 2006 ++++ glib/Makefile.in Thu Jan 12 15:18:40 2006 +@@ -63,7 +63,7 @@ + am__DEPENDENCIES_1 = + @BUILD_CAIRO_OUTPUT_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) + libpoppler_glib_la_DEPENDENCIES = \ +- $(top_builddir)/poppler/libpoppler.la $(am__DEPENDENCIES_1) \ ++ $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) + am__objects_1 = poppler-enums.lo + am_libpoppler_glib_la_OBJECTS = $(am__objects_1) poppler-action.lo \ +@@ -73,7 +73,7 @@ + am_test_poppler_glib_OBJECTS = test-poppler-glib.$(OBJEXT) + test_poppler_glib_OBJECTS = $(am_test_poppler_glib_OBJECTS) + test_poppler_glib_DEPENDENCIES = \ +- $(top_builddir)/poppler/libpoppler.la libpoppler-glib.la \ ++ libpoppler-glib.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/poppler +@@ -277,7 +277,7 @@ + poppler-private.h + + libpoppler_glib_la_LIBADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler \ + $(POPPLER_GLIB_LIBS) \ + $(FREETYPE_LIBS) \ + $(cairo_libs) +@@ -286,7 +286,7 @@ + test-poppler-glib.c + + test_poppler_glib_LDADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler \ + libpoppler-glib.la \ + $(POPPLER_GLIB_LIBS) \ + $(FREETYPE_LIBS) \ diff --git a/graphics/poppler/files/patch-qt_Makefile.in b/graphics/poppler/files/patch-qt_Makefile.in new file mode 100644 index 000000000..fa1e20c8b --- /dev/null +++ b/graphics/poppler/files/patch-qt_Makefile.in @@ -0,0 +1,38 @@ +--- qt/Makefile.in.orig Thu Jan 12 15:17:02 2006 ++++ qt/Makefile.in Thu Jan 12 15:19:48 2006 +@@ -61,15 +61,13 @@ + 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_libpoppler_qt_la_OBJECTS = poppler-document.lo poppler-page.lo + libpoppler_qt_la_OBJECTS = $(am_libpoppler_qt_la_OBJECTS) + 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 \ +- libpoppler-qt.la $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) ++test_poppler_qt_DEPENDENCIES = libpoppler-qt.la $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/poppler + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles +@@ -253,7 +251,7 @@ + poppler-private.h + + libpoppler_qt_la_LIBADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler \ + $(POPPLER_QT_LIBS) \ + $(FREETYPE_LIBS) + +@@ -261,7 +259,7 @@ + test-poppler-qt.cpp + + test_poppler_qt_LDADD = \ +- $(top_builddir)/poppler/libpoppler.la \ ++ -lpoppler \ + libpoppler-qt.la \ + $(POPPLER_QT_LIBS) \ + $(FREETYPE_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..af48e8abf --- /dev/null +++ b/graphics/poppler/pkg-plist @@ -0,0 +1,90 @@ +include/poppler/Annot.h +include/poppler/Array.h +include/poppler/BaseFile.h +include/poppler/BuiltinFont.h +include/poppler/BuiltinFontTables.h +include/poppler/CMap.h +include/poppler/CairoFontEngine.h +include/poppler/CairoOutputDev.h +include/poppler/Catalog.h +include/poppler/CharCodeToUnicode.h +include/poppler/CharTypes.h +include/poppler/CompactFontTables.h +include/poppler/Decrypt.h +include/poppler/Dict.h +include/poppler/Error.h +include/poppler/ErrorCodes.h +include/poppler/FontEncodingTables.h +include/poppler/FontInfo.h +include/poppler/Function.cc +include/poppler/Function.h +include/poppler/Gfx.h +include/poppler/GfxFont.h +include/poppler/GfxState.h +include/poppler/GlobalParams.h +include/poppler/JArithmeticDecoder.h +include/poppler/JBIG2Stream.h +include/poppler/JPXStream.h +include/poppler/Lexer.h +include/poppler/Link.h +include/poppler/NameToCharCode.h +include/poppler/NameToUnicodeTable.h +include/poppler/Object.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/Parser.h +include/poppler/SplashOutputDev.h +include/poppler/Stream-CCITT.h +include/poppler/Stream.h +include/poppler/TextOutputDev.h +include/poppler/UTF8.h +include/poppler/UnicodeMap.h +include/poppler/UnicodeMapTables.h +include/poppler/UnicodeTypeTable.h +include/poppler/XRef.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/gfile.h +include/poppler/goo/gmem.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.so +lib/libpoppler.so.0 +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 |