-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Click on instrument name does not open file open dialog #505
Comments
Perhaps the file dialog program is not available on your system?
|
Thanks, that must be it: |
With the latest git version: I hardpatched When I don't patch, I do get the visual error at startup. I also tried patching 0.5.1, from the .gz on the releases page, but I couldn't find a mention of zenity in the code. |
It needs to patch this also in vstgui |
That was quick! Thanks! |
Works like a charm! |
I just compiled 1.1.1, and am again having issues with zenity. Without any patching, I still get the visual warning dialog. When I hardcode the path in Some peculiarities with the hardcoded version: After trying to load a file in sfizz, it won't close unless I |
Hi, I patched it to search for zenity in the path on our VSTGUI fork, see sfztools/vstgui@6143126. Is zenity reachable for you from the command line? I guess I'll try NixOS in a VM to test things out :) Any install steps I should take care of? |
I think Ardour always does this. |
In nixos, each program has it's own path.
Yes, but that doesn't help.
Thanks a lot!
Not that I can think of right now. In the mean time: Any idea why my hard patching doesn't work anymore? |
Is it that bad a thing, since zenity is a dependency? Sorry if this is a naive question :)
What are you hard-patching it to? The supposed goal of |
Zenity is a dependency of the plugin, not the host.
In |
I downloaded the VirtualBox image, managed to (hopefully) find needed libraries in the package manager for sfizz and some build tools, but it seems installing gcc does not install needed libraries (e.g. libgcc, or the needed binutils...) to get a sane building environment. If you can give me some steps to basically build and launch jalv with sfizz it'd be a great help. |
So basically a program can only see other programs if they're in the dependency list? |
Yes indeed. I'll now go write those steps you asked for. |
In NixOS everything is isolated from everything. To install jalv:
To build the latest sfizz, first clone my copy of nixpkgs:
Set the en var $NIXPKGS to the above path. You can simply install the plugin by running:
To get in a shell with all the needed libs and compilers etc available, do:
To build the package in there, using the same instructions as used by the regular installer:
I hope that is all correct, cause I'm no NixOS guru, even though I've been using no other OS since 2015. |
I ran:
These are the log lines around the only occurrences of the string
So it seems that it correctly checks my user path. The path I thought was a fallback in case zenity was not found, seems to be a fallback for something else. When I replace I'm stumped. |
oh, and fwiw, I checked if my replacements were correctly done:
returns: static const std::string zenityPath = [] {
auto glibPath = g_find_program_in_path("zenity");
return std::string("/nix/store/8n7g1cmrc6xp8f8blfywvf8ym8vxi8bn-zenity-3.32.0/bin/zenity");
return std::string("/nix/store/8n7g1cmrc6xp8f8blfywvf8ym8vxi8bn-zenity-3.32.0/bin/zenity");
const_cast<char *>(zenityPath.c_str()),
return access(zenityPath.c_str(), X_OK) == 0; So as far as I can tell, both sides of the if statement return the correct path to zenity. Mind you, my c/c++ skills are almost nonexistent, so I could very well be wrong. |
Oh sh*t, sorry to hear you went trough all that. I feel bad for not letting you know right away, sorry! |
Ho it's fine, good to hear you found a solution! |
I just compiled 0.5.0; great work on the GUI!
When I click the instrument name, nothing happens.
sfztools/sfizz-ui#1 leads me to believe this feature is implemented already.
The text was updated successfully, but these errors were encountered: