commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2019-08-28 16:02:19 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new.7948 (New) Package is "SDL2_image" Wed Aug 28 16:02:19 2019 rev:11 rq:725636 version:2.0.5 Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2018-11-09 07:54:36.583698060 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new.7948/SDL2_image.changes 2019-08-28 16:02:23.462792303 +0200 @@ -1,0 +2,23 @@ +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-1 boo#1136101 + +--- Old: SDL2_image-2.0.4.tar.gz New: CVE-2019-13616.patch SDL2_image-2.0.5.tar.gz Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.XhkHxs/_old 2019-08-28 16:02:25.110792055 +0200 +++ /var/tmp/diff_new_pack.XhkHxs/_new 2019-08-28 16:02:25.110792055 +0200 @@ -1,7 +1,7 @@ # # spec file for package SDL2_image # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,17 @@ Name: SDL2_image %define lname libSDL2_image-2_0-0 -Version:2.0.4 +Version:2.0.5 Release:0 -Summary:SDL2 image loading library +Summary:Simple DirectMedia Layer 2 image loading library License:Zlib Group: Development/Libraries/X11 -Url:http://libsdl.org/projects/SDL_image/ +URL:https://libsdl.org/projects/SDL_image/ #Hg-Clone: http://hg.libsdl.org/SDL_image/ -Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz +Source: https://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz Source2:baselibs.conf +Patch1: CVE-2019-13616.patch BuildRequires: dos2unix BuildRequires: libjpeg-devel BuildRequires: libtiff-devel @@ -35,7 +36,6 @@ BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(sdl2) >= 2.0.8 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a simple library to load images of various formats as SDL @@ -43,7 +43,7 @@ TIFF and WEBP formats. %package -n %lname -Summary:Simple DirectMedia Layer 2 – Image Loading Library +Summary:Simple DirectMedia Layer 2 image loading library Group: System/Libraries Provides: SDL2_image = %version-%release @@ -64,7 +64,7 @@ TIFF and WEBP formats. %prep -%setup -q +%autosetup -p1 dos2unix *.txt rm -rf external @@ -74,19 +74,18 @@ make %{?_smp_mflags} %install -make install DESTDIR="%buildroot" +%make_install rm -f "%buildroot/%_libdir"/*.la %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc CHANGES.txt COPYING.txt README.txt +%license COPYING.txt %_libdir/libSDL2_image-2*.so.* %files -n libSDL2_image-devel -%defattr(-,root,root) +%doc CHANGES.txt README.txt %_includedir/SDL2/ %_libdir/libSDL2_image.so %_libdir/pkgconfig/SDL2_image.pc ++ CVE-2019-13616.patch ++ diff -r f1baffa48926 -r ba45f00879ba IMG_bmp.c --- a/IMG_bmp.c Tue Jul 30 10:16:02 2019 -0700 +++ b/IMG_bmp.c Tue Jul 30 11:00:12 2019 -0700 @@ -351,6 +351,11 @@ SDL_RWseek(src, (biSize - headerSize), RW_SEEK_CUR); } } +if (biWidth <= 0 || biHeight == 0) { +IMG_SetError("BMP file with bad dimensions (%dx%d)", biWidth, biHeight); +was_error = SDL_TRUE; +goto done; +} if (biHeight < 0) { topDown = SDL_TRUE; biHeight = -biHeight; ++ SDL2_image-2.0.4.tar.gz -> SDL2_image-2.0.5.tar.gz
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2018-11-09 07:54:27 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Fri Nov 9 07:54:27 2018 rev:10 rq:647108 version:2.0.4 Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2018-03-13 10:23:44.838396470 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2018-11-09 07:54:36.583698060 +0100 @@ -1,0 +2,8 @@ +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 + +--- Old: SDL2_image-2.0.3.tar.gz New: SDL2_image-2.0.4.tar.gz Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.ak4Zoy/_old 2018-11-09 07:54:38.675695665 +0100 +++ /var/tmp/diff_new_pack.ak4Zoy/_new 2018-11-09 07:54:38.675695665 +0100 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: SDL2_image %define lname libSDL2_image-2_0-0 -Version:2.0.3 +Version:2.0.4 Release:0 Summary:SDL2 image loading library License:Zlib ++ SDL2_image-2.0.3.tar.gz -> SDL2_image-2.0.4.tar.gz ++ /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image-2.0.3.tar.gz /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image-2.0.4.tar.gz differ: char 5, line 1
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2018-03-13 10:23:30 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Tue Mar 13 10:23:30 2018 rev:9 rq:584127 version:2.0.3 Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2018-02-14 10:52:39.303452941 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2018-03-13 10:23:44.838396470 +0100 @@ -1,0 +2,20 @@ +Thu Mar 8 00:53:28 UTC 2018 - jeng...@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 + +--- Old: SDL2_image-2.0.2.tar.gz New: SDL2_image-2.0.3.tar.gz Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.e0EUYx/_old 2018-03-13 10:23:46.938321235 +0100 +++ /var/tmp/diff_new_pack.e0EUYx/_new 2018-03-13 10:23:46.942321091 +0100 @@ -18,7 +18,7 @@ Name: SDL2_image %define lname libSDL2_image-2_0-0 -Version:2.0.2 +Version:2.0.3 Release:0 Summary:SDL2 image loading library License:Zlib @@ -34,7 +34,7 @@ BuildRequires: pkg-config BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libwebp) -BuildRequires: pkgconfig(sdl2) >= 2.0.6 +BuildRequires: pkgconfig(sdl2) >= 2.0.8 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ SDL2_image-2.0.2.tar.gz -> SDL2_image-2.0.3.tar.gz ++ /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image-2.0.2.tar.gz /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image-2.0.3.tar.gz differ: char 5, line 1
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2018-02-14 10:52:38 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Wed Feb 14 10:52:38 2018 rev:8 rq:576409 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2018-02-13 10:28:58.814008494 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2018-02-14 10:52:39.303452941 +0100 @@ -1,0 +2,5 @@ +Tue Feb 13 22:21:26 UTC 2018 - jeng...@inai.de + +- Update BuildRequires + +--- Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.Ha7usW/_old 2018-02-14 10:52:40.143422707 +0100 +++ /var/tmp/diff_new_pack.Ha7usW/_new 2018-02-14 10:52:40.147422563 +0100 @@ -34,7 +34,7 @@ BuildRequires: pkg-config BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libwebp) -BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(sdl2) >= 2.0.6 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2018-02-13 10:28:52 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Tue Feb 13 10:28:52 2018 rev:7 rq:574777 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2016-01-22 01:07:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2018-02-13 10:28:58.814008494 +0100 @@ -1,0 +2,12 @@ +Fri Feb 9 17:11:54 UTC 2018 - jeng...@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() + +--- Old: SDL2_image-2.0.1.tar.gz New: SDL2_image-2.0.2.tar.gz Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.DsnP0A/_old 2018-02-13 10:28:59.689976931 +0100 +++ /var/tmp/diff_new_pack.DsnP0A/_new 2018-02-13 10:28:59.693976787 +0100 @@ -1,7 +1,7 @@ # # spec file for package SDL2_image # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: SDL2_image %define lname libSDL2_image-2_0-0 -Version:2.0.1 +Version:2.0.2 Release:0 Summary:SDL2 image loading library License:Zlib ++ SDL2_image-2.0.1.tar.gz -> SDL2_image-2.0.2.tar.gz ++ /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image-2.0.1.tar.gz /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image-2.0.2.tar.gz differ: char 4, line 1
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2016-01-21 23:42:48 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2015-01-08 23:03:27.0 +0100 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2016-01-22 01:07:28.0 +0100 @@ -1,0 +2,10 @@ +Sun Jan 10 17:13:52 UTC 2016 - mailaen...@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 + +--- Old: SDL2_image-2.0.0.tar.gz bigendian_undefined_s.patch New: SDL2_image-2.0.1.tar.gz Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.ih4OJq/_old 2016-01-22 01:07:30.0 +0100 +++ /var/tmp/diff_new_pack.ih4OJq/_new 2016-01-22 01:07:30.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package SDL2_image # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: SDL2_image %define lname libSDL2_image-2_0-0 -Version:2.0.0 +Version:2.0.1 Release:0 Summary:SDL2 image loading library License:Zlib @@ -28,7 +28,7 @@ #Hg-Clone: http://hg.libsdl.org/SDL_image/ Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz Source2:baselibs.conf -Patch1: bigendian_undefined_s.patch +BuildRequires: dos2unix BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: pkg-config @@ -43,7 +43,7 @@ TIFF and WEBP formats. %package -n %lname -Summary:Simple DirectMedia Layer 2 – Image Loading Library +Summary:Simple DirectMedia Layer 2 – Image Loading Library Group: System/Libraries Provides: SDL2_image = %version-%release @@ -65,7 +65,7 @@ %prep %setup -q -%patch -P 1 -p1 +dos2unix *.txt rm -rf external %build ++ SDL2_image-2.0.0.tar.gz -> SDL2_image-2.0.1.tar.gz ++ /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image-2.0.0.tar.gz /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image-2.0.1.tar.gz differ: char 4, line 1
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2015-01-08 23:03:26 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2013-09-25 17:20:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2015-01-08 23:03:27.0 +0100 @@ -1,0 +2,6 @@ +Thu Jan 8 09:34:57 UTC 2015 - jeng...@inai.de + +- Improve package summary and description. Drop --with-pic which + is enabled implicitly anyway, remove redundant Requires. + +--- Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.YJ1mGC/_old 2015-01-08 23:03:28.0 +0100 +++ /var/tmp/diff_new_pack.YJ1mGC/_new 2015-01-08 23:03:28.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package SDL2_image # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define lname libSDL2_image-2_0-0 Version:2.0.0 Release:0 -Summary:Simple DirectMedia Layer--Sample Image Loading Library +Summary:SDL2 image loading library License:Zlib Group: Development/Libraries/X11 Url:http://libsdl.org/projects/SDL_image/ @@ -28,68 +28,67 @@ #Hg-Clone: http://hg.libsdl.org/SDL_image/ Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz Source2:baselibs.conf -Patch0: bigendian_undefined_s.patch -BuildRequires: libSDL2-devel +Patch1: bigendian_undefined_s.patch BuildRequires: libjpeg-devel BuildRequires: libtiff-devel -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libwebp) +BuildRequires: pkgconfig(sdl2) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a simple library to load images of various formats as SDL -surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF -formats. +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. %package -n %lname -Summary:Simple DirectMedia Layer--Sample Image Loading Library +Summary:Simple DirectMedia Layer 2 – Image Loading Library Group: System/Libraries -Provides: SDL2_image = %{version} +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 BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF -formats. +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. %package -n libSDL2_image-devel -Summary:Libraries, includes and more to develop SDL_image applications +Summary:Development files for the SDL2 image loader library Group: Development/Libraries/X11 -Requires: %lname = %{version} -Requires: libSDL2-devel -Provides: SDL2_image-devel = %{version} +Requires: %lname = %version +Provides: SDL2_image-devel = %version-%release %description -n libSDL2_image-devel This is a simple library to load images of various formats as SDL -surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF -formats. +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. %prep %setup -q -%patch0 -p1 +%patch -P 1 -p1 rm -rf external %build -%configure --disable-png-shared --disable-jpg-shared --disable-tif-shared --disable-webp-shared --disable-static --with-pic +%configure --disable-png-shared --disable-jpg-shared --disable-tif-shared \ + --disable-webp-shared --disable-static make %{?_smp_mflags} %install make install DESTDIR="%buildroot" -rm -f %{buildroot}%{_libdir}/*.la +rm -f "%buildroot/%_libdir"/*.la %post -n %lname -p /sbin/ldconfig - %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %doc CHANGES.txt COPYING.txt README.txt -%{_libdir}/libSDL2_image-2*.so.* +%_libdir/libSDL2_image-2*.so.* %files -n libSDL2_image-devel %defattr(-,root,root) -%{_includedir}/SDL2/ -%{_libdir}/libSDL2_image.so -%{_libdir}/pkgconfig/SDL2_image.pc +%_includedir/SDL2/ +%_libdir/libSDL2_image.so +%_libdir/pkgconfig/SDL2_image.pc %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional comm
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2013-09-25 17:20:14 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Changes: --- /work/SRC/openSUSE:Factory/SDL2_image/SDL2_image.changes2013-09-11 15:47:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2013-09-25 17:20:15.0 +0200 @@ -1,0 +2,5 @@ +Thu Sep 12 10:42:27 UTC 2013 - dval...@suse.com + +- Fix undefined s on BigEndian platforms (bigendian_undefined_s.patch) + +--- New: bigendian_undefined_s.patch Other differences: -- ++ SDL2_image.spec ++ --- /var/tmp/diff_new_pack.UKmAo9/_old 2013-09-25 17:20:16.0 +0200 +++ /var/tmp/diff_new_pack.UKmAo9/_new 2013-09-25 17:20:16.0 +0200 @@ -28,6 +28,7 @@ #Hg-Clone: http://hg.libsdl.org/SDL_image/ Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz Source2:baselibs.conf +Patch0: bigendian_undefined_s.patch BuildRequires: libSDL2-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel @@ -65,6 +66,7 @@ %prep %setup -q +%patch0 -p1 rm -rf external %build ++ bigendian_undefined_s.patch ++ From: Dinar Valeev Date: Thu, 12 Sep 2013 12:51:31 +0200 build: resolve compile abort on big-endian platforms s was not declared. Addition by jengelh: Make it unsigned, because that is the only thing to make sense with the >> operator. Index: SDL2_image-2.0.0/IMG_webp.c === --- SDL2_image-2.0.0.orig/IMG_webp.c +++ SDL2_image-2.0.0/IMG_webp.c @@ -242,6 +242,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops * Bmask = 0x00FF; Amask = (features.has_alpha) ? 0xFF00 : 0; #else +unsigned int s; s = (features.has_alpha) ? 0 : 8; Rmask = 0xFF00 >> s; Gmask = 0x00FF >> s; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit SDL2_image for openSUSE:Factory
Hello community, here is the log from the commit of package SDL2_image for openSUSE:Factory checked in at 2013-09-11 15:47:20 Comparing /work/SRC/openSUSE:Factory/SDL2_image (Old) and /work/SRC/openSUSE:Factory/.SDL2_image.new (New) Package is "SDL2_image" Changes: New Changes file: --- /dev/null 2013-07-23 23:44:04.804033756 +0200 +++ /work/SRC/openSUSE:Factory/.SDL2_image.new/SDL2_image.changes 2013-09-11 15:47:21.0 +0200 @@ -0,0 +1,11 @@ +--- +Tue Aug 13 12:04:26 UTC 2013 - jeng...@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 - prus...@opensuse.org + +- created package (version 2.0.0) - based on SDL_image package + New: SDL2_image-2.0.0.tar.gz SDL2_image.changes SDL2_image.spec baselibs.conf Other differences: -- ++ SDL2_image.spec ++ # # spec file for package SDL2_image # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: SDL2_image %define lname libSDL2_image-2_0-0 Version:2.0.0 Release:0 Summary:Simple DirectMedia Layer--Sample Image Loading Library License:Zlib Group: Development/Libraries/X11 Url:http://libsdl.org/projects/SDL_image/ #Hg-Clone: http://hg.libsdl.org/SDL_image/ Source: http://libsdl.org/projects/SDL_image/release/%name-%version.tar.gz Source2:baselibs.conf BuildRequires: libSDL2-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libwebp) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a simple library to load images of various formats as SDL surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. %package -n %lname Summary:Simple DirectMedia Layer--Sample Image Loading Library Group: System/Libraries Provides: SDL2_image = %{version} %description -n %lname This is a simple library to load images of various formats as SDL surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. %package -n libSDL2_image-devel Summary:Libraries, includes and more to develop SDL_image applications Group: Development/Libraries/X11 Requires: %lname = %{version} Requires: libSDL2-devel Provides: SDL2_image-devel = %{version} %description -n libSDL2_image-devel This is a simple library to load images of various formats as SDL surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. %prep %setup -q rm -rf external %build %configure --disable-png-shared --disable-jpg-shared --disable-tif-shared --disable-webp-shared --disable-static --with-pic make %{?_smp_mflags} %install make install DESTDIR="%buildroot" rm -f %{buildroot}%{_libdir}/*.la %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %doc CHANGES.txt COPYING.txt README.txt %{_libdir}/libSDL2_image-2*.so.* %files -n libSDL2_image-devel %defattr(-,root,root) %{_includedir}/SDL2/ %{_libdir}/libSDL2_image.so %{_libdir}/pkgconfig/SDL2_image.pc %changelog ++ baselibs.conf ++ libSDL2_image-2_0-0 provides "SDL2_image- = " obsoletes "SDL2_image- <= " libSDL2_image-devel requires -libSDL2_image- requires "libSDL2_image-2_0-0- = " -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org