Package Details: carla-git 1:2.5.1.r415.gdd092c74a-1

Git Clone URL: https://aur.archlinux.org/carla-git.git (read-only, click to copy)
Package Base: carla-git
Description: Audio Plugin Host
Upstream URL: https://kx.studio/Applications:Carla
Keywords: daw host plugin vst2 vst3
Licenses: GPL2
Groups: lv2-plugins, vst-plugins, pro-audio
Conflicts: carla
Provides: carla, clap-host, dssi-host, ladspa-host, lv2-host, vst-host, vst3-host
Submitter: cocreature
Maintainer: SpotlightKid (Joermungand)
Last Packager: SpotlightKid
Votes: 24
Popularity: 0.000198
First Submitted: 2013-10-11 12:29 (UTC)
Last Updated: 2023-09-13 09:45 (UTC)

Dependencies (30)

Required by (171)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 13 Next › Last »

dvzrv commented on 2019-07-10 08:22 (UTC)

@SpotlightKid: No, the patch is relevant for qt5 >= 5.13 (only actually). The qt4 bits stay in place, but for qt5 it's relevant as some parts of the code otherwise get namespaced and lead to compiler errors.

SpotlightKid commented on 2019-07-09 10:54 (UTC)

@Teteros: Isn't this patch only relevant, if you compile with Qt4 support at all? This PKGBUILD recently turned off Qt4 support by passing HAVE_QT4=false to make.

Teteros commented on 2019-07-06 03:08 (UTC) (edited on 2019-07-06 03:12 (UTC) by Teteros)

Fails to build currently on gcc9 and Qt >= 5.13

https://github.com/falkTX/Carla/issues/894

Patch from PR #895 fixes compile:

fix_qt5.13_moc.patch

diff --git a/source/bridges-ui/CarlaBridgeToolkitQt.cpp b/source/bridges-ui/CarlaBridgeToolkitQt.cpp
index 81478fd3..0fbae9cf 100644
--- a/source/bridges-ui/CarlaBridgeToolkitQt.cpp
+++ b/source/bridges-ui/CarlaBridgeToolkitQt.cpp
@@ -263,9 +263,7 @@ private:
 # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
 #endif

-#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
-# include "CarlaBridgeToolkitQt5.moc"
-#else
+#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
 # include "CarlaBridgeToolkitQt4.moc"
 #endif

@@ -286,6 +284,21 @@ CARLA_BRIDGE_UI_END_NAMESPACE

 // -------------------------------------------------------------------------

+#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
+#endif
+
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
+# include "CarlaBridgeToolkitQt5.moc"
+#endif
+
+#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
+# pragma GCC diagnostic pop
+#endif
+
+// -------------------------------------------------------------------------
+
 #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
 # pragma GCC diagnostic push
 # pragma GCC diagnostic ignored "-Wmissing-declarations"

You can apply in the PKGBUILD as usual:

source=("$pkgname"::"git://github.com/falkTX/Carla.git" "fix_qt5.13_moc.patch")
md5sums=('SKIP' 'SKIP')

prepare() {
  cd "$srcdir/$pkgname"
  patch -p1 < "$srcdir/fix_qt5.13_moc.patch"
}

SpotlightKid commented on 2019-06-29 16:47 (UTC)

@milk: I just pushed a new version, which drops support for Qt4 completely. If you want to use LV2 plugins with a Qt4 GUI with Carla, you have to edit the PKGBUILD file and remove the HAVE_QT=false lines (and install the qt4 AUR package of course) and rebuild.

SpotlightKid commented on 2019-06-24 09:49 (UTC)

@milk: I didn't realize, 'qt4' is in the AUR now (on Manjaro, it seems, it is still in the 'community' repos). Alas, to build the LV2 bridge for LV2 plugins using Qt4, you still need Qt4 at compile time. But at least on my system there seem to be no LV2 plugins actually linked against Qt4.

Here's the command I'm using to check:

find /usr/lib/lv2/ -name "*.so" | while read so; do ldd "$so" | grep -H 'QtCore\.so\.4' ; done

Let me think about this for a day or two...

milkii commented on 2019-06-23 16:28 (UTC)

Can qt4 be removed from makedepends as it is in optdepends? Qt4 takes two hours to build on my system and I want shot of it.

SpotlightKid commented on 2019-05-02 17:01 (UTC)

'qt5' is indirectly required by 'python-pyqt5', which is in the 'depends' list. All 'depends' packages are automatically make dependencies as well. 'qt4' is only in 'makedepends' and in 'optdepends', because it is only required for plugins using Qt4 and building the Carla plugin bridge for those. Carla itself only uses Qt5 nowadays, I think.

Terence commented on 2019-05-02 16:54 (UTC)

Shouldn't the qt4 makedepends be replaced with qt5?

SpotlightKid commented on 2019-02-18 17:41 (UTC)

Please do not flag this package as out-of-date, only because the version number shown on this page is less than that of the latest release. This is normal for VCS packages such as this one. The version number is automatically updated when you compile the package.

Please read: https://wiki.archlinux.org/index.php/Arch_User_Repository#Foo_in_the_AUR_is_outdated;_what_should_I_do?

neta540 commented on 2019-01-18 10:57 (UTC)

@SpotlightKid without qt5-svg the error is:

LRDF Support not available (LADSPA-RDF will be disabled) Traceback (most recent call last): File "/usr/share/carla/carla", line 22, in <module> from carla_host import * File "/usr/share/carla/carla_host.py", line 40, in <module> from patchcanvas import patchcanvas File "/usr/share/carla/patchcanvas/patchcanvas.py", line 55, in <module> from .canvasbox import CanvasBox File "/usr/share/carla/patchcanvas/canvasbox.py", line 60, in <module> from .canvasicon import CanvasIcon File "/usr/share/carla/patchcanvas/canvasicon.py", line 24, in <module> from PyQt5.QtSvg import QGraphicsSvgItem, QSvgRenderer ImportError: libQt5Svg.so.5: cannot open shared object file: No such file or directory