diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-06 09:29:09 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-06 09:29:09 +0800 |
commit | 82b94614ff8c23ba09d8c24bd499e8ed767458d6 (patch) | |
tree | 75c9702cafe41e185281333dedc0cd524245d1bf /graphics/poppler | |
parent | 3692bdc430e89d56040aa75303a00b86d54cc2a1 (diff) | |
download | marcuscom-ports-82b94614ff8c23ba09d8c24bd499e8ed767458d6.tar.gz marcuscom-ports-82b94614ff8c23ba09d8c24bd499e8ed767458d6.tar.zst marcuscom-ports-82b94614ff8c23ba09d8c24bd499e8ed767458d6.zip |
- Clean out graphics since everything is in ports now.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5022 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/poppler')
-rw-r--r-- | graphics/poppler/Makefile | 25 | ||||
-rw-r--r-- | graphics/poppler/distinfo | 2 | ||||
-rw-r--r-- | graphics/poppler/files/patch-poppler_CairoOutputDev.cc | 33 | ||||
-rw-r--r-- | graphics/poppler/files/patch-security | 58 | ||||
-rw-r--r-- | graphics/poppler/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/poppler/pkg-plist | 100 |
6 files changed, 0 insertions, 224 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile deleted file mode 100644 index 6698743f1..000000000 --- a/graphics/poppler/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: poppler -# Date created: 03 March 2005 -# Whom: marcus@FreeBSD.org -# -# $FreeBSD$ -# $MCom: ports/graphics/poppler/Makefile,v 1.13 2005/08/26 06:13:25 marcus Exp $ -# - -PORTNAME= poppler -PORTVERSION= 0.4.2 -CATEGORIES= graphics print -MASTER_SITES= http://poppler.freedesktop.org/ - -MAINTAINER= gnome@FreeBSD.org -COMMENT= A PDF rendering library - -USE_X_PREFIX= yes -USE_GMAKE= yes -USE_AUTOTOOLS= libtool:15 -USE_GNOME= gnomeprefix gnomehack gtk20 -INSTALLS_SHLIB= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2" \ - LDFLAGS="-L${LOCALBASE}/lib" - -.include <bsd.port.mk> diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo deleted file mode 100644 index 68c71d7bc..000000000 --- a/graphics/poppler/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (poppler-0.4.2.tar.gz) = beb1eea135a3c5b679a7a22d01a500c0 -SIZE (poppler-0.4.2.tar.gz) = 777935 diff --git a/graphics/poppler/files/patch-poppler_CairoOutputDev.cc b/graphics/poppler/files/patch-poppler_CairoOutputDev.cc deleted file mode 100644 index 67ad67848..000000000 --- a/graphics/poppler/files/patch-poppler_CairoOutputDev.cc +++ /dev/null @@ -1,33 +0,0 @@ ---- 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/files/patch-security b/graphics/poppler/files/patch-security deleted file mode 100644 index 8b1b1c2a5..000000000 --- a/graphics/poppler/files/patch-security +++ /dev/null @@ -1,58 +0,0 @@ ---- fofi/FoFiTrueType.cc.orig Thu Jan 22 02:26:44 2004 -+++ fofi/FoFiTrueType.cc Thu Aug 11 16:55:52 2005 -@@ -1343,6 +1343,27 @@ - return; - } - -+ // make sure the loca table is sane (correct length and entries are -+ // in bounds) -+ i = seekTable("loca"); -+ if (tables[i].len < (nGlyphs + 1) * (locaFmt ? 4 : 2)) { -+ parsedOk = gFalse; -+ return; -+ } -+ for (j = 0; j <= nGlyphs; ++j) { -+ if (locaFmt) { -+ pos = (int)getU32BE(tables[i].offset + j*4, &parsedOk); -+ } else { -+ pos = getU16BE(tables[i].offset + j*2, &parsedOk); -+ } -+ if (pos < 0 || pos > len) { -+ parsedOk = gFalse; -+ } -+ } -+ if (!parsedOk) { -+ return; -+ } -+ - // read the post table - readPostTable(); - if (!parsedOk) { ---- poppler/SplashOutputDev.cc.orig Thu Aug 11 16:51:38 2005 -+++ poppler/SplashOutputDev.cc Thu Aug 11 16:55:52 2005 -@@ -621,16 +621,19 @@ - } - break; - case fontTrueType: -- if (!(ff = FoFiTrueType::load(fileName->getCString()))) { -- goto err2; -+ if ((ff = FoFiTrueType::load(fileName->getCString()))) { -+ codeToGID = ((Gfx8BitFont *)gfxFont)->getCodeToGIDMap(ff); -+ n = 256; -+ delete ff; -+ } else { -+ codeToGID = NULL; -+ n = 0; - } -- codeToGID = ((Gfx8BitFont *)gfxFont)->getCodeToGIDMap(ff); -- delete ff; - if (!(fontFile = fontEngine->loadTrueTypeFont( - id, - fileName->getCString(), - fileName == tmpFileName, -- codeToGID, 256))) { -+ codeToGID, n))) { - error(-1, "Couldn't create a font for '%s'", - gfxFont->getName() ? gfxFont->getName()->getCString() - : "(unnamed)"); - diff --git a/graphics/poppler/pkg-descr b/graphics/poppler/pkg-descr deleted file mode 100644 index d10674940..000000000 --- a/graphics/poppler/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -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 deleted file mode 100644 index 6a247e409..000000000 --- a/graphics/poppler/pkg-plist +++ /dev/null @@ -1,100 +0,0 @@ -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/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 |