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.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a8012194694
branches:  trunk
changeset: 383199:5a8012194694
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Aug 14 20:57:40 2022 +0000

description:
libjpeg-turbo: updated to 2.1.4

2.1.4

Significant changes relative to 2.1.3

Fixed a regression introduced in 2.1.3 that caused build failures with Visual Studio 2010.

The tjDecompressHeader3() function in the TurboJPEG C API and the TJDecompressor.setSourceImage() method in the TurboJPEG Java API now accept "abbreviated table specification" (AKA "tables-only") 
datastreams, which can be used to prime the decompressor with quantization and Huffman tables that can be used when decompressing subsequent "abbreviated image" datastreams.

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

Fixed an error ("Bogus virtual array access") that occurred when attempting to decompress a progressive JPEG image with a height less than or equal to one iMCU (8 * the vertical sampling factor) 
using buffered-image mode with interblock smoothing enabled. This was a regression introduced by 2.1 beta1[6(b)].

Fixed two issues that prevented partial image decompression from working properly with buffered-image mode:

Attempting to call jpeg_crop_scanline() after jpeg_start_decompress() but before jpeg_start_output() resulted in an error ("Improper call to JPEG library in state 207".)
Attempting to use jpeg_skip_scanlines() resulted in an error ("Bogus virtual array access") under certain circumstances.

diffstat:

 graphics/libjpeg-turbo/Makefile                                |   4 +-
 graphics/libjpeg-turbo/distinfo                                |  10 ++++----
 graphics/libjpeg-turbo/patches/patch-simd_arm__aarch32_jsimd.c |  12 +++++-----
 3 files changed, 13 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r aeea357b3a05 -r 5a8012194694 graphics/libjpeg-turbo/Makefile
--- a/graphics/libjpeg-turbo/Makefile   Sun Aug 14 20:44:00 2022 +0000
+++ b/graphics/libjpeg-turbo/Makefile   Sun Aug 14 20:57:40 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2022/04/20 21:47:24 tnn Exp $
+# $NetBSD: Makefile,v 1.27 2022/08/14 20:57:40 adam Exp $
 
-DISTNAME=      libjpeg-turbo-2.1.3
+DISTNAME=      libjpeg-turbo-2.1.4
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
 
diff -r aeea357b3a05 -r 5a8012194694 graphics/libjpeg-turbo/distinfo
--- a/graphics/libjpeg-turbo/distinfo   Sun Aug 14 20:44:00 2022 +0000
+++ b/graphics/libjpeg-turbo/distinfo   Sun Aug 14 20:57:40 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.22 2022/02/27 08:50:48 adam Exp $
+$NetBSD: distinfo,v 1.23 2022/08/14 20:57:40 adam Exp $
 
-BLAKE2s (libjpeg-turbo-2.1.3.tar.gz) = a9880173803f8ac8ac89e2deea7d08ad536b257177b5133f0f6152aa7f808c5c
-SHA512 (libjpeg-turbo-2.1.3.tar.gz) = 975c9835de7d70c6c8c5a1959adfa18f7f956bc9946fde8f1b40c1d853245c38a3118ac06b93841ec3e90be6945c38d687d062b371496c2ee9b5638d7f60418d
-Size (libjpeg-turbo-2.1.3.tar.gz) = 2260756 bytes
+BLAKE2s (libjpeg-turbo-2.1.4.tar.gz) = 2c9813bdf0f93af4a797d674f3080017dd8501793d69ef50b64d9fb627646ef9
+SHA512 (libjpeg-turbo-2.1.4.tar.gz) = 511f065767c022da06b6c36299686fa44f83441646f7e33b766c6cfab03f91b0e6bfa456962184071dadaed4057ba9a29cba685383f3eb86a4370a1a53731a70
+Size (libjpeg-turbo-2.1.4.tar.gz) = 2261822 bytes
 SHA1 (patch-jpeglib.h) = 22f69b5fed1882c33f4a8a6e42b8aca5ed195de3
-SHA1 (patch-simd_arm__aarch32_jsimd.c) = 914632a76343b75869d2ca736c4c48f13cb2b54e
+SHA1 (patch-simd_arm__aarch32_jsimd.c) = 1176982b19289e7f664d078a31f7c470e453ed51
 SHA1 (patch-simd_arm__aarch64_jsimd.c) = 0e8fac36a9abc70e8526370237c7cdd28be519ef
diff -r aeea357b3a05 -r 5a8012194694 graphics/libjpeg-turbo/patches/patch-simd_arm__aarch32_jsimd.c
--- a/graphics/libjpeg-turbo/patches/patch-simd_arm__aarch32_jsimd.c    Sun Aug 14 20:44:00 2022 +0000
+++ b/graphics/libjpeg-turbo/patches/patch-simd_arm__aarch32_jsimd.c    Sun Aug 14 20:57:40 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-simd_arm__aarch32_jsimd.c,v 1.1 2021/04/26 08:18:48 adam Exp $
+$NetBSD: patch-simd_arm__aarch32_jsimd.c,v 1.2 2022/08/14 20:57:40 adam Exp $
 
---- simd/arm/aarch32/jsimd.c.orig      2021-04-23 16:42:40.000000000 +0000
+--- simd/arm/aarch32/jsimd.c.orig      2022-08-08 21:03:55.000000000 +0000
 +++ simd/arm/aarch32/jsimd.c
-@@ -29,6 +29,10 @@
- #include <string.h>
+@@ -27,6 +27,10 @@
+ 
  #include <ctype.h>
  
 +#if defined(__NetBSD__)
@@ -13,7 +13,7 @@
  static unsigned int simd_support = ~0;
  static unsigned int simd_huffman = 1;
  
-@@ -109,6 +113,9 @@ init_simd(void)
+@@ -107,6 +111,9 @@ init_simd(void)
  #endif
  #if !defined(__ARM_NEON__) && (defined(__linux__) || defined(ANDROID) || defined(__ANDROID__))
    int bufsize = 1024; /* an initial guess for the line buffer size limit */
@@ -23,7 +23,7 @@
  #endif
  
    if (simd_support != ~0U)
-@@ -127,6 +134,10 @@ init_simd(void)
+@@ -125,6 +132,10 @@ init_simd(void)
      if (bufsize > SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT)
        break;
    }



Home | Main Index | Thread Index | Old Index