| @@ -0,0 +1,5 @@ | |||||
| fabla (6:1.4.0+git20251026-1kxstudio3) focal; urgency=medium | |||||
| * Initial package | |||||
| -- falkTX <falktx@falktx.com> Sun, 26 Oct 2025 01:01:15 +0200 | |||||
| @@ -0,0 +1,29 @@ | |||||
| Source: fabla | |||||
| Section: sound | |||||
| Priority: optional | |||||
| Maintainer: falkTX <falktx@falktx.com>, Jeremy Jongepier <jeremy@autostatic.com> | |||||
| Build-Depends: debhelper-compat (= 13), | |||||
| kxstudio-audio-plugin-tester (>= 15), | |||||
| debhelper (>= 9~), | |||||
| cmake, | |||||
| lv2-dev, | |||||
| libcairomm-1.0-dev, | |||||
| libgl1-mesa-dev | libgl-dev, | |||||
| libsndfile-static, | |||||
| ntk-static | |||||
| Standards-Version: 4.5.0 | |||||
| Homepage: http://openavproductions.com/fabla/ | |||||
| XSC-KXStudio-VCS: https://github.com/openAVproductions/openAV-Fabla | |||||
| Rules-Requires-Root: no | |||||
| Package: fabla | |||||
| Architecture: any | |||||
| Depends: ${shlibs:Depends}, ${misc:Depends} | |||||
| Provides: lv2-plugin | |||||
| Description: Fabla drum sampler plugin instrument | |||||
| Fabla is a drum sampler plugin instrument. | |||||
| It is ideal for loading up your favorite sampled sounds and bashing | |||||
| away on a MIDI controller. | |||||
| Or if it’s crafty beat programming your after that’s cool too! | |||||
| The ADSR envelope allows the shaping of hi-hats and kicks while the | |||||
| compressor beefs up the sound for those thumping kicks! | |||||
| @@ -0,0 +1 @@ | |||||
| presets/*.lv2/ /usr/lib/lv2/ | |||||
| @@ -0,0 +1,96 @@ | |||||
| --- fabla-1.4.0+git20251026.orig/dsp/fabla.cxx | |||||
| +++ fabla-1.4.0+git20251026/dsp/fabla.cxx | |||||
| @@ -24,8 +24,8 @@ | |||||
| #include <string.h> | |||||
| #include "shared.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/atom/forge.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/state/state.h" | |||||
| +#include "lv2/atom/forge.h" | |||||
| +#include "lv2/state/state.h" | |||||
| #include "voice.hxx" | |||||
| #include "sample.hxx" | |||||
| --- fabla-1.4.0+git20251026.orig/dsp/shared.h | |||||
| +++ fabla-1.4.0+git20251026/dsp/shared.h | |||||
| @@ -25,12 +25,12 @@ | |||||
| #include <string> | |||||
| #include <sstream> | |||||
| -#include "lv2/lv2plug.in/ns/ext/atom/util.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/log/log.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/log/logger.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/urid/urid.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/worker/worker.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/time/time.h" | |||||
| +#include "lv2/atom/util.h" | |||||
| +#include "lv2/log/log.h" | |||||
| +#include "lv2/log/logger.h" | |||||
| +#include "lv2/urid/urid.h" | |||||
| +#include "lv2/worker/worker.h" | |||||
| +#include "lv2/time/time.h" | |||||
| #define LV2_MIDI__MidiEvent "http://lv2plug.in/ns/ext/midi#MidiEvent" | |||||
| --- fabla-1.4.0+git20251026.orig/gui/fabla.h | |||||
| +++ fabla-1.4.0+git20251026/gui/fabla.h | |||||
| @@ -8,10 +8,10 @@ | |||||
| #include <libgen.h> | |||||
| using namespace Avtk; | |||||
| #include <FL/x.H> | |||||
| -#include "lv2/lv2plug.in/ns/lv2core/lv2.h" | |||||
| +#include "lv2/core/lv2.h" | |||||
| #include <FL/Fl_Box.H> | |||||
| #include "../dsp/ports.h" | |||||
| -#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" | |||||
| +#include "lv2/ui/ui.h" | |||||
| #include "../dsp/shared.h" | |||||
| #include "fabla.hxx" | |||||
| #include "header.c" | |||||
| --- fabla-1.4.0+git20251026.orig/gui/fabla.hxx | |||||
| +++ fabla-1.4.0+git20251026/gui/fabla.hxx | |||||
| @@ -25,7 +25,7 @@ | |||||
| #include "../dsp/ports.h" | |||||
| #include "../dsp/shared.h" | |||||
| -#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" | |||||
| +#include "lv2/ui/ui.h" | |||||
| class FablaUI; | |||||
| --- fabla-1.4.0+git20251026.orig/gui/fabla_ui.cxx | |||||
| +++ fabla-1.4.0+git20251026/gui/fabla_ui.cxx | |||||
| @@ -36,13 +36,13 @@ | |||||
| #include "fabla.hxx" | |||||
| // core spec include | |||||
| -#include "lv2/lv2plug.in/ns/lv2core/lv2.h" | |||||
| +#include "lv2/core/lv2.h" | |||||
| // GUI | |||||
| -#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" | |||||
| +#include "lv2/ui/ui.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/atom/util.h" | |||||
| -//#include "lv2/lv2plug.in/ns/ext/atom/forge.h" | |||||
| +#include "lv2/atom/util.h" | |||||
| +//#include "lv2/atom/forge.h" | |||||
| #include <sndfile.h> | |||||
| --- fabla-1.4.0+git20251026.orig/gui/ui_helpers.cxx | |||||
| +++ fabla-1.4.0+git20251026/gui/ui_helpers.cxx | |||||
| @@ -28,10 +28,10 @@ | |||||
| #include "fabla.hxx" | |||||
| -#include "lv2/lv2plug.in/ns/ext/atom/forge.h" | |||||
| +#include "lv2/atom/forge.h" | |||||
| -#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" | |||||
| -#include "lv2/lv2plug.in/ns/ext/atom/atom.h" | |||||
| +#include "lv2/ui/ui.h" | |||||
| +#include "lv2/atom/atom.h" | |||||
| void initForge(Fabla* self) | |||||
| { | |||||
| @@ -0,0 +1 @@ | |||||
| 01_fix-build.patch | |||||
| @@ -0,0 +1,17 @@ | |||||
| #!/usr/bin/make -f | |||||
| include /usr/share/dpkg/kxstudio-audio-plugin.mk | |||||
| CXXFLAGS += -pthread | |||||
| LDFLAGS += -pthread | |||||
| %: | |||||
| dh $@ | |||||
| override_dh_auto_install: | |||||
| dh_auto_install | |||||
| # $(call kxstudio_audio_plugin_test) | |||||
| # issues on preset data | |||||
| %: | |||||
| dh $@ -Scmake | |||||
| @@ -0,0 +1 @@ | |||||
| 3.0 (quilt) | |||||
| @@ -0,0 +1,5 @@ | |||||
| sorcer (6:1.1.3-1kxstudio4) focal; urgency=medium | |||||
| * Initial package | |||||
| -- falkTX <falktx@falktx.com> Sat, 25 Oct 2025 21:51:03 +0200 | |||||
| @@ -0,0 +1,30 @@ | |||||
| Source: sorcer | |||||
| Section: sound | |||||
| Priority: optional | |||||
| Maintainer: falkTX <falktx@falktx.com>, Jeremy Jongepier <jeremy@autostatic.com> | |||||
| Build-Depends: debhelper-compat (= 13), | |||||
| kxstudio-audio-plugin-tester (>= 15), | |||||
| debhelper (>= 9~), | |||||
| cmake, | |||||
| lv2-dev, | |||||
| libboost-dev, | |||||
| libcairomm-1.0-dev, | |||||
| libgl1-mesa-dev | libgl-dev, | |||||
| libsndfile-static, | |||||
| ntk-static | |||||
| Standards-Version: 4.5.0 | |||||
| Homepage: http://www.openavproductions.com/sorcer | |||||
| XSC-KXStudio-VCS: https://github.com/openAVproductions/openAV-Sorcer | |||||
| Rules-Requires-Root: no | |||||
| Package: sorcer | |||||
| Architecture: any | |||||
| Depends: ${shlibs:Depends}, ${misc:Depends} | |||||
| Provides: lv2-plugin | |||||
| Description: Polyphonic wavetable synth | |||||
| Sorcer is a polyphonic wavetable synth LV2 plugin. | |||||
| Its sonic fingerprint is one of harsh modulated sub-bass driven walls of sound. | |||||
| Two morphing wavetable oscillators and one sine oscillator provide the generation routines. | |||||
| The LFO can be mapped to wavetable modulation as well as filter cutoff. | |||||
| An ADSR allows for shaping the resulting sound, while a master volume finishes the signal chain. | |||||
| Easily creating a variety of dubstep basslines and harsh pad sounds. | |||||
| @@ -0,0 +1,47 @@ | |||||
| From 0a8cef484174aae5c1b7be6710f31a643e7d7197 Mon Sep 17 00:00:00 2001 | |||||
| From: Yuri <yuri@tsoft.com> | |||||
| Date: Sun, 26 Nov 2017 13:11:18 -0800 | |||||
| Subject: [PATCH] cmake: fix ntk include path, add cairo library | |||||
| Moved ntk include path earlier to avoid conflict with fltk | |||||
| Added missing cairo to CMakeLists.txt | |||||
| Fixes #19. | |||||
| --- | |||||
| CMakeLists.txt | 12 +++++++++--- | |||||
| 1 file changed, 9 insertions(+), 3 deletions(-) | |||||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |||||
| index f9f0702..7c0d989 100644 | |||||
| --- a/CMakeLists.txt | |||||
| +++ b/CMakeLists.txt | |||||
| @@ -15,13 +15,17 @@ find_package(PkgConfig) | |||||
| #SET(CMAKE_INSTALL_PREFIX "/usr" ) | |||||
| -pkg_check_modules(LV2 lv2 REQUIRED) | |||||
| -include_directories( ${LV2_INCLUDE_DIRS} ) | |||||
| - | |||||
| pkg_check_modules(NTK ntk REQUIRED) | |||||
| include_directories( ${NTK_INCLUDE_DIRS} ) | |||||
| link_directories ( ${NTK_LIBRARY_DIRS} ) | |||||
| +pkg_check_modules(LV2 lv2 REQUIRED) | |||||
| +include_directories( ${LV2_INCLUDE_DIRS} ) | |||||
| + | |||||
| +pkg_check_modules(CAIRO cairo REQUIRED) | |||||
| +include_directories( ${CAIRO_INCLUDE_DIRS} ) | |||||
| +link_directories ( ${CAIRO_LIBRARY_DIRS} ) | |||||
| + | |||||
| SET(CMAKE_SHARED_LINKER_FLAGS "-fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined") | |||||
| IF(RELEASE_BUILD) | |||||
| @@ -81,6 +85,8 @@ ADD_LIBRARY(sorcer SHARED ${sources}) | |||||
| target_link_libraries( sorcer ${NTK_LIBRARIES} ) | |||||
| #target_link_libraries( sorcer ${SNDFILE_LIBRARIES} ) | |||||
| +target_link_libraries( sorcer ${CAIRO_LIBRARIES} ) | |||||
| + | |||||
| # Remove "lib" part before name (sorcer.so, not libsorcer.so) | |||||
| set_target_properties(sorcer PROPERTIES PREFIX "") | |||||
| @@ -0,0 +1,25 @@ | |||||
| From 4945915eeb096752e728b783c49b580f1710dff7 Mon Sep 17 00:00:00 2001 | |||||
| From: David Runge <dave@sleepmap.de> | |||||
| Date: Thu, 21 May 2020 17:24:48 +0200 | |||||
| Subject: [PATCH] Fixing build with lv2 >= 1.18.0 | |||||
| gui/sorcer_ui.cxx: | |||||
| Replacing all occurrences of _LV2UI_Descriptor with LV2UI_Descriptor as | |||||
| the former has been replaced by the latter with lv2 1.18.0. | |||||
| --- | |||||
| gui/sorcer_ui.cxx | 2 +- | |||||
| 1 file changed, 1 insertion(+), 1 deletion(-) | |||||
| diff --git a/gui/sorcer_ui.cxx b/gui/sorcer_ui.cxx | |||||
| index 60edbe4..3bd25a3 100644 | |||||
| --- a/gui/sorcer_ui.cxx | |||||
| +++ b/gui/sorcer_ui.cxx | |||||
| @@ -44,7 +44,7 @@ typedef struct { | |||||
| LV2UI_Controller controller; | |||||
| } SorcerGUI; | |||||
| -static LV2UI_Handle instantiate(const struct _LV2UI_Descriptor * descriptor, | |||||
| +static LV2UI_Handle instantiate(const struct LV2UI_Descriptor * descriptor, | |||||
| const char * plugin_uri, | |||||
| const char * bundle_path, | |||||
| LV2UI_Write_Function write_function, | |||||
| @@ -0,0 +1,23 @@ | |||||
| From c92747e3ea5994c2f869c277d6901e4cc1b36636 Mon Sep 17 00:00:00 2001 | |||||
| From: Olivier Humbert <trebmuh@users.noreply.github.com> | |||||
| Date: Fri, 30 Dec 2016 23:23:40 +0100 | |||||
| Subject: [PATCH] Update CMakeLists.txt | |||||
| updates version number | |||||
| --- | |||||
| CMakeLists.txt | 2 +- | |||||
| 1 file changed, 1 insertion(+), 1 deletion(-) | |||||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |||||
| index 6114080..f9f0702 100644 | |||||
| --- a/CMakeLists.txt | |||||
| +++ b/CMakeLists.txt | |||||
| @@ -5,7 +5,7 @@ project (sorcer) | |||||
| set(SORCER_VERSION_MAJOR "1") | |||||
| set(SORCER_VERSION_MINOR "1") | |||||
| -set(SORCER_VERSION_PATCH "2") | |||||
| +set(SORCER_VERSION_PATCH "3") | |||||
| set(SORCER_VERSION "${SORCER_VERSION_MAJOR}.${SORCER_VERSION_MINOR}.${SORCER_VERSION_PATCH}") | |||||
| @@ -0,0 +1,47 @@ | |||||
| From cc7f6f58af3188a8620b90fdad6e8ca5d026f543 Mon Sep 17 00:00:00 2001 | |||||
| From: David Runge <dave@sleepmap.de> | |||||
| Date: Thu, 21 May 2020 17:30:27 +0200 | |||||
| Subject: [PATCH] Respecting external CFLAGS, CXXFLAGS and LDFLAGS | |||||
| CMakeLists.txt: | |||||
| Adding BUILD_SSE (similar to artyfx) to add SSE flags. | |||||
| Adding CMAKE_CXX_FLAGS, CMAKE_SHARED_LINKER_FLAGS and CMAKE_C_FLAGS in | |||||
| such a way, that they allow externally set CFLAGS/CXXFLAGS/LDFLAGS | |||||
| (respectively). | |||||
| Removing RELEASE_BUILD specific overrides for CFLAGS/CXXFLAGS. | |||||
| --- | |||||
| CMakeLists.txt | 13 +++++++++---- | |||||
| 1 file changed, 9 insertions(+), 4 deletions(-) | |||||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |||||
| index 7c0d989..ff03515 100644 | |||||
| --- a/CMakeLists.txt | |||||
| +++ b/CMakeLists.txt | |||||
| @@ -10,6 +10,7 @@ set(SORCER_VERSION_PATCH "3") | |||||
| set(SORCER_VERSION "${SORCER_VERSION_MAJOR}.${SORCER_VERSION_MINOR}.${SORCER_VERSION_PATCH}") | |||||
| option(RELEASE_BUILD "Build for production usage" ON ) | |||||
| +option(BUILD_SSE "Build with SSE flags" ON ) | |||||
| find_package(PkgConfig) | |||||
| @@ -26,11 +27,15 @@ pkg_check_modules(CAIRO cairo REQUIRED) | |||||
| include_directories( ${CAIRO_INCLUDE_DIRS} ) | |||||
| link_directories ( ${CAIRO_LIBRARY_DIRS} ) | |||||
| -SET(CMAKE_SHARED_LINKER_FLAGS "-fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined") | |||||
| +SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined") | |||||
| +SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Wno-unused-variable -ffast-math") | |||||
| +SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -W -Wno-unused-variable -ffast-math") | |||||
| -IF(RELEASE_BUILD) | |||||
| - SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math") | |||||
| - SET(CMAKE_C_FLAGS "-g -Wall -W -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math") | |||||
| +IF(BUILD_SSE) | |||||
| + IF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") | |||||
| + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse -ffast-math") | |||||
| + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mfpmath=sse -ffast-math") | |||||
| + ENDIF() | |||||
| ENDIF() | |||||
| ## The following commands will re-generate the .cpp files from the FAUST .dsp, | |||||
| @@ -0,0 +1,43 @@ | |||||
| --- sorcer-1.1.3.orig/faust/main.cpp | |||||
| +++ sorcer-1.1.3/faust/main.cpp | |||||
| @@ -709,10 +709,10 @@ float mydsp::ftbl0[65536]; | |||||
| #include <bitset> | |||||
| #include <boost/circular_buffer.hpp> | |||||
| -#include <lv2/lv2plug.in/ns/lv2core/lv2.h> | |||||
| -#include <lv2/lv2plug.in/ns/ext/dynmanifest/dynmanifest.h> | |||||
| -#include <lv2/lv2plug.in/ns/ext/atom/util.h> | |||||
| -#include <lv2/lv2plug.in/ns/ext/urid/urid.h> | |||||
| +#include <lv2/core/lv2.h> | |||||
| +#include <lv2/dynmanifest/dynmanifest.h> | |||||
| +#include <lv2/atom/util.h> | |||||
| +#include <lv2/urid/urid.h> | |||||
| #ifndef URI_PREFIX | |||||
| #define URI_PREFIX "http://www.openavproductions.com" | |||||
| --- sorcer-1.1.3.orig/gui/sorcer_ui.cxx | |||||
| +++ sorcer-1.1.3/gui/sorcer_ui.cxx | |||||
| @@ -28,10 +28,10 @@ | |||||
| #include "sorcer_widget.h" | |||||
| // core spec include | |||||
| -#include "lv2/lv2plug.in/ns/lv2core/lv2.h" | |||||
| +#include "lv2/core/lv2.h" | |||||
| // GUI | |||||
| -#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" | |||||
| +#include "lv2/ui/ui.h" | |||||
| using namespace std; | |||||
| --- sorcer-1.1.3.orig/gui/sorcer_widget.h | |||||
| +++ sorcer-1.1.3/gui/sorcer_widget.h | |||||
| @@ -4,7 +4,7 @@ | |||||
| #define sorcer_widget_h | |||||
| #include <FL/Fl.H> | |||||
| #include <FL/Fl_Double_Window.H> | |||||
| -#include "lv2/lv2plug.in/ns/extensions/ui/ui.h" | |||||
| +#include "lv2/ui/ui.h" | |||||
| using namespace std; | |||||
| #include "ports.h" | |||||
| #include "avtk.h" | |||||
| @@ -0,0 +1,5 @@ | |||||
| c92747e3ea5994c2f869c277d6901e4cc1b36636.patch | |||||
| 0a8cef484174aae5c1b7be6710f31a643e7d7197.patch | |||||
| 4945915eeb096752e728b783c49b580f1710dff7.patch | |||||
| cc7f6f58af3188a8620b90fdad6e8ca5d026f543.patch | |||||
| fix-build.patch | |||||
| @@ -0,0 +1,17 @@ | |||||
| #!/usr/bin/make -f | |||||
| include /usr/share/dpkg/kxstudio-audio-plugin.mk | |||||
| %: | |||||
| dh $@ | |||||
| override_dh_auto_configure: | |||||
| dh_auto_configure -- -DBUILD_SSE=OFF | |||||
| override_dh_auto_install: | |||||
| dh_auto_install | |||||
| # $(call kxstudio_audio_plugin_test) | |||||
| # issues on UI and missing reported features | |||||
| %: | |||||
| dh $@ -Scmake | |||||
| @@ -0,0 +1 @@ | |||||
| 3.0 (quilt) | |||||