Skip to content

Commit

Permalink
Update zynaddsubfx to version 3.0.6 / rev 13 via SR 970357
Browse files Browse the repository at this point in the history
  • Loading branch information
plater authored and bmwiedemann committed Apr 19, 2022
1 parent 69b2264 commit fdf5512
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 188 deletions.
Binary file modified packages/z/zynaddsubfx/.files
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/z/zynaddsubfx/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,12 @@ Remove dependency on lash and add pulse audio support.
<comment>Update to version 3.0.5</comment>
<requestid>728431</requestid>
</revision>
<revision rev="13" vrev="1">
<srcmd5>90652c16f0c7d82d3c88d5bbffe29db3</srcmd5>
<version>3.0.6</version>
<time>1650355084</time>
<user>dimstar_suse</user>
<comment></comment>
<requestid>970357</requestid>
</revision>
</revisionlist>
1 change: 0 additions & 1 deletion packages/z/zynaddsubfx/zynaddsubfx-3.0.5.tar.bz2

This file was deleted.

1 change: 1 addition & 0 deletions packages/z/zynaddsubfx/zynaddsubfx-3.0.6.tar.bz2
140 changes: 0 additions & 140 deletions packages/z/zynaddsubfx/zynaddsubfx-DPF.patch

This file was deleted.

46 changes: 11 additions & 35 deletions packages/z/zynaddsubfx/zynaddsubfx-buildflags.patch
Original file line number Diff line number Diff line change
@@ -1,36 +1,12 @@
Index: zynaddsubfx-3.0.5/src/CMakeLists.txt
===================================================================
--- zynaddsubfx-3.0.5.orig/src/CMakeLists.txt 2019-03-29 11:24:06.254813169 +0200
+++ zynaddsubfx-3.0.5/src/CMakeLists.txt 2019-03-29 11:24:17.375274138 +0200
@@ -182,6 +182,7 @@ endif()
option (BuildForAMD_X86_64 "Build for AMD x86_64 system" OFF)
option (BuildForCore2_X86_64 "Build for Intel Core2 x86_64 system" OFF)
option (BuildForDebug "Include gdb debugging support" OFF)
+option (X86Build "Build for X86 family" OFF)
option (IncludeWhatYouUse "Check for useless includes" OFF)
mark_as_advanced(IncludeWhatYouUse)
diff -Nur zynaddsubfx-3.0.6/src/CMakeLists.txt new/src/CMakeLists.txt
--- zynaddsubfx-3.0.6/src/CMakeLists.txt 2022-01-22 02:46:21.000000000 +0100
+++ new/src/CMakeLists.txt 2022-04-14 14:46:44.472067628 +0200
@@ -261,7 +261,7 @@
check_cxx_compiler_flag("${BuildOptions_SSE} -Werror" SUPPORT_SSE)

@@ -323,19 +324,19 @@ endif()

if (BuildForDebug)
set (CMAKE_BUILD_TYPE "Debug")
- set (CMAKE_CXX_FLAGS_DEBUG ${BuildOptionsDebug})
+ set (CMAKE_CXX_FLAGS_DEBUG "${BuildOptionsDebug} ${CMAKE_CXX_FLAGS}")
message (STATUS "Building for ${CMAKE_BUILD_TYPE}, flags: ${CMAKE_CXX_FLAGS_DEBUG}")
else (BuildForDebug)
set (CMAKE_BUILD_TYPE "Release")

- set (CMAKE_CXX_FLAGS_RELEASE ${BuildOptionsBasic})
+ set (CMAKE_CXX_FLAGS_RELEASE "${BuildOptionsBasic} ${CMAKE_CXX_FLAGS}")

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} ${CMAKE_CXX_FLAGS}")
endif (BuildForAMD_X86_64)

if (BuildForCore2_X86_64)
- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_X86_64Core2}")
+ set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_X86_64Core2} ${CMAKE_CXX_FLAGS}")
endif (BuildForCore2_X86_64)

if (SUPPORT_SSE)
set (BuildOptionsBasic
- "-std=c++11 -Wno-unused-parameter -O3 -ffast-math -fomit-frame-pointer"
+ "-std=c++11 -Wno-unused-parameter -O3 -ffast-math -fomit-frame-pointer ${CMAKE_CXX_FLAGS}"
CACHE STRING "basic X86 compiler options"
)
STRING(APPEND BuildOptionsBasic " ${BuildOptions_ExtendedWarnings}")
31 changes: 31 additions & 0 deletions packages/z/zynaddsubfx/zynaddsubfx.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Apr 14 12:39:43 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>

- Update to 3.0.6
* Enhances watchpoint system for waveform views
* Add anti-alias mode to add synth oscillator interpolation
* Add 14 bit NRPN support for automations
* Add Tanh, Cubic, and square distortions with additional shaping
params
* Add filter parameter smoothing
* Add filter optional LPF to LFO
* Add repeatable envelopes
* Add LFO fade in
* Add moog ladder filter
* Add comb filter
* Add BPM sync
* Add latched key mode
* Re-enable classic MIDI learn
* Increase envelope time parameter resolution
* Fix excessively loud volume bug in Part XML loader
* Fix crash with gcc 10.x.x within file manager
* Fix crash in erroneous patch load
* Fix padsynth memory leak
* Fix weird note-to-note portamento switches
* Reduce fftw resolution from 64bit to 32bit
* Remove Cxxtest dependency
* Fix other bugs
- Subpackage for bash completions
- Rebased zynaddsubfx-buildflags.patch
- Drop upstream fixed zynaddsubfx-DPF.patch

-------------------------------------------------------------------
Fri Aug 30 10:27:53 UTC 2019 - Fabio Pesari <fpesari@tuxfamily.org>

Expand Down
33 changes: 21 additions & 12 deletions packages/z/zynaddsubfx/zynaddsubfx.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package zynaddsubfx
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -12,21 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name: zynaddsubfx
Version: 3.0.5
Version: 3.0.6
Release: 0
Summary: A Real-Time Software Synthesizer for Linux
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Midi
Url: http://zynaddsubfx.sourceforge.net/
URL: https://zynaddsubfx.sourceforge.io/
Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
Patch0: zynaddsubfx-buildflags.patch
# PATCH-FIX-UPSTREAM zynaddsubfx-DPF.patch davejplater@gmail.com -- patch DPF (issue#18) to latest git which fixes random lv2 output port values.
Patch1: zynaddsubfx-DPF.patch
BuildRequires: cmake
BuildRequires: dssi
BuildRequires: fltk-devel
Expand All @@ -49,9 +47,9 @@ BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(liblo)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(mxml)
BuildRequires: pkgconfig(ntk)
BuildRequires: pkgconfig(ntk_gl)
BuildRequires: pkgconfig(ntk_images)
BuildRequires: pkgconfig(ntk) >= 1.3.1001
BuildRequires: pkgconfig(ntk_gl) >= 1.3.1001
BuildRequires: pkgconfig(ntk_images) >= 1.3.1001
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(xpm)
BuildRequires: pkgconfig(zlib)
Expand All @@ -66,6 +64,14 @@ capabilities. It includes randomness of some parameters, which can make
warm sounds, like analog synthesizers. This program has system and
insertion effects, too.

%package bash-completion
Summary: Bash completion for ZynAddSubFX
Requires: bash
Requires: %{name} = %{version}

%description bash-completion
Bash command line completion support for ZynAddSubFX.

%package common
Summary: Common files for ZynAddSubFX synthesizers
Group: Productivity/Multimedia/Sound/Midi
Expand Down Expand Up @@ -126,8 +132,7 @@ insertion effects, too.
This package includes the VST zynaddsubfx synthesizer plugins.

%prep
%setup -q
%autopatch -p1
%autosetup -p1

%build
%cmake \
Expand Down Expand Up @@ -166,10 +171,14 @@ rm -f %{buildroot}%{_datadir}/applications/zynaddsubfx-oss.desktop
%{_bindir}/*
%{_datadir}/applications/%{name}*.desktop
%{_datadir}/pixmaps/zynaddsubfx.svg
%{_datadir}/pixmaps/zynaddsubfx.png

%files bash-completion
%{_datadir}/bash-completion/completions/zynaddsubfx

%files common
%license COPYING
%doc AUTHORS.txt ChangeLog HISTORY.txt README.adoc
%doc AUTHORS.txt NEWS.txt README.adoc
%{_datadir}/%{name}/

%files dssi
Expand Down

0 comments on commit fdf5512

Please sign in to comment.