Accepting request 647435 from home:alois:branches:multimedia:libs

- 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
- Initial openSUSE package based on Fedora’s

OBS-URL: https://build.opensuse.org/request/show/647435
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wildmidi?expand=0&rev=1
This commit is contained in:
Takashi Iwai 2018-11-09 08:30:48 +00:00 committed by Git OBS Bridge
commit b5a85fb408
6 changed files with 151 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

3
wildmidi-0.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:551d43cb6de6019885f933a20b6f3205a92814f50da8b0d8bceac002b9a8109d
size 192441

2
wildmidi.cfg Normal file
View File

@ -0,0 +1,2 @@
dir /usr/share/timidity
source minimum.cfg

24
wildmidi.changes Normal file
View File

@ -0,0 +1,24 @@
-------------------------------------------------------------------
Thu Nov 8 12:45:00 UTC 2018 - Luigi Baldoni <aloisio@gmx.com>
- 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 Fedoras

98
wildmidi.spec Normal file
View File

@ -0,0 +1,98 @@
#
# spec file for package wildmidi
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2007-2016 Hans de Goede <j.w.r.degoede@hhs.nl>
# Copyright (c) 2016 Pauline Emily <vilene@posteo.net>
#
# 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.2
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
BuildRequires: cmake
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
%{_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