Package Details: carla-git 1:2.1.alpha2.r156.ga1f759bc-1

Git Clone URL: https://aur.archlinux.org/carla-git.git (read-only)
Package Base: carla-git
Description: Audio Plugin Host
Upstream URL: http://kxstudio.sf.net/carla
Licenses: GPL2+
Conflicts: carla
Provides: carla
Submitter: cocreature
Maintainer: SpotlightKid (Joermungand)
Last Packager: SpotlightKid
Votes: 17
Popularity: 0.008303
First Submitted: 2013-10-11 12:29
Last Updated: 2019-07-12 20:14

Pinned Comments

SpotlightKid commented on 2019-07-10 17:31

Heads up, everybody! I'v switched this package form building the master branch to the develop branch. I also renamed the source checkout and the source directories from carla-git to carla. If you re-use your package build directories, you can delete the old carla-git checkout directory and may need to delete the src directory before re-building.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

muncrief commented on 2019-07-13 12:44

@SpotlightKid. Yes, I just wanted to let you know that it looked like something had changed.

And by the way, thank you for maintaining Carla. KXStudio is vastly superior to any other solution available on either Windows or Mac and as a musician it would be a great loss if it were to go away. There is simply nothing else that allows so many different arbitrary connections of programs and instruments at all, much less with such low latency.

In fact I'm quite worried about Ladish as it seems development has stopped, and without it KXStudio would no longer be viable. I primarily use Claudia to hook together a myriad of instruments, microphones, DAWs, and other programs and it's just absolutely amazing.

In fact every once in a while I fire up my my Windows KVM and very expensive Pro Tools installation and just marvel at how cumbersome, primitive, and limited it is. I simply have no use for any tool that can only deal with one instrument at a time.

SpotlightKid commented on 2019-07-12 20:14

@muncrief: I see now that falkTX has merged the PR with patch shortly after I added it to the PKGBUILD: https://github.com/falkTX/Carla/commit/db6dadd6de2041adf34905d77839cce05273924c

The patch is no longer needed and I just pushed a new PKGBUILD.

muncrief commented on 2019-07-12 19:12

@SpotlightKid: I did a completely clean build by changing to a working directory and executing "yay -G carla-git" to create a clean build directory.

I then ran makepkg and got the patch failure so I looked at the patch and the CarlaBridgeToolkitQt.cpp file and saw the reason the patch failed was because the CarlaBridgeToolkitQt.cpp was different than what the patch expected, and that's why it failed.

But like I said I'm not familiar with Carla, and only install it because I like to have a full KXStudio package. However the PKGBUILD does look like it's using the develop branch, and I didn't change anything in it other than removing the patch.

SpotlightKid commented on 2019-07-12 18:41

@muncrief: Are you sure you are looking at 'develop' branch? Have you removed your 'src' directory before rebuilding?

The patch only fixes compilation for Qt >= 5.13. Not all Arch variants have upgraded Qt yet, e.g. Manjaro is still on 5.12.x.

muncrief commented on 2019-07-12 18:14

I tried building this today and the patch failed so it wouldn't build. Upon further inspection I discovered the source/bridges-ui/CarlaBridgeToolkitQt.cpp file has substantially changed and it looks like the patch may now be obsolete.

So I removed the patch from the PKGBUILD and carla compiled and installed. And when I run it the window appears and looks correct.

However I don't actually use Carla and have no way of testing its actual functionality, so hopefully a user will be able to verify if removing the patch is okay.

SpotlightKid commented on 2019-07-10 17:31

Heads up, everybody! I'v switched this package form building the master branch to the develop branch. I also renamed the source checkout and the source directories from carla-git to carla. If you re-use your package build directories, you can delete the old carla-git checkout directory and may need to delete the src directory before re-building.

dvzrv commented on 2019-07-10 08:22

@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

@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

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

@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.