[info=9275ccc8a651097ae3a24c0054e87dc92206366e703101cd14596d26fe018b1d]

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_image?expand=0&rev=50
This commit is contained in:
OBS User unknown 2025-02-01 19:18:39 +00:00 committed by Git OBS Bridge
commit 89b6374410
10 changed files with 345 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
SDL2_image-2.8.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
SDL2_image-2.8.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
SDL2_image-2.8.4.tar.gz.sig Normal file

Binary file not shown.

184
SDL2_image.changes Normal file
View File

@ -0,0 +1,184 @@
-------------------------------------------------------------------
Thu Dec 26 23:21:01 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>
- Update to release 2.8.3
* Fixed handling of grayscale images with alpha
-------------------------------------------------------------------
Mon Jan 1 21:44:53 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- Update to release 2.6.3
* Fixed loading of 4-bit .ico files
-------------------------------------------------------------------
Mon Sep 5 07:42:27 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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 <mgorse@suse.com>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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

25
SDL2_image.keyring Normal file
View File

@ -0,0 +1,25 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
mQGiBDpWOb0RBADQwd3d9mzt6KzqlsgXf9mikBuMbpKzYs1SBKYpdzUs9sRY0CnH
vCQTrL5sI57yKLnqEl6SbIiE75ZwrSWwvUDFFTh35Jew5nPZwv64en2kw2y4qrnJ
kBZCHDSU4KgfUZtoJ25Tmeru5MLNbXxCOoMszO5L5OchwMrGMtmFLRA/bwCgy5Th
d1/vJo+bej9tbgv++SJ05o0D/3MPK7EBoxWkQ0I+ScqOsvSMRQXWc/hXy4lyIp8e
xJByBApkv0LiiT3KlPpq/K2gTlDlCZ/JTt6Rv8Ug0g47R3a0aoz9kfc15UjHdiap
UOfF9MWmmbw59Lyx6+y2e0/C5xWzNOR1G4G5y4RZL/GXrp67xz/0fEhI85R+eASq
AEfSBAC5ZxwnBwyl+h+PXeJYKrPQjSUlgtSAkKp7PNBywwlue1LcSb7j4cc+cmgH
QMVuM883LPE59btNzFTAZjlzzIMiaXf5h9EkDARTGQ1wFiO3V5vIbVLh4kAoNfpT
egy7bYn3UrlbKg3V2DbCdEXm1zQufZzK7T0yenA5Ps8xXX7mNrQhU2FtIExhbnRp
bmdhIDxzbG91a2VuQGxpYnNkbC5vcmc+iFcEExECABcFAjpWOb0FCwcKAwQDFQMC
AxYCAQIXgAAKCRAwpZN3p3Y75t9RAJ48WI+nOPes0WK7t381Ij4JfSYxWQCgjpMa
Dg3/ah23HZhYtTKtHUzD9zi5AQ0EOlY5wxAEAPvjB0B5RNAj8hBF/Lq78w5rJ1/f
5RqWXmdfxApuEE/9OEFXUSUXms9f/IWvySdyf48Pk4t2h8b8i7F0f3R+tcCp6m0P
t1BSNHYumfmtonTy5FHqpwBVlEi7I0s5mD3kxO+k8PQbATHH5smFnoz2UTc+MzQj
UdtTzXUkUgqvf9zTAAMGA/9Y/h6rhi3YYXeI6SmbXqcmzsQKzaWVhLew67szejnY
sKIJ1ja4MefYlthCXgmIBriNftxIGtBI0Pcmzwpn0eknRNK6NgpmESbGKCWh59Je
iAK5hdBPe47LSFVct5zSO9vQhRDyLzhzPPtB3XeoKTUkLWxBSLbeZVwcHPIK/wLa
l4hGBBgRAgAGBQI6VjnDAAoJEDClk3endjvmxmUAn3Ne6Z3UULpie8RJP15RBt6K
2MWFAJ9hK/Ls/FeBJ9d50qxmYdZ2RrTXNg==
=toqC
-----END PGP PUBLIC KEY BLOCK-----

99
SDL2_image.spec Normal file
View File

@ -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

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1738437507
commit: 9275ccc8a651097ae3a24c0054e87dc92206366e703101cd14596d26fe018b1d
url: https://src.opensuse.org/jengelh/SDL2_image
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fa16dad5561f95334bf284a5a45258ef35380015dfa89a7d028662004f07839
size 256