Patchance-1.3.0/ 0000755 0001750 0001750 00000000000 15102102326 014765 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/data/ 0000755 0001750 0001750 00000000000 15102102322 015672 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/data/bin/ 0000755 0001750 0001750 00000000000 15102102322 016442 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/data/bin/patchance 0000755 0001750 0001750 00000000426 15102102322 020320 0 ustar houstonlzk5 houstonlzk5 #!/usr/bin/env python3
import sys
from pathlib import Path
from typing import TYPE_CHECKING
sys.path[0] = str(Path(__file__).parents[1] / 'share' / 'patchance' / 'src')
if TYPE_CHECKING:
import src.patchance as patchance
else:
import patchance
patchance.main_loop()
Patchance-1.3.0/data/share/ 0000755 0001750 0001750 00000000000 15102102322 016774 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/data/share/applications/ 0000755 0001750 0001750 00000000000 15102102322 021462 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/data/share/applications/patchance.desktop 0000644 0001750 0001750 00000000320 15102102322 024776 0 ustar houstonlzk5 houstonlzk5 [Desktop Entry]
Name=Patchance
GenericName=Patchance
Comment=Jack Patchbay
Comment[fr]=Baie de brassage pour JACK
Exec=patchance
Icon=patchance
Terminal=false
Type=Application
Categories=AudioVideo;Audio;Qt;
Patchance-1.3.0/INSTALL.md 0000644 0001750 0001750 00000005067 15102102322 016421 0 ustar houstonlzk5 houstonlzk5 # Preparing the source tree
If you just cloned the git repository, make sure you also
cloned the submodules, which you can do using:
`$ git submodule update --init`
# Building
## Build dependencies
The required build dependencies are: (devel packages of these)
- PyQt6 (or PyQt5)
- Qt6 dev tools (or Qt5 dev tools)
- qtchooser (only for translations)
- qttools5-dev-tools (only for translations, works for Qt5 and Qt6)
The difficulty with Qt6 build (which is the default), is sometimes to get the following executables:
- rcc
- lrelease
By chance, the compilation should work even if theses 2 tools are supposed to work with Qt5.
On Debian and Ubuntu, use these commands as root to install all build
dependencies:
- for Qt6 build:
`$ [sudo] apt install pyqt6-dev-tools qt6-base-dev-tools qtchooser qttools5-dev-tools`
- for Qt5 build:
`$ [sudo] apt install pyqt5-dev-tools qtchooser qttools5-dev-tools`
To build Patchance, simply run as usual:
`$ make`
if you prefer to build it with Qt5:
`$ QT_VERSION=5 make`
Depending of the distribution you might need to use the LRELEASE variable
to build. If you don't have 'lrelease' executable but 'lrelease-qt5' use:
`$ make LRELEASE=lrelease-qt5`
on Debian, you probably need to set RCC this way:
`$ RCC=/usr/lib/qt6/libexec/rcc make`
# Installing
To install Patchance, simply run as usual:
`$ [sudo] make install`
Packagers can make use of the 'PREFIX' and 'DESTDIR' variable during install,
like this:
`$ [sudo] make install PREFIX=/usr DESTDIR=./test-dir`
# Uninstalling
To uninstall Patchance, run:
`$ [sudo] make uninstall`
# Runtime dependencies
To run it, you'll additionally need:
- qt6-svg-plugins (or probably libqt5svg5 for Qt5)
- python3-pyqt6 (or python3-pyqt5 for Qt5)
- python3-pyqt6.qtsvg (or python3-pyqt5 for Qt5)
- python3-qtpy
- python3-jack-client
- python3-pyliblo3 (or python3-liblo, depending on what is available)
- git (not absolutely required but highly recommended)
- python3-pyalsa (recommended)
- Roboto font family (used by default patchbay theme)
To install runtime dependencies on debian based systems, run:
`[sudo] apt install qt6-svg-plugins python3-pyqt6 python3-pyqt6.qtsvg python3-qtpy python3-jack-client python3-pyalsa fonts-roboto`
IMPORTANT: since python 3.11, because pyliblo has been totally abandonned
by Dominic Sacre, for liblo you need to use the following fork:
https://github.com/gesellkammer/pyliblo3
Simply install it with:
`$ python3 -m pip install pyliblo3`
# Running
You can run Patchance without install, by using:
`$ ./src/patchance.py`
Patchance-1.3.0/resources/ 0000755 0001750 0001750 00000000000 15102102322 016773 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/resources/ui/ 0000755 0001750 0001750 00000000000 15102102322 017410 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/resources/ui/main_win.ui 0000644 0001750 0001750 00000014361 15102102322 021555 0 ustar houstonlzk5 houstonlzk5
MainWindow
0
0
984
657
Patchance
2
2
2
2
2
-
-
-
QGraphicsView{border: none}
-
QFrame::StyledPanel
QFrame::Raised
toolBar
false
Qt::BottomToolBarArea|Qt::TopToolBarArea
Qt::ToolButtonIconOnly
false
TopToolBarArea
false
toolBar_2
false
false
TopToolBarArea
false
toolBar_2
false
false
TopToolBarArea
false
toolBar_2
false
false
TopToolBarArea
false
true
..
Show Menu Bar
Ctrl+M
..
Quit
:/main_icon/scalable/patchance.svg:/main_icon/scalable/patchance.svg
About Patchance
..
About Qt
..
Menu
Donate
PatchFilterFrame
QFrame
1
PatchGraphicsView
QGraphicsView
PatchanceToolBar
QToolBar
Patchance-1.3.0/resources/ui/donations.ui 0000644 0001750 0001750 00000014757 15102102322 021763 0 ustar houstonlzk5 houstonlzk5
Dialog
0
0
707
445
Donations
-
-
QToolButton{border:none}
...
:/scalable/breeze/handshake-deal.svg:/scalable/breeze/handshake-deal.svg
256
256
-
Qt::Horizontal
QSizePolicy::Fixed
6
20
-
-
<html><head/><body><p>Hi !</p><p>If you appreciate <span style=" font-weight:600;">Patchance</span>, this is already good news.<br/>This software is free as in Speech and as in Beer, but developing this program requires an incredibly unreasonable amount of time in relation to the donations associated with it.</p><p>Donations can help reduce the amount of time I spend on subordinate work, allowing me to develop new features. There is still so much to do...</p><p>Make a donation (even small) can also be a simple way to say "Thank you".</p></body></html>
true
false
-
Qt::Vertical
20
40
-
-
Donate on LiberaPay
:/scalable/liberapay_logo_black-on-yellow.svg:/scalable/liberapay_logo_black-on-yellow.svg
32
32
Qt::ToolButtonTextBesideIcon
-
Qt::Vertical
20
40
-
<html><head/><body><p>If ever you donate nothing, this program will continue to work without limits of functionnality, without limit of duration, and even without insulting you ;) .</p></body></html>
true
-
Qt::Vertical
20
40
-
-
Do not show this message again
false
-
Qt::Horizontal
QDialogButtonBox::Ok
buttonBox
accepted()
Dialog
accept()
248
254
157
274
buttonBox
rejected()
Dialog
reject()
316
260
286
274
Patchance-1.3.0/resources/ui/about_patchance.ui 0000644 0001750 0001750 00000007020 15102102322 023066 0 ustar houstonlzk5 houstonlzk5
DialogAboutPatchance
0
0
550
310
About Patchance
-
-
0
0
:/main_icon/128x128/patchance.png
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
<html><head/><body><p><span style=" font-weight:600;">Patchance</span></p><p>version : %s</p></body></html>
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
<html><head/><body><p>Patchance is a python Qt application to manage JACK connections.</p><p>If you want the same patchbay with session management, you can use RaySession instead.</p><p>It uses the HoustonPatchbay submodule for the canvas.<br/></p><p align="right">Copyright (C) 2022-2023 houston4444</p><p><br/></p></body></html>
true
true
-
Qt::Horizontal
QDialogButtonBox::Ok
buttonBox
accepted()
DialogAboutPatchance
accept()
248
254
157
274
buttonBox
rejected()
DialogAboutPatchance
reject()
316
260
286
274
Patchance-1.3.0/resources/main_icon/ 0000755 0001750 0001750 00000000000 15102102322 020727 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/resources/main_icon/256x256/ 0000755 0001750 0001750 00000000000 15102102322 021670 5 ustar houstonlzk5 houstonlzk5 Patchance-1.3.0/resources/main_icon/256x256/patchance.png 0000644 0001750 0001750 00000032647 15102102322 024340 0 ustar houstonlzk5 houstonlzk5 PNG
IHDR \rf gAMA a cHRM z&