Accepting request 744645 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/744645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2019-11-01 14:13:57 +00:00 committed by Git OBS Bridge
commit 1c4f668c75
4 changed files with 99 additions and 51 deletions

View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cf41040a9af99cb960580210ba900c0a519f73ab97b503c780e82428b9bd9a2
size 1226732

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
Thu Oct 31 13:56:17 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.3.11
* Fixed lots of possible crashes in the IT, XM, S3M, STM, STX,
AMF, IMF, GDM and MED module loaders.
* Fixed a possible endless loop in the IT loader with
malformed files.
* Fixed signed integer overflow leading to crashes in the
sample loader.
* Fixed a possible crash in MMCMP depacker with malformed
files.
* Fixed the broken fixed-line comment reader which might
possibly lead to crashes, and also badly translated several
song messages. The new code is adapted from libopenmpt.
* Support for building the Windows version using Open Watcom
compiler.
* A few minor OS/2 fixes.
* CMake updates.
* Other minor fixes/tidy-ups.
version 3.3.10:
* Fixed windows builds when UNICODE is defined. (Thanks S.
Michel).
version 3.3.9:
* Amiga, AHI driver: Fixed a crash upon driver shutdown.
* Amiga: Updates. Added standalone makefiles with cross-build
support.
* RAW file writer: Changed to use ansi stdio functions instead
of posix unistd, for better portability.
* Playercode: Allocate the right channel reverb buffers only
if the mixer is setup for stereo mode. (Helps with ports to
memory-tight platforms. Patch from Andrew Rossignol.)
* Fixed access to uninitialized memory in the simpleplayMEM
example program.
* Added a configuration option to exclude the hqmixer (off by
default.)
* Using locale-insensitive ctype.h and casecmp functions in
library.
* Configury: New --disable-alldrv option to disable all of the
audio output drivers. If additional --enable-xxx options are
given, the specified drivers will be enabled.
version 3.3.8:
* Handle the FastTracker2 pattern loop (E60) bug. Modules
abusing this bug (roadblas.xm) should play correctly now.
Thanks to Eugene Toder.
* AMF loader: Fixed segmentation fault in case of bad sample
offsets in broken files. (sf.net bug #26, thanks to 'Saga'
of OpenMPT project for the report and analysis.)
* AMF loader: Fixed loading of v10 files where sample loop
start and end values must be read as 32 bits, not 16 bits.
(Tested with Maelcum's "the tribal zone" and "the way its
gonna b". Noticed in OpenMPT source)
* Fixed a possible undefined behavior in the XM loader.
* Support for MMCMP, Amiga PP20 (PowerPack), STC (Stone
Cracker S404) and XPK compressed module formats, based on
public domain code from libmodplug and libxmp.
* Support for OpenBSD sndio.
* Fixed SDL output driver, so that it doesn't crash upon
resetting.
* Disabled the gt2 loader until it is completed properly. (It
has been always non-functional since its introduction in
v3.2.0.)
* Updated configury. The aix, hpux, bsd/sunaudio and sgi audio
drivers are now configurable and not built unconditionally.
Haiku support thanks to Jérôme Duval.
* Documentation update.
* Update DOS build for the new djgpp-2.05 release.
* Minor fix/tidy-ups.
- Spec cleanup
-------------------------------------------------------------------
Tue Feb 10 18:42:24 UTC 2015 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libmikmod
#
# Copyright (c) 2015 SUSE LINUX Products 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
@ -12,26 +12,24 @@
# 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: libmikmod
%define lname libmikmod3
BuildRequires: makeinfo
BuildRequires: pkg-config
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpulse-simple)
Url: http://mikmod.raphnet.net/
Summary: MikMod Sound Library
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Version: 3.3.7
Name: libmikmod
Version: 3.3.11.1
Release: 0
Summary: MikMod Sound Library
License: LGPL-2.1-or-later
URL: http://mikmod.raphnet.net/
Source: http://sourceforge.net/projects/mikmod/files/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch1: libmikmod-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: makeinfo
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpulse-simple)
%description
Libmikmod is a portable sound library, capable of playing samples as
@ -40,19 +38,10 @@ well as module files. It was originally written by Jean-Paul Mikkers
also write wav files. Supported file formats include mod, stm, s3m,
mtm, xm, and it.
%package -n %lname
%package -n %{lname}
Summary: MikMod Sound Library
Group: System/Libraries
# bug437293
%ifarch ppc64
Obsoletes: libmikmod-64bit
%endif
#
# O/P added 2012-06-11
Provides: libmikmod = %version-%release
Obsoletes: libmikmod < %version-%release
%description -n %lname
%description -n %{lname}
Libmikmod is a portable sound library, capable of playing samples as
well as module files. It was originally written by Jean-Paul Mikkers
(MikMak) for DOS. It supports OSS /dev/dsp, ALSA, and Esound and can
@ -61,15 +50,9 @@ mtm, xm, and it.
%package devel
Summary: Development files for MikMod Sound Library
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: %{lname} = %{version}
Requires: glibc-devel
PreReq: %install_info_prereq
# bug437293
%ifarch ppc64
Obsoletes: libmikmod-devel-64bit
%endif
#
Requires(pre): %{install_info_prereq}
%description devel
This package contains files needed for compiling programs using
@ -81,8 +64,6 @@ well as module files. It was originally written by Jean-Paul Mikkers
also write wav files. Supported file formats include mod, stm, s3m,
mtm, xm, and it.
%prep
%setup -q
%patch1
@ -92,35 +73,31 @@ mtm, xm, and it.
make %{?_smp_mflags}
%install
%makeinstall
cmp $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h &&
ln -f $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%make_install
cmp %{buildroot}%{_includedir}/mikmod{,_build}.h &&
ln -f %{buildroot}%{_includedir}/mikmod{,_build}.h
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz
%files -n %lname
%defattr(-,root,root)
%doc COPYING.LIB COPYING.LESSER
%files -n %{lname}
%license COPYING.LIB COPYING.LESSER
%{_libdir}/libmikmod.so.3*
%files devel
%defattr(-,root,root)
%doc README AUTHORS NEWS TODO
%{_bindir}/*-config
%{_datadir}/aclocal/libmikmod.m4
%{_includedir}/*
%{_libdir}/pkgconfig/libmikmod.pc
%doc %{_infodir}/mikmod*
%{_infodir}/mikmod*
%{_libdir}/libmikmod.so
%doc %{_mandir}/man1/*-config.*
%{_mandir}/man1/*-config.*
%changelog