132 Commits

Author SHA1 Message Date
Peter Kjellerstedt
ab4aa4045b
poppler: Correct the configuration options
* Remove -DENABLE_ZLIB=ON (it is no longer optional).
* Replace -DENABLE_CMS=lcms2 with -DENABLE_LCMS=ON.
* Replace the splash PACKAGECONFIG with boost (splash is no longer
  optional).
* Correct the options for the nss and tiff PACKAGECONFIGs.

This avoids the following CMake warnings:

  Manually-specified variables were not used by the project:

    ENABLE_CMS
    ENABLE_SPLASH
    ENABLE_ZLIB
    WITH_NSS3
    WITH_TIFF

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-09 18:23:01 -07:00
Khem Raj
fb7e45fcbf
poppler: Upgrade to 24.09.0 release
Drop backported patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-05 21:56:45 -07:00
Yogita Urade
4534a0a077
poppler: CVE-2024-6239
A flaw was found in the Poppler's Pdfinfo utility. This issue
occurs when using -dests parameter with pdfinfo utility. By
using certain malformed input files, an attacker could cause
the utility to crash, leading to a denial of service.

CVE-2024-6239-0002 is the CVE fix and CVE-2024-6239-0001 is
dependent commit to fix the CVE.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-6239

Upstream patch:
0554731052
fc1c711cb5

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-21 08:45:47 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Yogita Urade
d7a39f04c8 poppler: fix CVE-2023-34872
A vulnerability in Outline.cc for Poppler prior to 23.06.0
allows a remote attacker to cause a Denial of Service (DoS)
(crash) via a crafted PDF file in OutlineItem::open.

Reference:
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1399

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-19 10:46:14 -07:00
Ross Burton
f0eee67662 poppler: fix missing include
Backport a patch to ensure that stdio.h is included before jpeglib.h.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-07 08:59:27 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Martin Jansa
00ac843c5c poppler: add dependency on glib-2.0-native
* in some builds (probably without gobject-introspection-data enabled) it fails to find native glib-mkenums and fails with:
  poppler/23.04.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file 'poppler/23.04.0-r0/poppler-23.04.0/glib/GLIB2_MKENUMS-NOTFOUND': [Errno 2] No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 09:37:58 -07:00
Wang Mingyu
02331987d0 poppler: upgrade 23.03.0 -> 23.04.0
Changelog:
=========
core:
 * Fix memory issue when signing fails. Issue #1372
 * Internal improvements of signature related code
 * CairoOutputDev: improve type3 font rendering
 * Fix memory leak in GlobalParams::findSystemFontFileForFamilyAndStyle

utils:
 * pdftocairo: Fix crash in some special situations
 * pdfsig: allow holes in -dump signature list
 * pdfsig: Support --help

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-10 09:39:38 -07:00
Wang Mingyu
d1f16573c9 poppler: upgrade 23.02.0 -> 23.03.0
Changelog:
* PngWriter: Fix potential uninitialized memory use

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 23:45:17 -08:00
Wang Mingyu
8f068d3509 poppler: upgrade 23.01.0 -> 23.02.0
Changelog:
==========
* CairoOutputDev: Fix rendering of color type 3 fonts
* CairoOutputDev: Add handling matte entry
* Fix segfault on wrong nssdir
* Fix "NSS could not shutdown"
* pdfsig: Point out supports PKCS#11 URIs as nickname

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-20 00:23:02 -08:00
Wang Mingyu
b60cdc6c25 poppler-data: upgrade 0.4.11 -> 0.4.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-20 00:23:02 -08:00
Khem Raj
3998d15768 poppler: cmake: Do not use -isystem
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Wang Mingyu
de2b848e7a poppler: upgrade 22.12.0 -> 23.01.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-06 11:38:16 -08:00
Wang Mingyu
dac5dc0e45 poppler: upgrade 22.11.0 -> 22.12.0
Changelog:
* Form::addFontToDefaultResources: Be stubborn in finding a font we can use. Issue #1272

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-05 09:16:24 -08:00
Wang Mingyu
2653feac2c poppler: upgrade 22.10.0 -> 22.11.0
Changelog:
==========
  core:
   * CairoOutputDev: Update font after restore
   * Protect against broken files
   * Small code refactoring

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-09 10:17:15 -08:00
Wang Mingyu
7d6daf2ee2 poppler: upgrade 22.09.0 -> 22.10.0
Changelog:
==========
  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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-09 20:06:54 -07:00
wangmy
e21be1513c poppler: upgrade 22.08.0 -> 22.09.0
Changelog:
==========
 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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-13 09:55:03 -07:00
Wang Mingyu
a2ce32d26a poppler: upgrade 22.07.0 -> 22.08.0
Changelog:
=========
 * Fix rendering text on some forms
 * CairoOutputDev: Support Type3 charprocs having Resources
 * Fix crashes on malformed files

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-15 16:27:53 -07:00
wangmy
4a2f6b1fa1 poppler: upgrade 22.06.0 -> 22.07.0
Changelog:
==========
 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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 08:24:26 -07:00
Wang Mingyu
6d06677ca6 poppler: upgrade 22.05.0 -> 22.06.0
Changelog:
==========
 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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-06 13:58:43 -07:00
wangmy
db8cbd408f poppler: upgrade 22.04.0 -> 22.05.0
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: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Peter Kjellerstedt
5fa0188b8c poppler: Support building for native
* Disable RUN_GPERF_IF_PRESENT. Otherwise cmake will look for gperf. For
  target, it will not find it and proceeds to use the pregenerated
  files. However, for native it finds `/usr/bin/gperf`, but then tries
  to run `gperf` instead, which fails since it is not in hosttools.
* Disable ENABLE_CPP for native. Otherwise it needs iconv, which it
  cannot find.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-21 07:14:38 -07:00
wangmy
07c00ecba6 poppler: upgrade 22.03.0 -> 22.04.0
Changelog:
=========
 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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-06 20:25:34 -04:00
Wang Mingyu
392f5dd596 poppler: upgrade 22.02.0 -> 22.03.0
Changelog:
=========
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: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-07 09:27:53 -08:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Zheng Ruoqin
44a810f34e poppler: upgrade 22.01.0 -> 22.02.0
Changelog:
=========
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

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-23 09:25:19 -08:00
Ross Burton
a4a9cd2118 poppler-data: set precise BSD license
The cMap data is under a BSD-3-Clause license.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03 08:44:32 -08:00
Andreas Müller
93cde1334f poppler: upgrade 21.12.0 -> 22.01.0
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

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-11 17:51:55 -08:00
Andreas Müller
2e7b791880 poppler: upgrade 21.11.0 -> 21.12.0
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: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 08:17:18 -08:00
Andreas Müller
580e72879e poppler: upgrade 21.10.0 -> 21.11.0
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

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-20 12:07:09 -08:00
Wang Mingyu
362068e681 poppler: upgrade 21.09.0 -> 21.10.0
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 08:25:21 -07:00
zhengruoqin
88e4b40c84 poppler: upgrade 21.08.0 -> 21.09.0
refresh 0001-Do-not-overwrite-all-our-build-flags.patch

Release 21.09.0:
    core:
     * Splash: Massive speed 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()

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:52 -07:00
wangmy
4db4b4e000 poppler-data: upgrade 0.4.10 -> 0.4.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:52 -07:00
Peter Kjellerstedt
4c26e141dd poppler: Explicitly enable/disable boost together with splash
This avoids the following error when splash is not enabled in
PACKAGECONFIG:

  -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at
     least version "1.58.0")
  CMake Error at CMakeLists.txt:196 (message):
    -- Boost recommended for Splash.  Use ENABLE_BOOST=OFF to skip.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-26 10:10:57 -07:00
zhengruoqin
41fd0b4789 poppler: upgrade 21.07.0 -> 21.08.0
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: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller
6044584c9a poppler: upgrade 21.06.1 -> 21.07.0
Release 21.07.0
core:
 * JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
 * PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088
 * CairoOutputDev: Fix memory leak on broken files
 * Minor code improvements
build system:
 * set C standard to 11 without extensions

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-08 09:21:40 -07:00
Andreas Müller
e3ea357102 poppler: upgrade 21.06.0 -> 21.06.1
This came in right after 21.06.0 and fixes a regression just introduced:

Release 21.06.1
glib:
 * fix poppler_rectangle_free() regression. Issue #1087

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 16:58:41 -07:00
Andreas Müller
bf2999a5f3 poppler: upgrade 21.05.0 -> 21.06.0
Release 21.06.0

core:
    * Fix rendering of some extended latin1 characters in annotations. Issue #1070
    * Support some not so well formed documents with password. Issue #1083
    * Add API to get notified if the xref is reconstructed
    * Add somewhat fancier left/right signature visual representation
    * Fix crashes in malformed files
    * Minor code improvements

qt6:
    * Change some functions to return std::unique_ptr

qt5/qt6:
    * Add API to get notified if the xref is reconstructed
    * Add somewhat fancier left/right signature visual representation
    * Don't assert when trying to invert singular matrices

build system:
    * make boost opt-out if building splash

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 16:58:41 -07:00
Andreas Müller
c7f8fc0200 poppler: upgrade 21.04.0 -> 21.05.0
Release 21.05.0

core:
 * Fix crashes in malformed files
 * Export SplashFont* symbols used by Scribus
 * Minor code improvements

qt5/qt6:
 * Make sure new signatures are always properly oriented
 * Allow to pass the border width when signing

glib:
 * Enhance find to support multi-line matching

utils:
 * pdftoppm: Fix regression when using single scaleTo. Issue #1062

build system:
 * Allow to disable building manual tests

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 08:27:27 -07:00
Andreas Müller
643af3ee2c poppler: upgrade 21.03.0 -> 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. Issue #1052
 * Implement rendering of Masks of Image subtype. Issue #1058
 * Forms: fix unclicking standalone form buttons. Issue #1034

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". Issue #1061

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

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-08 09:25:54 -07:00
Khem Raj
c6f3bec2e9 poppler: Backport patches to fix build with glib-2.0 2.68+ and GCC11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-06 09:02:12 -07:00
Andreas Müller
e74d2b62fe poppler: upgrade 21.02.0 -> 21.03.0
Release 21.03.0
core:
 * Fix parsing text in some broken pdf files. Issue #1040
 * Fix memory issue when using threads. Issue #1050
 * 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. Issue #927

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

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-07 17:44:47 -08:00
Andreas Müller
c1961d9e7a poppler: upgrade 21.01.0 -> 21.02.0
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

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-11 09:28:44 -08:00
Andreas Müller
efafa9bc1b poppler: upgrade 20.12.1 -> 21.01.0
Release 21.01.0
core:
 * Faster routines for jpeg decoding
 * Fix reading signatures in encrypted files
 * Add white point correction when lcms is used
 * JBIG2Stream: Fix byte counting
 * Fix potential data loss if we try to fetch a non existing Ref after modifying the document
 * Specifically use DeviceGray instead of DefaultGray for softmasks
 * Fix various issues handling broken files
utils:
 * pdftocairo: Setmode binary for windows
 * pdfsig: Add hability to digitally sign files
 * pdftoppm: add options to set DeviceGray/DeviceRGB/DeviceCMYK
 * pdftops: add options to set DeviceGray/DeviceRGB/DeviceCMYK
 * pdfimages: Account for rotation in PPI calculation
qt5:
 * Add hability to digitally sign files
qt6:
 * Add hability to digitally sign files
build system:
 * Enable clang-tidy bugprone-signed-char-misuse

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-13 10:22:23 -08:00
Zheng Ruoqin
b9cfc2afb7 poppler: upgrade 20.11.0 -> 20.12.1
Refresh the following patch:
0001-Do-not-overwrite-all-our-build-flags.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
Zang Ruochen
f36802756e poppler: upgrade 20.10.0 -> 20.11.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 13:41:02 -08:00
Zang Ruochen
9223d80dea poppler-data: upgrade 0.4.9 -> 0.4.10
-License-Update(COPYING):The changes are as follows
version 0.4.9: The cidToUnicode, nameToUnicode and unicodeMap data files
installed by the poppler-data package are under the COPYING.gpl2 license
version 0.4.10: The cidToUnicode, nameToUnicode and unicodeMap data files
installed by the poppler-data package are licensed under the GNU General
Public License (GPL), version 2 (COPYING.gpl2) or version 3 (COPYING.gpl3).

-License-Update(COPYING.adobe):Copyright year updated to 2019.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Zang Ruochen
6472fb2db7 poppler: upgrade 20.09.0 -> 20.10.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 11:42:15 -07:00