Fedora v2.3.2 package in progress
Hi,
Just to let everyone know that I am trying to package for Fedora.
I document the process here: https://gitlab.com/BrunoVernay/fedora-packages/tree/master/MuseScore
Currently it builds ... I will updates when I am done
I also wonder what the feedback is on AppImage, FlatPack and Snappy ??? is the packaging overhead soon over or far on the horizon????
Thanks
Comments
I have a first successful build. Good. Now I used
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=$HOME/mstest ...
make lrelease
make -j8
make install
make uninstall not available !
But it is not how the doc recommends to do:
make revision
make PREFIX=..
make install PREFIX=..
Thanks
I have a working package to test: https://copr.fedorainfracloud.org/coprs/brunovernay/MuseScore/
Just: What about the template and style folders ??? They are configured to the user's directory, BUT the files shipped are in
/user/share
!?I guess I will patch the code to point to the
/user/share
, because I do not see many users using this feature out of nowhere.It would be very nice to have some dedicated group for linux packagers, because there is quite a work :-)
Also the master branch is MuseScore 3, right? I guess we should try to start packaging it already!
In reply to I have a working package to… by BrnVrn
/usr/share for the files provided by MuseScore, in the user's directory for his/her own ones
In reply to /usr/share for the files… by Jojo-Schmitz
Yes, but there is only one input field in Preferences / General / Folder
Also, I tested the extension and it is "user oriented", I mean it could be packaged for distribution as it creates a Instruments, template, soundfonts ... like there is in "/usr/share"
That is also why I would be curious to know how other distributions deal with these options
In reply to Yes, but there is only one… by BrnVrn
/usr/share IIRC is hardwired, so searched in any case, irrespective of preferences
See also https://musescore.org/en/handbook/create-new-score#templates and also e.g. https://musescore.org/en/handbook/plugins#linux
In reply to /usr/share IIRC is hardwired… by Jojo-Schmitz
But when the user has to select a file, he see only what is in a single folder.
One solution is to propose shortcuts on the left there is a "Look in" with Path, that could be very handy!
But,
- Open Score: Look in Share/demo ; user's Scores Would be nice to have Templates too
- Preference Canvas, Wallpaper : Look in Share/wallpapers Perfect
- Intrument list: Look in ... Share/demo ; user's Scores ?? Strange
- Styles : Look in: Share/styles and User's Styles: OK (Both in Preference and Style menu)
- Style/ General / Chords symbols Look in: ... Share/styles and User's Styles ?? Strange
- Plugin Creator Look in : User's Plugin and Share/styles ... half good
The linux path in https://musescore.org/en/handbook/create-new-score#templates should be /usr/share/mscore-xxx/templates same style as the others OS.
Also I expected the templates to show up on the First screen, but they are on the second one, after you choose the title and few fields.
I don't get Why they do not show up in the Start Center, but it look like a design decision (only showing My_New_Score and recently open) So I am not going to fight that.
In reply to But when the user has to… by BrnVrn
I don't think you'd need too (or should) change anything there, otherwise MuseScore on Fedora would behave different from Ubuntu, Windows, Mac, etc.
Plugins are certainly not searched for in Share/styles
Instruments.xml is a built-in file as far as I know? Even if there is also real instruments.xml, but that isn't being used.
Chord symbols files are usually not needed, they are mostly for backward compatibility, to be able to tead 1.x files