Accepting request 969262 from graphics

- update to 2.1.3:
  * Fixed a regression introduced by 2.0 beta1[7] whereby cjpeg compressed PGM
    input files into full-color JPEG images unless the `-grayscale` option was
    used.
  
  * cjpeg now automatically compresses GIF and 8-bit BMP input files into
    grayscale JPEG images if the input files contain only shades of gray.
  
  * The build system now enables the intrinsics implementation of the AArch64
    (Arm 64-bit) Neon SIMD extensions by default when using GCC 12 or later.
  
  * Fixed a segfault that occurred while decompressing a 4:2:0 JPEG image using
    the merged (non-fancy) upsampling algorithms (that is, with
    `cinfo.do_fancy_upsampling` set to `FALSE`) along with `jpeg_crop_scanline()`.
    Specifically, the segfault occurred if the number of bytes remaining in the
    output buffer was less than the number of bytes required to represent one
    uncropped scanline of the output image.  For that reason, the issue could only
    be reproduced using the libjpeg API, not using djpeg.

OBS-URL: https://build.opensuse.org/request/show/969262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjpeg-turbo?expand=0&rev=61
This commit is contained in:
Dominique Leuenberger 2022-04-14 15:23:14 +00:00 committed by Git OBS Bridge
commit 3152279e3e
7 changed files with 35 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09b96cb8cbff9ea556a9c2d173485fd19488844d55276ed4f42240e1e2073ce5
size 2257645

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:467b310903832b033fe56cd37720d1b73a6a3bd0171dbf6ff0b620385f4f76d0
size 2260756

Binary file not shown.

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sun Mar 20 19:33:28 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.1.3:
* Fixed a regression introduced by 2.0 beta1[7] whereby cjpeg compressed PGM
input files into full-color JPEG images unless the `-grayscale` option was
used.
* cjpeg now automatically compresses GIF and 8-bit BMP input files into
grayscale JPEG images if the input files contain only shades of gray.
* The build system now enables the intrinsics implementation of the AArch64
(Arm 64-bit) Neon SIMD extensions by default when using GCC 12 or later.
* Fixed a segfault that occurred while decompressing a 4:2:0 JPEG image using
the merged (non-fancy) upsampling algorithms (that is, with
`cinfo.do_fancy_upsampling` set to `FALSE`) along with `jpeg_crop_scanline()`.
Specifically, the segfault occurred if the number of bytes remaining in the
output buffer was less than the number of bytes required to represent one
uncropped scanline of the output image. For that reason, the issue could only
be reproduced using the libjpeg API, not using djpeg.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 24 21:39:14 UTC 2021 - Dirk Müller <dmueller@suse.com> Wed Nov 24 21:39:14 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libjpeg-turbo # spec file for package libjpeg-turbo
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,6 @@
%define asan_build 0 %define asan_build 0
%define debug_build 0 %define debug_build 0
%define srcver 2.1.2
%define major 8 %define major 8
%define minor 2 %define minor 2
%define micro 2 %define micro 2
@ -28,13 +27,13 @@
%define tmicro 0 %define tmicro 0
%define tlibver %{tmajor}.%{tminor}.%{tmicro} %define tlibver %{tmajor}.%{tminor}.%{tmicro}
Name: libjpeg-turbo Name: libjpeg-turbo
Version: %{srcver} Version: 2.1.3
Release: 0 Release: 0
Summary: A SIMD-accelerated library for manipulating JPEG image files Summary: A SIMD-accelerated library for manipulating JPEG image files
License: BSD-3-Clause License: BSD-3-Clause
URL: https://sourceforge.net/projects/libjpeg-turbo URL: https://sourceforge.net/projects/libjpeg-turbo
Source0: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz Source0: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz
Source1: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig Source1: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig
Source2: libjpeg-turbo.keyring Source2: libjpeg-turbo.keyring
Source3: baselibs.conf Source3: baselibs.conf
Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch
@ -133,14 +132,14 @@ MYCFLAGS="$MYCFLAGS -O0 -g"
exit 0 exit 0
%endif %endif
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
%if 0%{?fedora_version} %if 0%{?fedora_version} || 0%{?centos_version}
ctest --output-on-failure --force-new-ctest-process ctest --output-on-failure --force-new-ctest-process
%else %else
%ctest %ctest
%endif %endif
%install %install
%if 0%{?fedora_version} %if 0%{?fedora_version} || 0%{?centos_version}
make DESTDIR=%{buildroot} install/fast make DESTDIR=%{buildroot} install/fast
%else %else
%cmake_install %cmake_install

View File

@ -1,7 +1,7 @@
# #
# spec file for package libjpeg62-turbo # spec file for package libjpeg62-turbo
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,16 +19,16 @@
%define major 62 %define major 62
%define minor 3 %define minor 3
%define micro 0 %define micro 0
%define srcver 2.1.2
%define libver %{major}.%{minor}.%{micro} %define libver %{major}.%{minor}.%{micro}
%define srcver 2.1.3
Name: libjpeg62-turbo Name: libjpeg62-turbo
Version: %{srcver} Version: %{srcver}
Release: 0 Release: 0
Summary: A SIMD-accelerated library for manipulating JPEG image files Summary: A SIMD-accelerated library for manipulating JPEG image files
License: BSD-3-Clause License: BSD-3-Clause
URL: https://sourceforge.net/projects/libjpeg-turbo URL: https://sourceforge.net/projects/libjpeg-turbo
Source0: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz Source0: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz
Source1: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig Source1: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig
Source2: libjpeg-turbo.keyring Source2: libjpeg-turbo.keyring
Source3: baselibs.conf Source3: baselibs.conf
Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch