musescore: 4.5.2-unstable-2025-07-03 -> 4.6.0 (#448796)

This commit is contained in:
Doron Behar
2025-10-06 09:15:16 +00:00
committed by GitHub
2 changed files with 13 additions and 8 deletions

View File

@@ -5,9 +5,15 @@ let
customMuseScoreConfig = hostPkgs.writeText "MuseScore4.ini" ''
[application]
hasCompletedFirstLaunchSetup=true
welcomeDialogLastShownIndex=0
welcomeDialogLastShownVersion=${hostPkgs.musescore.version}
welcomeDialogShowOnStartup=false
[project]
preferredScoreCreationMode=1
[tours]
lastShownTours=",project_opened/input-by-duration"
'';
in
{
@@ -66,7 +72,7 @@ in
machine.sleep(2)
machine.send_key("tab")
machine.send_key("right")
# Type the beginning of https://de.wikipedia.org/wiki/Alle_meine_Entchen
machine.send_chars("cdef6gg5aaaa7g")
machine.sleep(1)
@@ -79,15 +85,14 @@ in
# Wait until the Print dialogue appears.
machine.wait_for_window("Print")
machine.screenshot("MuseScore4")
machine.screenshot("MuseScore3")
machine.send_key("alt-p")
machine.sleep(1)
machine.screenshot("MuseScore5")
# Wait until PDF is exported
machine.wait_for_file('"/root/Untitled score.pdf"')
machine.screenshot("MuseScore4")
## Check that it contains the title of the score
machine.succeed('pdfgrep "Untitled score" "/root/Untitled score.pdf"')
machine.copy_from_vm("/root/Untitled score.pdf")

View File

@@ -36,13 +36,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "musescore";
version = "4.5.2-unstable-2025-07-03";
version = "4.6.0";
src = fetchFromGitHub {
owner = "musescore";
repo = "MuseScore";
rev = "0ff2476af4e16286ee9f7cf2322715273a0117e0";
sha256 = "sha256-0ixQfAyAyRmuIrlPosCV/VucKJYYvxjL2o4pkVb5Sd8=";
rev = "v${finalAttrs.version}";
sha256 = "sha256-+Kmx+jMbBaIzXdulj5tsusF0x9b6tZ6jOTjI+sLP1jU=";
};
cmakeFlags = [