Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmad for openSUSE:Factory checked in at 2026-03-29 20:00:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmad (Old) and /work/SRC/openSUSE:Factory/.libmad.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmad" Sun Mar 29 20:00:27 2026 rev:8 rq:1343300 version:0.16.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libmad/libmad.changes 2024-03-03 20:19:44.534744132 +0100 +++ /work/SRC/openSUSE:Factory/.libmad.new.8177/libmad.changes 2026-03-29 20:00:32.701067984 +0200 @@ -1,0 +2,37 @@ +Thu Mar 26 12:20:13 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 0.16.4 + * Switch upstream + http://www.underbit.com/products/mad/ + -> https://codeberg.org/tenacityteam/libmad + * Switch from autotools to cmake +- Update to version 0.16.3 + * Disable assembly optimizations for all 64 bit CPU + architectures; they are only for 32 and 16 bit + architectures. + * Fix CPU architecture detection for PowerPC. +- Update to version 0.16.2 + * Fix building assembly file on ARM + * Fix pkgconfig file when CMAKE_INSTALL_{INCLUDE,LIB}DIR are + absolute paths. +- Update to version 0.16.1 + * Fix generation of mad.h broken by move to CMake. + * Add CMake options for CPU architecture-specific optimizations. +- Update to version 0.16.0 + * Add CMake build system + * Remove autotools build system + * Add pkgconfig and CMake config files + * Apply patches from Debian and Fedora +- Drop not longer needed patches + * libmad-0.15.1b-automake.patch + * libmad-0.15.1b-pkgconfig.patch + * libmad-0.15.1b-gcc43.patch + * length-check.patch + * libmad-0.15.1b-ppc.patch + * libmad.thumb.diff + * libmad-x86.patch + * Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff +- Add patch: + * libmad-x86.patch + +------------------------------------------------------------------- Old: ---- Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff length-check.patch libmad-0.15.1b-automake.patch libmad-0.15.1b-gcc43.patch libmad-0.15.1b-pkgconfig.patch libmad-0.15.1b-ppc.patch libmad-0.15.1b.tar.gz libmad.thumb.diff New: ---- libmad-0.16.4.tar.gz libmad-x86.patch ----------(Old B)---------- Old: * libmad-x86.patch * Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff - Add patch: Old: * libmad-0.15.1b-gcc43.patch * length-check.patch * libmad-0.15.1b-ppc.patch Old:- Drop not longer needed patches * libmad-0.15.1b-automake.patch * libmad-0.15.1b-pkgconfig.patch Old: * libmad-0.15.1b-pkgconfig.patch * libmad-0.15.1b-gcc43.patch * length-check.patch Old: * libmad-0.15.1b-automake.patch * libmad-0.15.1b-pkgconfig.patch * libmad-0.15.1b-gcc43.patch Old: * length-check.patch * libmad-0.15.1b-ppc.patch * libmad.thumb.diff Old: * libmad-0.15.1b-ppc.patch * libmad.thumb.diff * libmad-x86.patch ----------(Old E)---------- ----------(New B)---------- New: * libmad.thumb.diff * libmad-x86.patch * Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmad.spec ++++++ --- /var/tmp/diff_new_pack.Ku3vBe/_old 2026-03-29 20:00:33.225089574 +0200 +++ /var/tmp/diff_new_pack.Ku3vBe/_new 2026-03-29 20:00:33.229089738 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmad # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,24 +19,18 @@ %define sover 0 %define libname %{name}%{sover} Name: libmad -Version: 0.15.1b +Version: 0.16.4 Release: 0 Summary: An MPEG audio decoder library License: GPL-2.0-or-later Group: Productivity/Multimedia/Other -URL: http://www.underbit.com/products/mad/ -Source: https://sourceforge.net/projects/mad/files/libmad/%{version}/libmad-%{version}.tar.gz +#Git-Clone: https://codeberg.org/tenacityteam/libmad.git +URL: https://www.underbit.com/products/mad/ +Source: https://codeberg.org/tenacityteam/libmad/releases/download/%{version}/libmad-%{version}.tar.gz Source1000: baselibs.conf -Patch0: libmad-0.15.1b-automake.patch -Patch1: libmad-0.15.1b-pkgconfig.patch -Patch2: libmad-0.15.1b-gcc43.patch -Patch3: Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff -Patch4: libmad.thumb.diff -Patch5: libmad-0.15.1b-ppc.patch -Patch6: length-check.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +Patch0: libmad-x86.patch +BuildRequires: cmake +BuildRequires: gcc-c++ BuildRequires: pkgconfig Provides: mad = %{version}-%{release} Obsoletes: mad < %{version}-%{release} @@ -77,46 +71,25 @@ develop applications with libmad. %prep -%setup -q -%patch -P 0 -%patch -P 1 -p1 -%patch -P 2 -p1 -%patch -P 3 -p1 -%patch -P 4 -p1 -%patch -P 5 -p1 -%patch -P 6 -p1 - -# new autoconf does not support deprecated declare (10 years in deprecation) -sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac +%autosetup -p1 -n libmad %build -autoreconf -fiv -%configure \ -%if 0%{?__isa_bits} == 64 - --enable-fpm=64bit \ -%endif -%ifarch %{arm} - --enable-fpm=arm \ -%endif - --enable-accuracy \ - --disable-static -make %{?_smp_mflags} +%cmake -DOPTIMIZE=ACCURACY +%make_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print -install -D -m0644 mad.pc "%{buildroot}%{_libdir}/pkgconfig/mad.pc" +%cmake_install -%post -n %{libname} -p /sbin/ldconfig -%postun -n %{libname} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{libname} %files -n %{libname} -%license COPYING -%doc CHANGES COPYRIGHT CREDITS README TODO VERSION +%license COPYING COPYRIGHT +%doc CHANGES CREDITS README.md TODO %{_libdir}/libmad.so.%{sover}* %files devel %{_includedir}/mad.h %{_libdir}/libmad.so %{_libdir}/pkgconfig/mad.pc +%{_libdir}/cmake/mad ++++++ libmad-0.15.1b.tar.gz -> libmad-0.16.4.tar.gz ++++++ ++++ 53519 lines of diff (skipped) ++++++ libmad-x86.patch ++++++ diff -up libmad/CMakeLists.txt.x86 libmad/CMakeLists.txt --- libmad/CMakeLists.txt.x86 2023-09-24 03:51:31.000000000 +0200 +++ libmad/CMakeLists.txt 2026-03-05 14:19:12.466050524 +0100 @@ -61,7 +61,7 @@ option(ASO "Enable CPU Architecture Spec if(CMAKE_SIZEOF_VOID_P EQUAL 8) message(STATUS "Using 64 bit fixed point math") option(FPM_64BIT "64 bit fixed point math" ON) -elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86" OR "i386") +elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(x|i[3456])86") message(STATUS "Using x86 fixed point math") option (FPM_INTEL "x86 fixed point math" ON) if(ASO)
