diff --git a/zynaddsubfx-missing-cstdint.patch b/zynaddsubfx-missing-cstdint.patch new file mode 100644 index 0000000..d75739d --- /dev/null +++ b/zynaddsubfx-missing-cstdint.patch @@ -0,0 +1,24 @@ +diff --git a/src/Misc/Bank.h b/src/Misc/Bank.h +index 5120441a..09768adf 100644 +--- a/src/Misc/Bank.h ++++ b/src/Misc/Bank.h +@@ -16,6 +16,7 @@ + + #include + #include ++#include + #include "../globals.h" + #include "Config.h" + +diff --git a/src/Nio/MidiIn.h b/src/Nio/MidiIn.h +index ce0bcfec..e7177716 100644 +--- a/src/Nio/MidiIn.h ++++ b/src/Nio/MidiIn.h +@@ -16,6 +16,7 @@ + #ifndef MIDI_IN_H + #define MIDI_IN_H + ++#include + #include "Engine.h" + + namespace zyn { diff --git a/zynaddsubfx.spec b/zynaddsubfx.spec index a23da5c..6fa00ba 100644 --- a/zynaddsubfx.spec +++ b/zynaddsubfx.spec @@ -1,15 +1,17 @@ Summary: Real-time software synthesizer Name: zynaddsubfx Version: 3.0.6 -Release: 2%{?dist} +Release: 11%{?dist} # Source is a collective work, distributed by -License: GPLv2 and GPLv2+ +# Automatically converted from old format: GPLv2 and GPLv2+ - review is highly recommended. +License: GPL-2.0-only AND GPL-2.0-or-later URL: http://zynaddsubfx.sourceforge.net Source0: http://download.sf.net/sourceforge/zynaddsubfx/zynaddsubfx-%{version}.tar.bz2 # We cannot build this from source since Fedora's texlive is too old Patch0: zynaddsubfx-buildflags.patch # Do not ask for cortex-a9 which conflicts with the armv7a baseline Patch1: zynaddsubfx-cortex.patch +Patch2: %{name}-missing-cstdint.patch Requires: hicolor-icon-theme Requires: %{name}-common = %{version}-%{release} @@ -34,6 +36,10 @@ BuildRequires: zlib-devel BuildRequires: liblo-devel BuildRequires: libXpm-devel +# Build dumps core on i686 +# Bug 2297277 +ExcludeArch: i686 + %description ZynAddSubFX is an open source software synthesizer capable of making a countless number of instrument sounds. It is microtonal, and the instruments @@ -105,6 +111,8 @@ done %build +# TODO: Please submit an issue to upstream (rhbz#2381655) +export CMAKE_POLICY_VERSION_MINIMUM=3.5 %cmake \ -DDefaultOutput=jack -DPluginLibDir=%{_libdir} \ -DBASHCOMP_PKG_PATH=%{_datadir}/bash-completion/completions \ @@ -162,6 +170,33 @@ install -d -m 0755 %{buildroot}%{_libdir}/%{name} %{_libdir}/vst/*.so %changelog +* Tue Nov 11 2025 Cristian Le - 3.0.6-11 +- Allow to build with CMake 4.0 (rhbz#2381655) + +* Fri Jul 25 2025 Fedora Release Engineering - 3.0.6-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 3.0.6-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Aug 07 2024 Miroslav Suchý - 3.0.6-8 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 3.0.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Jul 11 2024 Guido Aulisi - 3.0.6-6 +- Exclude i686 because build system dumps core #2297277 + +* Sat Jan 27 2024 Fedora Release Engineering - 3.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jul 23 2023 Guido Aulisi - 3.0.6-4 +- Fix FTBFS in Fedora rawhide: missing cstdint + +* Sat Jul 22 2023 Fedora Release Engineering - 3.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 3.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild