Fedora v2.3.2 package in progress

• Aug 7, 2018 - 23:02

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=..

  • How to pass variables "-D..." to cmake using the second version ??
    • reading Makefile, there are some options NO_RPATH, ... but it is not open bar.
  • is it OK to use the first version??
  • Is there a way to not build tests and not build bww

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 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 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 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

Do you still have an unanswered question? Please log in first to post your question.