summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2023-11-09 14:37:48 +0200
committerKhem Raj <raj.khem@gmail.com>2023-11-11 09:26:41 -0800
commit15df8b4e802cfb29ba3d1aff2b446f376d97501b (patch)
treefbbe07a576e3ee453a3059b564fcbb636bff2344
parent7c952e907fc9ea3b7865174a61997bd92e35d653 (diff)
downloadmeta-openembedded-15df8b4e802cfb29ba3d1aff2b446f376d97501b.tar.gz
qpdf: Update 10.6.3 -> 11.6.3
Update to version 11.6.3: - Fix a bug in which qpdf could potentially discard a character in a binary string if that character was preceded by an octal escaped string with fewer than three digits. This bug was introduced in the 11.0.0 release. The bug would not apply to content streams with default settings. - The linearization specification precludes linearized files that require offets past the 4 GB mark. A bug in qpdf was preventing it from working when offsets had to pass the 2 GB mark. This has been corrected. Switch to cmake. Use /dev/random to perform encryption securely. Change the fully defined path on the target to fix buildpaths QA issues with libqpdfTargets.cmake. Add openssl and gnutls as dependencies. Tested with usermerge distro feature and clang. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb (renamed from meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb)13
1 files changed, 10 insertions, 3 deletions
diff --git a/meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb b/meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb
index fa33daf52d..b56f8a822a 100644
--- a/meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb
+++ b/meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb
@@ -2,14 +2,14 @@ DESCRIPTION = "PDF transformation/inspection software"
2HOMEPAGE = "http://qpdf.sourceforge.net" 2HOMEPAGE = "http://qpdf.sourceforge.net"
3LICENSE = "Artistic-2.0" 3LICENSE = "Artistic-2.0"
4SECTION = "libs" 4SECTION = "libs"
5DEPENDS = "libpcre zlib libjpeg-turbo" 5DEPENDS = "libpcre zlib libjpeg-turbo openssl gnutls"
6 6
7SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" 7SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz"
8SRC_URI[sha256sum] = "e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811" 8SRC_URI[sha256sum] = "c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc"
9 9
10LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" 10LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3"
11 11
12inherit autotools-brokensep gettext 12inherit cmake gettext
13 13
14# disable random file detection for cross-compile 14# disable random file detection for cross-compile
15EXTRA_OECONF = "--without-random \ 15EXTRA_OECONF = "--without-random \
@@ -17,11 +17,18 @@ EXTRA_OECONF = "--without-random \
17 --disable-check-autofiles \ 17 --disable-check-autofiles \
18 " 18 "
19 19
20EXTRA_OECMAKE = '-DRANDOM_DEVICE="/dev/random"'
21
20LDFLAGS:append:mipsarch = " -latomic" 22LDFLAGS:append:mipsarch = " -latomic"
21LDFLAGS:append:riscv32 = " -latomic" 23LDFLAGS:append:riscv32 = " -latomic"
22 24
23S="${WORKDIR}/${BPN}-${PV}" 25S="${WORKDIR}/${BPN}-${PV}"
24 26
27do_install:append() {
28 # Change the fully defined path on the target
29 sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/${BPN}/libqpdfTargets.cmake
30}
31
25# avoid Makefile returning error on 'make clean' before configure was run 32# avoid Makefile returning error on 'make clean' before configure was run
26CLEANBROKEN = "1" 33CLEANBROKEN = "1"
27 34