summaryrefslogtreecommitdiff
path: root/repo/zynaddsubfx
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
committerdavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
commit05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (patch)
tree0b058ac267139f2a0525dec42b307664363e5b11 /repo/zynaddsubfx
parent4c61af227b0fb3e028c877dc1c2e0b6513960762 (diff)
Making things work
Diffstat (limited to 'repo/zynaddsubfx')
-rw-r--r--repo/zynaddsubfx/cmake-build-type-none.patch12
-rw-r--r--repo/zynaddsubfx/fix-bogus-strstr.patch16
-rw-r--r--repo/zynaddsubfx/fix-memset.patch11
-rw-r--r--repo/zynaddsubfx/zynaddsubfx.xibuild49
4 files changed, 0 insertions, 88 deletions
diff --git a/repo/zynaddsubfx/cmake-build-type-none.patch b/repo/zynaddsubfx/cmake-build-type-none.patch
deleted file mode 100644
index b60a428..0000000
--- a/repo/zynaddsubfx/cmake-build-type-none.patch
+++ /dev/null
@@ -1,12 +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
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 61b3324..0000000
--- a/repo/zynaddsubfx/zynaddsubfx.xibuild
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-NAME="zynaddsubfx"
-DESC="fully featured open source software synthesizer"
-
-MAKEDEPS="cmake pkg-config zlib mxml ntk libx11 liblo fftw libxpm pulseaudio jack alsa-lib doxygen fltk "
-
-PKG_VER=3.0.6
-SOURCE="git://git.code.sf.net/p/zynaddsubfx/code/"
-ADDITIONAL="
-cmake-build-type-none.patch
-fix-bogus-strstr.patch
-fix-memset.patch
-"
-
-prepare () {
- git submodule init
- git submodule update
- apply_patches
-
- 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 \
- -DGuiModule=ntk
- cmake --build build
-}
-
-
-package () {
- DESTDIR="$PKG_DEST" cmake --install build
-}