From de658a8f9a72956788ab322a384cfe765ab4fdd602d2d7d76c16eebfa624844c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Aug 2024 06:51:14 +0000 Subject: [PATCH 1/2] [info=c483c5a77095401301c096df17a98b0c4beeda4a568bcddc15711a78c1ebbd25] OBS-URL: https://build.opensuse.org/package/show/games/SDL2_sound?expand=0&rev=7 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + SDL2_sound.changes | 30 ++++++++++++++ SDL2_sound.spec | 93 ++++++++++++++++++++++++++++++++++++++++++ _scmsync.obsinfo | 4 ++ build.specials.obscpio | 3 ++ v2.0.2.tar.gz | 3 ++ 7 files changed, 157 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 SDL2_sound.changes create mode 100644 SDL2_sound.spec create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio create mode 100644 v2.0.2.tar.gz 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_sound.changes b/SDL2_sound.changes new file mode 100644 index 0000000..3ea0427 --- /dev/null +++ b/SDL2_sound.changes @@ -0,0 +1,30 @@ +------------------------------------------------------------------- +Fri Nov 3 08:41:06 UTC 2023 - Jan Engelhardt + +- Update to release 2.0.2 + * No further changes from the last snapshot 2.0.1+g60 + +------------------------------------------------------------------- +Sun Jun 25 05:54:59 UTC 2023 - Jan Engelhardt + +- Update to snapshot 2.0.1+g60 (53f66a30) + * Avoid division by zero with certain uncompressed WAV files + * A pkgconfig file was added + +------------------------------------------------------------------- +Wed Mar 30 13:26:51 UTC 2022 - Jan Engelhardt + +- Move to 2.0.1.g17 (df3fc77) + * Resolve build failures on Leap 15.3 + +------------------------------------------------------------------- +Sat Mar 26 13:11:24 UTC 2022 - Jan Engelhardt + +- New package SDL2_sound for build.opensuse.org. In comparison to + SDL_sound (1.x): + * Removed support for QuickTime, Speex and MikMod + * SDL_sound 2's public API has not changed at all from 1.x + * SDL_sound.h requires SDL2 now (can't mix SDL2_sound with SDL1) + * The library name changed to -lSDL2_sound +- Drop SDL_sound-1.0.3-nompglib.patch, no longer applies +- Drop baselibs.conf diff --git a/SDL2_sound.spec b/SDL2_sound.spec new file mode 100644 index 0000000..46ddb78 --- /dev/null +++ b/SDL2_sound.spec @@ -0,0 +1,93 @@ +# +# spec file for package SDL2_sound +# +# Copyright (c) 2023 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_sound +%define lname libSDL2_sound2 +Version: 2.0.2 +Release: 0 +Summary: Sound Sample Library for SDL (Simple DirectMedia Layer) +License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +URL: http://icculus.org/SDL_sound/ + +Source: https://github.com/icculus/SDL_sound/archive/refs/tags/v%version.tar.gz +BuildRequires: c_compiler +BuildRequires: cmake +BuildRequires: pkgconfig(sdl2) +Provides: bundled(dr_flac) = 0.12.37 +Provides: bundled(dr_mp3) = 0.6.32 +Provides: bundled(libmodplug) +Provides: bundled(stb_vorbis) = 1.22 + +%description +SDL_sound is a library that handles the decoding of several popular +sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just +play a file or alternatively decode a file and hand back a single +pointer to the waveform. SDL_sound also can handle channel conversion +on-the-fly and behind-the-scenes. + +%package -n %lname +Summary: Sound Sample Library for SDL (Simple DirectMedia Layer) +Group: System/Libraries + +%description -n %lname +SDL_sound is a library that handles the decoding of several popular +sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just +play a file or alternatively decode a file and hand back a single +pointer to the waveform. SDL_sound also can handle channel conversion +on-the-fly and behind-the-scenes. + +%package devel +Summary: Development files for the SDL sound sample library +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Requires: pkgconfig(sdl2) +Conflicts: SDL_sound-devel + +%description devel +SDL_sound is a library that handles the decoding of several popular +sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just +play a file or alternatively decode a file and hand back a single +pointer to the waveform. SDL_sound also can handle channel conversion +on-the-fly and behind-the-scenes. + +%prep +%autosetup -n SDL_sound-%version -p1 + +%build +%cmake -DSDLSOUND_BUILD_STATIC:BOOL=OFF +%cmake_build + +%install +%cmake_install + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%license LICENSE.txt +%_libdir/lib*.so.* + +%files devel +%_bindir/playsound* +%_includedir/SDL2/ +%_libdir/cmake/ +%_libdir/lib*.so +%_libdir/pkgconfig/*.pc + +%changelog diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..0a52b15 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1699046440 +commit: c483c5a77095401301c096df17a98b0c4beeda4a568bcddc15711a78c1ebbd25 +url: https://src.opensuse.org/jengelh/SDL2_sound +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..6d84fea --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5cfcb58a429dde01af3f64c17baa1b5f6ec16ae285c474f298d2d55e8d8b77f +size 256 diff --git a/v2.0.2.tar.gz b/v2.0.2.tar.gz new file mode 100644 index 0000000..f973bb2 --- /dev/null +++ b/v2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f92600de48ec640985d13e50d111af9ac30be797bc9a36eafa5d8cecc7e1f60 +size 459868 From 9a991ea407cc22890b8d264feeeb09f7a54428b9b502ffd53592db085f9efb84 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 13 Jan 2025 23:24:25 +0000 Subject: [PATCH 2/2] [info=9cd7880313e094e7c5d515a2612ee9c9d30cfa5e0b97abacc60fc00dc6b4a4fa] OBS-URL: https://build.opensuse.org/package/show/games/SDL2_sound?expand=0&rev=8 --- SDL2_sound.changes | 8 ++++++++ SDL2_sound.spec | 8 ++++---- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- v2.0.2.tar.gz | 3 --- v2.0.4.tar.gz | 3 +++ 6 files changed, 18 insertions(+), 10 deletions(-) delete mode 100644 v2.0.2.tar.gz create mode 100644 v2.0.4.tar.gz diff --git a/SDL2_sound.changes b/SDL2_sound.changes index 3ea0427..1fbee80 100644 --- a/SDL2_sound.changes +++ b/SDL2_sound.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jan 13 23:20:55 UTC 2025 - Jan Engelhardt + +- Update to release 2.0.4 + * Update bundled stb_vorbis to address CVE-2023-45676, + CVE-2023-45677, CVE-2023-45679, CVE-2023-45680, + CVE-2023-45681, CVE-2023-45682. + ------------------------------------------------------------------- Fri Nov 3 08:41:06 UTC 2023 - Jan Engelhardt diff --git a/SDL2_sound.spec b/SDL2_sound.spec index 46ddb78..8043c4e 100644 --- a/SDL2_sound.spec +++ b/SDL2_sound.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2_sound # -# Copyright (c) 2023 SUSE LLC +# 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 @@ -18,7 +18,7 @@ Name: SDL2_sound %define lname libSDL2_sound2 -Version: 2.0.2 +Version: 2.0.4 Release: 0 Summary: Sound Sample Library for SDL (Simple DirectMedia Layer) License: LGPL-2.1-or-later @@ -29,8 +29,8 @@ Source: https://github.com/icculus/SDL_sound/archive/refs/tags/v%version BuildRequires: c_compiler BuildRequires: cmake BuildRequires: pkgconfig(sdl2) -Provides: bundled(dr_flac) = 0.12.37 -Provides: bundled(dr_mp3) = 0.6.32 +Provides: bundled(dr_flac) = 0.12.42 +Provides: bundled(dr_mp3) = 0.6.38 Provides: bundled(libmodplug) Provides: bundled(stb_vorbis) = 1.22 diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 0a52b15..8b8699e 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1699046440 -commit: c483c5a77095401301c096df17a98b0c4beeda4a568bcddc15711a78c1ebbd25 +mtime: 1736810653 +commit: 9cd7880313e094e7c5d515a2612ee9c9d30cfa5e0b97abacc60fc00dc6b4a4fa url: https://src.opensuse.org/jengelh/SDL2_sound revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 6d84fea..54ec74f 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a5cfcb58a429dde01af3f64c17baa1b5f6ec16ae285c474f298d2d55e8d8b77f +oid sha256:843b0ad7657be55b763be3dc6f0dc681d0d0e5460779af034869df7d3699b2ce size 256 diff --git a/v2.0.2.tar.gz b/v2.0.2.tar.gz deleted file mode 100644 index f973bb2..0000000 --- a/v2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f92600de48ec640985d13e50d111af9ac30be797bc9a36eafa5d8cecc7e1f60 -size 459868 diff --git a/v2.0.4.tar.gz b/v2.0.4.tar.gz new file mode 100644 index 0000000..c694b51 --- /dev/null +++ b/v2.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f8b324ce23382929ab90ded7fcd6e303b66cb22b4e15b4e3c3a99f500a4eec1 +size 460994