mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-28 19:56:59 -06:00
gnu: musescore: Update to 4.5.2.
* gnu/packages/patches/musescore-fix-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/music.scm (musescore): Update to 4.5.2. [patches]: Use it here.
This commit is contained in:
parent
36bd8e176c
commit
057957c549
3 changed files with 27 additions and 2 deletions
|
|
@ -1892,6 +1892,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/mrustc-patches.patch \
|
||||
%D%/packages/patches/mtools-mformat-uninitialized.patch \
|
||||
%D%/packages/patches/mupen64plus-ui-console-notice.patch \
|
||||
%D%/packages/patches/musescore-fix-build.patch \
|
||||
%D%/packages/patches/musl-cross-locale.patch \
|
||||
%D%/packages/patches/mutt-store-references.patch \
|
||||
%D%/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch \
|
||||
|
|
|
|||
|
|
@ -5472,7 +5472,7 @@ includes LV2 plugins and a JACK standalone client.")
|
|||
(define-public musescore
|
||||
(package
|
||||
(name "musescore")
|
||||
(version "4.4.4")
|
||||
(version "4.5.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
|
@ -5480,8 +5480,9 @@ includes LV2 plugins and a JACK standalone client.")
|
|||
(url "https://github.com/musescore/MuseScore")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(patches (search-patches "musescore-fix-build.patch"))
|
||||
(sha256
|
||||
(base32 "0cjp1sp50pwmrgvpxjxg849s0vsvk2vcb66ym617nvlj761h0ngz"))
|
||||
(base32 "12lwv0gxd49dily2hwmadbw6c59h11sfm5751dpfnzzjvj3rydpn"))
|
||||
(modules '((guix build utils)))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
|
|
|
|||
23
gnu/packages/patches/musescore-fix-build.patch
Normal file
23
gnu/packages/patches/musescore-fix-build.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
--- a/src/instrumentsscene/view/systemobjectslayersettingsmodel.cpp
|
||||
+++ b/src/instrumentsscene/view/systemobjectslayersettingsmodel.cpp
|
||||
@@ -83,6 +83,7 @@
|
||||
|
||||
void SystemObjectsLayerSettingsModel::setSystemObjectsGroupVisible(int index, bool visible)
|
||||
{
|
||||
+ using muse::TranslatableString;
|
||||
const size_t idx = static_cast<size_t>(index);
|
||||
if (idx >= m_systemObjectGroups.size()) {
|
||||
return;
|
||||
@@ -95,9 +96,9 @@
|
||||
|
||||
SystemObjectsGroup& group = m_systemObjectGroups.at(idx);
|
||||
|
||||
- const muse::TranslatableString actionName = visible
|
||||
- ? TranslatableString("undoableAction", "Make system marking(s) visible")
|
||||
- : TranslatableString("undoableAction", "Make system marking(s) invisible");
|
||||
+ const TranslatableString actionName = visible
|
||||
+ ? TranslatableString("undoableAction", "Make system marking(s) visible")
|
||||
+ : TranslatableString("undoableAction", "Make system marking(s) invisible");
|
||||
|
||||
notation->undoStack()->prepareChanges(actionName);
|
||||
|
||||
Loading…
Add table
Reference in a new issue