summaryrefslogtreecommitdiff
path: root/repo/zynaddsubfx
diff options
context:
space:
mode:
Diffstat (limited to 'repo/zynaddsubfx')
-rw-r--r--repo/zynaddsubfx/cmake-build-type-none.patch47
-rw-r--r--repo/zynaddsubfx/fix-bogus-strstr.patch16
-rw-r--r--repo/zynaddsubfx/fix-memset.patch11
-rw-r--r--repo/zynaddsubfx/zynaddsubfx.xibuild51
4 files changed, 0 insertions, 125 deletions
diff --git a/repo/zynaddsubfx/cmake-build-type-none.patch b/repo/zynaddsubfx/cmake-build-type-none.patch
deleted file mode 100644
index 74e64a7..0000000
--- a/repo/zynaddsubfx/cmake-build-type-none.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Index: src/CMakeLists.txt
-===================================================================
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -185,7 +185,6 @@ option (BuildForDebug "Include gdb debug
- option (IncludeWhatYouUse "Check for useless includes" OFF)
- mark_as_advanced(IncludeWhatYouUse)
-
--set(CMAKE_BUILD_TYPE "Release")
-
-
- set (BuildOptions_x86_64AMD
-@@ -321,34 +320,6 @@ if(NOT AVOID_ASM)
- add_definitions(-DASM_F2I_YES)
- endif()
-
--if (BuildForDebug)
-- set (CMAKE_BUILD_TYPE "Debug")
-- set (CMAKE_CXX_FLAGS_DEBUG ${BuildOptionsDebug})
-- 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})
--
-- if (BuildForAMD_X86_64)
-- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_x86_64AMD}")
-- endif (BuildForAMD_X86_64)
--
-- if (BuildForCore2_X86_64)
-- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_X86_64Core2}")
-- endif (BuildForCore2_X86_64)
--
-- if (SUPPORT_SSE)
-- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_SSE}")
-- endif (SUPPORT_SSE)
--
-- if (SUPPORT_NEON AND NOT NoNeonPlease)
-- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${BuildOptions_NEON}")
-- endif (SUPPORT_NEON AND NOT NoNeonPlease)
--
-- message (STATUS "Building for ${CMAKE_BUILD_TYPE}, flags: ${CMAKE_CXX_FLAGS_RELEASE}")
--endif (BuildForDebug)
--
- if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
- add_definitions(-fPIC)
- endif()
diff --git a/repo/zynaddsubfx/fix-bogus-strstr.patch b/repo/zynaddsubfx/fix-bogus-strstr.patch
deleted file mode 100644
index 8588045..0000000
--- a/repo/zynaddsubfx/fix-bogus-strstr.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Source: @pullmoll
-Upstream: no
-Reason: This piece of code is ill-conceived and cannot work. Remove it.
-
---- a/rtosc/src/dispatch.c 2019-03-10 17:16:45.000000000 +0100
-+++ b/rtosc/src/dispatch.c 2020-03-29 09:02:42.916119722 +0200
-@@ -289,8 +289,7 @@
- return false;
- } else if(type == 4) {
- //extract substring
-- const char *sub=NULL;
-- return strstr(a,sub);
-+ return false;
- } else if(type == RTOSC_MATCH_OPTIONS || type == 6) {
- return false;
- } else if(type == RTOSC_MATCH_ENUMERATED) {
diff --git a/repo/zynaddsubfx/fix-memset.patch b/repo/zynaddsubfx/fix-memset.patch
deleted file mode 100644
index 1439804..0000000
--- a/repo/zynaddsubfx/fix-memset.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/globals.h 2015-06-28 00:25:59.000000000 +0200
-+++ b/src/globals.h 2015-10-03 15:34:18.914712672 +0200
-@@ -25,6 +25,8 @@
- #ifndef GLOBALS_H
- #define GLOBALS_H
-
-+#include <string.h> /* memset(3) */
-+
- #if defined(__clang__)
- #define REALTIME __attribute__((annotate("realtime")))
- #define NONREALTIME __attribute__((annotate("nonrealtime")))
diff --git a/repo/zynaddsubfx/zynaddsubfx.xibuild b/repo/zynaddsubfx/zynaddsubfx.xibuild
deleted file mode 100644
index 228806b..0000000
--- a/repo/zynaddsubfx/zynaddsubfx.xibuild
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-
-NAME="zynaddsubfx"
-DESC="Opensource software synthesizer capable of making a countless number of instruments."
-
-MAKEDEPS="cmake jack fltk portaudio mxml sndio bash-completion liblo libxpm"
-DEPS="less "
-
-PKG_VER=3.0.5
-SOURCE="https://downloads.sourceforge.net/project/zynaddsubfx/zynaddsubfx/$PKG_VER/zynaddsubfx-$PKG_VER.tar.bz2"
-ADDITIONAL="
-cmake-build-type-none.patch
-fix-bogus-strstr.patch
-fix-memset.patch
-"
-prepare () {
- apply_patches
- sed -e '/-DASM_F2I_YES/d' -i src/CMakeLists.txt
-
- sed -e 's/COMMAND.*lv2-ttl-generator/COMMAND lv2-ttl-generator/g' -i \
- src/Plugin/AlienWah/CMakeLists.txt \
- src/Plugin/Chorus/CMakeLists.txt \
- src/Plugin/Distortion/CMakeLists.txt \
- src/Plugin/DynamicFilter/CMakeLists.txt \
- src/Plugin/Echo/CMakeLists.txt \
- src/Plugin/Phaser/CMakeLists.txt \
- src/Plugin/Reverb/CMakeLists.txt \
- src/Plugin/ZynAddSubFX/CMakeLists.txt
-
- sed -i -e 's;gcc ;${CC} ;' \
- -e 's;.fltk-config --cflags.;& ${CFLAGS};' \
- -e 's;.fltk-config --ldflags.;& ${LDFLAGS};' \
- ExternalPrograms/Spliter/Makefile \
- ExternalPrograms/Controller/Makefile
-}
-
-build () {
- cmake -B build \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DDefaultOutput=jack \
- -DDefaultInput=jack \
- -DGuiModule=fltk
- cmake --build build &&
- make -C ExternalPrograms/Spliter &&
- make -C ExternalPrograms/Controller
-}
-
-package () {
- DESTDIR="$PKG_DEST" cmake --install build
-}