Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887289 - media-sound/musescore-4.0 version bump
Summary: media-sound/musescore-4.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-20 07:20 UTC by Jae-hyeon Park
Modified: 2023-06-06 06:45 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jae-hyeon Park 2022-12-20 07:20:00 UTC
musescore version 4.0 was released several days ago: https://musescore.org/en/4.0

Thanks a lot!
Comment 1 Vincent Le Ligeour 2022-12-27 14:03:13 UTC
I managed to get it compiled and running by:
0. using 9999 ebuild (copy to musescore-4.0.ebuild in local portage tree)
1. disabling jack use flag (compilation error) (might be related to point 2.)
2. disabling precompiled header (commenting -DBUILD_PCH=OFF) (compilation errors aknowledged upstream)
3. disabling audio exports (conflict when installing because of embedded 3rd party libraries that I wasn't able to say "use system library") (adding -DENABLE_AUDIO_EXPORT=OFF)

MuseScore 4 then runs correctly even though there is a lot of missing things and a few bugs (upstream seems to plan a patch for beginning of 2023)
Comment 2 Adrian Schollmeyer 2023-03-01 13:51:52 UTC
I'm currently trying to patch MuseScore 4.0.1 to the point that it compiles on my system. What I have done so far:

* switch using that custom pkgcheck module for the native pkg_check_modules() to search for libjack
* add missing includes
* switch usage of Q_REQUIRED_RESULT (from Qt's private API) to the standardized [[nodiscard]] attribute

I am honestly surprised that some of these issues aren't caught in a CI pipeline. However, maybe this has to do with some special stuff on Gentoo? Anyway, this stuff is something which needs upstreaming, since those are serious errors in the source code and build system.
Comment 3 Adrian Schollmeyer 2023-03-01 14:50:44 UTC
Turns out sam has already done the work upstream [0], so we only need to backport the patch to 4.0.1. I've got the ebuild to merge now and it runs successfully. Gonna do some manual testing and file a PR for the version bump later.

[0] https://github.com/musescore/MuseScore/commit/6cd6ee136c0c3fe09cb58000e967986c0f36c28f
Comment 4 Adrian Schollmeyer 2023-03-12 19:47:38 UTC
PR for 4.0.1 ready for review: https://github.com/gentoo/gentoo/pull/30081
Comment 5 Adrian Schollmeyer 2023-04-26 17:43:05 UTC
Is there any news on this matter? The PR has been without a comment from any maintainer for over a month now. I'd really like to get some feedback on my PR and if there might be anything I need to do to get the version bump merged.
Comment 6 Larry the Git Cow gentoo-dev 2023-06-06 06:45:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe6b848d05897ef2bbeeececf22b7be0c33c271

commit fbe6b848d05897ef2bbeeececf22b7be0c33c271
Author:     Adrian Schollmeyer <nex+b-g-o@nexadn.de>
AuthorDate: 2023-03-12 19:27:24 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-06-06 06:45:16 +0000

    media-sound/musescore: add 4.0.2
    
    Closes: https://bugs.gentoo.org/887289
    Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
    Closes: https://github.com/gentoo/gentoo/pull/30081
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/musescore/Manifest                     |   1 +
 .../files/musescore-4.0.2-unbundle-deps.patch      | 121 ++++++++++++++++++
 .../musescore-4.0.2-uncompressed-man-pages.patch   |  29 +++++
 media-sound/musescore/metadata.xml                 |   1 +
 media-sound/musescore/musescore-4.0.2.ebuild       | 135 +++++++++++++++++++++
 5 files changed, 287 insertions(+)