diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-19 15:46:29 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-05-19 15:46:29 +0800 |
commit | 02ec528ac466224176cf636dc26c8012485d837c (patch) | |
tree | ff4987f826ed3295789fd2c9e8f9f0f7ccacc768 /graphics/poppler | |
parent | 34fdb52bf8f808431bfc2c1f1e2f1d97e98d02f8 (diff) | |
download | marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.tar marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.tar.gz marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.tar.bz2 marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.tar.lz marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.tar.xz marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.tar.zst marcuscom-ports-02ec528ac466224176cf636dc26c8012485d837c.zip |
- Readd poppler at 0.3.2
* cairo 0.5.0 update port.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3992 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/poppler')
-rw-r--r-- | graphics/poppler/Makefile | 32 | ||||
-rw-r--r-- | graphics/poppler/distinfo | 2 | ||||
-rw-r--r-- | graphics/poppler/files/patch-poppler_CairoOutputDev.cc | 33 | ||||
-rw-r--r-- | graphics/poppler/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/poppler/pkg-plist | 101 |
5 files changed, 174 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile new file mode 100644 index 000000000..0326fb1f2 --- /dev/null +++ b/graphics/poppler/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: poppler +# Date created: 03 March 2005 +# Whom: marcus@FreeBSD.org +# +# $FreeBSD: ports/graphics/poppler/Makefile,v 1.6 2005/04/29 20:25:14 ahze Exp $ +# + +PORTNAME= poppler +PORTVERSION= 0.3.2 +CATEGORIES= graphics print +MASTER_SITES= http://poppler.freedesktop.org/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A PDF rendering library + +LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_LIBTOOL_VER=15 +USE_GNOME= gnomeprefix gnomehack gtk20 +INSTALLS_SHLIB= yes +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|poppler-[@]VERSION[@]|poppler|g' \ + ${WRKSRC}/poppler-cairo.pc.in \ + ${WRKSRC}/poppler-splash.pc.in + +.include <bsd.port.mk> diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo new file mode 100644 index 000000000..6d7b236aa --- /dev/null +++ b/graphics/poppler/distinfo @@ -0,0 +1,2 @@ +MD5 (poppler-0.3.2.tar.gz) = e8570684a366cdf3d499070d9fe8588d +SIZE (poppler-0.3.2.tar.gz) = 729505 diff --git a/graphics/poppler/files/patch-poppler_CairoOutputDev.cc b/graphics/poppler/files/patch-poppler_CairoOutputDev.cc new file mode 100644 index 000000000..67ad67848 --- /dev/null +++ b/graphics/poppler/files/patch-poppler_CairoOutputDev.cc @@ -0,0 +1,33 @@ +--- poppler/CairoOutputDev.cc.orig Thu Mar 3 03:10:24 2005 ++++ poppler/CairoOutputDev.cc Thu Mar 3 03:10:58 2005 +@@ -240,7 +240,7 @@ + if (subpath->getNumPoints() > 0) { + state->transform(subpath->getX(0), subpath->getY(0), &x1, &y1); + if (snapToGrid) { +- x1 = round (x1); y1 = round (y1); ++ x1 = rint (x1); y1 = rint (y1); + } + cairo_move_to (cairo, x1, y1); + LOG (printf ("move_to %f, %f\n", x1, y1)); +@@ -248,9 +248,9 @@ + while (j < subpath->getNumPoints()) { + if (subpath->getCurve(j)) { + if (snapToGrid) { +- x1 = round (x1); y1 = round (y1); +- x2 = round (x2); y2 = round (y2); +- x3 = round (x3); y3 = round (y3); ++ x1 = rint (x1); y1 = rint (y1); ++ x2 = rint (x2); y2 = rint (y2); ++ x3 = rint (x3); y3 = rint (y3); + } + state->transform(subpath->getX(j), subpath->getY(j), &x1, &y1); + state->transform(subpath->getX(j+1), subpath->getY(j+1), &x2, &y2); +@@ -264,7 +264,7 @@ + } else { + state->transform(subpath->getX(j), subpath->getY(j), &x1, &y1); + if (snapToGrid) { +- x1 = round (x1); y1 = round (y1); ++ x1 = rint (x1); y1 = rint (y1); + } + cairo_line_to (cairo, x1, y1); + LOG(printf ("line_to %f, %f\n", x1, y1)); 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..1c34155b0 --- /dev/null +++ b/graphics/poppler/pkg-plist @@ -0,0 +1,101 @@ +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/CairoOutputDevImage.h +include/poppler/CairoOutputDevX.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/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/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 +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-glib.a +lib/libpoppler-glib.so +lib/libpoppler-glib.so.0 +lib/libpoppler.a +lib/libpoppler.so +lib/libpoppler.so.0 +libdata/pkgconfig/poppler-cairo.pc +libdata/pkgconfig/poppler-glib.pc +libdata/pkgconfig/poppler-splash.pc +libdata/pkgconfig/poppler.pc +@dirrm include/poppler/splash +@dirrm include/poppler/goo +@dirrm include/poppler/glib +@dirrm include/poppler |