pkgsrc/print/poppler-includes/Makefile
adam 28b93029bb poppler: updated to 21.04.0
Release 21.04.0:
core:
* Hide symbols by default
* TextSelectionDumper: fix word order for RTL text
* Fix rendering of text in some files.
* Implement rendering of Masks of Image subtype.
* Forms: fix unclicking standalone form buttons.

glib:
* Expose more fields from MediaRendition in PopplerMedia
* Use stock glib macro to define boxed type
* Remove incorrecly used volatile from enum type registration code

qt5:
* Fix crash in files with malformed signatures
* Fix memory leak when QImage constructor "fails"

qt6:
* Fix crash in files with malformed signatures
* Fix memory leak when QImage constructor "fails"

utils:
* pdfsig: New paragraph for "-sign" in manpage
* pdfimages: Do not assert in "too big images".

build system:
* Require cmake >= 3.10
* Require Qt 5 >= 5.9
* Require glib >= 2.56
* Require gtk 3 >= 3.22
* Require gdk-pixbuf >= 2.36

Release 21.03.0:
core:
* Fix parsing text in some broken pdf files.
* Fix memory issue when using threads.
* TextSelectionDumper: Fix getText() for space after word
* Change signature of OutputDev:tilingPatternFill
* Make PDFDocBuilder return a std::unique_ptr
* Improve well formed check for shading functions
* Fix leak in case of fread failing
* Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
* PSOutputDev: Fix stack overflow in broken files

glib:
* poppler_annot_free_text_get_callout_line: Fix wrong static cast
* poppler-structure-element: fix memleak
* Improve documentation
* demo: keep same visual appearance between displayed and copied text

utils:
* pdftotext: Add -cropbox option
* pdftoppm: Add -progress option
* pdftoppm: Fix rounding bug in computation of output bitmap size.

qt6:
* Add missing poppler-qt6.pc.cmake


Release 21.02.0:
core:
* GfxCal*ColorSpace: introduce Bradford transform for chromatic adaptation
* Fix memory leak if saving the file fails
* Internal code improvements
* Fix various issues handling broken files
* Make checkedAdd work for long long in MSVC

qt5:
* Properly export NewSignatureData class
* Fix regression in QIODeviceOutStream + MSVC

qt6:
* Properly export NewSignatureData class
* Fix regression in QIODeviceOutStream + MSVC

utils:
* pdftohtml: Fix error() parameter type
2021-04-08 06:14:37 +00:00

40 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.31 2021/04/08 06:14:38 adam Exp $
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-includes-${POPPLER_VERS}
COMMENT= Poppler Xpdf includes (unsupported)
CONFLICTS+= poppler-0.5.1{,nb*}
NO_BUILD= yes
INCDIR= ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.prefs.mk"
do-install:
${INSTALL_DATA_DIR} ${INCDIR}
${INSTALL_DATA_DIR} ${INCDIR}/poppler
sed -n -f ${FILESDIR}/extract.sed ${WRKSRC}/CMakeLists.txt \
| grep ^poppler/ | { while read f; do \
${INSTALL_DATA} ${WRKSRC}/"$$f" ${INCDIR}/poppler; \
done };
${INSTALL_DATA} ${WRKSRC}/poppler/poppler-config.h ${INCDIR}/poppler
${INSTALL_DATA} ${WRKSRC}/poppler_private_export.h ${INCDIR}/poppler
for d in goo fofi splash; do \
${INSTALL_DATA_DIR} ${INCDIR}/poppler/"$$d"; \
sed -n -f ${FILESDIR}/extract.sed ${WRKSRC}/CMakeLists.txt \
| grep "^$$d/" | { while read f; do \
${INSTALL_DATA} ${WRKSRC}/"$$f" ${INCDIR}/poppler/"$$d";\
done }; \
done
# do these actually belong here?
${INSTALL_DATA} ${WRKSRC}/poppler/SignatureInfo.h ${INCDIR}/poppler
${INSTALL_DATA} ${WRKSRC}/goo/NetPBMWriter.h ${INCDIR}/poppler/goo
BUILDLINK_DEPMETHOD.fontconfig= build
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"