Import poppler 0.5.3

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.
This commit is contained in:
alek 2006-06-18 13:09:44 +00:00
parent 1c8e9e1e8b
commit fa26c02ae9
6 changed files with 216 additions and 0 deletions

42
print/poppler/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
COMMENT= "PDF rendering library"
DISTNAME= poppler-0.5.3
CATEGORIES= print
SHARED_LIBS= poppler 1.0 \
poppler-glib 1.0
HOMEPAGE= http://poppler.freedesktop.org/
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-xpdf-headers \
--disable-poppler-qt \
--disable-poppler-qt4 \
--disable-utils \
--enable-zlib
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0::x11/gtk+2
WANTLIB= Xrender png z freetype X11 fontconfig m Xext glitz \
gmodule-2.0.0.0 cairo jpeg \
pango-1.0.0.0 pangocairo-1.0.0.0 pangoft2-1.0.0.0 \
gobject-2.0.0.0 glib-2.0.0.0
USE_LIBTOOL= Yes
USE_X11= Yes
USE_GMAKE= Yes
.include <bsd.port.mk>

4
print/poppler/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (poppler-0.5.3.tar.gz) = d06207536555f5711e7bc61711c1b8a0
RMD160 (poppler-0.5.3.tar.gz) = 3456de23955fc4001842c76d32deba308bd7f968
SHA1 (poppler-0.5.3.tar.gz) = e197f5cf56f0676b5ca313577dd6456a393c46ec
SIZE (poppler-0.5.3.tar.gz) = 1049900

View File

@ -0,0 +1,35 @@
$OpenBSD: patch-goo_Makefile_in,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
--- goo/Makefile.in.orig Mon Apr 17 13:28:31 2006
+++ goo/Makefile.in Mon Apr 17 13:28:54 2006
@@ -329,25 +329,25 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gmempp.Plo@am__quote@
.c.o:
-@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(COMPILE) -c $<
+@am__fastdepCC_FALSE@ $(CXXCOMPILE) -c $<
.c.obj:
-@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+@am__fastdepCC_FALSE@ $(CXXCOMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
-@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+@am__fastdepCC_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
.cc.o:
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \

4
print/poppler/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
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.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
@lib lib/libpoppler-glib.so.${LIBpoppler-glib_VERSION}
@lib lib/libpoppler.so.${LIBpoppler_VERSION}

128
print/poppler/pkg/PLIST Normal file
View File

@ -0,0 +1,128 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
%%SHARED%%
include/poppler/
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/glib/
include/poppler/glib/poppler-action.h
include/poppler/glib/poppler-attachment.h
include/poppler/glib/poppler-document.h
include/poppler/glib/poppler-enums.h
include/poppler/glib/poppler-features.h
include/poppler/glib/poppler-page.h
include/poppler/glib/poppler.h
include/poppler/goo/
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/
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-glib.a
lib/libpoppler-glib.la
lib/libpoppler.a
lib/libpoppler.la
lib/pkgconfig/
lib/pkgconfig/poppler-cairo.pc
lib/pkgconfig/poppler-glib.pc
lib/pkgconfig/poppler-splash.pc
lib/pkgconfig/poppler.pc
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/poppler/
share/gtk-doc/html/poppler/ch01.html
share/gtk-doc/html/poppler/home.png
share/gtk-doc/html/poppler/index.html
share/gtk-doc/html/poppler/index.sgml
share/gtk-doc/html/poppler/left.png
share/gtk-doc/html/poppler/poppler-poppler-action.html
share/gtk-doc/html/poppler/poppler-poppler-document.html
share/gtk-doc/html/poppler/poppler-poppler-enums.html
share/gtk-doc/html/poppler/poppler-poppler-page.html
share/gtk-doc/html/poppler/poppler-poppler.html
share/gtk-doc/html/poppler/poppler.devhelp
share/gtk-doc/html/poppler/poppler.devhelp2
share/gtk-doc/html/poppler/right.png
share/gtk-doc/html/poppler/style.css
share/gtk-doc/html/poppler/up.png