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

Fix plugin scanning #4

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Fix plugin scanning #4

merged 1 commit into from
Sep 29, 2023

Conversation

jistr
Copy link
Contributor

@jistr jistr commented Sep 26, 2023

During plugin scanning, Helio is launching itself as a child process, and due to perhaps what is a JUCE limitation, it cannot cope with being launched as helio (even though the helio binary is on $PATH). It seems Helio must be launched with an absolute path to the binary for plugin scanning to work.

Broken:

$ flatpak run --command=helio fm.helio.Workstation
Safe scanning: /app/extensions/Plugins/vst3/Dexed.vst3
JUCE Assertion failure in juce_posix_SharedCode.h:1100
Done scanning for audio plugins

$ flatpak run --devel --command=bash fm.helio.Workstation -c 'echo $PATH'
/app/bin:/usr/bin

Working:

$ flatpak run --command=/app/bin/helio fm.helio.Workstation
Safe scanning: /app/extensions/Plugins/vst3/Dexed.vst3
Done scanning for audio plugins

Fixes: #1

During plugin scanning, Helio is launching itself as a child process,
and due to perhaps what is a JUCE limitation, it cannot cope with
being launched as `helio` (even though the `helio` binary is on
`$PATH`). It seems Helio must be launched with an absolute path to the
binary for plugin scanning to work.

Broken:

```
$ flatpak run --command=helio fm.helio.Workstation
Safe scanning: /app/extensions/Plugins/vst3/Dexed.vst3
JUCE Assertion failure in juce_posix_SharedCode.h:1100
Done scanning for audio plugins

$ flatpak run --devel --command=bash fm.helio.Workstation -c 'echo $PATH'
/app/bin:/usr/bin
```

Working:

```
$ flatpak run --command=/app/bin/helio fm.helio.Workstation
Safe scanning: /app/extensions/Plugins/vst3/Dexed.vst3
Done scanning for audio plugins
```

Fixes: flathub#1
@flathubbot
Copy link
Contributor

Started test build 68988

@flathubbot
Copy link
Contributor

Build 68988 failed

@hfiguiere
Copy link
Collaborator

you should patch JUCE instead. It's just wronng.

For the record this was working previously but I guess it got broken and I didn't realise.

@jistr
Copy link
Contributor Author

jistr commented Sep 26, 2023

They have some non-OSS licencing so i'll report an issue for them. But i think the flatpak patch here shouldn't hurt either? It could be a long time before this is fixed in JUCE and bubbles through into Helio.

@jistr
Copy link
Contributor Author

jistr commented Sep 26, 2023

juce-framework/JUCE#1280

@hfiguiere
Copy link
Collaborator

When it's broken, it's broken.

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

Successfully merging this pull request may close these issues.

No plugins showing up in Orchestra Pit plugins list
3 participants