poppler*: update to 0.63.0 Release 0.63.0 core: * CairoOutputDev: support embedding CCITT image data. Bug #103399 * CairoOutputDev: limit image size when printing. Bug #103399 * CairoOutputDev: use GOOD instead of BEST as the default cairo filter for scaling. Bug #103136 * Error out on save if file has changed since we opened it. Bug #103793 * PDFDoc: use %c instead of \x to output binary. Bug #103873 * Fix index out of bounds undefined behaviour in PSTokenizer. Bug #103583 * Fix opening files with OutlineItem loops. Bug #102914 * Fix some bugs in StructTreeRoot parsing of parent tree. Bug #103912 * Remove error for wrong child type for tagged pdf. Bug #103587 * FoFiTrueType::readPostTable() from xpdf 4.00. Bug #102880 * GfxFontDict: merge reference generation from xpdf 4.00. Bug #104565 * Reset lastAbortCheck on updateLevel reset * PDFDoc::setup: Fail early if base stream length is 0. Bug #103552 * Check curStr is actually a Stream before doing Stream operations. Bug #104518 * Fix new Object API porting bug. Bug #104517 * Check return code of getChar(), abort reading on error. Bug #104502 * TextPage: Add horizontal scaling to font matrix. Bug #105259 * Fix EmbedStream replay. Bug #103446 * Fix memory leak on error condition * Fix assert on malformed documents. Bug #104354 * Fix abort in Gfx::opBeginMarkedContent if args[1] is not a name. Bug #104468 * GfxGouraudTriangleShading::parse: Don't abort on malformed documents. Bug #104567 * GfxFunctionShading::parse: Fix abort in malformed document. Bug #104581 * Remove the extern C from glib.h. Bug #103621 * Don't let ArthurOutputDev be friend of SplashPath anymore * Fix undefined sanitizer warning about qsort * Form.h: include time.h for time_t * Various code improvements qt5: * Add cancellation support to renderToImage and textList * Do not assume all Screen annotation actions are Renditions. KDE bug #388175 * qt5: Implement operator= for PageTransition * ArthurOutputDev: 'clip' should intersect new and old clipping path * ArthurOutputDev: Implement updateBlendMode * ArthurOutputDev: Replace the QPainter by a stack of QPainters * ArthurOutputDev: Rudimentary support for transparency groups * Remove stale libcms1 code. Bug #104358 * demo: don't crash if page is malformed * Fix warnings due to the use of deprecated overloads of Poppler::Page::Search in tests. utils: * pdfimages: Fix for files with flate encoded inline images. Bug #103446 * pdftocairo: Remove stale libcms1 code. Bug #104358 * pdfimages: Fix build without libtiff and libpng * pdfseparate: Fix buffer size warning due to missing space for null terminator build system: * Enable building all libs as static libs * Enable no-missing-field-initializers * Remove unused FindLIBOPENJPEG.cmake * add "--owner root:0 --group root:0" options to tar command in dist target. Bug #104398 * Add python3 support to gtkdoc.py * gtkdoc.py: Make it work with newer gtk-doc. Bug #105075 cpp: * Add page::text_listdiff -r1.70 -r1.71 pkgsrc/print/poppler/Makefile
(wiz)
@@ -1,41 +1,37 @@ | @@ -1,41 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.70 2018/03/12 11:15:43 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.71 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../print/poppler/Makefile.common" | 3 | .include "../../print/poppler/Makefile.common" | |
5 | 4 | |||
6 | COMMENT= PDF rendering library | 5 | COMMENT= PDF rendering library | |
7 | MAINTAINER= reed@reedmedia.net | 6 | MAINTAINER= reed@reedmedia.net | |
8 | 7 | |||
9 | #PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-cairo.pc.cmake | 8 | #PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-cairo.pc.cmake | |
10 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-splash.pc.cmake | 9 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-splash.pc.cmake | |
11 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler.pc.cmake | 10 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler.pc.cmake | |
12 | 11 | |||
13 | INSTALLATION_DIRS+= include/poppler share/doc/poppler | 12 | INSTALLATION_DIRS+= include/poppler share/doc/poppler | |
14 | 13 | |||
15 | # TODO: Later add an option to choose Splash versus Cairo backend. | 14 | # TODO: Later add an option to choose Splash versus Cairo backend. | |
16 | # Build the Splash graphics backend. | 15 | # Build the Splash graphics backend. | |
17 | CMAKE_ARGS+= -DENABLE_SPLASH=ON | 16 | CMAKE_ARGS+= -DENABLE_SPLASH=ON | |
18 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_CAIRO=TRUE | |||
19 | # Don't compile GTK+ test program. | 17 | # Don't compile GTK+ test program. | |
20 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | 18 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | |
21 | # Don't compile GLib wrapper which also needs gtk2 | 19 | # Don't compile GLib wrapper which also needs gtk2 | |
22 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | 20 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | |
23 | # Don't build and install the tools | 21 | # Don't build and install the tools | |
24 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | 22 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | |
25 | # Don't compile poppler cpp wrapper. | 23 | # Don't compile poppler cpp wrapper. | |
26 | CMAKE_ARGS+= -DENABLE_CPP=OFF | 24 | CMAKE_ARGS+= -DENABLE_CPP=OFF | |
27 | # Don't compile poppler qt4 wrapper. | |||
28 | CMAKE_ARGS+= -DENABLE_QT4=OFF | |||
29 | # Don't compile poppler qt5 wrapper. | 25 | # Don't compile poppler qt5 wrapper. | |
30 | CMAKE_ARGS+= -DENABLE_QT5=OFF | 26 | CMAKE_ARGS+= -DENABLE_QT5=OFF | |
31 | # Don't build libcurl based HTTP support. ## might want to include | 27 | # Don't build libcurl based HTTP support. ## might want to include | |
32 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | 28 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | |
33 | 29 | |||
34 | 30 | |||
35 | .include "../../mk/bsd.prefs.mk" | 31 | .include "../../mk/bsd.prefs.mk" | |
36 | 32 | |||
37 | # Passing "-ansi" turns "long long" support off on FreeBSD/amd64: | 33 | # Passing "-ansi" turns "long long" support off on FreeBSD/amd64: | |
38 | .if ${OPSYS} == "FreeBSD" && ${MACHINE_ARCH} == "x86_64" | 34 | .if ${OPSYS} == "FreeBSD" && ${MACHINE_ARCH} == "x86_64" | |
39 | CFLAGS+= -D__LONG_LONG_SUPPORTED= | 35 | CFLAGS+= -D__LONG_LONG_SUPPORTED= | |
40 | .endif | 36 | .endif | |
41 | 37 |
@@ -1,24 +1,23 @@ | @@ -1,24 +1,23 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.94 2018/01/10 21:55:34 wiz Exp $ | 1 | # $NetBSD: Makefile.common,v 1.95 2018/04/17 05:20:34 wiz 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-qt4/Makefile | |||
8 | # used by print/poppler-qt5/Makefile | 7 | # used by print/poppler-qt5/Makefile | |
9 | # used by print/poppler-utils/Makefile | 8 | # used by print/poppler-utils/Makefile | |
10 | 9 | |||
11 | POPPLER_VERS= 0.62.0 | 10 | POPPLER_VERS= 0.63.0 | |
12 | DISTNAME= poppler-${POPPLER_VERS} | 11 | DISTNAME= poppler-${POPPLER_VERS} | |
13 | CATEGORIES= print | 12 | CATEGORIES= print | |
14 | MASTER_SITES= https://poppler.freedesktop.org/ | 13 | MASTER_SITES= https://poppler.freedesktop.org/ | |
15 | EXTRACT_SUFX= .tar.xz | 14 | EXTRACT_SUFX= .tar.xz | |
16 | 15 | |||
17 | HOMEPAGE= https://poppler.freedesktop.org/ | 16 | HOMEPAGE= https://poppler.freedesktop.org/ | |
18 | LICENSE= gnu-gpl-v2 | 17 | LICENSE= gnu-gpl-v2 | |
19 | 18 | |||
20 | DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo | 19 | DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo | |
21 | PATCHDIR= ${.CURDIR}/../../print/poppler/patches | 20 | PATCHDIR= ${.CURDIR}/../../print/poppler/patches | |
22 | 21 | |||
23 | USE_TOOLS+= pkg-config | 22 | USE_TOOLS+= pkg-config | |
24 | USE_LIBTOOL= yes | 23 | USE_LIBTOOL= yes |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2018/01/10 21:55:34 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2018/04/17 05:20:34 wiz Exp $ | |
2 | lib/libpoppler.so | 2 | lib/libpoppler.so | |
3 | lib/libpoppler.so.73 | 3 | lib/libpoppler.so.74 | |
4 | lib/libpoppler.so.73.0.0 | 4 | lib/libpoppler.so.74.0.0 | |
5 | lib/pkgconfig/poppler-splash.pc | 5 | lib/pkgconfig/poppler-splash.pc | |
6 | lib/pkgconfig/poppler.pc | 6 | lib/pkgconfig/poppler.pc | |
7 | share/doc/poppler/README | 7 | share/doc/poppler/README | |
8 | share/doc/poppler/README-XPDF | 8 | share/doc/poppler/README-XPDF |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.125 2018/01/10 21:55:34 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.126 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (poppler-0.62.0.tar.xz) = 45f5186f9c514d121acd8c4aeae0e0137916a5f4 | 3 | SHA1 (poppler-0.63.0.tar.xz) = d0966c0a2a67d575246e9e10d632b83d820af13f | |
4 | RMD160 (poppler-0.62.0.tar.xz) = 50f8db04492abf8944a11c87c8f7b7f558c56a8e | 4 | RMD160 (poppler-0.63.0.tar.xz) = 80cfe7a1845d57867705d6f5a6bf780ca72edcda | |
5 | SHA512 (poppler-0.62.0.tar.xz) = 91f7eae7b05965ae97a34e658bed2a676be8a6e4d34f82148ece6eb58932632dcf9a34d50c66412f93f560ce575abf5c608ed6b1e5184604b96024801886c706 | 5 | SHA512 (poppler-0.63.0.tar.xz) = a151d08480e9940a02191355ef5e7499d6494cff05f22f49de2bb8223512f5e5c9bb9b33651943ded30b4cd7096a2423fb7a01fa62228fbcd1d3a221b885cfe9 | |
6 | Size (poppler-0.62.0.tar.xz) = 1423372 bytes | 6 | Size (poppler-0.63.0.tar.xz) = 1439552 bytes | |
7 | SHA1 (patch-aq) = da845661ef7f7aca3072dbeebde0444b4d8f01aa | 7 | SHA1 (patch-aq) = da845661ef7f7aca3072dbeebde0444b4d8f01aa | |
8 | SHA1 (patch-gtkdoc.py) = b9bf7a8c2288bdec314c795317e2a4e1aac21913 | 8 | SHA1 (patch-goo_gfile.h) = 236731377b30b07673f10fa0e938e58af8661c59 | |
9 | SHA1 (patch-poppler_CMap.cc) = d37745ea4cbeae76ad43c4ac74e942531f7b7dd8 |
@@ -1,41 +1,36 @@ | @@ -1,41 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2018/03/12 11:15:43 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../print/poppler/Makefile.common" | 3 | .include "../../print/poppler/Makefile.common" | |
5 | 4 | |||
6 | PKGNAME= poppler-cpp-${POPPLER_VERS} | 5 | PKGNAME= poppler-cpp-${POPPLER_VERS} | |
7 | 6 | |||
8 | COMMENT= PDF rendering library (cpp wrapper) | 7 | COMMENT= PDF rendering library (cpp wrapper) | |
9 | MAINTAINER= reed@reedmedia.net | 8 | MAINTAINER= reed@reedmedia.net | |
10 | 9 | |||
11 | CONFLICTS+= poppler<0.4.5nb1 | 10 | CONFLICTS+= poppler<0.4.5nb1 | |
12 | 11 | |||
13 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-cpp.pc.cmake | 12 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-cpp.pc.cmake | |
14 | 13 | |||
15 | # Don't build the cairo graphics backend, required by glib. | 14 | # Don't build the cairo graphics backend, required by glib. | |
16 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_CAIRO=TRUE | |||
17 | # Don't build the cairo graphics backend, required by glib. | |||
18 | CMAKE_ARGS+= -DENABLE_SPLASH=OFF | 15 | CMAKE_ARGS+= -DENABLE_SPLASH=OFF | |
19 | # Don't compile GTK+ test program. | 16 | # Don't compile GTK+ test program. | |
20 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | 17 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | |
21 | # Don't compile GLib wrapper which also needs gtk2 | 18 | # Don't compile GLib wrapper which also needs gtk2 | |
22 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | 19 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | |
23 | # Don't build and install the tools | 20 | # Don't build and install the tools | |
24 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | 21 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | |
25 | # Compile poppler cpp wrapper. | 22 | # Compile poppler cpp wrapper. | |
26 | CMAKE_ARGS+= -DENABLE_CPP=ON | 23 | CMAKE_ARGS+= -DENABLE_CPP=ON | |
27 | # Don't compile poppler qt4 wrapper. | |||
28 | CMAKE_ARGS+= -DENABLE_QT4=OFF | |||
29 | # Don't compile poppler qt5 wrapper. | 24 | # Don't compile poppler qt5 wrapper. | |
30 | CMAKE_ARGS+= -DENABLE_QT5=OFF | 25 | CMAKE_ARGS+= -DENABLE_QT5=OFF | |
31 | # Don't build libcurl based HTTP support. ## might want to include | 26 | # Don't build libcurl based HTTP support. ## might want to include | |
32 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | 27 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | |
33 | 28 | |||
34 | LDFLAGS.SunOS+= -liconv | 29 | LDFLAGS.SunOS+= -liconv | |
35 | 30 | |||
36 | BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*} | 31 | BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*} | |
37 | .include "../../print/poppler/buildlink3.mk" | 32 | .include "../../print/poppler/buildlink3.mk" | |
38 | 33 | |||
39 | BUILD_DIRS= cpp | 34 | BUILD_DIRS= cpp | |
40 | INSTALL_DIRS= cpp | 35 | INSTALL_DIRS= cpp | |
41 | 36 |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2017/12/08 07:48:12 spz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2018/04/17 05:20:34 wiz Exp $ | |
2 | include/poppler/cpp/poppler-document.h | 2 | include/poppler/cpp/poppler-document.h | |
3 | include/poppler/cpp/poppler-embedded-file.h | 3 | include/poppler/cpp/poppler-embedded-file.h | |
4 | include/poppler/cpp/poppler-font.h | 4 | include/poppler/cpp/poppler-font.h | |
5 | include/poppler/cpp/poppler-global.h | 5 | include/poppler/cpp/poppler-global.h | |
6 | include/poppler/cpp/poppler-image.h | 6 | include/poppler/cpp/poppler-image.h | |
7 | include/poppler/cpp/poppler-page-renderer.h | 7 | include/poppler/cpp/poppler-page-renderer.h | |
8 | include/poppler/cpp/poppler-page-transition.h | 8 | include/poppler/cpp/poppler-page-transition.h | |
9 | include/poppler/cpp/poppler-page.h | 9 | include/poppler/cpp/poppler-page.h | |
10 | include/poppler/cpp/poppler-rectangle.h | 10 | include/poppler/cpp/poppler-rectangle.h | |
11 | include/poppler/cpp/poppler-toc.h | 11 | include/poppler/cpp/poppler-toc.h | |
12 | include/poppler/cpp/poppler-version.h | 12 | include/poppler/cpp/poppler-version.h | |
13 | lib/libpoppler-cpp.so | 13 | lib/libpoppler-cpp.so | |
14 | lib/libpoppler-cpp.so.0 | 14 | lib/libpoppler-cpp.so.0 | |
15 | lib/libpoppler-cpp.so.0.3.0 | 15 | lib/libpoppler-cpp.so.0.4.0 | |
16 | lib/pkgconfig/poppler-cpp.pc | 16 | lib/pkgconfig/poppler-cpp.pc |
@@ -1,53 +1,45 @@ | @@ -1,53 +1,45 @@ | |||
1 | # $NetBSD: Makefile,v 1.70 2018/03/12 11:15:43 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.71 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | .include "../../print/poppler/Makefile.common" | 3 | .include "../../print/poppler/Makefile.common" | |
4 | 4 | |||
5 | PKGNAME= poppler-glib-${POPPLER_VERS} | 5 | PKGNAME= poppler-glib-${POPPLER_VERS} | |
6 | PKGREVISION= 2 | |||
7 | 6 | |||
8 | COMMENT= PDF rendering library (GLib wrapper) | 7 | COMMENT= PDF rendering library (GLib wrapper) | |
9 | MAINTAINER= reed@reedmedia.net | 8 | MAINTAINER= reed@reedmedia.net | |
10 | 9 | |||
11 | CONFLICTS+= poppler<0.4.5nb1 | 10 | CONFLICTS+= poppler<0.4.5nb1 | |
12 | 11 | |||
13 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.cmake | 12 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.cmake | |
14 | 13 | |||
15 | USE_TOOLS+= python | 14 | USE_TOOLS+= python | |
16 | 15 | |||
17 | # Build the cairo graphics backend, required by glib. | |||
18 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_CAIRO=FALSE | |||
19 | # Don't build the splash graphics backend. | 16 | # Don't build the splash graphics backend. | |
20 | CMAKE_ARGS+= -DENABLE_SPLASH=OFF | 17 | CMAKE_ARGS+= -DENABLE_SPLASH=OFF | |
21 | # Don't compile GTK+ test program. | 18 | # Don't compile GTK+ test program. | |
22 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | 19 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | |
23 | # Compile GLib wrapper which also needs gtk2 | 20 | # Compile GLib wrapper which also needs gtk2 | |
24 | CMAKE_ARGS+= -DENABLE_GLIB=ON | 21 | CMAKE_ARGS+= -DENABLE_GLIB=ON | |
25 | # Do not generate glib API documentation. | 22 | # Do not generate glib API documentation. | |
26 | CMAKE_ARGS+= -DENABLE_GTK_DOC=OFF | 23 | CMAKE_ARGS+= -DENABLE_GTK_DOC=OFF | |
27 | # Don't build and install the tools | 24 | # Don't build and install the tools | |
28 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | 25 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | |
29 | # Don't compile poppler cpp wrapper. | 26 | # Don't compile poppler cpp wrapper. | |
30 | CMAKE_ARGS+= -DENABLE_CPP=OFF | 27 | CMAKE_ARGS+= -DENABLE_CPP=OFF | |
31 | # Don't compile poppler qt4 wrapper. | |||
32 | CMAKE_ARGS+= -DENABLE_QT4=OFF | |||
33 | # Don't compile poppler qt5 wrapper. | 28 | # Don't compile poppler qt5 wrapper. | |
34 | CMAKE_ARGS+= -DENABLE_QT5=OFF | 29 | CMAKE_ARGS+= -DENABLE_QT5=OFF | |
35 | # Don't build libcurl based HTTP support. ## might want to include | 30 | # Don't build libcurl based HTTP support. ## might want to include | |
36 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | 31 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | |
37 | 32 | |||
38 | # enable for verbose build messages | |||
39 | #CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE | |||
40 | ||||
41 | CFLAGS.FreeBSD+= -DLLONG_MAX=__LLONG_MAX | 33 | CFLAGS.FreeBSD+= -DLLONG_MAX=__LLONG_MAX | |
42 | 34 | |||
43 | BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*} | 35 | BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*} | |
44 | .include "../../print/poppler/buildlink3.mk" | 36 | .include "../../print/poppler/buildlink3.mk" | |
45 | 37 | |||
46 | INSTALL_DIRS= glib | 38 | INSTALL_DIRS= glib | |
47 | 39 | |||
48 | INSTALLATION_DIRS+= lib/pkgconfig | 40 | INSTALLATION_DIRS+= lib/pkgconfig | |
49 | 41 | |||
50 | post-install: | 42 | post-install: | |
51 | ${INSTALL_DATA} ${WRKSRC}/poppler-cairo.pc ${DESTDIR}${PREFIX}/lib/pkgconfig | 43 | ${INSTALL_DATA} ${WRKSRC}/poppler-cairo.pc ${DESTDIR}${PREFIX}/lib/pkgconfig | |
52 | ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc ${DESTDIR}${PREFIX}/lib/pkgconfig | 44 | ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc ${DESTDIR}${PREFIX}/lib/pkgconfig | |
53 | 45 |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.23 2018/03/12 11:17:27 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.24 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../print/poppler/Makefile.common" | 3 | .include "../../print/poppler/Makefile.common" | |
5 | 4 | |||
6 | PKGNAME= poppler-includes-${POPPLER_VERS} | 5 | PKGNAME= poppler-includes-${POPPLER_VERS} | |
7 | 6 | |||
8 | COMMENT= Poppler Xpdf includes (unsupported) | 7 | COMMENT= Poppler Xpdf includes (unsupported) | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | 9 | |||
11 | CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2 | 10 | CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2 | |
12 | 11 | |||
13 | NO_BUILD= yes | 12 | NO_BUILD= yes | |
14 | 13 | |||
15 | CMAKE_ARGS+= -DENABLE_XPDF_HEADERS=ON | 14 | CMAKE_ARGS+= -DENABLE_XPDF_HEADERS=ON | |
16 | 15 |
@@ -1,35 +1,30 @@ | @@ -1,35 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.23 2018/04/14 07:34:38 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.24 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 2 | |||
4 | .include "../../print/poppler/Makefile.common" | 3 | .include "../../print/poppler/Makefile.common" | |
5 | 4 | |||
6 | PKGNAME= poppler-qt5-${POPPLER_VERS} | 5 | PKGNAME= poppler-qt5-${POPPLER_VERS} | |
7 | COMMENT= PDF rendering library (QT5 wrapper) | 6 | COMMENT= PDF rendering library (QT5 wrapper) | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | 8 | |||
10 | CMAKE_ARGS+= -DENABLE_SPLASH=ON | 9 | CMAKE_ARGS+= -DENABLE_SPLASH=ON | |
11 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_CAIRO=TRUE | |||
12 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | 10 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | |
13 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | 11 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | |
14 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | 12 | CMAKE_ARGS+= -DENABLE_UTILS=OFF | |
15 | CMAKE_ARGS+= -DENABLE_CPP=OFF | 13 | CMAKE_ARGS+= -DENABLE_CPP=OFF | |
16 | CMAKE_ARGS+= -DENABLE_QT4=OFF | |||
17 | CMAKE_ARGS+= -DENABLE_QT5=ON | 14 | CMAKE_ARGS+= -DENABLE_QT5=ON | |
18 | # Don't build libcurl based HTTP support. ## might want to include | 15 | # Don't build libcurl based HTTP support. ## might want to include | |
19 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | 16 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | |
20 | 17 | |||
21 | CMAKE_ARGS+= -DMOCQT5=${QTDIR}/bin/moc | |||
22 | ||||
23 | BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS} | 18 | BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS} | |
24 | .include "../../print/poppler/buildlink3.mk" | 19 | .include "../../print/poppler/buildlink3.mk" | |
25 | 20 | |||
26 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt5.pc.in | 21 | PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt5.pc.in | |
27 | 22 | |||
28 | INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig | 23 | INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig | |
29 | 24 | |||
30 | BUILD_DIRS= qt5/src | 25 | BUILD_DIRS= qt5/src | |
31 | 26 | |||
32 | pre-build: | 27 | pre-build: | |
33 | cd ${WRKSRC}/qt5/src && ${BUILD_MAKE_CMD} | 28 | cd ${WRKSRC}/qt5/src && ${BUILD_MAKE_CMD} | |
34 | 29 | |||
35 | post-install: | 30 | post-install: |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2018/01/10 21:56:51 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2018/04/17 05:20:34 wiz Exp $ | |
2 | include/poppler/qt5/poppler-annotation.h | 2 | include/poppler/qt5/poppler-annotation.h | |
3 | include/poppler/qt5/poppler-export.h | 3 | include/poppler/qt5/poppler-export.h | |
4 | include/poppler/qt5/poppler-form.h | 4 | include/poppler/qt5/poppler-form.h | |
5 | include/poppler/qt5/poppler-link.h | 5 | include/poppler/qt5/poppler-link.h | |
6 | include/poppler/qt5/poppler-media.h | 6 | include/poppler/qt5/poppler-media.h | |
7 | include/poppler/qt5/poppler-optcontent.h | 7 | include/poppler/qt5/poppler-optcontent.h | |
8 | include/poppler/qt5/poppler-page-transition.h | 8 | include/poppler/qt5/poppler-page-transition.h | |
9 | include/poppler/qt5/poppler-qt5.h | 9 | include/poppler/qt5/poppler-qt5.h | |
10 | lib/libpoppler-qt5.so | 10 | lib/libpoppler-qt5.so | |
11 | lib/libpoppler-qt5.so.1 | 11 | lib/libpoppler-qt5.so.1 | |
12 | lib/libpoppler-qt5.so.1.12.0 | 12 | lib/libpoppler-qt5.so.1.13.0 | |
13 | lib/pkgconfig/poppler-qt5.pc | 13 | lib/pkgconfig/poppler-qt5.pc |
@@ -1,37 +1,34 @@ | @@ -1,37 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.38 2018/03/12 11:17:27 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.39 2018/04/17 05:20:34 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 1 | |||
4 | .include "../../print/poppler/Makefile.common" | 3 | .include "../../print/poppler/Makefile.common" | |
5 | 4 | |||
6 | PKGNAME= poppler-utils-${POPPLER_VERS} | 5 | PKGNAME= poppler-utils-${POPPLER_VERS} | |
7 | COMMENT= PDF utilities (from poppler) | 6 | COMMENT= PDF utilities (from poppler) | |
8 | MAINTAINER= reed@reedmedia.net | 7 | MAINTAINER= reed@reedmedia.net | |
9 | 8 | |||
10 | CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2 | 9 | CONFLICTS+= poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2 | |
11 | CONFLICTS+= xpdf<3.02pl4nb1 | 10 | CONFLICTS+= xpdf<3.02pl4nb1 | |
12 | 11 | |||
13 | # Build the splash graphics backend. ## for pdftoppm | 12 | # Build the splash graphics backend. ## for pdftoppm | |
14 | CMAKE_ARGS+= -DENABLE_SPLASH=ON | 13 | CMAKE_ARGS+= -DENABLE_SPLASH=ON | |
15 | # Don't compile GTK+ test program. | 14 | # Don't compile GTK+ test program. | |
16 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | 15 | CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF | |
17 | # Don't compile GLib wrapper which also needs gtk2 | 16 | # Don't compile GLib wrapper which also needs gtk2 | |
18 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | 17 | CMAKE_ARGS+= -DENABLE_GLIB=OFF | |
19 | # Build and install the tools | 18 | # Build and install the tools | |
20 | CMAKE_ARGS+= -DENABLE_UTILS=ON | 19 | CMAKE_ARGS+= -DENABLE_UTILS=ON | |
21 | # Don't compile poppler cpp wrapper. | 20 | # Don't compile poppler cpp wrapper. | |
22 | CMAKE_ARGS+= -DENABLE_CPP=OFF | 21 | CMAKE_ARGS+= -DENABLE_CPP=OFF | |
23 | # Don't compile poppler qt4 wrapper. | |||
24 | CMAKE_ARGS+= -DENABLE_QT4=OFF | |||
25 | # Don't compile poppler qt5 wrapper. | 22 | # Don't compile poppler qt5 wrapper. | |
26 | CMAKE_ARGS+= -DENABLE_QT5=OFF | 23 | CMAKE_ARGS+= -DENABLE_QT5=OFF | |
27 | # Don't build libcurl based HTTP support. ## might want to include | 24 | # Don't build libcurl based HTTP support. ## might want to include | |
28 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | 25 | CMAKE_ARGS+= -DENABLE_LIBCURL=OFF | |
29 | 26 | |||
30 | 27 | |||
31 | BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS} | 28 | BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS} | |
32 | .include "../../print/poppler/buildlink3.mk" | 29 | .include "../../print/poppler/buildlink3.mk" | |
33 | 30 | |||
34 | INSTALL_DIRS= utils | 31 | INSTALL_DIRS= utils | |
35 | 32 | |||
36 | .include "../../mk/bsd.prefs.mk" | 33 | .include "../../mk/bsd.prefs.mk" | |
37 | 34 |