Qtractor can't open Calf Plugins

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

Moderators: falkTX, khz, MattKingUSA

User avatar
falkTX
Establlshed Member
Posts: 5917
Joined: Sat Jan 09, 2010 3:04 pm

Re: Qtractor can't open Calf Plugins

Postby falkTX » Tue Jan 10, 2017 10:09 pm

I completely forgot about suil... updated now.
maybe I need to rebuild qtractor, but afaik suil api/abi hasn't changed.

User avatar
rncbc
Establlshed Member
Posts: 519
Joined: Mon Apr 19, 2010 12:20 pm
Contact:

Re: Qtractor can't open Calf Plugins

Postby rncbc » Tue Jan 10, 2017 10:44 pm

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
Establlshed Member
Posts: 519
Joined: Mon Apr 19, 2010 12:20 pm
Contact:

Re: Qtractor can't open Calf Plugins

Postby rncbc » Wed Jan 11, 2017 11:44 am

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
falkTX
Establlshed Member
Posts: 5917
Joined: Sat Jan 09, 2010 3:04 pm

Re: Qtractor can't open Calf Plugins

Postby falkTX » Wed Jan 11, 2017 12:19 pm

the contents of suil-libs are:

Code: Select all

/etc/profile.d/suil.sh
/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

that's all that is needed, nothing more.

suil-static is used to build qtractor.
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.

User avatar
rncbc
Establlshed Member
Posts: 519
Joined: Mon Apr 19, 2010 12:20 pm
Contact:

Re: Qtractor can't open Calf Plugins

Postby rncbc » Wed Jan 11, 2017 12:45 pm

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

User avatar
falkTX
Establlshed Member
Posts: 5917
Joined: Sat Jan 09, 2010 3:04 pm

Re: Qtractor can't open Calf Plugins

Postby falkTX » Wed Jan 11, 2017 4:17 pm

I should make one kxstudio-dev package indeed.
But the point of the repos is usually that you shouldn't need to build stuff yourself. :lol:

anyway, qtractor on gcc5 repos rebuild incoming.


Return to “KXStudio Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest