diff --git a/alsamixergui-autoconf-cxx.patch b/alsamixergui-autoconf-cxx.patch new file mode 100644 index 0000000..cd4e660 --- /dev/null +++ b/alsamixergui-autoconf-cxx.patch @@ -0,0 +1,14 @@ +diff --git a/configure.in b/configure.in +index 9307cc2..5817b93 100644 +--- a/configure.in ++++ b/configure.in +@@ -10,6 +10,9 @@ AC_PROG_CXX + AC_PROG_INSTALL + AC_PROG_LN_S + ++dnl Do all checks using C++ compiler ++AC_LANG(C++) ++ + dnl Checks for libraries. + AC_CHECK_LIB(fltk,numericsort,, + AC_CHECK_LIB(fltk,fl_numericsort,, diff --git a/alsamixergui-config.patch b/alsamixergui-config.patch new file mode 100644 index 0000000..0c93cf6 --- /dev/null +++ b/alsamixergui-config.patch @@ -0,0 +1,13 @@ +diff --git a/src/alsamixer.cxx b/src/alsamixer.cxx +index 9d81d87..e603582 100644 +--- a/src/alsamixer.cxx ++++ b/src/alsamixer.cxx +@@ -2086,7 +2086,7 @@ static void + mixer_signal_handler (int signal) + { + if (signal != SIGSEGV) +- mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0); ++ mixer_abort (ERR_SIGNAL, strsignal(signal), 0); + else + { + fprintf (stderr, "\nSegmentation fault.\n"); diff --git a/alsamixergui-strsignal.patch b/alsamixergui-strsignal.patch new file mode 100644 index 0000000..0c93cf6 --- /dev/null +++ b/alsamixergui-strsignal.patch @@ -0,0 +1,13 @@ +diff --git a/src/alsamixer.cxx b/src/alsamixer.cxx +index 9d81d87..e603582 100644 +--- a/src/alsamixer.cxx ++++ b/src/alsamixer.cxx +@@ -2086,7 +2086,7 @@ static void + mixer_signal_handler (int signal) + { + if (signal != SIGSEGV) +- mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0); ++ mixer_abort (ERR_SIGNAL, strsignal(signal), 0); + else + { + fprintf (stderr, "\nSegmentation fault.\n"); diff --git a/alsamixergui.spec b/alsamixergui.spec index 9753705..d0842b6 100644 --- a/alsamixergui.spec +++ b/alsamixergui.spec @@ -1,8 +1,9 @@ Name: alsamixergui Summary: GUI mixer for ALSA sound devices Version: 0.9.0 -Release: 0.28.rc2%{?dist} -License: GPLv2+ +Release: 0.46.rc2%{?dist} +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later # This is where the source used to live, but this upstream is dead. # Source0: ftp://www.iua.upf.es/pub/mdeboer/projects/alsamixergui/%%{name}-%%{version}rc1-2.tar.gz # This tarball was taken from Debian, and is the most recent version as far as I know. @@ -15,8 +16,11 @@ BuildRequires: gcc-c++ BuildRequires: fltk-devel, libstdc++-devel BuildRequires: alsa-lib-devel, desktop-file-utils BuildRequires: libtool +BuildRequires: make # This is debian's patch, taken 2013-04-01 Patch0: alsamixergui_0.9.0rc2-1-9.1.diff +Patch1: alsamixergui-strsignal.patch +Patch2: alsamixergui-autoconf-cxx.patch %description alsamixergui is a FLTK based frontend for alsamixer. It is written @@ -27,7 +31,9 @@ graphical userinterface. %prep %setup -q -n %{name}-%{version}rc2-1.orig -%patch0 -p1 -b .debian +%patch -P0 -p1 -b .debian +%patch -P1 -p1 -b .strsignal +%patch -P2 -p1 autoreconf -i chmod +x configure @@ -49,6 +55,61 @@ desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} %{_datadir}/pixmaps/%{name}.png %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 0.9.0-0.46.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 0.9.0-0.45.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 0.9.0-0.44.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jul 25 2024 Miroslav Suchý - 0.9.0-0.43.rc2 +- convert license to SPDX + +* Wed Jul 17 2024 Fedora Release Engineering - 0.9.0-0.42.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.9.0-0.41.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 0.9.0-0.40.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 0.9.0-0.39.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jan 18 2023 Fedora Release Engineering - 0.9.0-0.38.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 0.9.0-0.37.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 0.9.0-0.36.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.9.0-0.35.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.9.0-0.34.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jul 31 2020 Fedora Release Engineering - 0.9.0-0.33.rc2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.9.0-0.32.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 23 2020 Jeff Law - 0.9.0-0.31.rc2 +- Use strsignal not sys_siglist + +* Tue Jan 28 2020 Fedora Release Engineering - 0.9.0-0.30.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 0.9.0-0.29.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 0.9.0-0.28.rc2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild