Skip to content
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

Adding the SurgeXT collection #412

Closed
jpotier opened this issue Nov 4, 2022 · 7 comments
Closed

Adding the SurgeXT collection #412

jpotier opened this issue Nov 4, 2022 · 7 comments

Comments

@jpotier
Copy link

jpotier commented Nov 4, 2022

It seems that the soon-to-be-stable SurgeXT collection could be part of the set of VCV modules bundled with Cardinal, as they should have a compatible license: https://github.com/surge-synthesizer/surge-rack.

This is a request for adding them. I don't have time to do it right now myself, but I'll probably get to it if nobody picks it up.

@falkTX
Copy link
Contributor

falkTX commented Nov 4, 2022

We know of it, quite nice set.
It is already mentioned in https://github.com/DISTRHO/Cardinal/wiki/Possible-modules-to-include so there is no need for a dedicated ticket for it.

@falkTX falkTX closed this as completed Nov 4, 2022
@trevormeier
Copy link

Yes! I would be very excited to use the Surge modules in Cardinal.

@Cardinny
Copy link

Cardinny commented Nov 9, 2022

Just adding my two cents that I would love to have this. It allows you to control the configuration of surge in a way that is not possible in the plugin.

@RCJacH
Copy link

RCJacH commented Nov 10, 2022

I tried adding the module following the guideline here, but I don't know what I wrote work or not, since I'm having trouble building on docker due to error with other modules, and I don't know enough C++ to debug it.

Should I make a PR to start a dedicated discussion over there?

@falkTX
Copy link
Contributor

falkTX commented Nov 10, 2022

before even starting, we need to handle the dependencies from surgext first, with common libraries needing to be made optional on its vendoring (that is, use system libs if linux/macos packager requests it)

surge has quite a few dependencies, so this is already going to take quite a lot of time.

then there is the need to ensure there are no symbol conflicts, easily done by doing a fresh build with LTO enabled.
we might hit github actions time limit on this, and if so it becomes a blocker.

after those 2 are handled, then we can finally add surge xt. how to deal with dark/light mode switch is to be defined.

PS: the building options are documented in https://github.com/DISTRHO/Cardinal/blob/main/docs/BUILDING.md

@falkTX
Copy link
Contributor

falkTX commented Nov 10, 2022

and actually, I am reopening this ticket since it is likely there will be more requests for the same.
surge xt is an awesome module collection, would be great to have them.
but we might hit the limit of what we can build for free on github. and there was interest to add rebeltech too..

here is a basic todo list:

  • list all surge-xt dependencies and how to build them
  • add all dependencies as vendored in Cardinal (see deps/Makefile for how others are handled)
  • make those dependencies possible to build as system libraries instead of vendored (as many as possible)
  • check that everything builds for Linux, BSD, macOS, Windows and web-assembly (minimum)
  • ensure there are no symbol conflicts (LTO can help here, maybe only enabled on Linux builds going forward?)
  • finally add surge-xt modules to the collection

@falkTX falkTX reopened this Nov 10, 2022
@falkTX
Copy link
Contributor

falkTX commented Dec 4, 2022

surgext has been added, will be available in the next builds and 22.12 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants