[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / poppler

File: [cvs.NetBSD.org] / pkgsrc / print / poppler / Makefile (download)

Revision 1.73, Thu May 9 09:28:22 2019 UTC (6 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.72: +2 -3 lines

poppler: updated to 0.76.1

poppler-0.76.1:

core:
 * Make the mul tables be calculated at compile time with constexpr.
 * splash: Fix compile with SPLASH_CMYK enabled
 * Some typo fixing in error messages

qt5:
 * Fix regression in annotation handling

build system:
 * Fix some typos in build system output and comments


poppler-0.76.0:

core:
 * Fix regression on case-insensitive search.
 * Remove GooList, use std::vector instead
 * Fix radiobutton reporting wrong state.
 * Handle UTF16-LE strings
 * Don't error out if there's no DA in FreeText annotation
 * cairo: Compute correct coverage values for box filter.
 * cairo: Constrain number of cycles in rescale filter.
 * Read more fields from ViewerPreferences
 * Introduce and use Ref::INVALID
 * Fix crashes in broken files
 * Fix mismatched free/delete
 * Add missing include guards

utils:
 * pdftohtml: Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit.


poppler-0.75.0:

core:
 * Fix rendering of some annotations
 * Fix crashes in broken files
 * Small internal code improvements

cpp:
 * Improve documentation
 * tests: Add showing version information to poppler-dump

utils:
 * pdfattach: new util
 * pdftohtml: add -dataurls parameter
 * pdftoppm: add -sep and -forcenum parameters
 * pdftohtml: make singleHtml and stout not mutually exclusive
 * pdfsig: fix use after free

# $NetBSD: Makefile,v 1.73 2019/05/09 09:28:22 adam Exp $

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

COMMENT=	PDF rendering library

#PKGCONFIG_OVERRIDE+=	${WRKSRC}/poppler-cairo.pc.cmake
PKGCONFIG_OVERRIDE+=	${WRKSRC}/poppler-splash.pc.cmake
PKGCONFIG_OVERRIDE+=	${WRKSRC}/poppler.pc.cmake

INSTALLATION_DIRS+=	include/poppler share/doc/poppler

# TODO: Later add an option to choose Splash versus Cairo backend.
# Build the Splash graphics backend.
CMAKE_ARGS+=	-DENABLE_SPLASH=ON
# Don't compile GTK+ test program.
CMAKE_ARGS+=	-DBUILD_GTK_TESTS=OFF
# Don't compile GLib wrapper which also needs gtk2
CMAKE_ARGS+=	-DENABLE_GLIB=OFF
# Don't build and install the tools
CMAKE_ARGS+=	-DENABLE_UTILS=OFF
# Don't compile poppler cpp wrapper.
CMAKE_ARGS+=	-DENABLE_CPP=OFF
# Don't compile poppler qt5 wrapper.
CMAKE_ARGS+=	-DENABLE_QT5=OFF
# Don't build libcurl based HTTP support. ## might want to include
CMAKE_ARGS+=	-DENABLE_LIBCURL=OFF

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

# Passing "-ansi" turns "long long" support off on FreeBSD/amd64:
.if ${OPSYS} == "FreeBSD" && ${MACHINE_ARCH} == "x86_64"
CFLAGS+=	-D__LONG_LONG_SUPPORTED=
.endif

post-install:
	${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/poppler/
	${INSTALL_MAN} ${WRKSRC}/README-XPDF ${DESTDIR}${PREFIX}/share/doc/poppler/
	${RMDIR} ${DESTDIR}${PREFIX}/include/poppler || ${TRUE}

.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"