Compare commits
22 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0da53d13f | ||
|
|
8268e93c8f | ||
|
|
d10367c652 | ||
|
|
aaf595045b | ||
|
|
c2fe570072 | ||
|
|
501c5f840d | ||
|
|
ce37a18d9f | ||
|
|
50e4f78702 | ||
|
|
e6eb0e49df | ||
|
|
a237983547 | ||
|
|
bce8a97c50 | ||
|
|
6da71065ed | ||
|
|
2bcc586e31 | ||
|
|
2a4ab89b4c | ||
|
|
8afdf3268f | ||
|
|
25995c59d5 | ||
|
|
5f73a54691 | ||
|
|
69b858444c | ||
|
|
62fc042b1c | ||
|
|
f8f557e283 | ||
|
|
f5ccdb7948 | ||
|
|
1d7a4f6abf |
6 changed files with 129 additions and 20 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,3 +5,4 @@ ZynAddSubFX-2.4.1.tar.bz2
|
||||||
/zynaddsubfx-2.4.4.tar.xz
|
/zynaddsubfx-2.4.4.tar.xz
|
||||||
/zynaddsubfx-3.0.2.tar.bz2
|
/zynaddsubfx-3.0.2.tar.bz2
|
||||||
/zynaddsubfx-3.0.5.tar.bz2
|
/zynaddsubfx-3.0.5.tar.bz2
|
||||||
|
/zynaddsubfx-3.0.6.tar.bz2
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (zynaddsubfx-3.0.5.tar.bz2) = 1e4d5a6393937e6c7103e6d0e97df76f2d129350854c2f338aa888591091b1508c63e9b52c8e5a176e282ff2f6b72c6a87de54875c412771aff26e8ece2c84e8
|
SHA512 (zynaddsubfx-3.0.6.tar.bz2) = 86311f00d97e20c7eb22a46c99736c56765ed9737e728ef380a324e4a92c731086ed74f5d7bfeae104b690ab1ee1b40bfb8f240bc4c46f8afd47308ec48cbcea
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,10 @@ index c98fc412..c675f4a4 100644
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o spliter SpliterUI.cxx SpliterUI.h
|
rm -f *.o spliter SpliterUI.cxx SpliterUI.h
|
||||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||||
index 08d9eea0..959b852e 100644
|
index 8348df70..17c1b29d 100644
|
||||||
--- a/src/CMakeLists.txt
|
--- a/src/CMakeLists.txt
|
||||||
+++ b/src/CMakeLists.txt
|
+++ b/src/CMakeLists.txt
|
||||||
@@ -323,12 +323,12 @@ endif()
|
@@ -393,12 +393,12 @@ endif()
|
||||||
|
|
||||||
if (BuildForDebug)
|
if (BuildForDebug)
|
||||||
set (CMAKE_BUILD_TYPE "Debug")
|
set (CMAKE_BUILD_TYPE "Debug")
|
||||||
|
|
@ -69,7 +69,7 @@ index 08d9eea0..959b852e 100644
|
||||||
set (CMAKE_BUILD_TYPE "Release")
|
set (CMAKE_BUILD_TYPE "Release")
|
||||||
|
|
||||||
- set (CMAKE_CXX_FLAGS_RELEASE ${BuildOptionsBasic})
|
- set (CMAKE_CXX_FLAGS_RELEASE ${BuildOptionsBasic})
|
||||||
+ set (CMAKE_CXX_FLAGS_RELEASE "${BuildOptionsBasic} ${CMAKE_CXX_FLAGS}")
|
+ set (CMAKE_CXX_FLAGS_RELEASE "${BuildOptionsDebug} ${CMAKE_CXX_FLAGS}")
|
||||||
|
|
||||||
if (BuildForAMD_X86_64)
|
if (BuildForAMD_X86_64)
|
||||||
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_x86_64AMD}")
|
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_x86_64AMD}")
|
||||||
|
|
|
||||||
13
zynaddsubfx-cortex.patch
Normal file
13
zynaddsubfx-cortex.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||||
|
index 17c1b29d..0fdca8e4 100644
|
||||||
|
--- a/src/CMakeLists.txt
|
||||||
|
+++ b/src/CMakeLists.txt
|
||||||
|
@@ -247,7 +247,7 @@ set (BuildOptions_X86_64Core2
|
||||||
|
)
|
||||||
|
|
||||||
|
set (BuildOptions_NEON
|
||||||
|
- "-march=armv7-a -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a9 -mtune=cortex-a9 -pipe -mvectorize-with-neon-quad -funsafe-loop-optimizations"
|
||||||
|
+ "-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -pipe -mvectorize-with-neon-quad -funsafe-loop-optimizations"
|
||||||
|
CACHE STRING "Cortex_a9 compiler options"
|
||||||
|
)
|
||||||
|
|
||||||
24
zynaddsubfx-missing-cstdint.patch
Normal file
24
zynaddsubfx-missing-cstdint.patch
Normal file
|
|
@ -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 <string>
|
||||||
|
#include <vector>
|
||||||
|
+#include <cstdint>
|
||||||
|
#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 <cstdint>
|
||||||
|
#include "Engine.h"
|
||||||
|
|
||||||
|
namespace zyn {
|
||||||
101
zynaddsubfx.spec
101
zynaddsubfx.spec
|
|
@ -1,17 +1,22 @@
|
||||||
Summary: Real-time software synthesizer
|
Summary: Real-time software synthesizer
|
||||||
Name: zynaddsubfx
|
Name: zynaddsubfx
|
||||||
Version: 3.0.5
|
Version: 3.0.6
|
||||||
Release: 4%{?dist}
|
Release: 11%{?dist}
|
||||||
# Source is a collective work, distributed by
|
# 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
|
URL: http://zynaddsubfx.sourceforge.net
|
||||||
Source0: http://download.sf.net/sourceforge/zynaddsubfx/zynaddsubfx-%{version}.tar.bz2
|
Source0: http://download.sf.net/sourceforge/zynaddsubfx/zynaddsubfx-%{version}.tar.bz2
|
||||||
# We cannot build this from source since Fedora's texlive is too old
|
# We cannot build this from source since Fedora's texlive is too old
|
||||||
Patch0: zynaddsubfx-buildflags.patch
|
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: hicolor-icon-theme
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: alsa-lib-devel
|
BuildRequires: alsa-lib-devel
|
||||||
|
|
@ -31,6 +36,10 @@ BuildRequires: zlib-devel
|
||||||
BuildRequires: liblo-devel
|
BuildRequires: liblo-devel
|
||||||
BuildRequires: libXpm-devel
|
BuildRequires: libXpm-devel
|
||||||
|
|
||||||
|
# Build dumps core on i686
|
||||||
|
# Bug 2297277
|
||||||
|
ExcludeArch: i686
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ZynAddSubFX is an open source software synthesizer capable of making a
|
ZynAddSubFX is an open source software synthesizer capable of making a
|
||||||
countless number of instrument sounds. It is microtonal, and the instruments
|
countless number of instrument sounds. It is microtonal, and the instruments
|
||||||
|
|
@ -94,7 +103,7 @@ This package includes the VST implementation of the synthesizer.
|
||||||
%autosetup -p 1
|
%autosetup -p 1
|
||||||
|
|
||||||
# Fix encoding
|
# Fix encoding
|
||||||
for i in AUTHORS.txt ChangeLog; do
|
for i in AUTHORS.txt; do
|
||||||
iconv -f iso8859-1 -t utf8 $i -o tmpfile
|
iconv -f iso8859-1 -t utf8 $i -o tmpfile
|
||||||
touch -r $i tmpfile
|
touch -r $i tmpfile
|
||||||
mv -f tmpfile $i
|
mv -f tmpfile $i
|
||||||
|
|
@ -102,18 +111,17 @@ done
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p %{_target_platform}
|
# TODO: Please submit an issue to upstream (rhbz#2381655)
|
||||||
pushd %{_target_platform}
|
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||||
%cmake \
|
%cmake \
|
||||||
-DDefaultOutput=jack -DPluginLibDir=%{_libdir} \
|
-DDefaultOutput=jack -DPluginLibDir=%{_libdir} \
|
||||||
-DBASHCOMP_PKG_PATH=%{buildroot}%{_datadir}/bash-completion/completions \
|
-DBASHCOMP_PKG_PATH=%{_datadir}/bash-completion/completions \
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
-DX86Build=ON \
|
-DX86Build=ON \
|
||||||
%endif
|
%endif
|
||||||
..
|
%{nil}
|
||||||
popd
|
|
||||||
|
|
||||||
%make_build -C %{_target_platform}
|
%cmake_build
|
||||||
|
|
||||||
# build external programs
|
# build external programs
|
||||||
%make_build -C ExternalPrograms/Controller
|
%make_build -C ExternalPrograms/Controller
|
||||||
|
|
@ -121,7 +129,7 @@ popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||||
%make_install -C %{_target_platform}
|
%cmake_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/%{name}
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
|
|
@ -144,10 +152,11 @@ install -d -m 0755 %{buildroot}%{_libdir}/%{name}
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/applications/%{name}*.desktop
|
%{_datadir}/applications/%{name}*.desktop
|
||||||
%{_datadir}/pixmaps/zynaddsubfx.svg
|
%{_datadir}/pixmaps/zynaddsubfx.svg
|
||||||
|
%{_datadir}/pixmaps/zynaddsubfx.png
|
||||||
%{_datadir}/bash-completion/completions/%{name}
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%files common
|
%files common
|
||||||
%doc AUTHORS.txt ChangeLog
|
%doc AUTHORS.txt
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
|
|
@ -161,6 +170,68 @@ install -d -m 0755 %{buildroot}%{_libdir}/%{name}
|
||||||
%{_libdir}/vst/*.so
|
%{_libdir}/vst/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 11 2025 Cristian Le <git@lecris.dev> - 3.0.6-11
|
||||||
|
- Allow to build with CMake 4.0 (rhbz#2381655)
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 3.0.6-8
|
||||||
|
- convert license to SPDX
|
||||||
|
|
||||||
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 11 2024 Guido Aulisi <guido.aulisi@gmail.com> - 3.0.6-6
|
||||||
|
- Exclude i686 because build system dumps core #2297277
|
||||||
|
|
||||||
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jul 23 2023 Guido Aulisi <guido.aulisi@gmail.com> - 3.0.6-4
|
||||||
|
- Fix FTBFS in Fedora rawhide: missing cstdint
|
||||||
|
|
||||||
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Dec 03 2022 Guido Aulisi <guido.aulisi@gmail.com> - 3.0.6-1
|
||||||
|
- Update to 3.0.6
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 3.0.5-10
|
||||||
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
||||||
|
|
||||||
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 31 2020 Jeff Law <law@redhat.com> - 3.0.5-8
|
||||||
|
- Do not ask for cortex-a9 which conflicts with baseline armv7a
|
||||||
|
- Re-enable LTO
|
||||||
|
|
||||||
|
* Mon Aug 10 2020 Guido Aulisi <guido.aulisi@gmail.com> - 3.0.5-7
|
||||||
|
- Fix FTBFS in Fedora rawhide/f33 (#1865663)
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-6
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-4
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue