From 89b637441061fccae7fab83bae89e18c46ee716caec179c95691cdfd05fec814 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 1 Feb 2025 19:18:39 +0000 Subject: [PATCH] [info=9275ccc8a651097ae3a24c0054e87dc92206366e703101cd14596d26fe018b1d] OBS-URL: https://build.opensuse.org/package/show/games/SDL2_image?expand=0&rev=50 --- .gitattributes | 23 +++++ .gitignore | 1 + SDL2_image-2.8.3.tar.gz | 3 + SDL2_image-2.8.4.tar.gz | 3 + SDL2_image-2.8.4.tar.gz.sig | Bin 0 -> 95 bytes SDL2_image.changes | 184 ++++++++++++++++++++++++++++++++++++ SDL2_image.keyring | 25 +++++ SDL2_image.spec | 99 +++++++++++++++++++ _scmsync.obsinfo | 4 + build.specials.obscpio | 3 + 10 files changed, 345 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 SDL2_image-2.8.3.tar.gz create mode 100644 SDL2_image-2.8.4.tar.gz create mode 100644 SDL2_image-2.8.4.tar.gz.sig create mode 100644 SDL2_image.changes create mode 100644 SDL2_image.keyring create mode 100644 SDL2_image.spec create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/SDL2_image-2.8.3.tar.gz b/SDL2_image-2.8.3.tar.gz new file mode 100644 index 0000000..676ed8b --- /dev/null +++ b/SDL2_image-2.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b000f2c238ce380807ee0cb68a0ef005871691ece8646dbf4f425a582b1bb22 +size 11577541 diff --git a/SDL2_image-2.8.4.tar.gz b/SDL2_image-2.8.4.tar.gz new file mode 100644 index 0000000..f394a62 --- /dev/null +++ b/SDL2_image-2.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7c06a8783952cfe960adccdd3d8472b63ab31475b4390d10cfdcc1aea61238f +size 11643487 diff --git a/SDL2_image-2.8.4.tar.gz.sig b/SDL2_image-2.8.4.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..0472b7fbb705c01c0a523411c53c2eb47cd16499523833adfafbbd9eff2c8930 GIT binary patch literal 95 zcmeB(WnmCxVvrS6WD(U!j%^5DT3>$gL7TzS$>qz-te>$mrI*G|VBq2ufQcBNVpy + +- Update to release 2.8.4 + * Fixed a regression in the last release with certain grayscale + PNG images + +------------------------------------------------------------------- +Tue Dec 17 23:27:31 UTC 2024 - Jan Engelhardt + +- Update to release 2.8.3 + * Fixed handling of grayscale images with alpha + +------------------------------------------------------------------- +Mon Jan 1 21:44:53 UTC 2024 - Jan Engelhardt + +- Update to release 2.8.2 + * Fixed crash loading LBM images + * Automatically set the colorkey for indexed PNG images with + transparency + +------------------------------------------------------------------- +Wed Dec 13 19:25:51 UTC 2023 - Jan Engelhardt + +- Update to release 2.8.1 + * Indexed PNG images with alpha have blending automatically enabled + * Fixed a crash in the 32-bit webp DLLs on Windows + +------------------------------------------------------------------- +Tue Dec 5 22:36:53 UTC 2023 - Jan Engelhardt + +- Update to release 2.8.0 + * Updated image decoding libraries + * Added support for loading WEBP animations + * PNG images with a palette are loaded as SDL surfaces with a + palette + +------------------------------------------------------------------- +Tue Feb 7 00:35:11 UTC 2023 - Jan Engelhardt + +- Update to release 2.6.3 + * Fixed loading of 4-bit .ico files + +------------------------------------------------------------------- +Mon Sep 5 07:42:27 UTC 2022 - Dominique Leuenberger + +- Add back Provides: SDL2_image = %version-%release to the library + package: the python deps somewhat depend on that to not have to + know about all soversion changes. + +------------------------------------------------------------------- +Sat Aug 20 08:13:36 UTC 2022 - Jan Engelhardt + +- Update to release 2.6.2 + * Build updates for non-Linux platforms +- Enable AVIF, JXL + +------------------------------------------------------------------- +Mon Aug 1 21:46:55 UTC 2022 - Jan Engelhardt + +- Update to release 2.6.1 + * Fixing grayscale image loading using the built-in stb_image + (openSUSE uses libjpg/libpng, not stb) + +------------------------------------------------------------------- +Fri Jul 8 20:20:20 UTC 2022 - Jan Engelhardt + +- Update to release 2.6.0 + * Added stb_image as the default backend for JPG and PNG images loading. + To use libpng and libjpg instead, configure using --disable-stb-image + * Added IMG_LoadSizedSVG_RW() + * Added support for AVIF images (https://github.com/AOMediaCodec/libavif [github.com]) + * Added IMG_ReadXPMFromArrayToRGB888() + * Added support for JXL images (https://jpegxl.info/ [jpegxl.info]) + * Added support for QOI images (https://qoiformat.org/ [qoiformat.org]) + * Fixed XCF regression introduced in 2.0.5 + * Added support for loading animated GIFs + * LoadBMP() now loads files using SDL2 + * Allow using libwebpdecoder instead libwebp +- Remove CVE-2019-13616.patch (merged) +- Rename -devel subpackage based on SRPM name +- Drop baselibs.conf (no SDL2_ttf-dependent Tumbleweed packages + themselves have baselibs). + +------------------------------------------------------------------- +Fri Aug 23 14:04:59 UTC 2019 - Michael Gorse + +- Add CVE-2019-13616.patch: fix heap buffer overflow when reading + a crafted bmp file (boo#1141844 CVE-2019-13616). + +------------------------------------------------------------------- +Fri Aug 23 09:53:45 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 2.0.5 + * Fixed TALOS-2019-0820 CVE-2019-5051 + * Fixed TALOS-2019-0821 CVE-2019-5052 + * Fixed TALOS-2019-0841 CVE-2019-5057 boo#1143763 + * Fixed TALOS-2019-0842 CVE-2019-5058 boo#1143764 + * Fixed TALOS-2019-0843 CVE-2019-5059 boo#1143766 + * Fixed TALOS-2019-0844 CVE-2019-5060 boo#1143768 +- Not mentioned by upstream, but issues seemingly further fixed: + * Fixed CVE-2019-12218 boo#1135789 + * Fixed CVE-2019-12217 boo#1135787 + * Fixed CVE-2019-12220 boo#1135806 + * Fixed CVE-2019-12221 boo#1135796 + * Fixed CVE-2019-12222 boo#1136101 + +------------------------------------------------------------------- +Wed Nov 7 20:56:03 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 2.0.4 + * Fixed memory issues in the XCF loader: + * CVE-2018-3839 boo#1089087 TALOS-2018-0521 + * CVE-2018-3977 boo#1114519 TALOS-2018-0645 + +------------------------------------------------------------------- +Thu Mar 8 00:53:28 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 2.0.3 + * Fixed a number of security issues: + * TALOS-2017-0488/CVE-2017-12122/boo#1084256: + IMG_LoadLBM_RW code execution vulnerability + * TALOS-2017-0489/CVE-2017-14440/boo#1084257: + ILBM CMAP parsing code execution vulnerability + * TALOS-2017-0490/CVE-2017-14441/boo#1084282: + ICO pitch handling code execution vulnerability + * TALOS-2017-0491/CVE-2017-14442/boo#1084304: + Image palette population code execution vulnerability + * TALOS-2017-0497/CVE-2017-14448/boo#1084303: + load_xcf_tile_rle decompression code execution + * TALOS-2017-0498/CVE-2017-14449/boo#1084297: + do_layer_surface double free vulnerability + * TALOS-2017-0499/CVE-2017-14450/boo#1084288: + LWZ decompression buffer overflow vulnerability + +------------------------------------------------------------------- +Tue Feb 13 22:21:26 UTC 2018 - jengelh@inai.de + +- Update BuildRequires + +------------------------------------------------------------------- +Fri Feb 9 17:11:54 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 2.0.2 + * Added simple SVG image support based on Nano SVG + * Fixed security vulnerability in XCF image loader + [boo#1062777, CVE-2017-2887] + * Added optional support for loading images using Windows + Imaging Component + * Added libpng save support for much smaller 8-bit images + * Added JPG save support: IMG_SaveJPG() and IMG_SaveJPG_RW() + +------------------------------------------------------------------- +Sun Jan 10 17:13:52 UTC 2016 - mailaender@opensuse.org + +- Update to version 2.0.1 + * Fixed support for transparency in XPM files + * Fixed memory leak in webp image loading + * Fixed loading BMP files with large BITMAPINFOHEADER structures + * Fixed building with libpng 1.4 +- Removed bigendian_undefined_s.patch + +------------------------------------------------------------------- +Thu Jan 8 09:34:57 UTC 2015 - jengelh@inai.de + +- Improve package summary and description. Drop --with-pic which + is enabled implicitly anyway, remove redundant Requires. + +------------------------------------------------------------------- +Thu Sep 12 10:42:27 UTC 2013 - dvaleev@suse.com + +- Fix undefined s on BigEndian platforms (bigendian_undefined_s.patch) + +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list, more robust make install call + +------------------------------------------------------------------- +Tue Aug 13 11:27:54 UTC 2013 - prusnak@opensuse.org + +- created package (version 2.0.0) - based on SDL_image package + diff --git a/SDL2_image.keyring b/SDL2_image.keyring new file mode 100644 index 0000000..3e900ef --- /dev/null +++ b/SDL2_image.keyring @@ -0,0 +1,25 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.0.4 (GNU/Linux) +Comment: For info see http://www.gnupg.org + +mQGiBDpWOb0RBADQwd3d9mzt6KzqlsgXf9mikBuMbpK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hGBBgRAgAGBQI6VjnDAAoJEDClk3endjvmxmUAn3Ne6Z3UULpie8RJP15RBt6K +2MWFAJ9hK/Ls/FeBJ9d50qxmYdZ2RrTXNg== +=toqC +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SDL2_image.spec b/SDL2_image.spec new file mode 100644 index 0000000..5019116 --- /dev/null +++ b/SDL2_image.spec @@ -0,0 +1,99 @@ +# +# spec file for package SDL2_image +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: SDL2_image +%define lname libSDL2_image-2_0-0 +Version: 2.8.4 +Release: 0 +Summary: Simple DirectMedia Layer 2 image loading library +License: Zlib +Group: Development/Libraries/X11 +URL: https://libsdl.org/projects/SDL_image/ +Source: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL2_image-%version.tar.gz +Source2: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL2_image-%version.tar.gz.sig +Source9: %name.keyring +BuildRequires: SDL2-devel >= 2.24 +BuildRequires: automake +BuildRequires: dos2unix +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: pkgconfig(libavif) +BuildRequires: pkgconfig(libjxl) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libwebp) + +%description +This is a library to load images of various formats as SDL +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. + +%package -n %lname +Summary: Simple DirectMedia Layer 2 image loading library +Group: System/Libraries +Provides: SDL2_image = %version-%release + +%description -n %lname +This is a library to load images of various formats as SDL +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. + +%package devel +Summary: Development files for the SDL2 image loader library +Group: Development/Libraries/X11 +Requires: %lname = %version +Obsoletes: libSDL2_image-devel < %version-%release +Provides: libSDL2_image-devel = %version-%release + +%description devel +This is a library to load images of various formats as SDL +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. + +%prep +%autosetup -p1 +dos2unix *.txt +rm -rf external +autoreconf -fi + +%build +# --disable-*-shared: Link, rather than dlopen. +# +%configure --disable-stb-image --disable-png-shared --disable-jpg-shared \ + --disable-tif-shared --disable-webp-shared --disable-static +%make_build + +%install +%make_install +rm -f "%buildroot/%_libdir"/*.la + +%ldconfig_scriptlets -n %lname + +%files -n %lname +%license LICENSE.txt +%_libdir/libSDL2_image-2*.so.* + +%files devel +%doc CHANGES.txt README.txt +%_includedir/SDL2/ +%_libdir/libSDL2_image.so +%_libdir/cmake/ +%_libdir/pkgconfig/*.pc + +%changelog diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..8c30b87 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1738437507 +commit: 9275ccc8a651097ae3a24c0054e87dc92206366e703101cd14596d26fe018b1d +url: https://src.opensuse.org/jengelh/SDL2_image +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..d2914c9 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fa16dad5561f95334bf284a5a45258ef35380015dfa89a7d028662004f07839 +size 256