026ab3d0ea
core: * Fix abort in files with broken Decode arrays. * Fix memory leak (and probably logic bug) parsing broken XRef entries. * Fix memory leak when reconstructing broken files. * Minor optimization * Fix regression in GfxIndexedColorSpace::mapColorToBase. * Fix memory leak in error condition cpp: * Return nullptr if the page at index can't be fetched. build system: * Fail by default if libjpeg is not available * Fail by default if libopenjpeg2/1 is not available
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2017/05/22 08:40:10 adam Exp $
|
|
|
|
.include "../../print/poppler/Makefile.common"
|
|
|
|
PKGNAME= poppler-includes-${POPPLER_VERS}
|
|
|
|
COMMENT= Poppler Xpdf includes (unsupported)
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2
|
|
|
|
GNU_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
INCDIR=${DESTDIR}${PREFIX}/include
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${INCDIR}
|
|
for subdir in fofi 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
|
|
${INSTALL_DATA} ${WRKSRC}/poppler/SplashOutputDev.h ${INCDIR}/poppler
|
|
${INSTALL_DATA} ${WRKSRC}/poppler/poppler-config.h ${INCDIR}/poppler
|
|
|
|
BUILDLINK_DEPMETHOD.fontconfig= build
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|