From bb792aae2087bf45aebd193025c2ac6b1beed9004868546f147b8293cf764fb8 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 16 Oct 2024 09:27:33 +0000 Subject: [PATCH] - Add baselibs.conf OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wildmidi?expand=0&rev=11 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + baselibs.conf | 1 + wildmidi-0.4.6.tar.gz | 3 ++ wildmidi.cfg | 2 + wildmidi.changes | 85 +++++++++++++++++++++++++++++++++++ wildmidi.spec | 100 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 215 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 wildmidi-0.4.6.tar.gz create mode 100644 wildmidi.cfg create mode 100644 wildmidi.changes create mode 100644 wildmidi.spec 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/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..6048dce --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libWildMidi2 diff --git a/wildmidi-0.4.6.tar.gz b/wildmidi-0.4.6.tar.gz new file mode 100644 index 0000000..0bbeab0 --- /dev/null +++ b/wildmidi-0.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:051b8c51699af594ddd3e4e3b06bad3564e9499c3c6b9e6f880cb2f92bcfa9c8 +size 199971 diff --git a/wildmidi.cfg b/wildmidi.cfg new file mode 100644 index 0000000..4ec11e5 --- /dev/null +++ b/wildmidi.cfg @@ -0,0 +1,2 @@ +dir /usr/share/timidity +source minimum.cfg diff --git a/wildmidi.changes b/wildmidi.changes new file mode 100644 index 0000000..f2b1a16 --- /dev/null +++ b/wildmidi.changes @@ -0,0 +1,85 @@ +------------------------------------------------------------------- +Tue Oct 15 18:34:21 UTC 2024 - Martin Hauke + +- Add baselibs.conf + +------------------------------------------------------------------- +Thu Apr 11 16:19:15 UTC 2024 - Martin Hauke + +- Update to version 0.4.6 + * A lot of player cleanup and refactoring. + * Ability to choose which audio output backends to include in the + build system: see the cmake script for the relevant WANT_??? + options. Player's --help command line switch lists the available + backends. + * Improved pkg-config file generation in cmake script. + * Other minor source clean-ups. + * CMake project clean-ups. Cmake v3.4 or newer is now required. + +------------------------------------------------------------------- +Sat Jan 14 13:03:50 UTC 2023 - Martin Hauke + +- Update to version 0.4.5 + * Fixed MUS drum channels 9 and 15 being swapped if the same file + is played twice from the same memory buffer. + * Player: Fixed save midi reading wrong argv if there are no path + seperators. + * Other code and build system clean-ups. + +------------------------------------------------------------------- +Sun Mar 21 13:29:09 UTC 2021 - Martin Hauke + +- Update to versino 0.4.4 + * Fixed integer overflow in midi parser sample count calculation. + * Fixed 8 bit ping pong GUS patch loaders. + * Fixed wrong variable use in reverb code. + * Reset block status of tty after playback. + * Fixed broken file name handling for 'save as midi' command + during playback. + * Clamp MUS volume commands. + +------------------------------------------------------------------- +Sat Feb 15 21:01:25 UTC 2020 - Martin Hauke + +- Update to version 0.4.3 + * New API addition: WildMidi_InitVIO(). It is like WildMidi_Init(), + but tells the library to use caller-provided functions for file IO. + See wildmidi_lib.h or the man page WildMidi_InitVIO(3) for details. + * Fixed a thinko in one of the buffer size checks added in v0.4.2. + * Fixed possible out of bounds reads in sysex commands (bug #190). + * Fixed invalid reads during config parse with short patch file names. + * Do not treat a missing end-of-track marker as an error for type-0 + midi files (bug #183). + * Fixed bad reading of high delta values in XMI converter (bug #199). + * Fixed a memory leak when freeing a midi (bug #204). + * Fixed slurred/echoy playback at quick tempos on looped instruments + (bug #185). + * Fixed certain midis sounding different compared to timidity, as if + instruments not turned off (bug #186). + * Fixed compilation on systems without libm. + * Several clean-ups. + +------------------------------------------------------------------- +Thu Nov 8 12:45:00 UTC 2018 - Luigi Baldoni + +- Update to version 0.4.2 + * Fixed CVE-2017-11661, CVE-2017-11662, CVE-2017-11663, + CVE-2017-11664 (Bug #175). + * Fixed WildMidi_Open() might read beyond buffer with too + short inputs (Bug #178). + * Fixed a buffer overflow during playback with malformed midi + files (Bug #180). + * GUS patch processing changes to meet users expectations (Bug + #132). + * Worked around a build failure with newer FreeBSD versions + failing to retrieve the ONLCR constant (Bug #171). + * Fixed a minor Windows unicode issue (PR #170). + * A few other fixes / clean-ups. + +- Spec cleanup + +------------------------------------------------------------------- +Sun Aug 28 19:14:20 UTC 2016 - vilene@posteo.net + +- Initial openSUSE package based on Fedora’s + diff --git a/wildmidi.spec b/wildmidi.spec new file mode 100644 index 0000000..dea2196 --- /dev/null +++ b/wildmidi.spec @@ -0,0 +1,100 @@ +# +# spec file for package wildmidi +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2007-2016 Hans de Goede +# Copyright (c) 2016 Pauline Emily +# +# 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/ +# + + +%define soname libWildMidi2 +Name: wildmidi +Version: 0.4.6 +Release: 0 +Summary: Softsynth midi player +License: GPL-3.0-or-later +Group: Productivity/Multimedia/Sound/Midi +URL: https://www.mindwerks.net/projects/wildmidi +Source: https://github.com/Mindwerks/wildmidi/archive/%{name}-%{version}.tar.gz +Source1: %{name}.cfg +Source98: baselibs.conf +BuildRequires: cmake >= 3.1 +BuildRequires: dos2unix +BuildRequires: pkgconfig +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(openal) +Requires: %{soname} = %{version} + +%description +WildMidi is a software midi player which has a core softsynth library that can +be used with other applications. + +%package devel +Summary: Development files for %{name} +License: LGPL-3.0-or-later +Group: Development/Libraries/C and C++ +Requires: %{soname} = %{version} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package -n %{soname} +Summary: WildMidi Midi Wavetable Synth Lib +License: LGPL-3.0-or-later +Group: System/Libraries +Requires: timidity + +%description -n %{soname} +This package contains the WildMidi core softsynth library. The library is +designed to process a midi file and stream out the stereo audio data +through a buffer which an external program can then process further. + +%prep +%setup -q -n %{name}-%{name}-%{version} +dos2unix -c ascii COPYING + +%build +%cmake +make %{?_smp_mflags} + +%install +%cmake_install + +install -d %{buildroot}%{_sysconfdir}/wildmidi +install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/wildmidi + +%post -n %{soname} -p /sbin/ldconfig +%postun -n %{soname} -p /sbin/ldconfig + +%files +%license COPYING docs/license/GPLv3.txt +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} + +%files devel +%{_includedir}/%{name}_lib.h +%{_libdir}/libWildMidi.so +%{_libdir}/pkgconfig/wildmidi.pc +%{_libdir}/cmake/WildMidi +%{_mandir}/man3/WildMidi_*.3%{?ext_man} + +%files -n %{soname} +%license docs/license/LGPLv3.txt +%{_libdir}/libWildMidi.so.* +%{_mandir}/man5/%{name}.cfg.5%{?ext_man} +%config(noreplace) %{_sysconfdir}/wildmidi + +%changelog