[info=29053f313f3c86927bedce5adb67c06f95f4050ac40444ff7766c154ef88f9cb]
OBS-URL: https://build.opensuse.org/package/show/games/SDL2_image?expand=0&rev=47
This commit is contained in:
commit
e8e4f2afd0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
SDL2_image-2.8.2.tar.gz
Normal file
3
SDL2_image-2.8.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc
|
||||
size 11362515
|
171
SDL2_image.changes
Normal file
171
SDL2_image.changes
Normal file
@ -0,0 +1,171 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
97
SDL2_image.spec
Normal file
97
SDL2_image.spec
Normal file
@ -0,0 +1,97 @@
|
||||
#
|
||||
# spec file for package SDL2_image
|
||||
#
|
||||
# Copyright (c) 2024 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.2
|
||||
Release: 0
|
||||
Summary: Simple DirectMedia Layer 2 image loading library
|
||||
License: Zlib
|
||||
Group: Development/Libraries/X11
|
||||
URL: https://libsdl.org/projects/SDL_image/
|
||||
|
||||
#Hg-Clone: http://hg.libsdl.org/SDL_image/
|
||||
Source: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL2_image-%version.tar.gz
|
||||
BuildRequires: SDL2-devel >= 2.24
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libavif)
|
||||
BuildRequires: pkgconfig(libjxl)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libwebp)
|
||||
|
||||
%description
|
||||
This is a simple 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 simple 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 simple 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
|
||||
|
||||
%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
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%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
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1704281347
|
||||
commit: 29053f313f3c86927bedce5adb67c06f95f4050ac40444ff7766c154ef88f9cb
|
||||
url: https://src.opensuse.org/jengelh/SDL2_image
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9345e6db8946a893a07ee5cca26afde858dd3cc9cb7b7c0ade835f6b835f861
|
||||
size 256
|
Loading…
Reference in New Issue
Block a user