Skip to content

Commit 37356ea

Browse files
committed
Add fabla and sorcer
Signed-off-by: falkTX <falktx@falktx.com>
1 parent ebaa842 commit 37356ea

17 files changed

Lines changed: 393 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fabla (6:1.4.0+git20251026-1kxstudio3) focal; urgency=medium
2+
3+
* Initial package
4+
5+
-- falkTX <falktx@falktx.com> Sun, 26 Oct 2025 01:01:15 +0200
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Source: fabla
2+
Section: sound
3+
Priority: optional
4+
Maintainer: falkTX <falktx@falktx.com>, Jeremy Jongepier <jeremy@autostatic.com>
5+
Build-Depends: debhelper-compat (= 13),
6+
kxstudio-audio-plugin-tester (>= 15),
7+
debhelper (>= 9~),
8+
cmake,
9+
lv2-dev,
10+
libcairomm-1.0-dev,
11+
libgl1-mesa-dev | libgl-dev,
12+
libsndfile-static,
13+
ntk-static
14+
Standards-Version: 4.5.0
15+
Homepage: http://openavproductions.com/fabla/
16+
XSC-KXStudio-VCS: https://github.com/openAVproductions/openAV-Fabla
17+
Rules-Requires-Root: no
18+
19+
Package: fabla
20+
Architecture: any
21+
Depends: ${shlibs:Depends}, ${misc:Depends}
22+
Provides: lv2-plugin
23+
Description: Fabla drum sampler plugin instrument
24+
Fabla is a drum sampler plugin instrument.
25+
It is ideal for loading up your favorite sampled sounds and bashing
26+
away on a MIDI controller.
27+
Or if it’s crafty beat programming your after that’s cool too!
28+
The ADSR envelope allows the shaping of hi-hats and kicks while the
29+
compressor beefs up the sound for those thumping kicks!
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
presets/*.lv2/ /usr/lib/lv2/
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
--- fabla-1.4.0+git20251026.orig/dsp/fabla.cxx
2+
+++ fabla-1.4.0+git20251026/dsp/fabla.cxx
3+
@@ -24,8 +24,8 @@
4+
#include <string.h>
5+
6+
#include "shared.h"
7+
-#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
8+
-#include "lv2/lv2plug.in/ns/ext/state/state.h"
9+
+#include "lv2/atom/forge.h"
10+
+#include "lv2/state/state.h"
11+
12+
#include "voice.hxx"
13+
#include "sample.hxx"
14+
--- fabla-1.4.0+git20251026.orig/dsp/shared.h
15+
+++ fabla-1.4.0+git20251026/dsp/shared.h
16+
@@ -25,12 +25,12 @@
17+
#include <string>
18+
#include <sstream>
19+
20+
-#include "lv2/lv2plug.in/ns/ext/atom/util.h"
21+
-#include "lv2/lv2plug.in/ns/ext/log/log.h"
22+
-#include "lv2/lv2plug.in/ns/ext/log/logger.h"
23+
-#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
24+
-#include "lv2/lv2plug.in/ns/ext/worker/worker.h"
25+
-#include "lv2/lv2plug.in/ns/ext/time/time.h"
26+
+#include "lv2/atom/util.h"
27+
+#include "lv2/log/log.h"
28+
+#include "lv2/log/logger.h"
29+
+#include "lv2/urid/urid.h"
30+
+#include "lv2/worker/worker.h"
31+
+#include "lv2/time/time.h"
32+
33+
#define LV2_MIDI__MidiEvent "http://lv2plug.in/ns/ext/midi#MidiEvent"
34+
35+
--- fabla-1.4.0+git20251026.orig/gui/fabla.h
36+
+++ fabla-1.4.0+git20251026/gui/fabla.h
37+
@@ -8,10 +8,10 @@
38+
#include <libgen.h>
39+
using namespace Avtk;
40+
#include <FL/x.H>
41+
-#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
42+
+#include "lv2/core/lv2.h"
43+
#include <FL/Fl_Box.H>
44+
#include "../dsp/ports.h"
45+
-#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
46+
+#include "lv2/ui/ui.h"
47+
#include "../dsp/shared.h"
48+
#include "fabla.hxx"
49+
#include "header.c"
50+
--- fabla-1.4.0+git20251026.orig/gui/fabla.hxx
51+
+++ fabla-1.4.0+git20251026/gui/fabla.hxx
52+
@@ -25,7 +25,7 @@
53+
#include "../dsp/ports.h"
54+
#include "../dsp/shared.h"
55+
56+
-#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
57+
+#include "lv2/ui/ui.h"
58+
59+
60+
class FablaUI;
61+
--- fabla-1.4.0+git20251026.orig/gui/fabla_ui.cxx
62+
+++ fabla-1.4.0+git20251026/gui/fabla_ui.cxx
63+
@@ -36,13 +36,13 @@
64+
#include "fabla.hxx"
65+
66+
// core spec include
67+
-#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
68+
+#include "lv2/core/lv2.h"
69+
70+
// GUI
71+
-#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
72+
+#include "lv2/ui/ui.h"
73+
74+
-#include "lv2/lv2plug.in/ns/ext/atom/util.h"
75+
-//#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
76+
+#include "lv2/atom/util.h"
77+
+//#include "lv2/atom/forge.h"
78+
79+
#include <sndfile.h>
80+
81+
--- fabla-1.4.0+git20251026.orig/gui/ui_helpers.cxx
82+
+++ fabla-1.4.0+git20251026/gui/ui_helpers.cxx
83+
@@ -28,10 +28,10 @@
84+
85+
#include "fabla.hxx"
86+
87+
-#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
88+
+#include "lv2/atom/forge.h"
89+
90+
-#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
91+
-#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
92+
+#include "lv2/ui/ui.h"
93+
+#include "lv2/atom/atom.h"
94+
95+
void initForge(Fabla* self)
96+
{
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
01_fix-build.patch

‎sources/plugins/fabla/debian/rules‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/make -f
2+
3+
include /usr/share/dpkg/kxstudio-audio-plugin.mk
4+
5+
CXXFLAGS += -pthread
6+
LDFLAGS += -pthread
7+
8+
%:
9+
dh $@
10+
11+
override_dh_auto_install:
12+
dh_auto_install
13+
# $(call kxstudio_audio_plugin_test)
14+
# issues on preset data
15+
16+
%:
17+
dh $@ -Scmake
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sorcer (6:1.1.3-1kxstudio4) focal; urgency=medium
2+
3+
* Initial package
4+
5+
-- falkTX <falktx@falktx.com> Sat, 25 Oct 2025 21:51:03 +0200
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Source: sorcer
2+
Section: sound
3+
Priority: optional
4+
Maintainer: falkTX <falktx@falktx.com>, Jeremy Jongepier <jeremy@autostatic.com>
5+
Build-Depends: debhelper-compat (= 13),
6+
kxstudio-audio-plugin-tester (>= 15),
7+
debhelper (>= 9~),
8+
cmake,
9+
lv2-dev,
10+
libboost-dev,
11+
libcairomm-1.0-dev,
12+
libgl1-mesa-dev | libgl-dev,
13+
libsndfile-static,
14+
ntk-static
15+
Standards-Version: 4.5.0
16+
Homepage: http://www.openavproductions.com/sorcer
17+
XSC-KXStudio-VCS: https://github.com/openAVproductions/openAV-Sorcer
18+
Rules-Requires-Root: no
19+
20+
Package: sorcer
21+
Architecture: any
22+
Depends: ${shlibs:Depends}, ${misc:Depends}
23+
Provides: lv2-plugin
24+
Description: Polyphonic wavetable synth
25+
Sorcer is a polyphonic wavetable synth LV2 plugin.
26+
Its sonic fingerprint is one of harsh modulated sub-bass driven walls of sound.
27+
Two morphing wavetable oscillators and one sine oscillator provide the generation routines.
28+
The LFO can be mapped to wavetable modulation as well as filter cutoff.
29+
An ADSR allows for shaping the resulting sound, while a master volume finishes the signal chain.
30+
Easily creating a variety of dubstep basslines and harsh pad sounds.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
From 0a8cef484174aae5c1b7be6710f31a643e7d7197 Mon Sep 17 00:00:00 2001
2+
From: Yuri <yuri@tsoft.com>
3+
Date: Sun, 26 Nov 2017 13:11:18 -0800
4+
Subject: [PATCH] cmake: fix ntk include path, add cairo library
5+
6+
Moved ntk include path earlier to avoid conflict with fltk
7+
Added missing cairo to CMakeLists.txt
8+
9+
Fixes #19.
10+
---
11+
CMakeLists.txt | 12 +++++++++---
12+
1 file changed, 9 insertions(+), 3 deletions(-)
13+
14+
diff --git a/CMakeLists.txt b/CMakeLists.txt
15+
index f9f0702..7c0d989 100644
16+
--- a/CMakeLists.txt
17+
+++ b/CMakeLists.txt
18+
@@ -15,13 +15,17 @@ find_package(PkgConfig)
19+
20+
#SET(CMAKE_INSTALL_PREFIX "/usr" )
21+
22+
-pkg_check_modules(LV2 lv2 REQUIRED)
23+
-include_directories( ${LV2_INCLUDE_DIRS} )
24+
-
25+
pkg_check_modules(NTK ntk REQUIRED)
26+
include_directories( ${NTK_INCLUDE_DIRS} )
27+
link_directories ( ${NTK_LIBRARY_DIRS} )
28+
29+
+pkg_check_modules(LV2 lv2 REQUIRED)
30+
+include_directories( ${LV2_INCLUDE_DIRS} )
31+
+
32+
+pkg_check_modules(CAIRO cairo REQUIRED)
33+
+include_directories( ${CAIRO_INCLUDE_DIRS} )
34+
+link_directories ( ${CAIRO_LIBRARY_DIRS} )
35+
+
36+
SET(CMAKE_SHARED_LINKER_FLAGS "-fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined")
37+
38+
IF(RELEASE_BUILD)
39+
@@ -81,6 +85,8 @@ ADD_LIBRARY(sorcer SHARED ${sources})
40+
target_link_libraries( sorcer ${NTK_LIBRARIES} )
41+
#target_link_libraries( sorcer ${SNDFILE_LIBRARIES} )
42+
43+
+target_link_libraries( sorcer ${CAIRO_LIBRARIES} )
44+
+
45+
# Remove "lib" part before name (sorcer.so, not libsorcer.so)
46+
set_target_properties(sorcer PROPERTIES PREFIX "")
47+

0 commit comments

Comments
 (0)