all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Qt6StateMachine and where to find it
@ 2024-09-21 19:47 Rovanion Luckey
  2024-09-22 12:17 ` Z572
  0 siblings, 1 reply; 3+ messages in thread
From: Rovanion Luckey @ 2024-09-21 19:47 UTC (permalink / raw)
  To: Guix Devel


[-- Attachment #1.1: Type: text/plain, Size: 709 bytes --]

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/

[-- Attachment #1.2: Type: text/html, Size: 1139 bytes --]

[-- Attachment #2: 0001-gnu-musescore-Update-to-4.4.2.patch --]
[-- Type: text/x-patch, Size: 3122 bytes --]

From bf156ec0640d15225e54aaf7968a32299c46d662 Mon Sep 17 00:00:00 2001
Message-ID: <bf156ec0640d15225e54aaf7968a32299c46d662.1726948015.git.rovanion.luckey@gmail.com>
From: Rovanion Luckey <rovanion.luckey@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 <mail@brendan.scot>
 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
 ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
-;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
+;;; Copyright © 2021-2024 Rovanion Luckey <rovanion.luckey@gmail.com>
 ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
 ;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2021 Simon Streit <simon@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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Qt6StateMachine and where to find it
  2024-09-21 19:47 Qt6StateMachine and where to find it Rovanion Luckey
@ 2024-09-22 12:17 ` Z572
  2024-09-22 17:44   ` Rovanion Luckey
  0 siblings, 1 reply; 3+ messages in thread
From: Z572 @ 2024-09-22 12:17 UTC (permalink / raw)
  To: Rovanion Luckey; +Cc: Guix Devel

[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

Rovanion Luckey <rovanion.luckey@gmail.com> writes:

> 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/
>
> [4. text/x-patch; 0001-gnu-musescore-Update-to-4.4.2.patch]...

see qtscxml,

https://packages.debian.org/sid/libqt6statemachine6

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Qt6StateMachine and where to find it
  2024-09-22 12:17 ` Z572
@ 2024-09-22 17:44   ` Rovanion Luckey
  0 siblings, 0 replies; 3+ messages in thread
From: Rovanion Luckey @ 2024-09-22 17:44 UTC (permalink / raw)
  To: Z572; +Cc: Guix Devel

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

Thank you for your help!

Den sön 22 sep. 2024 kl 14:18 skrev Z572 <zhengjunjie@iscas.ac.cn>:

> Rovanion Luckey <rovanion.luckey@gmail.com> writes:
>
> > 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/
> >
> > [4. text/x-patch; 0001-gnu-musescore-Update-to-4.4.2.patch]...
>
> see qtscxml,
>
> https://packages.debian.org/sid/libqt6statemachine6
>

[-- Attachment #2: Type: text/html, Size: 1809 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-22 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-21 19:47 Qt6StateMachine and where to find it Rovanion Luckey
2024-09-22 12:17 ` Z572
2024-09-22 17:44   ` Rovanion Luckey

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.