Thu Nov 20 14:32:19 2008 UTC ()
Addition of package containing unsupported Xpdf headers from poppler.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(dillo)
diff -r0 -r1.1.1.1 pkgsrc/print/poppler-includes/PLIST
diff -r0 -r1.1.1.1 pkgsrc/print/poppler-includes/Makefile
diff -r0 -r1.1.1.1 pkgsrc/print/poppler-includes/DESCR
diff -r0 -r1.1.1.1 pkgsrc/print/poppler-includes/buildlink3.mk
diff -r0 -r1.1.1.1 pkgsrc/print/poppler-includes/files/extract.sed
diff -r0 -r1.1.1.1 pkgsrc/print/poppler-includes/files/dir.sed

File Added: pkgsrc/print/poppler-includes/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/20 14:32:19 dillo 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/DateInfo.h
include/poppler/Decrypt.h
include/poppler/Dict.h
include/poppler/Error.h
include/poppler/ErrorCodes.h
include/poppler/FileSpec.h
include/poppler/FontEncodingTables.h
include/poppler/FontInfo.h
include/poppler/Form.h
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/Lexer.h
include/poppler/Link.h
include/poppler/Movie.h
include/poppler/NameToCharCode.h
include/poppler/NameToUnicodeTable.h
include/poppler/Object.h
include/poppler/OptionalContent.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/PageTransition.h
include/poppler/Parser.h
include/poppler/PreScanOutputDev.h
include/poppler/ProfileData.h
include/poppler/SecurityHandler.h
include/poppler/Sound.h
include/poppler/Stream-CCITT.h
include/poppler/Stream.h
include/poppler/TextOutputDev.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
@dirrm include/poppler/splash
@dirrm include/poppler/goo

File Added: pkgsrc/print/poppler-includes/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/11/20 14:32:19 dillo Exp $
#

.include "../../print/poppler/Makefile.common"

PKGNAME=		poppler-includes-${POPPLER_VERS}

COMMENT=		Poppler Xpdf includes (unsupported)
MAINTAINER=		dillo@NetBSD.org

CONFLICTS+=		poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2

NO_BUILD=		yes
PKG_DESTDIR_SUPPORT=    user-destdir

INCDIR=${DESTDIR}${PREFIX}/include

.include "../../mk/bsd.prefs.mk"

do-install:
	${INSTALL_DATA_DIR} ${INCDIR}
	for subdir in poppler goo splash;				\
	do								\
          mf=${WRKSRC}/"$$subdir"/Makefile.am;				\
	  d=`sed -n -f ${FILESDIR}/dir.sed "$$mf"`;			\
	  ${INSTALL_DATA_DIR} ${INCDIR}/"$$d";				\
	  sed -n -f ${FILESDIR}/extract.sed "$$mf"			\
	   | { while read f;						\
	     do								\
	      ${INSTALL_DATA} ${WRKSRC}/"$$subdir/$$f" ${INCDIR}/"$$d";	\
	     done };							\
	done

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/print/poppler-includes/DESCR
This provides the unsuppored Xpdf includes from the poppler project.

File Added: pkgsrc/print/poppler-includes/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/20 14:32:19 dillo Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
POPPLER_INCLUDES_BUILDLINK3_MK:=	${POPPLER_INCLUDES_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	poppler-includes
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npoppler-includes}
BUILDLINK_PACKAGES+=	poppler-includes
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler-includes

.if !empty(POPPLER_INCLUDES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.poppler-includes+=	poppler-includes>=0.10.0
BUILDLINK_PKGSRCDIR.poppler-includes?=	../../print/poppler-includes
.endif	# POPPLER_INCLUDES_BUILDLINK3_MK

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH:S/+$//}

File Added: pkgsrc/print/poppler-includes/files/extract.sed
1,/if ENABLE_XPDF_HEADERS/ d
/endif/,$ d
s/	\([A-Za-z0-9_-]*\.h\).*/\1/p

File Added: pkgsrc/print/poppler-includes/files/Attic/dir.sed
1,/if ENABLE_XPDF_HEADERS/ d
/endif/,$ d
s,^[a-z_]*_includedir = ..includedir./,,p