Qtractor can't open Calf Plugins

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: MattKingUSA, khz

User avatar
rncbc
Established Member
Posts: 1061
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 258 times
Contact:

Re: Qtractor can't open Calf Plugins

Post by rncbc »

oscillator wrote:Hi,

still can't use QTractor because of this:

When I create a new clip using menu item Clip, I am presented with the Session dialog. If I click the file selection button (to change the directory), QTractor hangs.

I had the same problem when opening projects but that one disappeared when unchecking the System dialogs setting.
yes, that's the don't "Use desktop environment dialogs" options, and a matter of fact it had no effect on the session directory requester, until... yesterday it is now fixed on git head alright.

meanwhile, you can always write the session directory by hand in the provided entry field, avoid hitting that button on the right ;)
oscillator wrote:But, in

http://www.rncbc.org/drupal/node/1790?p ... mment-7310

Michael had compiled a new version of QTractor which worked!
note that, as Michael states, this is still a qt4 build.

hth.
byee
User avatar
rncbc
Established Member
Posts: 1061
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 258 times
Contact:

Re: Qtractor can't open Calf Plugins

Post by rncbc »

wait

why the hell isn't there suil(-libs) >= 0.8.4 available from the mighty kxstudio repos?

suil 0.8.4, which was released on last november 20, 2016, adds support for LV2 Gtk2 and X11 plugin UIs on Qt5 hosts alright and, must say, that being missing is surely a hindrance to any qtractor-qt5 build and runtime, most esp. re. OP--all Calf LV2 UIs are still plain Gtk2, afaict.

please urge falktx to make suil 0.8.4 ready into the kxstudio repos as soon as... yesterday ;)

byee

[EDIT:] actually, suil 0.8.4 was released even earlier, on september 20, 2016.
Last edited by rncbc on Tue Jan 10, 2017 10:50 pm, edited 1 time in total.
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Qtractor can't open Calf Plugins

Post by Joermungand »

rncbc wrote:why the hell isn't there suil(-libs) >= 0.8.4 available from the mighty kxstudio repos?

suil 0.8.4, which was released on last november 20, 2016
suil is still at 0.8.2 in the official Arch repo, too – which is supposed to provide the latest and greatest. So hold your horses, it’s not singular. Well, we have a -git version in AUR which we can compile, which sort of saves the day for AUR packages, but still. :mrgreen:
User avatar
rncbc
Established Member
Posts: 1061
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 258 times
Contact:

Re: Qtractor can't open Calf Plugins

Post by rncbc »

falkTX wrote:I completely forgot about suil... updated now.
maybe I need to rebuild qtractor, but afaik suil api/abi hasn't changed.
afaics, rebuilding qtractor is not strictly necessary.

thanks
User avatar
rncbc
Established Member
Posts: 1061
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 258 times
Contact:

Re: Qtractor can't open Calf Plugins

Post by rncbc »

falkTX wrote:I completely forgot about suil... updated now.
maybe I need to rebuild qtractor, but afaik suil api/abi hasn't changed.
i confirm that a qtractor build is not actually necessary.

however, i believe libsuil-0 and libsuil-dev must both be built and upgraded to the same level as suil-libs (containing only the libsuil_X_in_Y.so modules).

while playing today on vbox with ubuntu16.04 lts 64bit, with kxstudio_debian+gcc5 repos installed, tried this:

Code: Select all

sudo apt-get install suil-libs
which gives:

Code: Select all

$ dpkg -s suil-libs
Package: suil-libs
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 104
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: suil-static
Version: 2:0.8.5+git20170110-1kxstudio1v5
Depends: libc6 (>= 2.3.4), libgcc1 (>= 1:3.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.0.0), libgtk2.0-0 (>= 2.24.0), libqt5core5a (>= 5.0.2), libqt5gui5 (>= 5.2.0) | libqt5gui5-gles (>= 5.2.0), libqt5widgets5 (>= 5.2.0), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), libx11-6
Conffiles:
 /etc/profile.d/suil.sh 9f1a527caaa9fc7ef6f4bff24765d862
Description: library for loading and wrapping LV2 plugin UIs
 Suil makes it possible to load a UI of any toolkit in a host using
 any other toolkit (assuming the toolkits are both supported by
 Suil). Hosts do not need to build against or link to foreign toolkit
 libraries to use UIs written with that toolkit (Suil performs its
 magic at runtime using dynamically loaded modules). The API
 is designed such that hosts do not need to explicitly support
 particular toolkits whatsoever - if Suil supports a particular
 toolkit, then all hosts that use Suil will support that toolkit
 "for free". Suil currently supports GTK-2+ and Qt4
 .
 This package provides the shared libraries.
Homepage: http://drobilla.net/software/suil/

$ dpkg -L suil-libs
/.
/etc
/etc/profile.d
/etc/profile.d/suil.sh
/opt
/opt/kxstudio
/opt/kxstudio/lib
/opt/kxstudio/lib/suil-0
/opt/kxstudio/lib/suil-0/libsuil_x11_in_gtk3.so
/opt/kxstudio/lib/suil-0/libsuil_gtk2_in_qt5.so
/opt/kxstudio/lib/suil-0/libsuil_x11_in_gtk2.so
/opt/kxstudio/lib/suil-0/libsuil_x11_in_qt4.so
/opt/kxstudio/lib/suil-0/libsuil_qt4_in_gtk2.so
/opt/kxstudio/lib/suil-0/libsuil_x11_in_qt5.so
/opt/kxstudio/lib/suil-0/libsuil_gtk2_in_qt4.so
/usr
/usr/share
/usr/share/doc
/usr/share/doc/suil-libs
/usr/share/doc/suil-libs/copyright
/usr/share/doc/suil-libs/changelog.Debian.gz

shouldn't suil-libs also depend on libsuil-0 and/or libsuil-dev to same version (>= 0.8.5) and be provided from kxstudio repos?

the way it is, it seems, that no qtractor nor even jalv builds may ever pick and link to libsuil modules, at least to the right version (base 16.04lts /xenial provides libsuil-0 and libsuil-dev but still on v0.8.2 though).

tia.
User avatar
rncbc
Established Member
Posts: 1061
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 258 times
Contact:

Re: Qtractor can't open Calf Plugins

Post by rncbc »

falkTX wrote: suil-static is used to build qtractor.
then i'll take it back what i said before: yes, qtractor must then be rebuilt against the newer suil-static v0.8.5+, by all means.

the reason for this is, i believe, that the suil_ui_supported() API call has this implementation logic strategy as hard-coded at compile-time and not quite a dynamic or run-time discovery method.
falkTX wrote: libsuil-0 and libsuil-dev are never used by any application in the kxstudio repositories. ignore those 2.

note the file /etc/profile.d/suil.sh.
it has this single line:

Code: Select all

export SUIL_MODULE_DIR=/opt/kxstudio/lib/suil-0
I know this setup works, it's been like this for years.
but, for one to build qtractor or any other application that links into the so called drobilla's stack (as a matter of fact in kxstudio, lilv/sratom/sord/serd are all -static libs, placed under "/opt/kxtudio/lib", afaict.), you must also have been telling the brave souls who try to build those applications for themselves from source that, at least, PKG_CONFIG_PATH (env var) should include "/opt/kxstudio/lib/pkgconfig", or am i missing something? probably one dang kxstudio -dev package ? ;)

byee
Post Reply