imlib2: Upgrade 1.7.1 -> 1.12.1
PATCH 1/3 imlib2: Upgrade 1.7.1 -> 1.12.1
Upgrade to version 1.12.1:
- Fix some clang complaints
- scaling: MMX asm scaling causes segv, disable for now
- loading: Call module exit function also when not dlclosing module on unload
- loaders: Fix build with -m32 --enable-debug
- RAW loader: Don't unload loader
- imlib2_grab, imlib2_view: Unset context colormap
- x11_grab: Use correct depth when grabbing
Remove bzip2 from PACKAGECONFIG because for this version it is an unrecognised option.
This work was sponsored by GOVCERT.LU.
--- meta-oe/recipes-graphics/imlib2/imlib2_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-graphics/imlib2/imlib2_git.bb +2 -3
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" DEPENDS = "freetype " PROVIDES = "virtual/imlib2" -PV = "1.7.1" -SRCREV = "01424487e360383a039dc123bc2a345fe7ea2535" +PV = "1.12.1" +SRCREV = "9198db25369f04db069ce61a661c3c47b2622655" inherit autotools pkgconfig lib_package
@@ -28,7 +28,6 @@ PACKAGECONFIG[png] = "--with-png,--without-png,libpng" PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff" PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp" -PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2" PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" PACKAGECONFIG[id3] = "--with-id3,--without-id3,libid3tag"
Signature · 1 line
2.39.2
PATCH 2/3 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 about buildpaths QA issues with libqpdfTargets.cmake.
This work was sponsored by GOVCERT.LU.
---
.../qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
rename meta-oe/recipes-printing/qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} (67%)meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb renamed from meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb +10 -3
@@ -2,14 +2,14 @@ DESCRIPTION = "PDF transformation/inspection software" HOMEPAGE = "http://qpdf.sourceforge.net" LICENSE = "Artistic-2.0" SECTION = "libs" -DEPENDS = "libpcre zlib libjpeg-turbo" +DEPENDS = "libpcre zlib libjpeg-turbo openssl" SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" -SRC_URI[sha256sum] = "e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811" +SRC_URI[sha256sum] = "c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc" LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" -inherit autotools-brokensep gettext +inherit cmake gettext # disable random file detection for cross-compile EXTRA_OECONF = "--without-random \
@@ -17,11 +17,18 @@ EXTRA_OECONF = "--without-random \ --disable-check-autofiles \ " +EXTRA_OECMAKE = '-DRANDOM_DEVICE="/dev/random"' + LDFLAGS:append:mipsarch = " -latomic" LDFLAGS:append:riscv32 = " -latomic" S="${WORKDIR}/${BPN}-${PV}" +do_install:append() { + # Change the fully defined path on the target + sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/${BPN}/libqpdfTargets.cmake +} + # avoid Makefile returning error on 'make clean' before configure was run CLEANBROKEN = "1"
Signature · 1 line
2.39.2
Re: [oe] [meta-oe][PATCH 2/3] qpdf: Update 10.6.3 -> 11.6.3
seeing this error
WARNING: qpdf-11.6.3-r0 do_package_qa: QA Issue: File /usr/lib/cmake/qpdf/libqpdfTargets.cmake in package qpdf-dev contains
reference to TMPDIR [bu
ildpaths]
ERROR: qpdf-11.6.3-r0 do_package_qa: QA Issue:/usr/lib/libqpdf.so.29.6.3 contained in package libqpdf requires libgnutls.so.30(GNUTLS_3_4)(64bit),
but no providers found in RDEPENDS:libqpdf? [file-rdeps]
ERROR: qpdf-11.6.3-r0 do_package_qa: QA Issue:/usr/lib/libqpdf.so.29.6.3 contained in package libqpdf requires libgnutls.so.30()(64bit), but no pr
oviders found in RDEPENDS:libqpdf? [file-rdeps]
ERROR: qpdf-11.6.3-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in:/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/qpdf/11.6.3/temp/log.do_package_qa.3501227
Quoted 81 lines · Leon Anavi
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/randomto perform encryption securely. Change the fully defined path on the target to about buildpaths QA issues with libqpdfTargets.cmake.This work was sponsored by GOVCERT.LU.
Signed-off-by Leon Anavi <[email protected]>--- .../qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename meta-oe/recipes-printing/qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} (67%)meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb renamed from meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb +10
-4@@ -2,14 +2,14 @@ DESCRIPTION = "PDF transformation/inspection software" HOMEPAGE = "http://qpdf.sourceforge.net" LICENSE = "Artistic-2.0" SECTION = "libs" -DEPENDS = "libpcre zlib libjpeg-turbo" +DEPENDS = "libpcre zlib libjpeg-turbo openssl" SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" -SRC_URI[sha256sum] = "e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811" +SRC_URI[sha256sum] = "c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc" LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" -inherit autotools-brokensep gettext +inherit cmake gettext # disable random file detection for cross-compile EXTRA_OECONF = "--without-random \@@ -17,11 +17,18 @@ EXTRA_OECONF = "--without-random \ --disable-check-autofiles \ " +EXTRA_OECMAKE = '-DRANDOM_DEVICE="/dev/random"' + LDFLAGS:append:mipsarch = " -latomic" LDFLAGS:append:riscv32 = " -latomic" S="${WORKDIR}/${BPN}-${PV}" +do_install:append() { + # Change the fully defined path on the target + sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/${BPN}/libqpdfTargets.cmake +} + # avoid Makefile returning error on 'make clean' before configure was run CLEANBROKEN = "1" --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106455): https://lists.openembedded.org/g/openembedded-devel/message/106455
Mute This Topic: https://lists.openembedded.org/mt/102444518/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][PATCH 2/3] qpdf: Update 10.6.3 -> 11.6.3
Hi Khem,
Thank you for the feedback.
Quoted 6 lines · Khem Raj
seeing this error
WARNING: qpdf-11.6.3-r0
do_package_qa: QA Issue: File/usr/lib/cmake/qpdf/libqpdfTargets.cmakein package qpdf-dev contains reference to TMPDIR [bu
ildpaths]
The sed command in do_install:append should fix this warning. I also inspected to /usr/lib/cmake/qpdf/libqpdfTargets.cmake on the booted target device and the paths look OK. I am wondering why does this warning appear on your build setup?
Quoted 8 lines
ERROR: qpdf-11.6.3-r0
do_package_qa: QA Issue:/usr/lib/libqpdf.so.29.6.3contained in package libqpdf requires libgnutls.so.30(GNUTLS_3_4)(64bit),
but no providers found in RDEPENDS:libqpdf? [file-rdeps]
ERROR: qpdf-11.6.3-r0do_package_qa: QA Issue:/usr/lib/libqpdf.so.29.6.3contained in package libqpdf requires libgnutls.so.30()(64bit), but no pr
oviders found in RDEPENDS:libqpdf? [file-rdeps]
I can't reproduce these errors on my side. Could you please provide any hints how to reproduce them?
Best regards,
Leon
Quoted 88 lines
ERROR: qpdf-11.6.3-r0
do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in:/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/qpdf/11.6.3/temp/log.do_package_qa.3501227Quoted 83 lines · Leon Anavi
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/randomto perform encryption securely. Change the fully defined path on the target to about buildpaths QA issues with libqpdfTargets.cmake.This work was sponsored by GOVCERT.LU.
Signed-off-by Leon Anavi<[email protected]>--- .../qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)rename meta-oe/recipes-printing/qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} (67%)
meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb renamed from meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb +10
-4@@ -2,14 +2,14 @@ DESCRIPTION = "PDF transformation/inspection software" HOMEPAGE ="http://qpdf.sourceforge.net" LICENSE = "Artistic-2.0" SECTION = "libs" -DEPENDS = "libpcre zlib libjpeg-turbo" +DEPENDS = "libpcre zlib libjpeg-turbo openssl" SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" -SRC_URI[sha256sum] = "e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811" +SRC_URI[sha256sum] = "c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc" LIC_FILES_CHKSUM ="file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" -inherit autotools-brokensep gettext +inherit cmake gettext # disable random file detection for cross-compile EXTRA_OECONF = "--without-random \@@ -17,11 +17,18 @@ EXTRA_OECONF = "--without-random \ --disable-check-autofiles \ " +EXTRA_OECMAKE = '-DRANDOM_DEVICE="/dev/random"' + LDFLAGS:append:mipsarch = " -latomic" LDFLAGS:append:riscv32 = " -latomic" S="${WORKDIR}/${BPN}-${PV}" +do_install:append() { + # Change the fully defined path on the target + sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/${BPN}/libqpdfTargets.cmake +} + # avoid Makefile returning error on 'make clean' before configure was run CLEANBROKEN = "1" --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106465):https://lists.openembedded.org/g/openembedded-devel/message/106465 Mute This Topic:https://lists.openembedded.org/mt/102444518/2167311
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][PATCH 2/3] qpdf: Update 10.6.3 -> 11.6.3
Quoted 9 lines · Leon Anavi
Hi Khem,
Thank you for the feedback.
On 8.11.23 г. 9:08 ч., Khem Raj wrote:
seeing this error
Quoted 7 lines
WARNING: qpdf-11.6.3-r0
do_package_qa: QA Issue: File/usr/lib/cmake/qpdf/libqpdfTargets.cmakein package qpdf-dev contains reference to TMPDIR [bu
ildpaths]The sed command in do_install:append should fix this warning. I also inspected to
/usr/lib/cmake/qpdf/libqpdfTargets.cmakeon the booted target device and the paths look OK. I am wondering why does this warning appear on your build setup?
the CI in this case uses usermerge distro feature and clang+lld to link.
Quoted 105 lines
ERROR: qpdf-11.6.3-r0
do_package_qa: QA Issue:/usr/lib/libqpdf.so.29.6.3contained in package libqpdf requires libgnutls.so.30(GNUTLS_3_4)(64bit),
but no providers found in RDEPENDS:libqpdf? [file-rdeps]
ERROR: qpdf-11.6.3-r0do_package_qa: QA Issue:/usr/lib/libqpdf.so.29.6.3contained in package libqpdf requires libgnutls.so.30()(64bit), but no pr
oviders found in RDEPENDS:libqpdf? [file-rdeps]I can't reproduce these errors on my side. Could you please provide any hints how to reproduce them?
Best regards,
LeonERROR: qpdf-11.6.3-r0
do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in:/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/qpdf/11.6.3/temp/log.do_package_qa.3501227On Tue, Nov 7, 2023 at 7:22 AM Leon Anavi <[email protected]> wrote:
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/randomto perform encryption securely. Change the fully defined path on the target to about buildpaths QA issues with libqpdfTargets.cmake.This work was sponsored by GOVCERT.LU.
Signed-off-by Leon Anavi <[email protected]>--- .../qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename meta-oe/recipes-printing/qpdf/{qpdf_10.6.3.bb => qpdf_11.6.3.bb} (67%)meta-oe/recipes-printing/qpdf/qpdf_11.6.3.bb renamed from meta-oe/recipes-printing/qpdf/qpdf_10.6.3.bb +10
-4@@ -2,14 +2,14 @@ DESCRIPTION = "PDF transformation/inspection software" HOMEPAGE = "http://qpdf.sourceforge.net" LICENSE = "Artistic-2.0" SECTION = "libs" -DEPENDS = "libpcre zlib libjpeg-turbo" +DEPENDS = "libpcre zlib libjpeg-turbo openssl" SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" -SRC_URI[sha256sum] = "e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811" +SRC_URI[sha256sum] = "c394b1b0cff4cd9d13b0f5e16bdf3cf54da424dc434f9d40264b7fe67acd90bc" LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" -inherit autotools-brokensep gettext +inherit cmake gettext # disable random file detection for cross-compile EXTRA_OECONF = "--without-random \@@ -17,11 +17,18 @@ EXTRA_OECONF = "--without-random \ --disable-check-autofiles \ " +EXTRA_OECMAKE = '-DRANDOM_DEVICE="/dev/random"' + LDFLAGS:append:mipsarch = " -latomic" LDFLAGS:append:riscv32 = " -latomic" S="${WORKDIR}/${BPN}-${PV}" +do_install:append() { + # Change the fully defined path on the target + sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/${BPN}/libqpdfTargets.cmake +} + # avoid Makefile returning error on 'make clean' before configure was run CLEANBROKEN = "1" --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106465): https://lists.openembedded.org/g/openembedded-devel/message/106465
Mute This Topic: https://lists.openembedded.org/mt/102444518/2167311
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 3/3 libblockdev: Upgrade 3.0.3 -> 3.0.4
In reply to Leon AnaviUpgrade to 3.0.4:
- spec: Obsolete vdo plugin packages
- spec: Move obsoleted devel subpackages to libblockdev-devel
- ci: Bump actions/checkout from v3 to v4
- part: Do not open disk read-write for read only operations
- fs: Disable progress for ntfsresize
- packit: Add configuration for downstream builds
- logging: Default to DEBUG log level if compiled with --enable-debug
- Use log function when calling a plugin function that is not loaded
- lvm-dbus: Replace g_critical calls with bd_utils_log_format
- tests: Fail early when recompilation fails in library_test
- tests: Fix "invalid escape sequence '\#'" warning from Python 3.12
This work was sponsored by GOVCERT.LU.
---
.../libblockdev/{libblockdev_3.03.bb => libblockdev_3.0.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/libblockdev/{libblockdev_3.03.bb => libblockdev_3.0.4.bb} (97%)meta-oe/recipes-extended/libblockdev/libblockdev_3.0.4.bb renamed from meta-oe/recipes-extended/libblockdev/libblockdev_3.03.bb +1 -1
@@ -15,7 +15,7 @@ DEPENDS = "autoconf-archive-native glib-2.0 kmod udev libnvme" SRC_URI = "git://github.com/storaged-project/libblockdev;branch=master;protocol=https \ file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \ " -SRCREV = "38378931d285b91333ff2e2a391b1fe91072f9bb" +SRCREV = "ec0120de06f28ecfc10953b712f7f42735787bcf" S = "${WORKDIR}/git" FILES:${PN} += "${libdir}/python3.*/site-packages"
Signature · 1 line
2.39.2