diff options
| author | Yogita Urade <yogita.urade@windriver.com> | 2025-10-15 16:20:16 +0530 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-15 12:03:01 -0700 |
| commit | 76504627f464171a5b205a6a5efd11cdbefc85f8 (patch) | |
| tree | b9064ace35738958fcab83c902abc5755a316edb /meta-oe/recipes-support/poppler/poppler_25.10.0.bb | |
| parent | f7305be2c8b81d012a7d7019a9f029f6f7588fba (diff) | |
| download | meta-openembedded-76504627f464171a5b205a6a5efd11cdbefc85f8.tar.gz | |
poppler: upgrade 25.08.0 -> 25.10.0
This upgrade includes fix for CVE-2025-52885
Poppler 25.10.0 Changelog:
=========================
core:
* Fix image signature getting lost
* Don't embed substitutions for base14 fonts
* Form font improvements
* Handle signatures padded with random data
* Add feature to Ink annotation to render with multiply blend mode
* Internal code improvements
* Fix crashes in malformed documents
glib:
* Fix signature text
* Add feature to Ink annotation to render with multiply blend mode
cpp:
* Added embedded_file::unicodeName function
Poppler 25.09.1 Changelog:
==========================
core:
* Internal code improvements
build system:
* Fix generated .pc files when using old gpgme
Poppler 25.09.0 Changelog:
=========================
core:
* Speed improvements when reusing the same document with different output devices
* Speed improvements when reading from network file systems
* Internal code improvements
* Fix crashes in malformed documents
glib:
* fix ODR issue with enum
utils:
* pdftohtml: Fix text positioning. (Regressed in 25.07.0)
build system:
* Better pkgconfig support for static builds
Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/poppler/poppler_25.10.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/poppler/poppler_25.10.0.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler_25.10.0.bb b/meta-oe/recipes-support/poppler/poppler_25.10.0.bb new file mode 100644 index 0000000000..29a5f33e81 --- /dev/null +++ b/meta-oe/recipes-support/poppler/poppler_25.10.0.bb | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | SUMMARY = "Poppler is a PDF rendering library based on the xpdf-3.0 code base" | ||
| 2 | HOMEPAGE = "https://poppler.freedesktop.org/" | ||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
| 5 | |||
| 6 | SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \ | ||
| 7 | file://0001-Do-not-overwrite-all-our-build-flags.patch \ | ||
| 8 | file://basename-include.patch \ | ||
| 9 | file://0001-cmake-Do-not-use-isystem.patch \ | ||
| 10 | " | ||
| 11 | SRC_URI[sha256sum] = "6b5e9bb64dabb15787a14db1675291c7afaf9387438cc93a4fb7f6aec4ee6fe0" | ||
| 12 | |||
| 13 | DEPENDS = "fontconfig zlib cairo lcms glib-2.0 glib-2.0-native" | ||
| 14 | |||
| 15 | inherit cmake pkgconfig gobject-introspection | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "boost jpeg nss openjpeg png tiff" | ||
| 18 | PACKAGECONFIG[boost] = "-DENABLE_BOOST=ON,-DENABLE_BOOST=OFF,boost" | ||
| 19 | PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON -DENABLE_DCTDECODER=libjpeg,-DWITH_JPEG=OFF -DENABLE_DCTDECODER=none,jpeg" | ||
| 20 | PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng" | ||
| 21 | PACKAGECONFIG[tiff] = "-DENABLE_LIBTIFF=ON,-DENABLE_LIBTIFF=OFF,tiff" | ||
| 22 | PACKAGECONFIG[curl] = "-DENABLE_LIBCURL=ON,-DENABLE_LIBCURL=OFF,curl" | ||
| 23 | PACKAGECONFIG[openjpeg] = "-DENABLE_LIBOPENJPEG=openjpeg2,-DENABLE_LIBOPENJPEG=none,openjpeg" | ||
| 24 | PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF,qtbase qttools-native" | ||
| 25 | PACKAGECONFIG[nss] = "-DENABLE_NSS3=ON,-DENABLE_NSS3=OFF,nss" | ||
| 26 | PACKAGECONFIG[gpgme] = "-DENABLE_GPGME=ON,-DENABLE_GPGME=OFF,gpgme" | ||
| 27 | PACKAGECONFIG[qt6] = "-DENABLE_QT6=ON,-DENABLE_QT6=OFF,qtbase" | ||
| 28 | |||
| 29 | # surprise - did not expect this to work :) | ||
| 30 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)} | ||
| 31 | |||
| 32 | SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" | ||
| 33 | |||
| 34 | EXTRA_OECMAKE += " \ | ||
| 35 | -DENABLE_LCMS=ON \ | ||
| 36 | -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ | ||
| 37 | -DBUILD_GTK_TESTS=OFF \ | ||
| 38 | -DRUN_GPERF_IF_PRESENT=OFF \ | ||
| 39 | -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}' \ | ||
| 40 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_GOBJECT_INTROSPECTION=ON', '-DENABLE_GOBJECT_INTROSPECTION=OFF', d)} \ | ||
| 41 | " | ||
| 42 | EXTRA_OECMAKE:append:class-native = " -DENABLE_CPP=OFF" | ||
| 43 | |||
| 44 | do_configure:append() { | ||
| 45 | # poppler macro uses pkg-config to check for g-ir runtimes. Something | ||
| 46 | # makes them point to /usr/bin. Align them to sysroot - that's where the | ||
| 47 | # gir-wrappers are: | ||
| 48 | sed -i 's: ${bindir}/g-ir: ${STAGING_BINDIR}/g-ir:' ${B}/build.ninja | ||
| 49 | } | ||
| 50 | |||
| 51 | PACKAGES =+ "libpoppler libpoppler-glib" | ||
| 52 | FILES:libpoppler = "${libdir}/libpoppler.so.*" | ||
| 53 | FILES:libpoppler-glib = "${libdir}/libpoppler-glib.so.*" | ||
| 54 | |||
| 55 | RDEPENDS:libpoppler = "poppler-data" | ||
| 56 | |||
| 57 | BBCLASSEXTEND = "native" | ||
