-
Notifications
You must be signed in to change notification settings - Fork 171
Update install instructions for Frescobaldi 4 (Qt6) #1939
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
Conversation
|
IMO we should add also pygame (for MIDI playback) to the list of dependencies in pyproject.toml. I've already added PyQtWebEngine (for the LilyPond docs browser) in this PR (the issue discussed in #1900 was probably related to a wrong configuration system-wide and installing this package via pipx seems to be the easiest solution). For sure MIDI playback is not an optional feature of Frescobaldi but an essential feature that most people use, so in the optional features of the INSTALL.md file I would leave only pycups. |
Agreed.
I don't think there's anything left that even uses that. |
It seems that qpageview still has something that uses it: I'll remove only the part about PortMidi/pygame. |
MIDI playback is not an optional feature.
|
@jeanas I would like your review before merging this. Please let me know if you can find the time. No hurry of course, I just want to know if waiting for you makes sense. |
as discussed in #1958
Well, an annoying drawback is that on Linux now you cannot use PortMidi for MIDI playback. You are forced to use pygame (now pygame-ce) or the installation will fail. For example, the Fedora package relies on PortMidi. I'm not sure it's a good idea. pygame-ce is installed in the Windows and macOS packages using the briefcase section of pyproject.toml (tool.briefcase.requires), which should be kept. I've been hit by this during this flatpak update. Thanks |
|
I patched Frescobaldi to use pygame instead of pygame-ce for Fedora since Fedora doesn't have pygame-ce. If pygame isn't actually needed on all platforms, the dependencies should certainly reflect that. |
|
pygame is not a "strong" dependency, as PortMidi is an alternative dependency to enable MIDI playback. pygame is just more convenient (as a one solution for multiple platforms) because it can be installed via pip. I think we'd better remove pygame as dependency, in order to let the user/packager choose if they prefer using PortMidi instead. I'll prepare a PR in the weekend. |
Let the user/packager decide the tool for MIDI playback. On Linux the preferred choice is probably PortMidi installed as a system package. An alternative is pygame from PyPI, but it currently works fine on Linux and Windows only, while macOS needs pygame-ce (community fork). Discussed here: #1939 (comment)
Let the user/packager decide the tool for MIDI playback. On Linux the preferred choice is probably PortMidi installed as a system package. An alternative is pygame from PyPI, but it currently works fine on Linux and Windows only, while macOS needs pygame-ce (community fork). Discussed here: #1939 (comment)
Fix #1900