-
Notifications
You must be signed in to change notification settings - Fork 78
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
Linux support #85
base: master
Are you sure you want to change the base?
Linux support #85
Conversation
Avoids NeuralNote attemtping to delete the whole assigned temp directory
Hey, thanks for the contribution! This looks great, I definitely want to merge this. However I don't have a lot of bandwidth at the moment, so it might take a bit of time to review/test everything on my side. Is the issue with exporting the MIDI fixed, or if you have a fix what is it? Few notes after a super quick look at the changes:
Also you can open a PR on |
Hey, thanks for the response. I'm also a bit short on time so before doing some of the refactors, I'd like your opinion if that would be fine:
Regarding the drag and drop issue, JUCE has this piece of code that manages communication between the Drag&Drop processes:
I am not fully understanding of the details of Drag&Drop in Linux/X11 but I found that these if-conditions are no longer satisfied once the dragged data is moved outside of the plugin window. Hence,
the drop operation would be canceled. This had the funny side effect that while dragging, I could even see the MIDI notes in Bitwig, but once I released the mouse button, they were gone again. My (probably) dirty fix involved replacing I'll open a Pull Request for |
Hey! I only had to add |
@polygon If any linux build is available somewhere, I would be very happy to try it. |
same here, I am a Linux user and I am happy to try it and give feedback. |
juce_recommended_config_flags | ||
juce_recommended_lto_flags) | ||
if (UNIX AND NOT APPLE) | ||
target_link_libraries(${BaseTargetName} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're mixing tabs and spaces here causing uneven formatting.
The rest of the code uses space, so lets follow the same here.
I've made NeuralNote build under Linux and was wondering if there is interest to upstream the changes. This PR would be the first step and contains the required changes to the code and the build system. The changes I was doing are:
fonts.conf
XML file and the XML parser will use certain static strings that are not initialized at that time. I've written more about this here: Linux support #33 (comment)/tmp
directory otherwise, usually taking some temp-files of other applications with itThis change also requires an accompanying change to
libonnxruntime-neuralnote
to get a Linux build there which I have also available. But first wanted to start here to gauge interest in something like this.There is another issue with external Drag&Drop not working properly in Linux. This seems to be a JUCE issue and I have a workaround available. But since this requires patching the external JUCE dependency I think that would probably be more suitable to put into the build scripts. Also, it's not strictly required for a Linux build.
Edit: Link to patched
libonnxruntime-neuralnote
: https://github.com/polygon/libonnxruntime-neuralnote/tree/linux