[BACK]Return to patch-qt5_src_poppler-page.cc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / poppler / patches

File: [cvs.NetBSD.org] / pkgsrc / print / poppler / patches / Attic / patch-qt5_src_poppler-page.cc (download)

Revision 1.2, Fri Nov 20 19:08:05 2020 UTC (3 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.1: +7 -7 lines

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

$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	2020-11-01 18:32:52.000000000 +0000
+++ qt5/src/poppler-page.cc
@@ -105,6 +105,7 @@ public:
     QVariant payload;
 };
 
+#if defined(HAVE_SPLASH)
 class Qt5SplashOutputDev : public SplashOutputDev, public OutputDevCallbackHelper
 {
 public:
@@ -165,6 +166,7 @@ public:
 private:
     bool ignorePaperColor;
 };
+#endif
 
 Qt5SplashOutputDev::~Qt5SplashOutputDev() = default;