@@ -0,0 +1,18 @@ | |||||
# Shared Code/Data | |||||
/usr/share/cadence/src/shared.py | |||||
/usr/share/cadence/src/shared_cadence.py | |||||
/usr/share/cadence/src/shared_canvasjack.py | |||||
/usr/share/cadence/src/shared_settings.py | |||||
/usr/share/cadence/src/resources_rc.py | |||||
/usr/share/cadence/src/ui_settings_app.py | |||||
# Shared Modules | |||||
/usr/share/cadence/src/jacklib.py | |||||
/usr/share/cadence/src/jacklib_helpers.py | |||||
/usr/share/cadence/src/patchcanvas.py | |||||
/usr/share/cadence/src/patchcanvas_theme.py | |||||
/usr/share/cadence/src/systray.py | |||||
# Widgets | |||||
/usr/share/cadence/src/canvaspreviewframe.py | |||||
/usr/share/cadence/src/clickablelabel.py |
@@ -0,0 +1,18 @@ | |||||
# Binaries | |||||
/usr/bin/cadence-* | |||||
# Tools | |||||
/usr/share/cadence/src/cadence_aloop_daemon.py | |||||
/usr/share/cadence/src/cadence_session_start.py | |||||
/usr/share/cadence/src/jacksettings.py | |||||
/usr/share/cadence/src/logs.py | |||||
/usr/share/cadence/src/render.py | |||||
# UI | |||||
/usr/share/cadence/src/ui_logs.py | |||||
/usr/share/cadence/src/ui_render.py | |||||
/usr/share/cadence/src/ui_settings_jack.py | |||||
# Other | |||||
/usr/share/cadence/pulse2jack/ | |||||
/usr/share/cadence/pulse2loopback/ |
@@ -0,0 +1,4 @@ | |||||
data/unity/cadence-unity-support /usr/bin/ | |||||
data/unity/cadence-unity-support.desktop /usr/share/applications/ | |||||
data/unity/cadence-unity-support.desktop /etc/xdg/autostart/ |
@@ -0,0 +1,10 @@ | |||||
/usr/bin/cadence | |||||
/usr/share/cadence/src/cadence.py | |||||
/usr/share/cadence/src/ui_cadence.py | |||||
/usr/share/cadence/src/ui_cadence_*.py | |||||
/etc/xdg/autostart/cadence-session-start.desktop | |||||
/usr/share/applications/cadence.desktop | |||||
/usr/share/icons/hicolor/*/apps/cadence.* | |||||
/etc/X11/Xsession.d/61-cadence-session-inject.sh |
@@ -0,0 +1,7 @@ | |||||
/usr/bin/catarina | |||||
/usr/share/cadence/src/catarina.py | |||||
/usr/share/cadence/src/ui_catarina.py | |||||
/usr/share/cadence/src/ui_catarina_*.py | |||||
/usr/share/applications/catarina.desktop | |||||
/usr/share/icons/hicolor/*/apps/catarina.* |
@@ -0,0 +1,7 @@ | |||||
/usr/bin/catia | |||||
/usr/share/cadence/src/catia.py | |||||
/usr/share/cadence/src/ui_catia.py | |||||
/usr/share/applications/catia.desktop | |||||
/usr/share/icons/hicolor/*/apps/catia.* | |||||
@@ -0,0 +1,5 @@ | |||||
cadence (6:0.9.2-1kxstudio1) focal; urgency=medium | |||||
* Initial package | |||||
-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 |
@@ -0,0 +1,13 @@ | |||||
/usr/bin/claudia | |||||
/usr/bin/claudia-launcher | |||||
/usr/share/cadence/src/claudia.py | |||||
/usr/share/cadence/src/claudia_database.py | |||||
/usr/share/cadence/src/claudia_launcher.py | |||||
/usr/share/cadence/src/ui_claudia.py | |||||
/usr/share/cadence/src/ui_claudia_*.py | |||||
/usr/share/cadence/icons/ | |||||
/usr/share/cadence/templates/ | |||||
/usr/share/applications/claudia*.desktop | |||||
/usr/share/icons/hicolor/*/apps/claudia* |
@@ -0,0 +1,83 @@ | |||||
Source: cadence | |||||
Section: sound | |||||
Priority: optional | |||||
Maintainer: falkTX <falktx@falktx.com> | |||||
Build-Depends: debhelper-compat (= 13), | |||||
pkg-config, | |||||
qtbase5-dev, | |||||
qtbase5-dev-tools, | |||||
python3-pyqt5, | |||||
pyqt5-dev-tools | |||||
Standards-Version: 4.5.0 | |||||
Homepage: https://kx.studio/Applications:Cadence | |||||
Rules-Requires-Root: no | |||||
Package: cadence | |||||
Architecture: all | |||||
Depends: ${misc:Depends}, cadence-tools, catia, claudia | catarina | |||||
Recommends: a2jmidid | |||||
Description: JACK audio toolbox | |||||
Cadence is a set of tools useful for audio production. | |||||
. | |||||
This package contains the main application. | |||||
Package: cadence-data | |||||
Architecture: all | |||||
Depends: ${misc:Depends}, python3-pyqt5, python3-pyqt5.qtsvg | |||||
Description: JACK audio toolbox (data files) | |||||
Cadence is a set of tools useful for audio production. | |||||
. | |||||
This package contains the shared data and modules. | |||||
Package: cadence-unity-support | |||||
Architecture: all | |||||
Depends: ${misc:Depends}, cadence, gir1.2-unity-5.0 | |||||
Suggests: unity | |||||
Description: JACK audio toolbox (Unity support) | |||||
Cadence is a set of tools useful for audio production. | |||||
. | |||||
This package contains a small daemon that shows JACK | |||||
related data in the Cadence icon when using Unity. | |||||
Package: cadence-tools | |||||
Architecture: any | |||||
Depends: ${shlibs:Depends}, ${misc:Depends}, cadence-data, | |||||
dbus-x11, python3-dbus, python3-dbus.mainloop.pyqt5, jack-capture | |||||
Recommends: python3-pyqt5.qtopengl, pulseaudio-module-jack | |||||
Description: JACK audio toolbox (small tools) | |||||
Cadence is a set of tools useful for audio production. | |||||
. | |||||
This package contains the small tools used in Cadence. | |||||
Package: catarina | |||||
Architecture: all | |||||
Depends: ${misc:Depends}, cadence-data | |||||
Description: cadence patchbay (test application) | |||||
Catarina is a testing ground for the 'PatchCanvas' | |||||
module used in the Cadence tools. | |||||
Package: catia | |||||
Architecture: all | |||||
Depends: ${misc:Depends}, cadence-tools | |||||
Recommends: a2jmidid | |||||
Description: extended JACK patchbay | |||||
Catia is a nice JACK Audio Patchbay with A2J Bridge integration. | |||||
It also includes Jack Transport support and the ability to | |||||
render jack projects. | |||||
. | |||||
This package is part of the Cadence tools. | |||||
Package: claudia | |||||
Architecture: all | |||||
Depends: ${misc:Depends}, cadence-tools, ladish | |||||
Recommends: a2jmidid | |||||
Description: extended ladish frontend | |||||
Claudia is a Graphical User Interface to LADISH. | |||||
. | |||||
It has more features than gladish, including: | |||||
- Jack Transport | |||||
- Configurable Canvas | |||||
- App Templates | |||||
- Render projects (realtime or freewheel mode) | |||||
. | |||||
This package is part of the Cadence tools. |
@@ -0,0 +1,11 @@ | |||||
--- cadence-0.8~beta2.orig/src/claudia_database.py | |||||
+++ cadence-0.8~beta2/src/claudia_database.py | |||||
@@ -19,7 +19,7 @@ LEVEL_NSM = "NSM" | |||||
TEMPLATE_YES = "Yes" | |||||
TEMPLATE_NO = "No" | |||||
-USING_KXSTUDIO = False | |||||
+USING_KXSTUDIO = True | |||||
# ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |||||
# DAW |
@@ -0,0 +1,42 @@ | |||||
diff --git a/src/cadence.py b/src/cadence.py | |||||
index 277abcd..699b0f0 100755 | |||||
--- a/src/cadence.py | |||||
+++ b/src/cadence.py | |||||
@@ -2135,7 +2135,7 @@ class CadenceMainW(QMainWindow, ui_cadence.Ui_CadenceMainW): | |||||
usingAlsaLoop = bool(GlobalSettings.value("ALSA-Audio/BridgeIndexType", iAlsaFileNone, type=int) == iAlsaFileLoop) | |||||
- self.cb_jack_autostart.setChecked(GlobalSettings.value("JACK/AutoStart", False, type=bool)) | |||||
+ self.cb_jack_autostart.setChecked(GlobalSettings.value("JACK/AutoStart", wantJackStart, type=bool)) | |||||
self.cb_a2j_autostart.setChecked(GlobalSettings.value("A2J/AutoStart", True, type=bool)) | |||||
self.cb_pulse_autostart.setChecked(GlobalSettings.value("Pulse2JACK/AutoStart", havePulseAudio and not usingAlsaLoop, type=bool)) | |||||
diff --git a/src/cadence_session_start.py b/src/cadence_session_start.py | |||||
index 9c97f49..1fa6068 100755 | |||||
--- a/src/cadence_session_start.py | |||||
+++ b/src/cadence_session_start.py | |||||
@@ -43,7 +43,7 @@ def forceReset(): | |||||
# Start JACK, A2J and Pulse, according to user settings | |||||
def startSession(systemStarted): | |||||
# Check if JACK is set to auto-start | |||||
- if systemStarted and not GlobalSettings.value("JACK/AutoStart", False, type=bool): | |||||
+ if systemStarted and not GlobalSettings.value("JACK/AutoStart", wantJackStart, type=bool): | |||||
print("JACK is set to NOT auto-start on login") | |||||
return True | |||||
diff --git a/src/shared_cadence.py b/src/shared_cadence.py | |||||
index 92c597e..67f9b9c 100644 | |||||
--- a/src/shared_cadence.py | |||||
+++ b/src/shared_cadence.py | |||||
@@ -69,6 +69,11 @@ iAlsaFileMax = 4 | |||||
GlobalSettings = QSettings("Cadence", "GlobalSettings") | |||||
# ------------------------------------------------------------------------------------------------------------ | |||||
+# KXStudio Check | |||||
+ | |||||
+wantJackStart = os.path.exists("/usr/share/kxstudio/config/config/Cadence/GlobalSettings.conf") | |||||
+ | |||||
+# ------------------------------------------------------------------------------------------------------------ | |||||
# Get Process list | |||||
def getProcList(): |
@@ -0,0 +1,2 @@ | |||||
claudia-db-kxstudio.patch | |||||
#kxstudio-jack-autostart.patch |
@@ -0,0 +1,9 @@ | |||||
#!/usr/bin/make -f | |||||
include /usr/share/dpkg/kxstudio.mk | |||||
%: | |||||
dh $@ | |||||
override_dh_auto_install: | |||||
dh_auto_install -- PREFIX=/usr |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |
@@ -0,0 +1 @@ | |||||
3.0 (quilt) |