summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2025-05-25 16:03:01 +0200
committerIan Eure <ian@retrospec.tv>2025-05-25 11:25:36 -0700
commit057957c5498d10f659eb02f7775bf30a2fb475a1 (patch)
treefef43f0a0fa39a0ca7cc6a07665e6058927960f1
parent36bd8e176c1befcc4d959fb1662d8c3e3d0e2474 (diff)
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.
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/music.scm5
-rw-r--r--gnu/packages/patches/musescore-fix-build.patch23
3 files changed, 27 insertions, 2 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index a344191c03..cb2630381c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -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 \
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4f91cab931..59ce059a20 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -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
diff --git a/gnu/packages/patches/musescore-fix-build.patch b/gnu/packages/patches/musescore-fix-build.patch
new file mode 100644
index 0000000000..c9cecded16
--- /dev/null
+++ b/gnu/packages/patches/musescore-fix-build.patch
@@ -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);
+