pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/poppler Add poppler from pkgsrc-wip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a29f03b9abd9
branches:  trunk
changeset: 496690:a29f03b9abd9
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Jul 08 20:31:34 2005 +0000

description:
Add poppler from pkgsrc-wip.

This is poppler, a PDF rendering library. It is a fork of the xpdf
3.0 PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC.

Poppler provides PDF rendering functionality as a shared library,
to centralize the maintenence effort and to reduce duplicated
effort. And the poppler developers would like to move libpoppler
forward in a number of areas that doesn't fit within the goals of
xpdf.

diffstat:

 print/poppler/DESCR            |   8 +++
 print/poppler/Makefile         |  47 ++++++++++++++++++++
 print/poppler/PLIST            |  97 ++++++++++++++++++++++++++++++++++++++++++
 print/poppler/buildlink3.mk    |  18 +++++++
 print/poppler/distinfo         |   6 ++
 print/poppler/patches/patch-aa |  13 +++++
 6 files changed, 189 insertions(+), 0 deletions(-)

diffs (213 lines):

diff -r 171c8f7749dc -r a29f03b9abd9 print/poppler/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/DESCR       Fri Jul 08 20:31:34 2005 +0000
@@ -0,0 +1,8 @@
+This is poppler, a PDF rendering library. It is a fork of the xpdf
+3.0 PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC.
+
+Poppler provides PDF rendering functionality as a shared library,
+to centralize the maintenence effort and to reduce duplicated
+effort. And the poppler developers would like to move libpoppler
+forward in a number of areas that doesn't fit within the goals of
+xpdf.
diff -r 171c8f7749dc -r a29f03b9abd9 print/poppler/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/Makefile    Fri Jul 08 20:31:34 2005 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/07/08 20:31:34 reed Exp $
+#
+
+DISTNAME=              poppler-0.3.3
+PKGREVISION=           1
+CATEGORIES=            print
+MASTER_SITES=          http://poppler.freedesktop.org/
+
+MAINTAINER=            reed%reedmedia.net@localhost
+HOMEPAGE=              http://poppler.freedesktop.org/
+COMMENT=               PDF rendering library
+
+USE_TOOLS=             gmake
+USE_LIBTOOL=           yes
+LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
+#PKGCONFIG_OVERRIDE+=  ${WRKSRC}/poppler-cairo.pc.in
+PKGCONFIG_OVERRIDE+=   ${WRKSRC}/poppler-glib.pc.in
+PKGCONFIG_OVERRIDE+=   ${WRKSRC}/poppler-splash.pc.in
+PKGCONFIG_OVERRIDE+=   ${WRKSRC}/poppler.pc.in
+GNU_CONFIGURE=         yes
+
+INSTALLATION_DIRS+=    share/doc/poppler
+
+# TODO: Later add an option to choose Splash versus Cairo backend.
+## Don't build the Splash graphics backend.
+#CONFIGURE_ARGS+=      --disable-splash-output
+# Don't build the cairo graphics backend.
+CONFIGURE_ARGS+=       --disable-cairo-output
+# Don't compile poppler qt wrapper.
+CONFIGURE_ARGS+=       --disable-poppler-qt
+# Don't compile GTK+ test program.
+CONFIGURE_ARGS+=       --disable-gtk-test
+# TODO: check papersize?
+#  --enable-a4-paper       use A4 paper size instead of Letter for PostScript output
+# maybe  glib wrapper is only part needing gtk??
+#  --disable-poppler-glib  Don't compile poppler glib wrapper.
+
+post-install:
+       ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/poppler/
+       ${INSTALL_MAN} ${WRKSRC}/README-XPDF ${PREFIX}/share/doc/poppler/
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 171c8f7749dc -r a29f03b9abd9 print/poppler/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/PLIST       Fri Jul 08 20:31:34 2005 +0000
@@ -0,0 +1,97 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/08 20:31:34 reed Exp $
+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/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.la
+lib/libpoppler.la
+lib/pkgconfig/poppler-glib.pc
+lib/pkgconfig/poppler-splash.pc
+lib/pkgconfig/poppler.pc
+share/doc/poppler/README
+share/doc/poppler/README-XPDF
+@dirrm share/doc/poppler
+@dirrm include/poppler/splash
+@dirrm include/poppler/goo
+@dirrm include/poppler/glib
+@dirrm include/poppler
diff -r 171c8f7749dc -r a29f03b9abd9 print/poppler/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/buildlink3.mk       Fri Jul 08 20:31:34 2005 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/07/08 20:31:34 reed Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+POPPLER_BUILDLINK3_MK:=        ${POPPLER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    poppler
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npoppler}
+BUILDLINK_PACKAGES+=   poppler
+
+.if !empty(POPPLER_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.poppler+=    poppler>=0.3.3
+BUILDLINK_PKGSRCDIR.poppler?=  ../../print/poppler
+.endif # POPPLER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 171c8f7749dc -r a29f03b9abd9 print/poppler/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/distinfo    Fri Jul 08 20:31:34 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/07/08 20:31:34 reed Exp $
+
+SHA1 (poppler-0.3.3.tar.gz) = 4dd3e060815a307dfb217dbe7dd7d52c7f688edf
+RMD160 (poppler-0.3.3.tar.gz) = a607766a46a39ae27cbd1bdfd5866c1bc74cf4d3
+Size (poppler-0.3.3.tar.gz) = 742493 bytes
+SHA1 (patch-aa) = be585bf002516f55d98cff5a7902327c41733c09
diff -r 171c8f7749dc -r a29f03b9abd9 print/poppler/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/patches/patch-aa    Fri Jul 08 20:31:34 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/07/08 20:31:34 reed Exp $
+
+--- poppler/Error.h.orig       2005-07-08 10:38:26.000000000 -0700
++++ poppler/Error.h    2005-07-08 10:38:41.000000000 -0700
+@@ -13,7 +13,7 @@
+ #pragma interface
+ #endif
+ 
+-#include <stdio.h>
++#include <stdarg.h>
+ #include "poppler-config.h"
+ 
+ extern void CDECL error(int pos, char *msg, ...);



Home | Main Index | Thread Index | Old Index