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

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

Revision 1.139, Sat Sep 3 17:01:30 2022 UTC (4 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.138: +2 -2 lines

Release 22.09.0:
        core:
         * Splash: Do not truncate line dash patterns with more than 20 entries. Issue #1281
         * Various signature related improvements
         * Fix FormField::getFullyQualifiedName in some scenarios
         * Splash: Small optimization on dash pattern handling
         * JBIG2Stream::readHalftoneRegionSeg: Fix potential memory leak
         * Fix crashes on malformed files. Including CVE-2022-38784
         * Fix string formatting in error reporting

        glib:
         * Fix two potential memory leaks in poppler_document_create_dests_tree

        utils:
         * pdfsig: List signature field names when listing signature information
         * pdfsig: Add support for specifying signature by field name
         * pdfunite: Fix crashes on malformed files
         * pdfunite: Fix potential memory leak of docs

# $NetBSD: Makefile.common,v 1.139 2022/09/03 17:01:30 wiz Exp $
#
# used by print/poppler/Makefile
# used by print/poppler-cpp/Makefile
# used by print/poppler-glib/Makefile
# used by print/poppler-includes/Makefile
# used by print/poppler-qt5/Makefile
# used by print/poppler-utils/Makefile

POPPLER_VERS=	22.09.0
DISTNAME=	poppler-${POPPLER_VERS}
CATEGORIES=	print
MASTER_SITES=	https://poppler.freedesktop.org/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	reed@reedmedia.net
HOMEPAGE=	https://poppler.freedesktop.org/
LICENSE=	gnu-gpl-v2

DISTINFO_FILE=	${.CURDIR}/../../print/poppler/distinfo
PATCHDIR=	${.CURDIR}/../../print/poppler/patches

USE_CMAKE=		yes
USE_LANGUAGES=		c c++17
USE_TOOLS+=		pkg-config gsed
GCC_REQD+=		7 # std::optional

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

# This package will link against libstdc++.so from the pkgsrc GCC when the
# base OS GCC doesn't meet the minimum requirement. Thus we do this so the
# appropriate gcc-libs package will be captured as a dependency, otherwise
# binary packages will be broken.
.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000
USE_PKGSRC_GCC=		yes
USE_PKGSRC_GCC_RUNTIME=	yes
.endif

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
BUILDLINK_TRANSFORM+=   rm:-fno-check-new
.endif

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"