libmikmod: Add package version 3.3.11.1 (#4524)

* libmikmod: Add package version 3.3.11.1

* libmikmod: cgmanifest add package entry

* libmikmod: licenses add package entry
This commit is contained in:
Sumynwa 2023-01-04 13:04:16 +05:30 коммит произвёл GitHub
Родитель a9eb6c08f3
Коммит a4bc2195b9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 421 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,27 @@
diff -up libmikmod-3.3.7/include/mikmod.h~ libmikmod-3.3.7/include/mikmod.h
--- libmikmod-3.3.7/include/mikmod.h~ 2014-07-15 09:50:00.000000000 +0200
+++ libmikmod-3.3.7/include/mikmod.h 2014-09-10 16:42:59.104289246 +0200
@@ -142,7 +142,8 @@ typedef unsigned short int UWORD;
#endif
/* 4 bytes, signed and unsigned: */
-#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__)
+#include <stdint.h>
+#if __WORDSIZE == 64
/* 64 bit architectures: */
typedef signed int SLONG;
#if !(defined(_WIN32) || defined(_MIKMOD_AMIGA))
diff -up libmikmod-3.3.7/include/mikmod_internals.h~ libmikmod-3.3.7/include/mikmod_internals.h
--- libmikmod-3.3.7/include/mikmod_internals.h~ 2014-07-15 09:50:00.000000000 +0200
+++ libmikmod-3.3.7/include/mikmod_internals.h 2014-09-10 16:42:55.969362911 +0200
@@ -50,8 +50,8 @@ extern "C" {
/*========== More type definitions */
/* SLONGLONG: 64bit, signed */
-#if !defined(_WIN32) && \
- (defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(__alpha) || defined(__x64_64) || defined(__powerpc64__))
+#include <stdint.h>
+#if __WORDSIZE == 64
typedef long SLONGLONG;
#define NATIVE_64BIT_INT
#elif defined(_WIN64) /* win64 is LLP64, not LP64 */

Просмотреть файл

@ -0,0 +1,90 @@
diff -up libmikmod-3.3.8/configure~ libmikmod-3.3.8/configure
--- libmikmod-3.3.8/configure~ 2015-11-11 11:02:00.000000000 +0100
+++ libmikmod-3.3.8/configure 2015-11-16 14:04:21.559228528 +0100
@@ -16783,86 +16783,6 @@ $as_echo "#define HAVE_RTLD_GLOBAL 1" >>
fi
fi
-# If compiling with gcc, use adequate optimization flags
-if test $ac_cv_c_compiler_gnu = yes
-then
- # On at least x86 platforms, gcc 2.7.2.1 and earlier won't work if -O3 (or
- # -finline-functions) are used. Versions 2.7.2.3, 2.8.x and egcs are ok
- # (didn't test 2.7.2.2).
- # Until there's an easy way to catch broken inlining, we choose flags known
- # to work correctly depending of the compiler version.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inlining functions is safe" >&5
-$as_echo_n "checking if inlining functions is safe... " >&6; }
-if ${libmikmod_cv_gcc_inline_safe+:} false
-then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main (void)
-{
-
-#if !(defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 7))
-#error inlining functions is not safe
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- libmikmod_cv_gcc_inline_safe=yes
-else
- libmikmod_cv_gcc_inline_safe=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libmikmod_cv_gcc_inline_safe" >&5
-$as_echo "$libmikmod_cv_gcc_inline_safe" >&6; }
- if test $libmikmod_cv_gcc_inline_safe = no
- then
- CFLAGS="$CFLAGS -fno-strength-reduce"
- fi
- CFLAGS="$CFLAGS -ffast-math"
- if test $libmikmod_darwin = yes
- then
- CFLAGS="$CFLAGS -fno-common"
- fi
- if test $libmikmod_debug = yes
- then
- CFLAGS="$CFLAGS -Wall -Werror"
- else
- CFLAGS="$CFLAGS -Wall"
- fi
-
- # pgcc 2.95.2 appears not to be able to compile libmikmod, although regular
- # gcc works fine. Issue a warning if the compiler is pgcc, until a reliable
- # way to detect flawed version (or, better, a reliable workaround) is
- # found.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is pgcc" >&5
-$as_echo_n "checking if compiler is pgcc... " >&6; }
- if ($CC -v 2>&1 | grep ^pgcc > /dev/null) 2>/dev/null
- then
- libmikmod_gcc_is_pgcc=yes
- else
- libmikmod_gcc_is_pgcc=no
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libmikmod_gcc_is_pgcc" >&5
-$as_echo "$libmikmod_gcc_is_pgcc" >&6; }
- if test $libmikmod_gcc_is_pgcc = yes
- then
- echo "
-*** Version 2.95.2 of this compiler, and perhaps others, are unable to
-*** compile libmikmod. If compilation fails for playercode/virtch.c
-*** around line 650, with the error ``internal error--insn does not
-*** satisfy its constraints'', then you'll have to use another compiler.
-" >&2
- fi
-fi
-
if test x$libmikmod_threads != xno
then

Просмотреть файл

@ -0,0 +1,12 @@
diff -up libmikmod-3.3.4/libmikmod-config.in~ libmikmod-3.3.4/libmikmod-config.in
--- libmikmod-3.3.4/libmikmod-config.in~ 2013-11-28 09:00:00.000000000 +0100
+++ libmikmod-3.3.4/libmikmod-config.in 2013-12-25 10:37:11.519191648 +0100
@@ -50,7 +50,7 @@ while test $# -gt 0 ; do
echo @LIB_LDADD@
;;
--libs)
- echo -L@libdir@ -lmikmod @LIBRARY_LIB@
+ echo -lmikmod @LIBRARY_LIB@
;;
*)
echo "${usage}" 1>&2

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"libmikmod-3.3.11.1.tar.gz": "ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19"
}
}

Просмотреть файл

@ -0,0 +1,275 @@
Summary: A MOD music file player library
Name: libmikmod
Version: 3.3.11.1
Release: 14%{?dist}
License: GPLv2 AND LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://mikmod.sourceforge.net/
Source0: https://downloads.sourceforge.net/mikmod/libmikmod-%{version}.tar.gz
Patch0: libmikmod-64bit.patch
Patch1: libmikmod-multilib.patch
Patch2: libmikmod-cflags.patch
BuildRequires: alsa-lib-devel
BuildRequires: gcc
BuildRequires: make
BuildRequires: pulseaudio-libs-devel
%description
libmikmod is a library used by the mikmod MOD music file player for
UNIX-like systems. Supported file formats include MOD, STM, S3M, MTM,
XM, ULT and IT.
%package devel
Summary: Header files and documentation for compiling mikmod applications
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pulseaudio-libs-devel%{?_isa}
Provides: mikmod-devel = %{version}-%{release}
%description devel
This package includes the header files you will need to compile
applications for mikmod.
%prep
%autosetup -p1
%build
%configure --enable-dl --enable-alsa --disable-simd
%make_build
%install
%make_install INSTALL="install -p"
rm -f %{buildroot}%{_infodir}/dir %{buildroot}%{_libdir}/*.a
find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets
%files
%doc AUTHORS NEWS README TODO
%license COPYING.LIB COPYING.LESSER
%{_libdir}/libmikmod.so.3*
%files devel
%{_bindir}/%{name}-config
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/aclocal/%{name}.m4
%{_includedir}/mikmod.h
%{_infodir}/mikmod.info*
%{_mandir}/man1/%{name}-config*
%changelog
* Tue Dec 13 2022 Sumedh Sharma <sumsharma@microsoft.com> - 3.3.11.1-14
- Initial CBL-Mariner import from Fedora 37 (license: MIT)
- License Verified
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 3.3.11.1-6
- Remove obsolete requirements for %%post/%%preun scriptlets
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.11.1-2
- Switch to %%ldconfig_scriptlets
* Tue Oct 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.11.1-1
- Update to 3.3.11.1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jun 14 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.3.11-1
- Update to 3.3.11
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Sep 3 2016 Hans de Goede <hdegoede@redhat.com> - 3.3.10-1
- New upstream release 3.3.10 (rhbz#1372113)
* Wed Aug 24 2016 Hans de Goede <hdegoede@redhat.com> - 3.3.9-1
- New upstream release 3.3.9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Nov 16 2015 Hans de Goede <hdegoede@redhat.com> - 3.3.8-1
- New upstream release 3.3.8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Sep 10 2014 Hans de Goede <hdegoede@redhat.com> - 3.3.7-1
- New upstream release 3.3.7 (rhbz#1139002)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Mar 27 2014 Hans de Goede <hdegoede@redhat.com> - 3.3.6-2
- Add missing requires pulseaudio-libs-devel to the -devel pkg (rhbz#1081142)
* Sat Mar 22 2014 Hans de Goede <hdegoede@redhat.com> - 3.3.6-1
- New upstream release 3.3.6
- Fixes alsa output not working when alsa-devel is not installes (rhbz#1076966)
- Add BR pulseaudio-libs-devel to enable building of pa output (rhbz#1079527)
* Sat Mar 8 2014 Hans de Goede <hdegoede@redhat.com> - 3.3.5-1
- New upstream release 3.3.5
* Wed Dec 25 2013 Hans de Goede <hdegoede@redhat.com> - 3.3.4-1
- New upstream release 3.3.4
* Sun Oct 20 2013 Hans de Goede <hdegoede@redhat.com> - 3.3.3-1
- New upstream release 3.3.3
- Drop a bunch of merged patches
* Mon Oct 14 2013 Hans de Goede <hdegoede@redhat.com> - 3.3.2-2
- Disable SSE2 use even on x86_64, as upstream advises against using it
* Mon Oct 14 2013 Hans de Goede <hdegoede@redhat.com> - 3.3.2-1
- New upstream and new upstream release 3.3.2
- Drop a bunch of merged patches
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Apr 6 2013 Hans de Goede <hdegoede@redhat.com> - 3.2.0-21
- Fix stuttering sound and hang on exit for apps using libmikmod's alsa driver
- Remove non standard options configure adds to CFLAGS
- Run autoreconf for aarch64 support (rhbz#925794)
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Sep 26 2012 Hans de Goede <hdegoede@redhat.com> - 3.2.0-19
- Fix an array overflow caused by libmikmod-CVE-2007-6720.patch (rhbz#859050)
- Cleanup the specfile a bit
* Sat Sep 8 2012 Hans de Goede <hdegoede@redhat.com> - 3.2.0-18
- Fix a crash in align_pointer() (rhbz#855130)
* Sun Aug 5 2012 Hans de Goede <hdegoede@redhat.com> - 3.2.0-17
- Fix a crash in Player_Start() (rhbz#845782)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jul 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.0-15
- Bump NVR to 15 so it's higher than the betas
- Drop ancient esound, enable alsa
- Modernise spec
* Wed Jun 06 2012 Jindrich Novy <jnovy@redhat.com> 3.2.0-1
- update to stable libmikmod-3.2.0
* Sun May 13 2012 Karsten Hopp <karsten@redhat.com> 3.2.0-14.beta4.1
- disable altivec (used on PPC only)
* Sun May 13 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta4
- update to 3.2.0-beta4
* Tue Apr 10 2012 Jindrich Novy <jnovy@redhat.com> - 3.2.0-13.beta3
- update to 3.2.0-beta3
- drop upstreamed patches, forwardport the rest
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-13.beta2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-12.beta2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Aug 20 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-11.beta2
- update the CVE-2009-3995,3996 patch and fix its naming
* Thu Jul 15 2010 Jindrich Novy <jnovy@redhat.com> 3.2.0-10.beta2
- fix CVE-2009-3995,3996 (#614643)
* Mon Nov 23 2009 Hans de Goede <hdegoede@redhat.com> 3.2.0-9.beta2
- Fix CVE-2007-6720 fix, it causes mods to sound wrong, and even causes
crashes under certain circumstances (#540234), see:
http://bugzilla.libsdl.org/show_bug.cgi?id=506
* Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-8.beta2
- fix CVE-2009-0179 (#519992)
* Fri Aug 28 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-7.beta2
- fix CVE-2007-6720 (#519990)
* Tue Aug 11 2009 Jindrich Novy <jnovy@redhat.com> 3.2.0-6.beta2
- don't complain if installing with --excludedocs (#515953)
- add missing requires
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5.beta2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4.beta2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-3.beta2
- Fix MikMod_InfoLoader() and MikMod_InfoDriver() functions, fixing mikmod -n
output
* Mon Feb 18 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.0-2.beta2
- Replace completely braindead (hint to author, drink coffee first, then code)
esd non blocking patch with one that actually works. This fixes using mikmod
with pulseaudio (bz 247865)
- Note: this makes the 2 supported output devices oss and esd (and pulseaudio's
esd emulation) alsa is not supported, this requires a rewrite of the mikmod
alsa code which was written for alsa-0.5 and never updated for the new alsa
0.9/1.0 api
* Fri Feb 15 2008 Jindrich Novy <jnovy@redhat.com> 3.2.0-1
- update to libmikmod-3.2.0-beta2
- fix playback on 64bit arches
* Thu Feb 14 2008 Jindrich Novy <jnovy@redhat.com> 3.1.11-5
- fix rpath patch so that there are no undefined symbols in
libmikmod.so (#431745)
* Thu Oct 25 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-4
- virtually provide mikmod-devel
* Wed Oct 24 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-3
- add multilib patch
* Tue Oct 23 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-2
- update description
- add smp_flags to make
- don't ship static library
- update upstream patch, drop texinfo dependency (thanks to Stepan Kasal)
* Thu Oct 18 2007 Jindrich Novy <jnovy@redhat.com> 3.1.11-1
- package libmikmod

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -637,6 +637,7 @@
"libmad",
"libmediaart",
"libmicrohttpd",
"libmikmod",
"libmodman",
"libmodplug",
"libmodulemd1",

Просмотреть файл

@ -9306,6 +9306,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "libmikmod",
"version": "3.3.11.1",
"downloadUrl": "https://downloads.sourceforge.net/mikmod/libmikmod-3.3.11.1.tar.gz"
}
}
},
{
"component": {
"type": "other",