Release 20.11.0: core: * More work on rendering of standalone Annot Widgets. Issue #806 * Fix crashes in embedded file handling on broken files. Issue #967 * Fix uninitialized memory read on broken files * Save a bit of memory in Dict data cpp: * Fix crashes in embedded file handling on broken files. Issue #966 utils: * pdftohtml: HTML and XML output includes font opacity. qt5: * Rename ArthurOutputDev to QPainterOutputDev build system: * Fix linker error when gtk is not in a default location * Add some checks for gtk-doc support * Reorganize GObject introspection config * Enable CMAKE_LINK_DEPENDS_NO_SHARED Release 20.10.0: core: * Filter out repeated forms * Implement EmbedStream::reset() * CairoOutputDev: evict just font faces owned solely by cache. * Splash: Rename Yd to Ydown, Xu to Xup, etc. * Splash: fix crash in out-of-memory situation. * Fix some undefined behaviour situation with forged files Release 20.09.0: core: * Compability fix for Forms * Fix fetching of Objects failing in some cases * Fix clearing date in Annot setModified/setDate * TextSelectionPainter: support glyphless fonts * Splash: Don't try read past end of image * avoid abort() on large memory allocation * Fix memory leak on broken files * Fix potential invalid memory read * Small code improvements qt5: * Document TextAnnotation::inplaceAlign * Make Annotation::setModification/CreationDate work on existing annots * Be a bit more stubborn converting dates that come from xml * Clean as many null characters from the end as possible when converting strings glib: * Add accessor functions for PopplerAttachment * Deprecate PopplerAttachment GTime fields * Deprecate PopplerDocument date properties utils: * pdftoppm: report error and exit if output file cannot be written * Document that PDF-file can be '-' to read it from stdin build system: * cmake: Modern way to link against libpng, zlib and libtiff * cmake: Remove stray support for lcms1 in pdftocairo Release 20.08.0: core: * Sub-page objects: initialize clip max values considering the render resolution. Issue #937 * Splash: Set initial line width to 1. Issue #674 * Fix stack overflow with specially crafted files * GfxShading: Simplify holding the Function * Splash: Fix x86 + windows asm build qt5: * Deprecate Document::toc * Deprecate AnnotationUtils Release 0.90.1: core: * Fix regression on PS conversion. Regression only happened on applications that are locale enabled i.e. Okular but not pdftops, when using a quite new lcms and the user locale uses , as decimal separator instead of . * Add UTF16LE support to TextStringToUCS4. Even if the standard clearly says it should be UTF16BE qt6: * Add work in progress qt6 port. Ignore for now :) Release 0.90.0: core: * Color profile tweaks * Small signature improvements * BBoxOutputDev: Fix calculation when type3 fonts are involved * Fix potential crash when reading Forms * Fix infinite loop in broken file glib: * Fix adding annots in rotated pages * Add ability to reset forms * Several fixes to the documentation qt5: * Make it clear we require Qt 5.5 * demo: Fix crash on broken files * Small documentation improvements utils: * pdftoppm: Add option to set display profile * pdftops: Add a -rasterize option with values always, never, or whenneeded build system: * Require cmake 3.5 * More modern cmake way to link against curl Release 0.89.0: core: * Add support for ResetForm action. Issue #225 * Fix crash in PDFDoc::getSignatureFields when there's no Forms at all * Fix exporting to PS of some files with CID fonts * Use ICC profiles in PS output (if new enough lcms is used) * Allow almost-singular tiling pattern matrices. Issue #894 * Fix memory leak when failing to load some fonts * CairoOutputDev: Use stroke opacity when clipping to a stroke path * CairoOutputDev: Fix tiling patterns when pattern cell is too far. Issue #190 glib: * Add poppler_movie_get_aspect cpp: * Add the font infos to the text_box object Release 0.88.0: core: * Support Widget Annotation Buttons not linked to any Form * SplashOuputDev: Use stroking opacity when clipping to a stroke path * Handle 1 bit RGB images in ICC colorspace * Internal code improvements qt5: * Add Document::signatures. Returns signatures not attached to any page * ArthurOutputDev: Fix font hinting * ArthurOutputDev: Set the opacity when filling with axial gradients * ArthurOutputDev: Implement the clipToStrokePath method * ArthurOutputDev: Use stroking opacity when clipping to a stroke path glib: * Add poppler_page_get_bounding_box * Add poppler_form_field_get_alternate_ui_name * Implement rotation for 'flagNoRotate' annots. Issue #767 cpp: * Add non_raw_non_physical layout for page::text() utils: * pdftohtml: Fix noRoundedCoordinates->noroundcoord in man page * pdfsig: Show also signatures that aren't attached to any page
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.88 2020/11/20 19:08:06 wiz Exp $
|
|
|
|
.include "../../print/poppler/Makefile.common"
|
|
|
|
PKGNAME= poppler-glib-${POPPLER_VERS}
|
|
|
|
COMMENT= PDF rendering library (GLib wrapper)
|
|
|
|
CONFLICTS+= poppler<0.4.5nb1
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.cmake
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
# MacOS Xcode does not provide /usr/include, so be explicit
|
|
CMAKE_ARGS+= -DGLIB2_INCLUDE_DIRS=${PREFIX}/include
|
|
.endif
|
|
|
|
# Don't compile GTK+ test program.
|
|
CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF
|
|
# Compile GLib wrapper which also needs gtk2
|
|
CMAKE_ARGS+= -DENABLE_GLIB=ON
|
|
# Do not generate glib API documentation.
|
|
CMAKE_ARGS+= -DENABLE_GTK_DOC=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
|
|
|
|
CFLAGS.FreeBSD+= -DLLONG_MAX=__LLONG_MAX
|
|
|
|
# The result binary of g-ir-scanner cannot find libpoppler-glib.so.
|
|
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/glib
|
|
|
|
BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*}
|
|
.include "../../print/poppler/buildlink3.mk"
|
|
|
|
INSTALL_DIRS= glib
|
|
|
|
INSTALLATION_DIRS+= lib/pkgconfig
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
|
|
.include "../../lang/python/tool.mk"
|
|
BUILDLINK_ABI_DEPENDS.glib2+= glib2>=2.41.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
.include "../../graphics/cairo-gobject/buildlink3.mk"
|
|
#.include "../../textproc/gtk-doc/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|