Commit Graph

12 Commits

Author SHA1 Message Date
Adolf Belka
47b5dd080a poppler: Update to version 22.11.0
- Update from 22.04.0 to 22.11.0
- Update of rootfile
- Changelog
    Release 22.11.0:
        core:
         * CairoOutputDev: Update font after restore
         * Protect against broken files
         * Small code refactoring
    Release 22.10.0:
        core:
         * SplashOutputDev::tilingPatternFill: Properly restore CTM on failure. Issue #1292
         * Protect against malformed files
         * Refactor code to not use strndup
         * Other small code refactoring
        utils:
         * pdftoppm: Avoid round-off errors when determining raster dimensions
         * pdftocairo: Avoid round-off errors when determining raster dimensions
         * pdftotext: Simplify memory handling
        qt:
         * Take into account flagNoView when getting/setting the visible status. KDE bug #456313
        build system:
         * Fix sed invocation
    Release 22.09.0:
        core:
         * Splash: Do not truncate line dash patterns with more than 20 entries. Issue #1281
         * Various signature related improvements
         * Fix FormField::getFullyQualifiedName in some scenarios
         * Splash: Small optimization on dash pattern handling
         * JBIG2Stream::readHalftoneRegionSeg: Fix potential memory leak
         * Fix crashes on malformed files. Including CVE-2022-38784
         * Fix string formatting in error reporting
        glib:
         * Fix two potential memory leaks in poppler_document_create_dests_tree
        utils:
         * pdfsig: List signature field names when listing signature information
         * pdfsig: Add support for specifying signature by field name
         * pdfunite: Fix crashes on malformed files
         * pdfunite: Fix potential memory leak of docs
    Release 22.08.0:
        core:
         * Fix rendering text on some forms
         * CairoOutputDev: Support Type3 charprocs having Resources
         * Fix crashes on malformed files
    Release 22.07.0:
        core:
         * Fix crash when filling in forms in some files. Issue #1258
         * Fix first lines of Annotations sometimes being cut off. Issue #1246
         * Signatures: Don't crash if the signature doesn't have a common name
         * CairoFontEngine: increment font_face reference when retrieving from the cache
         * Add ToUnicode support for lessorequalslant and greaterorequalslant
        glib:
         * Add support for stamp annotation
        build system:
         * Tweaks on how gperf is run
    Release 22.06.0:
        core:
         * Forms: Fix crash in forms with their own DR
         * Refactor CairoFontEngine caching
         * CairoOutputDev: preserve text color when drawing type 3 glyphs
         * Windows: font code simplification
         * Minor code improvements
        cpp:
         * Add missing header
        utils:
         * pdfattach: Assume filename is utf8 encoded
         * pdftohtml: Fix type 3 font size calculation
    Release 22.05.0:
        core:
         * Annotations: Make sure we embed fonts for the FreeText annots
         * Forms: Make sure we embedd fonts as needed
         * Signatures: Make sure we embed the needed fonts
         * CairoOutputDev: color type 3 fonts
         * fix two bugs in multiline find_text()
         * code improvements
        utils:
         * pdftotext: added TSV mode
         * HtmlOutputDev: don't use png.h
        cpp:
         * Use time_t for time
         * Add page_transition::durationReal
        qt:
         * Pass leftFontSize down to `FormWidgetSignature::signDocumentWithAppearence`

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-29 13:40:40 +01:00
Adolf Belka
c35d3ac6a1 poppler: Update to version 22.04.0
- Update from 22.02.0 to 22.04.0
- Update of rootfile
- Changelog
    Release 22.04.0:
        core:
         * Fix underline sometimes being drawn only partially
         * Fix Adobe Reader not reading some of the contents we write correctly
         * Fix code that workarounds some broken-ish files
         * FoFiTrueType: Parse CFF2 fonts too
         * FoFiTrueType: Support cmap types 2 and 13
         * Fix a few small memory leaks
         * code improvements
        qt:
         * Handle SaveAs named action
         * Annotations: don't change the text color when changing the font
        utils:
         * pdftotext: print creation and modification date when using htmlmeta param
        glib:
         * Fix returning internal data of temporary strings
        cpp:
         * Fix code incompatibility with MSVC
        build system:
         * poppler internal library is no longer forced to static on MSVC
         * Error out if iconv is not available and the cpp frontend is enabled
         * Require FreeType 2.8
    Release 22.03.0:
        core:
         * Signature: Fix finding Signatures that are in Pages not not in the global the Forms object
         * Signature: Improve getting the path to the firefox certificate database
         * Splash: Fix rendering of some joints. Issue #1212
         * Fix get_poppler_localdir for relocatable Windows builds
         * Minor code improvements
        qt:
         * Minor code improvements
        utils:
         * pdfimages: Fix the wrong Stream being passed for drawMaskedImage
        build system:
         * Small code improvements

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-04-24 14:14:51 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Adolf Belka
55d52244b4 poppler: Update to version 22.02.0
- Update from 21.11.0 to 22.02.0
- Update of rootfile
- Changelog
    Release 22.02.0:
        core:
         * Signature: Add a way to detect unsigned FormFieldSignature
         * Signature: Suport background image when using left and right text
         * Signature: Fix path where to search for Firefox NSS in Windows
         * Signature: Fix NSS code to work correctly in Windows/Android
         * Count only signature fields in PDFDoc::getNumSignatureFields
         * Minor code improvements
        qt:
         * Allow signing unsigned signature fields
         * Allow passing a background image for the signature when signing
         * Allow passing the document password when signing
         * Fix leftFontSize being ignored when signing
        glib:
         * try with utf8 password if latin1 fails
         * New method for getting all signature fields of a document
         * Fix compile with MSVC
        utils:
         * pdfsig: Fix compile with MSVC
        build system:
         * Fix NSS cmake check for MSVC
    Release 22.01.0:
        core:
         * Allow local (relative to dll) fonts dir on Windows
         * TextOutputDev: require more spacing between columns. Issue #1093
         * Fix crash in Splash::gouraudTriangleShadedFill. Issue #1183
         * Fix crash when calling Form::reset()
         * GfxSeparationColorSpace: Check validity of colorspace and function. Issue #1184
         * Minor code improvements
        glib:
         * Include glib.h before using defines from it
         * Close file descriptors on error
         * Plug some memory leaks
         * Replace use of deprecated g_memdup/g_time_zone_new
         * Remove FD-taking functions on windows
        utils:
         * pdfsig: Add support for documents with passwords
         * pdfsig: Fix signing with -sign if nss password is needed
    Release 21.12.0:
        core:
         * Add API to add images
         * CairoOutputDev: Fix de-duping of Flate images
         * Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393
         * Minor code improvements
        glib:
         * Add API for validation of signatures
         * Add API to read/save to file descriptor
        utils:
         * pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117
        build system:
         * Increase C++ standard to 17

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-05 12:02:53 +00:00
Adolf Belka
f45f0bc951 poppler: Update to version 21.11.0
- Update from 21.07.0 to 21.11.0
- Update of rootfile
- find-dependencies run to check so bump. No issues found
- Changelog
    Release 21.11.0:
        core:
         * Fix rendering of some non-standard confirming annotations
         * Support rendering of some non-standard Type3 charprocs. Issue #1150
         * TextOutputDev: Respect orientation when selecting words. Issue #499
         * CairoOutputDev: Don't override the antialias settings from the cairo_t
         * StructElement: support MCID in XObjects
         * Fix detection of monospace fonts
         * Ignore Adobe-Identity for non embedded CID fonts
         * PageLabelInfo::labelToIndex: work on some special no style intervals
         * Fix crash in malformed files
         * Minor code improvements
        utils:
         * pdfinfo: add -url option to print all URLs in a PDF
         * pdftohtml: document what zoom means in regard to DPI
        qt6:
         * Require Qt 6.1
         * Minor code improvements
    Release 21.10.0:
        core:
         * Add support for setting custom stamp annotations
         * Add default appearance for the well known stamp names
         * Correct encoding of signature's properties Reason & Location
         * Splash: Fix rendering of some odd patterns
         * SignatureHandler::validateCertificate: Add option to not do OCSP revocation check
         * SignatureHandler::validateCertificate: Add support for AIA fetching to verify certificates
         * greallocn: if memory allocation fails, free the previous pointer to avoid memory leak
         * Fix issues with malformed files
         * Internal code improvements
        utils:
         * pdfsig: Add a way to list certificate nicknames
         * pdfsig: You can now add signatures from pdfsig
         * pdfsig: Add option to not do OCSP revocation check
         * pdfsig: Add option for AIA fetching to verify certificates
         * pdfinfo: Add -custom option to print custom metadata
         * pdfinfo: add metadata flags
        qt:
         * Add support for setting custom stamp annotations
         * Add getters for signature's properties Reason & Location
         * Internal code improvements
        glib:
         * Remove incorrect PopplerAttachment deprecation
    Release 21.09.0:
        core:
         * Splash: Massive spped improvement on files that use lots of save/restore (q/Q) operators
         * Correct decoding of signature properties Reason & Location when they are Unicode
         * Fix issues with malformed files
         * MSVC build fixes
        build system:
         * Call cmake_minium_required() before project()
         * Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE}
         * correctly forward user-provided flags to try_compile()
    Release 21.08.0:
        core:
         * Add API to allow addition and modification of outlines into a PDF
         * Use additional samples to test for constant parts of an axial gradient
         * forms: Create fallback fonts for some well known font names
         * Support reading the PDF Version from the Catalog
         * Fix XRef::copy when there are modified objects
         * Take into account that Date string may be in unicode
         * JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error"
         * Replace a local bubble sort implementation by std::sort
         * Fix issues with malformed files
        build system:
         * Better error message when libjpeg is not found
         * Better error messages when libopenjpeg2 is not found
        qt5/qt6:
         * Document that a document has to outlive its pages
         * Make getPdfVersion return a dedicated version object
        glib:
         * mimick TextSelectionDumper logic change for spaceAfter

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-03 22:47:12 +01:00
Adolf Belka
1c5aa4affc poppler: Update to version 21.07.0
- Update from 21.05.0 to 21.07.0
- Update of rootfile
- Changelog is too large to include here. Full details can be found in the ChangeLog file
   in the source tarball. This is a collection of all the commits made.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:42:12 +00:00
Adolf Belka
011daf5c98 poppler: Update to 21.05.0
- Update from 21.04.0 to 21.05.0
- Update of rootfile
- Ran find-dependencies - nothing found
- Changelog
   Release 21.05.0:
      core:
         * Fix crashes in malformed files
         * Export SplashFont* symbols used by Scribus
         * Minor code improvements
      glib:
         * Enhance find to support multi-line matching
      qt5/qt6:
         * Make sure new signatures are always properly oriented
         * Allow to pass the border width when signing
      utils:
         * pdftoppm: Fix regression when using single scaleTo. Issue #1062
      build system:
         * Allow to disable building manual tests

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-10 19:27:18 +00:00
Adolf Belka
592054a00d poppler: Update to 21.04.0
- Update from 0.89.0 to 21.04.0
   From Aug 2020 file version naming changed to YY.MM.x
   Update issued every month since then
- Update rootfile
- Changelog is too large to include here
   Full content can be reviewed in ChangeLog file in source tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-10 13:38:59 +00:00
Matthias Fischer
5abd6d3ea2 poppler 0.89.0: Update for lfs
'cmake 3.20' complained about an "unknown option".

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-04 12:27:01 +00:00
Michael Tremer
dfcbf87472 poppler: Update to 0.89.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-09-24 17:36:37 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
5f8203b2bd poppler: New package
PDF rendering library

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-22 09:16:09 +00:00