summaryrefslogtreecommitdiff
path: root/print/poppler
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-11-20 19:08:05 +0000
committerwiz <wiz@pkgsrc.org>2020-11-20 19:08:05 +0000
commit191c917d4767e244d494d209a1258c28fbd52086 (patch)
tree1c0adfa060911a0fdbbfb5b3326381b9a4fede0b /print/poppler
parent5f7c96b5135b3f024ac5596db093de05f9672a54 (diff)
downloadpkgsrc-191c917d4767e244d494d209a1258c28fbd52086.tar.gz
poppler*: update to 20.11.0
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
Diffstat (limited to 'print/poppler')
-rw-r--r--print/poppler/Makefile3
-rw-r--r--print/poppler/Makefile.common4
-rw-r--r--print/poppler/PLIST6
-rw-r--r--print/poppler/distinfo12
-rw-r--r--print/poppler/patches/patch-qt5_src_poppler-page.cc14
5 files changed, 19 insertions, 20 deletions
diff --git a/print/poppler/Makefile b/print/poppler/Makefile
index 392ef10bb42..3e486f4af95 100644
--- a/print/poppler/Makefile
+++ b/print/poppler/Makefile
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.78 2020/08/17 20:17:41 leot Exp $
+# $NetBSD: Makefile,v 1.79 2020/11/20 19:08:05 wiz Exp $
-PKGREVISION= 1
.include "../../print/poppler/Makefile.common"
COMMENT= PDF rendering library
diff --git a/print/poppler/Makefile.common b/print/poppler/Makefile.common
index fec88e7d683..16ce26a3252 100644
--- a/print/poppler/Makefile.common
+++ b/print/poppler/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.118 2020/04/03 10:23:21 wiz Exp $
+# $NetBSD: Makefile.common,v 1.119 2020/11/20 19:08:05 wiz Exp $
#
# used by print/poppler/Makefile
# used by print/poppler-cpp/Makefile
@@ -7,7 +7,7 @@
# used by print/poppler-qt5/Makefile
# used by print/poppler-utils/Makefile
-POPPLER_VERS= 0.87.0
+POPPLER_VERS= 20.11.0
DISTNAME= poppler-${POPPLER_VERS}
CATEGORIES= print
MASTER_SITES= https://poppler.freedesktop.org/
diff --git a/print/poppler/PLIST b/print/poppler/PLIST
index a2d89329e74..65cb0433043 100644
--- a/print/poppler/PLIST
+++ b/print/poppler/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.29 2020/04/03 10:23:21 wiz Exp $
+@comment $NetBSD: PLIST,v 1.30 2020/11/20 19:08:05 wiz Exp $
lib/libpoppler.so
-lib/libpoppler.so.98
-lib/libpoppler.so.98.0.0
+lib/libpoppler.so.104
+lib/libpoppler.so.104.0.0
lib/pkgconfig/poppler-cairo.pc
lib/pkgconfig/poppler-splash.pc
lib/pkgconfig/poppler.pc
diff --git a/print/poppler/distinfo b/print/poppler/distinfo
index feef48812a6..dfa3c3f2bce 100644
--- a/print/poppler/distinfo
+++ b/print/poppler/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.147 2020/04/03 10:23:21 wiz Exp $
+$NetBSD: distinfo,v 1.148 2020/11/20 19:08:05 wiz Exp $
-SHA1 (poppler-0.87.0.tar.xz) = 3d3ef5ce73c00758ede49de6348b3602d23cdc2e
-RMD160 (poppler-0.87.0.tar.xz) = 229d769bebbefcfd075e6829db9321de5518b749
-SHA512 (poppler-0.87.0.tar.xz) = 4bdc432c75106b3f37643bfd57c66aba659864fdc3c4d9ffa5089ceaa33ad3bd10d2c4abfb09a4f7b9d7d137e31eb559b440d7df53f35f60d70eaef05f987630
-Size (poppler-0.87.0.tar.xz) = 1595088 bytes
+SHA1 (poppler-20.11.0.tar.xz) = 0aa751121aed6ee2220ef3ea16b9df8f9b2e81c1
+RMD160 (poppler-20.11.0.tar.xz) = fc3b21544423fd5e8eaf80de63dd42c9348138a5
+SHA512 (poppler-20.11.0.tar.xz) = c8237e931ef20d939656e2600453fffb12a2beeafb273782b2069aec6e5915d8cc85136982b7eaf5956af30ce00da2faf84d86ffab47f725447dfbb9d6ffe335
+Size (poppler-20.11.0.tar.xz) = 1648432 bytes
SHA1 (patch-poppler_poppler-config.h.cmake) = d2a67beb1275f10f19468421f203806ead6fa8ff
-SHA1 (patch-qt5_src_poppler-page.cc) = b4f076c0417d8fbd342a1d9918a52369b2ddc952
+SHA1 (patch-qt5_src_poppler-page.cc) = e9f83a7c9d529acb5e3f6db5f112fb6c7eb2800b
diff --git a/print/poppler/patches/patch-qt5_src_poppler-page.cc b/print/poppler/patches/patch-qt5_src_poppler-page.cc
index fbc43dfbaf1..233c02348fc 100644
--- a/print/poppler/patches/patch-qt5_src_poppler-page.cc
+++ b/print/poppler/patches/patch-qt5_src_poppler-page.cc
@@ -1,22 +1,22 @@
-$NetBSD: patch-qt5_src_poppler-page.cc,v 1.1 2019/10/20 03:12:22 markd Exp $
+$NetBSD: patch-qt5_src_poppler-page.cc,v 1.2 2020/11/20 19:08:05 wiz Exp $
conditionalise defining splash related class
---- qt5/src/poppler-page.cc.orig 2019-09-22 15:56:22.000000000 +0000
+--- qt5/src/poppler-page.cc.orig 2020-11-01 18:32:52.000000000 +0000
+++ qt5/src/poppler-page.cc
-@@ -103,6 +103,7 @@ public:
- QVariant payload;
+@@ -105,6 +105,7 @@ public:
+ QVariant payload;
};
+#if defined(HAVE_SPLASH)
class Qt5SplashOutputDev : public SplashOutputDev, public OutputDevCallbackHelper
{
public:
-@@ -169,6 +170,7 @@ public:
+@@ -165,6 +166,7 @@ public:
private:
- bool ignorePaperColor;
+ bool ignorePaperColor;
};
+#endif
+ Qt5SplashOutputDev::~Qt5SplashOutputDev() = default;
- class QImageDumpingArthurOutputDev : public ArthurOutputDev, public OutputDevCallbackHelper