Tue Dec 6 14:05:10 2022 UTC ()
Add print/poppler-qt6 version 22.10.0 to pkgsrc-current

This is the QT6 wrapper for 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.


(nros)
diff -r1.893 -r1.894 pkgsrc/print/Makefile
diff -r1.140 -r1.141 pkgsrc/print/poppler/Makefile.common
diff -r0 -r1.1 pkgsrc/print/poppler-qt6/DESCR
diff -r0 -r1.1 pkgsrc/print/poppler-qt6/Makefile
diff -r0 -r1.1 pkgsrc/print/poppler-qt6/PLIST
diff -r0 -r1.1 pkgsrc/print/poppler-qt6/buildlink3.mk

cvs diff -r1.893 -r1.894 pkgsrc/print/Makefile (expand / switch to unified diff)

--- pkgsrc/print/Makefile 2022/11/14 19:34:37 1.893
+++ pkgsrc/print/Makefile 2022/12/06 14:05:09 1.894
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.893 2022/11/14 19:34:37 wiz Exp $ 1# $NetBSD: Makefile,v 1.894 2022/12/06 14:05:09 nros Exp $
2# 2#
3 3
4COMMENT= Desktop publishing 4COMMENT= Desktop publishing
5 5
6SUBDIR+= LPRng 6SUBDIR+= LPRng
7SUBDIR+= LPRng-core 7SUBDIR+= LPRng-core
8SUBDIR+= LPRng-doc 8SUBDIR+= LPRng-doc
9SUBDIR+= LaTeXML 9SUBDIR+= LaTeXML
10SUBDIR+= R-knitr 10SUBDIR+= R-knitr
11SUBDIR+= R-tinytex 11SUBDIR+= R-tinytex
12SUBDIR+= a2ps 12SUBDIR+= a2ps
13SUBDIR+= abc2ps 13SUBDIR+= abc2ps
14SUBDIR+= abcm2ps 14SUBDIR+= abcm2ps
@@ -110,26 +110,27 @@ SUBDIR+= pdfjam @@ -110,26 +110,27 @@ SUBDIR+= pdfjam
110SUBDIR+= pdflib 110SUBDIR+= pdflib
111SUBDIR+= pdflib-lite 111SUBDIR+= pdflib-lite
112SUBDIR+= pdvipsk 112SUBDIR+= pdvipsk
113SUBDIR+= php-pdflib 113SUBDIR+= php-pdflib
114SUBDIR+= pmw 114SUBDIR+= pmw
115SUBDIR+= pnm2ppa 115SUBDIR+= pnm2ppa
116SUBDIR+= podofo 116SUBDIR+= podofo
117SUBDIR+= poppler 117SUBDIR+= poppler
118SUBDIR+= poppler-cpp 118SUBDIR+= poppler-cpp
119SUBDIR+= poppler-data 119SUBDIR+= poppler-data
120SUBDIR+= poppler-glib 120SUBDIR+= poppler-glib
121SUBDIR+= poppler-includes 121SUBDIR+= poppler-includes
122SUBDIR+= poppler-qt5 122SUBDIR+= poppler-qt5
 123SUBDIR+= poppler-qt6
123SUBDIR+= poppler-utils 124SUBDIR+= poppler-utils
124SUBDIR+= poster 125SUBDIR+= poster
125SUBDIR+= pscal 126SUBDIR+= pscal
126SUBDIR+= psify 127SUBDIR+= psify
127SUBDIR+= psjoin 128SUBDIR+= psjoin
128SUBDIR+= pslib 129SUBDIR+= pslib
129SUBDIR+= psutils 130SUBDIR+= psutils
130SUBDIR+= ptexenc 131SUBDIR+= ptexenc
131SUBDIR+= py-PDF2 132SUBDIR+= py-PDF2
132SUBDIR+= py-Pdf 133SUBDIR+= py-Pdf
133SUBDIR+= py-cups 134SUBDIR+= py-cups
134SUBDIR+= py-latexcodec 135SUBDIR+= py-latexcodec
135SUBDIR+= py-octoprint 136SUBDIR+= py-octoprint

cvs diff -r1.140 -r1.141 pkgsrc/print/poppler/Makefile.common (expand / switch to unified diff)

--- pkgsrc/print/poppler/Makefile.common 2022/10/13 10:56:03 1.140
+++ pkgsrc/print/poppler/Makefile.common 2022/12/06 14:05:09 1.141
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile.common,v 1.140 2022/10/13 10:56:03 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.141 2022/12/06 14:05:09 nros Exp $
2# 2#
3# used by print/poppler/Makefile 3# used by print/poppler/Makefile
4# used by print/poppler-cpp/Makefile 4# used by print/poppler-cpp/Makefile
5# used by print/poppler-glib/Makefile 5# used by print/poppler-glib/Makefile
6# used by print/poppler-includes/Makefile 6# used by print/poppler-includes/Makefile
7# used by print/poppler-qt5/Makefile 7# used by print/poppler-qt5/Makefile
 8# used by print/poppler-qt6/Makefile
8# used by print/poppler-utils/Makefile 9# used by print/poppler-utils/Makefile
9 10
10POPPLER_VERS= 22.10.0 11POPPLER_VERS= 22.10.0
11DISTNAME= poppler-${POPPLER_VERS} 12DISTNAME= poppler-${POPPLER_VERS}
12CATEGORIES= print 13CATEGORIES= print
13MASTER_SITES= https://poppler.freedesktop.org/ 14MASTER_SITES= https://poppler.freedesktop.org/
14EXTRACT_SUFX= .tar.xz 15EXTRACT_SUFX= .tar.xz
15 16
16MAINTAINER= reed@reedmedia.net 17MAINTAINER= reed@reedmedia.net
17HOMEPAGE= https://poppler.freedesktop.org/ 18HOMEPAGE= https://poppler.freedesktop.org/
18LICENSE= gnu-gpl-v2 19LICENSE= gnu-gpl-v2
19 20
20DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo 21DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo

File Added: pkgsrc/print/poppler-qt6/DESCR
This is the QT6 wrapper for 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.

File Added: pkgsrc/print/poppler-qt6/Makefile
# $NetBSD: Makefile,v 1.1 2022/12/06 14:05:10 nros Exp $

# this must be set before compiler.mk
# is included in Makefile.common
GCC_REQD+=	9 # required by Qt6 headers

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

PKGNAME=	poppler-qt6-${POPPLER_VERS}
COMMENT=	PDF rendering library (QT6 wrapper)
MAINTAINER=	pkgsrc-users@NetBSD.org


CMAKE_ARGS+=	-DBUILD_GTK_TESTS=OFF
CMAKE_ARGS+=	-DENABLE_GLIB=OFF
CMAKE_ARGS+=	-DENABLE_UTILS=OFF
CMAKE_ARGS+=	-DENABLE_CPP=OFF
CMAKE_ARGS+=	-DENABLE_QT5=OFF
CMAKE_ARGS+=	-DENABLE_QT6=ON
# Don't build libcurl based HTTP support. ## might want to include
CMAKE_ARGS+=	-DENABLE_LIBCURL=OFF

BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
.include "../../print/poppler/buildlink3.mk"

PKGCONFIG_OVERRIDE+=	poppler-qt6.pc.cmake

INSTALLATION_DIRS+=	lib/pkgconfig

BUILD_DIRS=		qt6/src

post-install:
	${INSTALL_DATA} ${WRKSRC}/poppler-qt6.pc ${DESTDIR}${PREFIX}/lib/pkgconfig

.include "../../x11/qt6-qtbase/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/print/poppler-qt6/PLIST
@comment $NetBSD: PLIST,v 1.1 2022/12/06 14:05:10 nros Exp $
include/poppler/qt6/poppler-annotation.h
include/poppler/qt6/poppler-export.h
include/poppler/qt6/poppler-form.h
include/poppler/qt6/poppler-link.h
include/poppler/qt6/poppler-media.h
include/poppler/qt6/poppler-optcontent.h
include/poppler/qt6/poppler-page-transition.h
include/poppler/qt6/poppler-qt6.h
include/poppler/qt6/poppler-version.h
lib/libpoppler-qt6.so
lib/libpoppler-qt6.so.3
lib/libpoppler-qt6.so.3.2.0
lib/pkgconfig/poppler-qt6.pc

File Added: pkgsrc/print/poppler-qt6/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2022/12/06 14:05:10 nros Exp $

BUILDLINK_TREE+=	poppler-qt6

.if !defined(POPPLER_QT6_BUILDLINK3_MK)
POPPLER_QT6_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.poppler-qt6+=	poppler-qt6>=22.01.0
BUILDLINK_PKGSRCDIR.poppler-qt6?=	../../print/poppler-qt6

.include "../../print/poppler/buildlink3.mk"
.include "../../x11/qt6-qtbase/buildlink3.mk"
.endif	# POPPLER_QT6_BUILDLINK3_MK

BUILDLINK_TREE+=	-poppler-qt6