From 125ea65fe0eb75af47bc216913640bdd805281db Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Mon, 16 Nov 2015 15:16:23 -0800 Subject: libjpeg-turbo: update 1.4.1 -> 1.4.2 https://github.com/libjpeg-turbo/libjpeg-turbo/blob/1.4.2/ChangeLog.txt 1.4.2 ===== [1] Fixed an issue whereby cjpeg would segfault if a Windows bitmap with a negative width or height was used as an input image (Windows bitmaps can have a negative height if they are stored in top-down order, but such files are rare and not supported by libjpeg-turbo.) [2] Fixed an issue whereby, under certain circumstances, libjpeg-turbo would incorrectly encode certain JPEG images when quality=100 and the fast integer forward DCT were used. This was known to cause 'make test' to fail when the library was built with '-march=haswell' on x86 systems. [3] Fixed an issue whereby libjpeg-turbo would crash when built with the latest & greatest development version of the Clang/LLVM compiler. This was caused by an x86-64 ABI conformance issue in some of libjpeg-turbo's 64-bit SSE2 SIMD routines. Those routines were incorrectly using a 64-bit mov instruction to transfer a 32-bit JDIMENSION argument, whereas the x86-64 ABI allows the upper (unused) 32 bits of a 32-bit argument's register to be undefined. The new Clang/LLVM optimizer uses load combining to transfer multiple adjacent 32-bit structure members into a single 64-bit register, and this exposed the ABI conformance issue. [4] Fixed a bug in the MIPS DSPr2 4:2:0 "plain" (non-fancy and non-merged) upsampling routine that caused a buffer overflow (and subsequent segfault) when decompressing a 4:2:0 JPEG image whose scaled output width was less than 16 pixels. The "plain" upsampling routines are normally only used when decompressing a non-YCbCr JPEG image, but they are also used when decompressing a JPEG image whose scaled output height is 1. [5] Fixed various negative left shifts and other issues reported by the GCC and Clang undefined behavior sanitizers. None of these was known to pose a security threat, but removing the warnings makes it easier to detect actual security issues, should they arise in the future. Signed-off-by: Andre McCurdy Signed-off-by: Martin Jansa --- .../recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb | 40 ---------------------- .../recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb create mode 100644 meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb (limited to 'meta-oe/recipes-core') diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb b/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb deleted file mode 100644 index e79f800915..0000000000 --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression" -HOMEPAGE = "http://libjpeg-turbo.org/" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \ - file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \ - file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \ -" - -DEPENDS = "nasm-native" - -BASEPV = "${@d.getVar('PV',True).split('+')[1]}" - -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz" -SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2" -SRC_URI[sha256sum] = "4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08" - -S = "${WORKDIR}/${BPN}-${BASEPV}" - -# Drop-in replacement for jpeg -PROVIDES = "jpeg" -RPROVIDES_${PN} += "jpeg" -RREPLACES_${PN} += "jpeg" -RCONFLICTS_${PN} += "jpeg" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--with-jpeg8 " - -PACKAGES =+ "jpeg-tools libturbojpeg" - -DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files and benchmarking of the libjpeg library." -FILES_jpeg-tools = "${bindir}/*" - -FILES_libturbojpeg = "${libdir}/libturbojpeg.so" -INSANE_SKIP_libturbojpeg = "dev-so" - -BBCLASSEXTEND = "native" - -LEAD_SONAME = "libjpeg.so.8" diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb b/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb new file mode 100644 index 0000000000..0138a63098 --- /dev/null +++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression" +HOMEPAGE = "http://libjpeg-turbo.org/" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \ + file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \ + file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \ +" + +DEPENDS = "nasm-native" + +BASEPV = "${@d.getVar('PV',True).split('+')[1]}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz" +SRC_URI[md5sum] = "86b0d5f7507c2e6c21c00219162c3c44" +SRC_URI[sha256sum] = "521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e" + +S = "${WORKDIR}/${BPN}-${BASEPV}" + +# Drop-in replacement for jpeg +PROVIDES = "jpeg" +RPROVIDES_${PN} += "jpeg" +RREPLACES_${PN} += "jpeg" +RCONFLICTS_${PN} += "jpeg" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--with-jpeg8 " + +PACKAGES =+ "jpeg-tools libturbojpeg" + +DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files and benchmarking of the libjpeg library." +FILES_jpeg-tools = "${bindir}/*" + +FILES_libturbojpeg = "${libdir}/libturbojpeg.so" +INSANE_SKIP_libturbojpeg = "dev-so" + +BBCLASSEXTEND = "native" + +LEAD_SONAME = "libjpeg.so.8" -- cgit v1.2.3-54-g00ecf