From e2f53ca477ae2dcbf008e5e722722fb65ab58404999825178b15ff10e49e8818 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 11 Apr 2022 18:18:29 +0000 Subject: [PATCH] Accepting request 967883 from home:dirkmueller:Factory - 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/967883 OBS-URL: https://build.opensuse.org/package/show/graphics/libjpeg-turbo?expand=0&rev=125 --- libjpeg-turbo-2.1.2.tar.gz | 3 --- libjpeg-turbo-2.1.2.tar.gz.sig | Bin 543 -> 0 bytes libjpeg-turbo-2.1.3.tar.gz | 3 +++ libjpeg-turbo-2.1.3.tar.gz.sig | Bin 0 -> 543 bytes libjpeg-turbo.changes | 22 ++++++++++++++++++++++ libjpeg-turbo.spec | 9 ++++----- libjpeg62-turbo.spec | 8 ++++---- 7 files changed, 33 insertions(+), 12 deletions(-) delete mode 100644 libjpeg-turbo-2.1.2.tar.gz delete mode 100644 libjpeg-turbo-2.1.2.tar.gz.sig create mode 100644 libjpeg-turbo-2.1.3.tar.gz create mode 100644 libjpeg-turbo-2.1.3.tar.gz.sig diff --git a/libjpeg-turbo-2.1.2.tar.gz b/libjpeg-turbo-2.1.2.tar.gz deleted file mode 100644 index 054cfce..0000000 --- a/libjpeg-turbo-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09b96cb8cbff9ea556a9c2d173485fd19488844d55276ed4f42240e1e2073ce5 -size 2257645 diff --git a/libjpeg-turbo-2.1.2.tar.gz.sig b/libjpeg-turbo-2.1.2.tar.gz.sig deleted file mode 100644 index a48dc034650a851ceb51f96988aa604d7b27c8d0839166a8f8effc53704cac5e..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p;B0FXaFV2@rn5+qU%E^fY^S5B@i|@h^Um9;@hH_l}2c zh2{lGTNKVELgB0^)D4!N5@tCaFNJ&m$r=Znt+bIXv5L#O41hKz3r%%$?sT{Sc5gXo zyp#2xS*DkDo1l<>Hs-^_9Oa@2(s6=Nt9KOe%M4Tl6@Wc0*0q@_RZXa~fEM{LuFH=J z7*YVX&eJ)--vN8<_OI@us9AHsONBA>zW4Q!aR}j9zL`Q{r?JwZkEmrNKCZyjoTY>r zF_9)h8Dsgk4Q|iwgM6~j7P2eg>Mg&8@zS~xnnvZD)Buoz~C{rwz1w zB*aO7Ky_gZTUVUl2*2h&1Uc|=?zxggtk|q+Ht90b{uL&^34!A`9=uU{!Ji4feaODG zz`A65G<|840)W$-q3d`g)$*~H2A}i}f*SWyG!3!!$xsl9!5bxw*OZb$_bnSRR3C^Y z|A-APf zSyCjm`x@#@N|Sm`^e@58~?DiM9E15{6}+2;JA6OIt(! z4HGTTzC(8G31^}%p*#tjae$pIH$ru^Olq8~`#lTTm;!V9%N~G$*hp?NJ_rQ)2-UnV h473joz3H~&a(kQ|`u|a6xxk^b^Z!b&n)ssSIT8`S38(-7 diff --git a/libjpeg-turbo-2.1.3.tar.gz b/libjpeg-turbo-2.1.3.tar.gz new file mode 100644 index 0000000..40190cd --- /dev/null +++ b/libjpeg-turbo-2.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:467b310903832b033fe56cd37720d1b73a6a3bd0171dbf6ff0b620385f4f76d0 +size 2260756 diff --git a/libjpeg-turbo-2.1.3.tar.gz.sig b/libjpeg-turbo-2.1.3.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..1620c2e00f5e4eafcf43a407472467b4a064e15aa0e00c8d232caf81aeb542d7 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p;CjJvIOe2@rn5+qU%E^fY)o5B(Y+O)vVaxmFfw6cl%Y zW~<1QV?*f5A*ph55W{_e5?n+lJ|dFg8afEnY&vTY(8|v7;zO?9Mng!9iZnCouhW}y zeC8qGoL!lI6^!-Z?2T`;eCXk+4B8I_2@p`V_)JG@#4d_!O>HtiwjBS{?U)V%kK9&i zb`d4ayl^W`U@7sXRm|4A@qU5Q$)TNgarv$dyxqAQ{M{S$Nyi|wYvAxiF$i`(D3xwF zU8n$$>vGf4K>NQ9WXm_Vf0|fD03c4kJL%HPy-zEPDCWT$FLaN^_W%0#6*NhPO*3|b zgg=;WqDh{QI5+gzY!t)1QRdXGz%E8-JK4&*^w0)U1qB3)OzEh3@ipKL%JBlv`lE{C z`1hmzH94n}v(e#M$Qa2R@Ka+~hTkKC3?-U)p;_@GBW&B7 zwdP_*1v%65?~v?{Q&c7)b<1L!k1_rdfR@?7B0*GUyZauE4&=a6(kuut!oFx_=1ib? z-jEVgFi|Ux7*B27>N(@%5Wy%6;jV>wqXTqcXj~xRC|iV{30L#m=JjHL4NC#pLUSnI zx!yt=Vm-npsa~%P!Ol+ZkqwXpWj(aKBH2J3W6!<295@FGBhuf}P4mHj?`qLSRc>U0 h_gAFcx0-gAaI+=z%C)k9ceLM#Uu`D|3JL%K literal 0 HcmV?d00001 diff --git a/libjpeg-turbo.changes b/libjpeg-turbo.changes index 2d275de..6d12fb4 100644 --- a/libjpeg-turbo.changes +++ b/libjpeg-turbo.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Mar 20 19:33:28 UTC 2022 - Dirk Müller + +- 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 diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec index fa7ec23..40b84ba 100644 --- a/libjpeg-turbo.spec +++ b/libjpeg-turbo.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,6 @@ %define asan_build 0 %define debug_build 0 -%define srcver 2.1.2 %define major 8 %define minor 2 %define micro 2 @@ -28,13 +27,13 @@ %define tmicro 0 %define tlibver %{tmajor}.%{tminor}.%{tmicro} Name: libjpeg-turbo -Version: %{srcver} +Version: 2.1.3 Release: 0 Summary: A SIMD-accelerated library for manipulating JPEG image files License: BSD-3-Clause URL: https://sourceforge.net/projects/libjpeg-turbo -Source0: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz -Source1: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig +Source0: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz +Source1: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig Source2: libjpeg-turbo.keyring Source3: baselibs.conf Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch diff --git a/libjpeg62-turbo.spec b/libjpeg62-turbo.spec index 0de575e..5cfebcb 100644 --- a/libjpeg62-turbo.spec +++ b/libjpeg62-turbo.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,16 +19,16 @@ %define major 62 %define minor 3 %define micro 0 -%define srcver 2.1.2 %define libver %{major}.%{minor}.%{micro} +%define srcver 2.1.3 Name: libjpeg62-turbo Version: %{srcver} Release: 0 Summary: A SIMD-accelerated library for manipulating JPEG image files License: BSD-3-Clause URL: https://sourceforge.net/projects/libjpeg-turbo -Source0: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz -Source1: http://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig +Source0: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz +Source1: https://downloads.sf.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz.sig Source2: libjpeg-turbo.keyring Source3: baselibs.conf Patch1: libjpeg-turbo-1.3.0-tiff-ojpeg.patch