pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libjpeg-turbo libjpeg-turbo: updated to 2.1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f504fc09c2a
branches:  trunk
changeset: 769784:9f504fc09c2a
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Nov 19 21:55:01 2021 +0000

description:
libjpeg-turbo: updated to 2.1.2

2.1.2
=====

Significant changes relative to 2.1.1

1. Fixed a regression introduced by 2.1 beta1[13] that caused the remaining
GAS implementations of AArch64 (Arm 64-bit) Neon SIMD functions (which are used
by default with GCC for performance reasons) to be placed in the `.rodata`
section rather than in the `.text` section.  This caused the GNU linker to
automatically place the `.rodata` section in an executable segment, which
prevented libjpeg-turbo from working properly with other linkers and also
represented a potential security risk.

2. Fixed an issue whereby the `tjTransform()` function incorrectly computed the
MCU block size for 4:4:4 JPEG images with non-unary sampling factors and thus
unduly rejected some cropping regions, even though those regions aligned with
8x8 MCU block boundaries.

3. Fixed a regression introduced by 2.1 beta1[13] that caused the build system
to enable the Arm Neon SIMD extensions when targetting Armv6 and other legacy
architectures that do not support Neon instructions.

4. libjpeg-turbo now performs run-time detection of AltiVec instructions on
FreeBSD/PowerPC systems if AltiVec instructions are not enabled at compile
time.  This allows both AltiVec-equipped and non-AltiVec-equipped CPUs to be
supported using the same build of libjpeg-turbo.

5. cjpeg now accepts a `-strict` argument similar to that of djpeg and
jpegtran, which causes the compressor to abort if an LZW-compressed GIF input
image contains incomplete or corrupt image data.

diffstat:

 graphics/libjpeg-turbo/Makefile |  6 ++++--
 graphics/libjpeg-turbo/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 947c1ae2f28a -r 9f504fc09c2a graphics/libjpeg-turbo/Makefile
--- a/graphics/libjpeg-turbo/Makefile   Fri Nov 19 21:53:29 2021 +0000
+++ b/graphics/libjpeg-turbo/Makefile   Fri Nov 19 21:55:01 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2021/08/10 09:13:54 adam Exp $
+# $NetBSD: Makefile,v 1.24 2021/11/19 21:55:01 adam Exp $
 
-DISTNAME=      libjpeg-turbo-2.1.1
+DISTNAME=      libjpeg-turbo-2.1.2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
 
@@ -22,6 +22,8 @@
 USE_LANGUAGES=         c c++
 PKGCONFIG_OVERRIDE=    release/libturbojpeg.pc.in release/libjpeg.pc.in
 TEST_ENV+=             LD_LIBRARY_PATH=${WRKSRC}
+# For Darwin
+TEST_ENV+=             DYLD_LIBRARY_PATH=${WRKSRC}
 TEST_TARGET=           test
 
 # Ask for compatibility with jpeg 8, to get the highest ABI that
diff -r 947c1ae2f28a -r 9f504fc09c2a graphics/libjpeg-turbo/distinfo
--- a/graphics/libjpeg-turbo/distinfo   Fri Nov 19 21:53:29 2021 +0000
+++ b/graphics/libjpeg-turbo/distinfo   Fri Nov 19 21:55:01 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 10:46:27 nia Exp $
+$NetBSD: distinfo,v 1.21 2021/11/19 21:55:01 adam Exp $
 
-BLAKE2s (libjpeg-turbo-2.1.1.tar.gz) = f52347e17df50c5ba960b5773b4dfe99744f4a5af3b03554d760d5ebcd874994
-SHA512 (libjpeg-turbo-2.1.1.tar.gz) = 9cf61b4677b38e254063248a3fdbe138634d23a35ae8f2ee2661bdb3248b1d0500bd43201b8d9fe66c779d578074fd9ed19bc097ba22e10143530c2a19738673
-Size (libjpeg-turbo-2.1.1.tar.gz) = 2256321 bytes
+BLAKE2s (libjpeg-turbo-2.1.2.tar.gz) = d49e5be18e7d88ac721a8873bc5f30fe129bd5bfff0bfbb4e2dd3aae7381dde3
+SHA512 (libjpeg-turbo-2.1.2.tar.gz) = f0377b58d00310b2e644da31f807ac6c3425823f362ea88bcbed32991dddbea4e7a478676a7c1c4874a34bc578f262bf1d32c925e2f14fa517a50fd911ba8dd5
+Size (libjpeg-turbo-2.1.2.tar.gz) = 2257645 bytes
 SHA1 (patch-jpeglib.h) = 22f69b5fed1882c33f4a8a6e42b8aca5ed195de3
 SHA1 (patch-simd_arm__aarch32_jsimd.c) = 914632a76343b75869d2ca736c4c48f13cb2b54e
 SHA1 (patch-simd_arm__aarch64_jsimd.c) = 0e8fac36a9abc70e8526370237c7cdd28be519ef



Home | Main Index | Thread Index | Old Index