summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/poppler
Commit message (Collapse)AuthorAgeFilesLines
* poppler: Correct the configuration optionsPeter Kjellerstedt12 days1-6/+5
| | | | | | | | | | | | | | | | | | | | | * 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>
* poppler: Upgrade to 24.09.0 releaseKhem Raj2024-09-056-1504/+17
| | | | | | Drop backported patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: CVE-2024-6239Yogita Urade2024-08-213-0/+1388
| | | | | | | | | | | | | | | | | | | | 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: https://gitlab.freedesktop.org/poppler/poppler/-/commit/0554731052d1a97745cb179ab0d45620589dd9c4 https://gitlab.freedesktop.org/poppler/poppler/-/commit/fc1c711cb5f769546c6b31cc688bf0ee7f0c1dbc Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-1/+1
| | | | | | | 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>
* poppler: fix CVE-2023-34872Yogita Urade2023-08-192-0/+47
| | | | | | | | | | | | 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>
* poppler: fix missing includeRoss Burton2023-07-072-0/+42
| | | | | | | 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>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: add dependency on glib-2.0-nativeMartin Jansa2023-05-151-1/+1
| | | | | | | | * 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>
* poppler: upgrade 23.03.0 -> 23.04.0Wang Mingyu2023-04-102-7/+5
| | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 23.02.0 -> 23.03.0Wang Mingyu2023-03-091-1/+1
| | | | | | | | Changelog: * PngWriter: Fix potential uninitialized memory use Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 23.01.0 -> 23.02.0Wang Mingyu2023-02-201-1/+1
| | | | | | | | | | | | | 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>
* poppler-data: upgrade 0.4.11 -> 0.4.12Wang Mingyu2023-02-201-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: cmake: Do not use -isystemKhem Raj2023-01-212-0/+193
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 22.12.0 -> 23.01.0Wang Mingyu2023-01-061-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 22.11.0 -> 22.12.0Wang Mingyu2022-12-051-1/+1
| | | | | | | | 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>
* poppler: upgrade 22.10.0 -> 22.11.0Wang Mingyu2022-11-091-1/+1
| | | | | | | | | | | | 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>
* poppler: upgrade 22.09.0 -> 22.10.0Wang Mingyu2022-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 22.08.0 -> 22.09.0wangmy2022-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 22.07.0 -> 22.08.0Wang Mingyu2022-08-151-1/+1
| | | | | | | | | | | 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>
* poppler: upgrade 22.06.0 -> 22.07.0wangmy2022-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 22.05.0 -> 22.06.0Wang Mingyu2022-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 22.04.0 -> 22.05.0wangmy2022-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: Support building for nativePeter Kjellerstedt2022-04-211-0/+4
| | | | | | | | | | | | * 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>
* poppler: upgrade 22.03.0 -> 22.04.0wangmy2022-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 22.02.0 -> 22.03.0Wang Mingyu2022-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-042-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 22.01.0 -> 22.02.0Zheng Ruoqin2022-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler-data: set precise BSD licenseRoss Burton2022-02-031-1/+1
| | | | | | | 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>
* poppler: upgrade 21.12.0 -> 22.01.0Andreas Müller2022-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.11.0 -> 21.12.0Andreas Müller2022-01-051-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.10.0 -> 21.11.0Andreas Müller2021-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.09.0 -> 21.10.0Wang Mingyu2021-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.08.0 -> 21.09.0zhengruoqin2021-09-082-27/+27
| | | | | | | | | | | | | | | | | | | 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>
* poppler-data: upgrade 0.4.10 -> 0.4.11wangmy2021-09-081-2/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: Explicitly enable/disable boost together with splashPeter Kjellerstedt2021-08-261-1/+1
| | | | | | | | | | | | | 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>
* poppler: upgrade 21.07.0 -> 21.08.0zhengruoqin2021-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Convert to new override syntaxMartin Jansa2021-08-032-5/+5
| | | | | | | | | | 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>
* poppler: upgrade 21.06.1 -> 21.07.0Andreas Müller2021-07-081-1/+1
| | | | | | | | | | | | | | 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>
* poppler: upgrade 21.06.0 -> 21.06.1Andreas Müller2021-06-031-1/+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>
* poppler: upgrade 21.05.0 -> 21.06.0Andreas Müller2021-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.04.0 -> 21.05.0Andreas Müller2021-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.03.0 -> 21.04.0Andreas Müller2021-04-083-278/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: Backport patches to fix build with glib-2.0 2.68+ and GCC11Khem Raj2021-04-063-0/+277
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 21.02.0 -> 21.03.0Andreas Müller2021-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 21.01.0 -> 21.02.0Andreas Müller2021-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 20.12.1 -> 21.01.0Andreas Müller2021-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* poppler: upgrade 20.11.0 -> 20.12.1Zheng Ruoqin2020-12-182-8/+11
| | | | | | | | 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>
* poppler: upgrade 20.10.0 -> 20.11.0Zang Ruochen2020-11-091-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler-data: upgrade 0.4.9 -> 0.4.10Zang Ruochen2020-11-021-4/+4
| | | | | | | | | | | | | | -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>
* poppler: upgrade 20.09.0 -> 20.10.0Zang Ruochen2020-10-151-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>