summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 21:19:48 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 21:19:48 +0800
commitcedfed76c068b27dfac664784e38303b83e8a0ec (patch)
tree582a2c40b1e2456cec1ca83fc506dba6cd281127 /graphics
parent162be75eca60c59ece12dc3b5205f93c75a95e3e (diff)
downloadmarcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.tar
marcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.tar.gz
marcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.tar.bz2
marcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.tar.lz
marcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.tar.xz
marcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.tar.zst
marcuscom-ports-cedfed76c068b27dfac664784e38303b83e8a0ec.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6626 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/poppler/Makefile84
-rw-r--r--graphics/poppler/distinfo3
-rw-r--r--graphics/poppler/files/patch-Makefile.in20
-rw-r--r--graphics/poppler/files/patch-configure11
-rw-r--r--graphics/poppler/files/patch-glib_Makefile.in38
-rw-r--r--graphics/poppler/files/patch-qt_Makefile.in39
-rw-r--r--graphics/poppler/files/patch-utils_Makefile.in61
-rw-r--r--graphics/poppler/pkg-descr6
-rw-r--r--graphics/poppler/pkg-plist98
9 files changed, 360 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
new file mode 100644
index 000000000..cc63d0b93
--- /dev/null
+++ b/graphics/poppler/Makefile
@@ -0,0 +1,84 @@
+# New ports collection makefile for: poppler
+# Date created: 03 March 2005
+# Whom: marcus@FreeBSD.org
+#
+# $FreeBSD$
+# $MCom: ports/graphics/poppler/Makefile,v 1.23 2006/04/12 17:10:20 ahze Exp $
+#
+
+PORTNAME= poppler
+PORTVERSION= 0.5.3
+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
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack gnometarget
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --enable-zlib \
+ --enable-xpdf-headers \
+ --with-html-dir=${DOCSDIR}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
+
+.if !defined(SLAVEPORT)
+OPTIONS= CAIRO "Enable cairo output backend" on
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(SLAVEPORT)
+LIB_DEPENDS+= poppler.1:${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"
+.elif ${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
+.endif
+.else
+CONFIGURE_ARGS+=--disable-poppler-glib --disable-poppler-qt \
+ --disable-poppler-qt4 --disable-utils
+.if defined(WITHOUT_CAIRO)
+CONFIGURE_ARGS+= --disable-cairo-output
+.endif
+.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
+ @${REINPLACE_CMD} -e 's|$$QTDIR|${X11BASE}|' ${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..19f573b59
--- /dev/null
+++ b/graphics/poppler/distinfo
@@ -0,0 +1,3 @@
+MD5 (poppler-0.5.3.tar.gz) = d06207536555f5711e7bc61711c1b8a0
+SHA256 (poppler-0.5.3.tar.gz) = 5cfabff39670610fa8f5c33da7b9b0ae89d445445be6d6c245cdce8bf3f24190
+SIZE (poppler-0.5.3.tar.gz) = 1049900
diff --git a/graphics/poppler/files/patch-Makefile.in b/graphics/poppler/files/patch-Makefile.in
new file mode 100644
index 000000000..a93d4d7c8
--- /dev/null
+++ b/graphics/poppler/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Tue May 23 07:59:21 2006
++++ Makefile.in Tue May 23 08:00:41 2006
+@@ -76,7 +76,7 @@
+ DATA = $(pkgconfig_DATA)
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = goo fofi splash poppler utils glib qt test qt4
++DIST_SUBDIRS = goo fofi splash poppler utils glib qt qt4
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -254,7 +254,7 @@
+ @BUILD_POPPLER_QT4_TRUE@qt4_subdir = qt4
+ @BUILD_POPPLER_QT4_TRUE@qt4_pc_file = poppler-qt4.pc
+ @BUILD_UTILS_TRUE@utils_subdir = utils
+-SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) $(qt_subdir) test $(qt4_subdir)
++SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) $(qt_subdir) $(qt4_subdir)
+ EXTRA_DIST = \
+ README-XPDF \
+ poppler.pc.in \
diff --git a/graphics/poppler/files/patch-configure b/graphics/poppler/files/patch-configure
new file mode 100644
index 000000000..c8c36c268
--- /dev/null
+++ b/graphics/poppler/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue May 23 08:07:51 2006
++++ configure Tue May 23 08:08:07 2006
+@@ -24856,7 +24856,7 @@
+ fi
+ fi
+
+-if test "x$have_qt" == "xyes"; then
++if test "x$have_qt" = "xyes"; then
+ ac_ext=cc
+ ac_cpp='$CXXCPP $CPPFLAGS'
+ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/graphics/poppler/files/patch-glib_Makefile.in b/graphics/poppler/files/patch-glib_Makefile.in
new file mode 100644
index 000000000..ccf1f8d15
--- /dev/null
+++ b/graphics/poppler/files/patch-glib_Makefile.in
@@ -0,0 +1,38 @@
+--- glib/Makefile.in.orig Tue May 23 08:12:00 2006
++++ glib/Makefile.in Tue May 23 08:13:09 2006
+@@ -66,7 +66,7 @@
+ @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_2)
+ am__objects_1 = poppler-enums.lo
+ am_libpoppler_glib_la_OBJECTS = $(am__objects_1) poppler-action.lo \
+@@ -77,7 +77,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
+@@ -310,7 +310,7 @@
+ poppler-private.h
+
+ libpoppler_glib_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(cairo_libs)
+@@ -320,7 +320,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..29d9a5fa2
--- /dev/null
+++ b/graphics/poppler/files/patch-qt_Makefile.in
@@ -0,0 +1,39 @@
+--- qt/Makefile.in.orig Thu Jan 12 21:37:56 2006
++++ qt/Makefile.in Thu Jan 12 21:38:47 2006
+@@ -63,16 +63,14 @@
+ 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-fontinfo.lo \
+ poppler-page.lo poppler-page-transition.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
+@@ -273,7 +271,7 @@
+ poppler-private.h
+
+ libpoppler_qt_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_QT_LIBS) \
+ $(FREETYPE_LIBS)
+
+@@ -281,7 +279,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/files/patch-utils_Makefile.in b/graphics/poppler/files/patch-utils_Makefile.in
new file mode 100644
index 000000000..88cf20d30
--- /dev/null
+++ b/graphics/poppler/files/patch-utils_Makefile.in
@@ -0,0 +1,61 @@
+--- utils/Makefile.in.orig Sat May 6 22:21:41 2006
++++ utils/Makefile.in Sat May 6 22:22:56 2006
+@@ -61,42 +61,35 @@ am_pdffonts_OBJECTS = pdffonts.$(OBJEXT)
+ pdffonts_OBJECTS = $(am_pdffonts_OBJECTS)
+ pdffonts_LDADD = $(LDADD)
+ am__DEPENDENCIES_1 =
+-pdffonts_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \
+- $(am__DEPENDENCIES_1)
++pdffonts_DEPENDENCIES = $(am__DEPENDENCIES_1)
+ am_pdfimages_OBJECTS = pdfimages.$(OBJEXT) ImageOutputDev.$(OBJEXT) \
+ $(am__objects_1)
+ pdfimages_OBJECTS = $(am_pdfimages_OBJECTS)
+ pdfimages_LDADD = $(LDADD)
+-pdfimages_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \
+- $(am__DEPENDENCIES_1)
++pdfimages_DEPENDENCIES = $(am__DEPENDENCIES_1)
+ am_pdfinfo_OBJECTS = pdfinfo.$(OBJEXT) $(am__objects_1)
+ pdfinfo_OBJECTS = $(am_pdfinfo_OBJECTS)
+ pdfinfo_LDADD = $(LDADD)
+-pdfinfo_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \
+- $(am__DEPENDENCIES_1)
++pdfinfo_DEPENDENCIES = $(am__DEPENDENCIES_1)
+ am_pdftohtml_OBJECTS = pdftohtml.$(OBJEXT) HtmlFonts.$(OBJEXT) \
+ HtmlLinks.$(OBJEXT) HtmlOutputDev.$(OBJEXT) $(am__objects_1)
+ pdftohtml_OBJECTS = $(am_pdftohtml_OBJECTS)
+ pdftohtml_LDADD = $(LDADD)
+-pdftohtml_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \
+- $(am__DEPENDENCIES_1)
++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 \
+- $(am__DEPENDENCIES_1)
++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 \
+- $(am__DEPENDENCIES_1)
++pdftops_DEPENDENCIES = $(am__DEPENDENCIES_1)
+ am_pdftotext_OBJECTS = pdftotext.$(OBJEXT) $(am__objects_1)
+ pdftotext_OBJECTS = $(am_pdftotext_OBJECTS)
+ pdftotext_LDADD = $(LDADD)
+-pdftotext_DEPENDENCIES = $(top_builddir)/poppler/libpoppler.la \
+- $(am__DEPENDENCIES_1)
++pdftotext_DEPENDENCIES = $(am__DEPENDENCIES_1)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/poppler
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -294,7 +287,7 @@ INCLUDES = \
+ $(UTILS_CFLAGS)
+
+ LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(UTILS_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..1f06ace7e
--- /dev/null
+++ b/graphics/poppler/pkg-plist
@@ -0,0 +1,98 @@
+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/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/ProfileData.h
+include/poppler/SecurityHandler.h
+include/poppler/SplashOutputDev.h
+include/poppler/Stream-CCITT.h
+include/poppler/Stream.h
+include/poppler/TextOutputDev.h
+include/poppler/UGooString.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/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/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.la
+lib/libpoppler.so
+lib/libpoppler.so.1
+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