diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-09-05 20:33:09 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-05 21:56:45 -0700 |
| commit | fb7e45fcbff00dfbe9a03023582b9a1d3184f6fc (patch) | |
| tree | a1e75e2215d71e555507ca9a210931aeb55b75ad /meta-oe/recipes-support/poppler/poppler_23.04.0.bb | |
| parent | 4a86f8a54fe96f4aa05232180a2a744a15638f55 (diff) | |
| download | meta-openembedded-fb7e45fcbff00dfbe9a03023582b9a1d3184f6fc.tar.gz | |
poppler: Upgrade to 24.09.0 release
Drop backported patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/poppler/poppler_23.04.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/poppler/poppler_23.04.0.bb | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler_23.04.0.bb b/meta-oe/recipes-support/poppler/poppler_23.04.0.bb deleted file mode 100644 index e57760d853..0000000000 --- a/meta-oe/recipes-support/poppler/poppler_23.04.0.bb +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 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 | file://jpeg-stdio.patch \ | ||
| 11 | file://CVE-2023-34872.patch \ | ||
| 12 | file://CVE-2024-6239-0001.patch \ | ||
| 13 | file://CVE-2024-6239-0002.patch \ | ||
| 14 | " | ||
| 15 | SRC_URI[sha256sum] = "b6d893dc7dcd4138b9e9df59a13c59695e50e80dc5c2cacee0674670693951a1" | ||
| 16 | |||
| 17 | DEPENDS = "fontconfig zlib cairo lcms glib-2.0 glib-2.0-native" | ||
| 18 | |||
| 19 | inherit cmake pkgconfig gobject-introspection | ||
| 20 | |||
| 21 | PACKAGECONFIG ??= "jpeg openjpeg png tiff nss splash" | ||
| 22 | PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON -DENABLE_DCTDECODER=libjpeg,-DWITH_JPEG=OFF -DENABLE_DCTDECODER=none,jpeg" | ||
| 23 | PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng" | ||
| 24 | PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff" | ||
| 25 | PACKAGECONFIG[curl] = "-DENABLE_LIBCURL=ON,-DENABLE_LIBCURL=OFF,curl" | ||
| 26 | PACKAGECONFIG[openjpeg] = "-DENABLE_LIBOPENJPEG=openjpeg2,-DENABLE_LIBOPENJPEG=none,openjpeg" | ||
| 27 | PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF,qtbase qttools-native" | ||
| 28 | PACKAGECONFIG[nss] = "-DWITH_NSS3=ON,-DWITH_NSS3=OFF,nss" | ||
| 29 | PACKAGECONFIG[splash] = "-DENABLE_SPLASH=ON -DENABLE_BOOST=ON,-DENABLE_SPLASH=OFF -DENABLE_BOOST=OFF,boost" | ||
| 30 | |||
| 31 | # surprise - did not expect this to work :) | ||
| 32 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)} | ||
| 33 | |||
| 34 | SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" | ||
| 35 | |||
| 36 | EXTRA_OECMAKE += " \ | ||
| 37 | -DENABLE_CMS=lcms2 \ | ||
| 38 | -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ | ||
| 39 | -DBUILD_GTK_TESTS=OFF \ | ||
| 40 | -DENABLE_ZLIB=ON \ | ||
| 41 | -DRUN_GPERF_IF_PRESENT=OFF \ | ||
| 42 | -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}' \ | ||
| 43 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_GOBJECT_INTROSPECTION=ON', '-DENABLE_GOBJECT_INTROSPECTION=OFF', d)} \ | ||
| 44 | " | ||
| 45 | EXTRA_OECMAKE:append:class-native = " -DENABLE_CPP=OFF" | ||
| 46 | |||
| 47 | do_configure:append() { | ||
| 48 | # poppler macro uses pkg-config to check for g-ir runtimes. Something | ||
| 49 | # makes them point to /usr/bin. Align them to sysroot - that's where the | ||
| 50 | # gir-wrappers are: | ||
| 51 | sed -i 's: ${bindir}/g-ir: ${STAGING_BINDIR}/g-ir:' ${B}/build.ninja | ||
| 52 | } | ||
| 53 | |||
| 54 | PACKAGES =+ "libpoppler libpoppler-glib" | ||
| 55 | FILES:libpoppler = "${libdir}/libpoppler.so.*" | ||
| 56 | FILES:libpoppler-glib = "${libdir}/libpoppler-glib.so.*" | ||
| 57 | |||
| 58 | RDEPENDS:libpoppler = "poppler-data" | ||
| 59 | |||
| 60 | BBCLASSEXTEND = "native" | ||
