Hi,
I'm trying to package MuseScore 4.4.2 and between 4.3 and 4.4 they seem to
have gone to Qt 6 for this release. The issue I'm encountering is that I
can't find Qt6StateMachine packaged or used anywhere in the Guix sources,
and I can't find it as a module on the Qt mirrors [1]. Not knowing how to
source this package CMake errors out with:

  Could not find a package configuration file provided by "Qt6StateMachine"
>   with any of the following names:
>
>     Qt6StateMachineConfig.cmake
>     qt6statemachine-config.cmake
>

Does anyone have any idea how to approach this problem?

I've attached my current WIP patch.

[1]:
https://mirrors.ocf.berkeley.edu/qt/official_releases/qt/6.6/6.6.3/submodules/
From bf156ec0640d15225e54aaf7968a32299c46d662 Mon Sep 17 00:00:00 2001
Message-ID: <bf156ec0640d15225e54aaf7968a32299c46d662.1726948015.git.rovanion.luc...@gmail.com>
From: Rovanion Luckey <rovanion.luc...@gmail.com>
Date: Sun, 15 Sep 2024 21:59:16 +0200
Subject: [PATCH] gnu: musescore: Update to 4.4.2.

*  (musescore): Update to 4.4.2.

Change-Id: Id7771f90a91ec3fe1695f617cc98b0109bdf87fd
---
 gnu/packages/music.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 7fa94b6e14..2aa7278ea5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -38,7 +38,7 @@
 ;;; Copyright © 2021 Brendan Tildesley <m...@brendan.scot>
 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <m...@bonfacemunyoki.com>
 ;;; Copyright © 2021 Frank Pursel <frank.pur...@gmail.com>
-;;; Copyright © 2021 Rovanion Luckey <rovanion.luc...@gmail.com>
+;;; Copyright © 2021-2024 Rovanion Luckey <rovanion.luc...@gmail.com>
 ;;; Copyright © 2021 Justin Veilleux <terramor...@cock.li>
 ;;; Copyright © 2021, 2022, 2023 Felix Gruber <fel...@posteo.net>
 ;;; Copyright © 2021 Simon Streit <si...@netpanic.org>
@@ -5379,7 +5379,7 @@ (define-public sfizz
 (define-public musescore
   (package
     (name "musescore")
-    (version "4.3.2")
+    (version "4.4.2")
     (source
      (origin
        (method git-fetch)
@@ -5388,13 +5388,13 @@ (define-public musescore
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1hx0l6d7avyfbh88hwn01h9q51mgd9zix91q2kgg1ax73pqxhfs2"))
+        (base32 "13z0snyjvxz8cnp8vcia6bb9mc7zbvsapnvl279fhnfsbf4a62y2"))
        (modules '((guix build utils)))
        (snippet
         '(begin
            ;; Delete precompiled binaries.
-           (delete-file-recursively "src/diagnostics/crashpad_handler")
-           (substitute* "src/diagnostics/CMakeLists.txt"
+           (delete-file-recursively "src/framework/diagnostics/crashpad_handler")
+           (substitute* "src/framework/diagnostics/CMakeLists.txt"
              (("install") "#install"))))))
     (build-system qt-build-system)
     (arguments
@@ -5413,7 +5413,7 @@ (define-public musescore
        ;; So we simply skip them.
        #:tests? #f))
     (native-inputs
-     (list git-minimal pkg-config qttools-5))
+     (list git-minimal pkg-config qttools))
     (inputs
      (list alsa-lib
            freetype
@@ -5427,14 +5427,15 @@ (define-public musescore
            portmidi
            pulseaudio
            python
-           qtbase-5
-           qtdeclarative-5
+           qtbase
+           qtdeclarative
            qtgraphicaleffects
-           qtnetworkauth-5
-           qtquickcontrols-5
-           qtquickcontrols2-5
+           qtnetworkauth
+           ;qtquickcontrols-5
+           ;qtquickcontrols2-5
+           qt5compat
            qtscript
-           qtsvg-5
+           qtsvg
            qtx11extras
            qtxmlpatterns))
     (propagated-inputs

base-commit: dfab637246971ba6f7a2e21b0a66ba5fbb8a3483
-- 
2.46.0

Reply via email to