From patchwork Sun Dec 22 22:45:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rovanion Luckey X-Patchwork-Id: 35198 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 27BC627BBEA; Sun, 22 Dec 2024 22:47:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3651927BBE2 for ; Sun, 22 Dec 2024 22:47:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPUj2-0001vG-9r; Sun, 22 Dec 2024 17:47:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPUj0-0001up-BY for guix-patches@gnu.org; Sun, 22 Dec 2024 17:47:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPUj0-0000iw-2a for guix-patches@gnu.org; Sun, 22 Dec 2024 17:47:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=1MyH6n6HuCMskZKQxhf3HGUCIYMuEtiJneeLMvYps00=; b=kjjeqM8jWqAwipss8+yc6yu37QnGqFu7e5roAGpz0en+486nhzNmZwpG9yWSJEH0WRumG0KlhvspZMR+eh7Fqj4qaQQ0FxkB5LsKzmHKhzyf9DNAp/CIxc6RRl3+OyV8NInym+sZ+ZTr4KWVVPI/V1n0MOFxk/Eig9ysTpg0jL7aYDc5DQX7J7sNpX7LyjzyVGGK2qn1pFMcvS7kISqJGASNTj7GF1Y2A2JPkZPDXF4CZTw0gDaJno4blok28e1LgdGTq5JZ0zJxokclbW68KqdT2yaFBuoolFNblVlOsOB+WkdYq0x2XLY7JqiHY2PZcTM1nAn8ZNmRr2TA8gGLsg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPUiz-00066X-UI for guix-patches@gnu.org; Sun, 22 Dec 2024 17:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75037] WIP: Upgrade MuseScore to 4.4.4 Resent-From: Rovanion Luckey Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 22:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 75037@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173490758523399 (code B ref -1); Sun, 22 Dec 2024 22:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2024 22:46:25 +0000 Received: from localhost ([127.0.0.1]:52331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPUiO-00065K-QO for submit@debbugs.gnu.org; Sun, 22 Dec 2024 17:46:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:43876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPUiM-00065C-4e for submit@debbugs.gnu.org; Sun, 22 Dec 2024 17:46:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPUiJ-0001sM-Fu for guix-patches@gnu.org; Sun, 22 Dec 2024 17:46:21 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPUiG-0000hr-RB for guix-patches@gnu.org; Sun, 22 Dec 2024 17:46:18 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5d647d5df90so5935062a12.2 for ; Sun, 22 Dec 2024 14:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734907574; x=1735512374; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ttVJpEtcAfoTEiu3sJ8W+Lvx2rgLJ8mFSycjEBImkLI=; b=QO0gszicwMAp8vEb/64hE330dwLAaQ0cDB4i1BLpcSF0CLN2h5zh+Y/jAjLb3Crk40 4AsTOC2MLob7FwXqKVWR5c4xmTpxJgSwJiN+uyx0ERH1Bgd38iPyMRTT7lRW52bn0E7r MQI9MWUx6KLM5RbWQ7C+dIcJJ0RpGVCBKx8hPXv7I6LbGLY67ocTRNBE38Qm03hMAQnO 56rXu+lIEqFKVtGYHQWQihu/tXAabwzNiOiueQl387t6giOoHMcu4tGi23oJXXXc6CRU gn8q7eiqjeVMambFIWUnRdXe8F+3J7nY7l5rFb45W8h/RKA/5bd3TS0zXlDnQzi9lm9S JRwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734907574; x=1735512374; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ttVJpEtcAfoTEiu3sJ8W+Lvx2rgLJ8mFSycjEBImkLI=; b=oTc64QjTX5OXvJ/x3smCmcg0Xw8/TUCLtD24EYl2A3ABMCbcHagY4vQ4SLOzK0AoIz bwBV9EFiyiAQWQULj+8c6wzD584Bvd6eeD0P3XnLonyeGUVO65u/YRdPrVFNBFG9a1bx VtlcJvQwe+DsgUjcf6REImxQ+x7rt6D70Pe59Wh4cEHEh06FzYTwGN5CNRZjP644Qu6M f5lTJjSj83FZpyJ9c5cvPqJUF2eSupWm1VOU7OP673RqRs7gNSShZ3MJd/KjmY5dRXyS PuH28JytTKu/xQGKAAUBLaVBMXgOM3Gqt0jUtyYtQqHC4LjNrqncClDexCPfDdQTSOv8 MTRA== X-Gm-Message-State: AOJu0YyiMXFsFRb2pcJNfdox7nR5cHyQqoVIIHPf+p1k/+2vOp2zOaGQ +lX1Bo18hZjqcYwd23yZ2o8T8Qb+zkWD451YjVmLICLi7aU3Cf3/FQUQ908DizjaQNY2s/M0hoJ B6GPdwriOrFkEW2GNYI5JjxXrBtw+1/5R1cM= X-Gm-Gg: ASbGncsJ5QhmpyzgYdx/m3//TWtSjCF+yMmRo1kviLYg3xfFFeU5a009V3ZifEJPVck p/8kNsJ6TXZmMHNM63sVQV/HtjZUSuroijRv/L4k1J23hVB21dhWgA5RCxzvnmr416wjF662X X-Google-Smtp-Source: AGHT+IE3t1Kf5NIyZ8xBMmY4vdMcrNdD7No4hA3fI3G6srLUGB4Ep2rPYOVFazapPh3gUqucPagX3kL98LTXE5AMm4w= X-Received: by 2002:a05:6402:3583:b0:5d0:d84c:abb3 with SMTP id 4fb4d7f45d1cf-5d81ddffc07mr8027784a12.26.1734907574534; Sun, 22 Dec 2024 14:46:14 -0800 (PST) MIME-Version: 1.0 From: Rovanion Luckey Date: Sun, 22 Dec 2024 23:45:47 +0100 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=rovanion.luckey@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, I have been working on and off for the last month to get MuseScore 4.4.x packaged for Guix. I have come so far as to have the project build but not run. The program gets partially through its startup procedure but fails with a QML related error: 23:10:58.058 | WARN | main_thread | Qt | > QQmlApplicationEngine failed to load component > 23:10:58.112 | ERROR | main_thread | GuiApp::perform | error: > qrc:/qml/platform/linux/Main.qml: module "QtQml.WorkerScript" is not > installed > 23:10:58.112 | WARN | main_thread | Qt | > qrc:/qml/platform/linux/Main.qml: module "QtQml.WorkerScript" is not > installed > 23:10:58.112 | WARN | main_thread | Qt | > QObject::connect(QQuickWindow, QApplication): invalid nullptr parameter > 23:10:58.113 | INFO | main_thread | AudioOutputDeviceController::init > | Available output devices changed, checking connection... > 23:10:58.116 | ERROR | main_thread | GuiApp::perform | failed Qml load If anyone has a pointer such are gracefully received. Right now it's time for me to give up for today. Unrelated: The largest change that's needed for this build to work is to change build system for HarfBuzz to meson. This because the makefile based build does not produce correct CMake-files for HarfBuzz. The attached work-in-progress-patch creates a separate package for HarfBuzz for convenience while developing the patch - but the build system should probably be changed for the real HarfBuzz package in the real patch. Cheers! From 291b21f68a4248023f9da0b9820a095b7649faa6 Mon Sep 17 00:00:00 2001 Message-ID: <291b21f68a4248023f9da0b9820a095b7649faa6.1734906963.git.rovanion.luckey@gmail.com> From: Rovanion Luckey Date: Sun, 22 Dec 2024 23:32:21 +0100 Subject: [PATCH] WIP: gnu: music: Update to 4.4.4. * (music): Update to 4.4.4. Change-Id: Ia5509faad497a13e4c8b1e8d0269449fc5426f43 --- gnu/packages/gtk.scm | 40 +++++++++++++++++++++++++++++ gnu/packages/music.scm | 58 +++++++++++++++++++++++++----------------- 2 files changed, 74 insertions(+), 24 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index ef1391e8ba..d422403dec 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; Copyright © 2024 John Kehayias +;;; Copyright © 2024 Rovanion Luckey ;;; ;;; This file is part of GNU Guix. ;;; @@ -318,6 +319,45 @@ (define-public harfbuzz "See 'COPYING' in the distribution.")) (home-page "https://www.freedesktop.org/wiki/Software/HarfBuzz/"))) +(define-public harfbuzz-meson + (package + (name "harfbuzz") + (version "8.3.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/harfbuzz/harfbuzz" + "/releases/download/" version "/harfbuzz-" + version ".tar.xz")) + (sha256 + (base32 + "0izq2lpqxrf1l755nxrxkkiarywkx5j43asznankxplbxgm0358h")))) + (build-system meson-build-system) + (outputs '("out" + "bin")) ;160K, only hb-view depend on cairo + (inputs + (list cairo)) + (propagated-inputs + ;; There are all in the Requires or Requires.private field of '.pc'. + (list glib graphite2 icu4c)) + (native-inputs + (append (list `(,glib "bin")) ;for glib-mkenums + (if (target-hurd?) + '() + (list gobject-introspection)) + (list pkg-config + python-wrapper + which))) + (arguments + (list #:configure-flags + #~(list "-Dgraphite2=enabled" + (string-append "--bindir=" #$output:bin "/bin")))) + (synopsis "OpenType text shaping engine") + (description + "HarfBuzz is an OpenType text shaping engine.") + (license (license:x11-style "file://COPYING" + "See 'COPYING' in the distribution.")) + (home-page "https://www.freedesktop.org/wiki/Software/HarfBuzz/"))) + (define-public libdatrie (package (name "libdatrie") diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 2fbdcf4ea9..9de1ea442c 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -38,7 +38,7 @@ ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; Copyright © 2021 Frank Pursel -;;; Copyright © 2021 Rovanion Luckey +;;; Copyright © 2021, 2024 Rovanion Luckey ;;; Copyright © 2021 Justin Veilleux ;;; Copyright © 2021, 2022, 2023 Felix Gruber ;;; Copyright © 2021 Simon Streit @@ -5416,7 +5416,7 @@ (define-public sfizz (define-public musescore (package (name "musescore") - (version "4.3.2") + (version "4.4.4") (source (origin (method git-fetch) @@ -5425,21 +5425,30 @@ (define-public musescore (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1hx0l6d7avyfbh88hwn01h9q51mgd9zix91q2kgg1ax73pqxhfs2")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Delete precompiled binaries. - (delete-file-recursively "src/diagnostics/crashpad_handler") - (substitute* "src/diagnostics/CMakeLists.txt" - (("install") "#install")))))) + (base32 "0cjp1sp50pwmrgvpxjxg849s0vsvk2vcb66ym617nvlj761h0ngz")) + (modules '((guix build utils))))) (build-system qt-build-system) (arguments `(#:configure-flags - `("-DDOWNLOAD_SOUNDFONT=OFF" - "-DBUILD_DIAGNOSTICS=OFF" - "-DMUSESCORE_BUILD_CONFIG=release" - "-DUSE_SYSTEM_FREETYPE=ON") + `("-DMUSE_APP_BUILD_MODE=release" + ;; Disable the build and usage of the `/bin/crashpad_handler` utility - + ;; it does automatic crash reporting and is distributed as a + ;; pre-compiled binary in the source-tree of MuseScore: + ;; https://github.com/musescore/MuseScore/issues/15571 + ;; Renamed from MUE_BUILD_CRASHPAD_CLIENT, MUE_BUILD_DIAGNOSTICS_MODULE + ;; https://github.com/musescore/MuseScore/commit/6f269e8b072cca36cb76eb016cb60c1c1c2b9906 + "-DMUSE_MODULE_DIAGNOSTICS_CRASHPAD_CLIENT=OFF" + ;; Use Guix' versions of system libraries. + "-DMUE_COMPILE_USE_SYSTEM_FREETYPE=ON" + "-DMUE_COMPILE_USE_SYSTEM_HARFBUZZ=ON" + "-DMUE_COMPILE_USE_SYSTEM_TINYXML=ON" + "-DMUE_COMPILE_USE_SYSTEM_OPUSENC=ON" ; Ipmlies -DMUE_COMPILE_USE_SYSTEM_OPUS=ON + "-DMUE_COMPILE_USE_SYSTEM_FLAC=ON" + ;; Disable download of soundfont during build. + "-DDOWNLOAD_SOUNDFONT=OFF" + ;; Don't bundle Qt QML files, relevant really only for Darwin. + ;; "-DMUE_COMPILE_INSTALL_QTQML_FILES=OFF" + ) ;; There are tests, but no simple target to run. The command used to ;; run them is: ;; @@ -5450,30 +5459,31 @@ (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 `(,gtk+ "bin") ;for gtk-update-icon-cache + harfbuzz-meson jack-1 lame libogg + libopusenc libsndfile libvorbis portaudio portmidi pulseaudio python - qtbase-5 - qtdeclarative-5 - qtgraphicaleffects - qtnetworkauth-5 - qtquickcontrols-5 - qtquickcontrols2-5 - qtscript - qtsvg-5 + tinyxml2 + qtbase + qtdeclarative + qtnetworkauth + qt5compat + qtwayland + qtsvg qtx11extras - qtxmlpatterns)) + qtscxml)) (propagated-inputs (list `(,alsa-plugins "pulseaudio"))) ;for libasound_module_conf_pulse.so (synopsis "Music composition and notation software") base-commit: 11855e1c2863c56d9a3364cdac614a529a1c7cc2 -- 2.46.0 From patchwork Fri Jan 10 13:47:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rovanion Luckey X-Patchwork-Id: 36872 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7FDC627BBEA; Fri, 10 Jan 2025 13:49:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3CFBC27BBE2 for ; Fri, 10 Jan 2025 13:49:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWFNt-0006b9-J2; Fri, 10 Jan 2025 08:49:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWFNm-0006YP-Iu for guix-patches@gnu.org; Fri, 10 Jan 2025 08:49:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWFNm-0001Pk-7y for guix-patches@gnu.org; Fri, 10 Jan 2025 08:49:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:In-Reply-To:References:Subject; bh=citaCThiqgbbdBan7CEdLSLl3wv+RHDiTKIBgnP7tug=; b=KzVYht5hktt8KyJjBgwmRSQpz09olA6IgtjEPE9TNj1vL+gD8EpL4FsATEcq6dCM1niqqjyPSIagPsOsUaY6Fy4B783zYY9zF9lvNMV+nR43DW2ctB6WDxbX3MkVZZwKICO728IXda1K7YdE3a9E+66f1nl9jWT39vJGBLrGjM73TxZ8UPqRpJ1MB9U3PGCig3uwS0lSrt1c6UCPBN+2KKM6MsQ6gpr+BzHdtE8RYeC1IoZYKUcb+PPgYxLeNK2xklASX7NioL/Ip8JWLArriZ4gfOpFTSidABoPNjiEf6ru1AttmD1SgTM0hxPcJIvcSBKlaWi7pyPfz1AtAAKkVQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWFNm-0002bq-2i for guix-patches@gnu.org; Fri, 10 Jan 2025 08:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75037] [PATCH gnome-team v3 2/2] gnu: musescore: Update to 4.4.4. References: In-Reply-To: Resent-From: Rovanion Luckey Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jan 2025 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 75037@debbugs.gnu.org Received: via spool by 75037-submit@debbugs.gnu.org id=B75037.17365168859924 (code B ref 75037); Fri, 10 Jan 2025 13:49:02 +0000 Received: (at 75037) by debbugs.gnu.org; 10 Jan 2025 13:48:05 +0000 Received: from localhost ([127.0.0.1]:56765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWFMq-0002a0-DP for submit@debbugs.gnu.org; Fri, 10 Jan 2025 08:48:05 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:50368) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tWFMn-0002ZI-EN for 75037@debbugs.gnu.org; Fri, 10 Jan 2025 08:48:02 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5d3cf094768so3573822a12.0 for <75037@debbugs.gnu.org>; Fri, 10 Jan 2025 05:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736516875; x=1737121675; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kTdWqv15pMLG5si0JOmjlSuXjxcwPEjjegy9bTc3wO0=; b=TmToV9baDPUEnDZg7P7h/+WuHB4NgO/eurIsNjomfGoB7xwTi7Fiq9C+EGCvtj+4zL Z4n4Wd+kmTPBvSZrt2VTHywTD9CU9UtSo3yIQnTCTKy+ujjmSBiquulnMoDroUNDaMjp ZzlY8hzmLAIKJbYUFwZ5bJfS6ZWAVpcpcIJvLDeIbkxtAjBfJYzIwGlETBZfg+dhVu4G qLGeYqCemjTlZNIun7WehKFRyfUFixIhViKyS4GYU5NsmptKNp62KHv75B8D6742ybr6 APLCJNeT+36ilzMOdfTx+tNwpu9o5U1z17dM6d9ONyp8BbbNdB52s4ashTwDnuksQ5Va hnHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736516875; x=1737121675; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kTdWqv15pMLG5si0JOmjlSuXjxcwPEjjegy9bTc3wO0=; b=wqMYEYbMhN6FOa4q6y2oNB4ilf6EzUn7FYVyM8GsciwIAvAhXu/wxj8VHPof7XSYpG +waq+6T6dPsPXNfA3pqE3Xj00pQHsLGm/3+4weWJIf/SnV4f9qzQGrbO76XSKkWyIWN2 JoggZN5yxeOxR/0URf4WXUOoO3ZUUh3rjsj6cOKgrcL9GTzJFD2OiOUVIDnWCGTD8Nwr XiR3cg05HKhW1RWAX2g2jRk8a4HtY7z7ZDlk/teYsyNGfLGg+J8F4dFtR8JwhRttI9ud /uoFt1vtlwhZP9lBsiSFB+wvaqK9eACc1iWV6GdvV8Z8k/F44XJtE829bc1RYPlIcdur A7aw== X-Gm-Message-State: AOJu0YwdUWJVB4mxPQVPdbRZ5QaNNXIN5hwWqrfE6tfa4JiCtUtqqBpN MiwMDEJlRuY5LkBgrmLXWGSg1himRaAjISuBFgl4S/6uDDhGMNhGEqGyn22QvKlTVKVy+1M4IA9 N/l+ikIfNkHcy00xeOgDxgXsdYxU= X-Gm-Gg: ASbGnct/X4IAZU9YMH3Bbg1zgXOI9YibcaiBLARutsVGwdHeP0pa+ruGdbfOGIWBJKz YBRYKHp3S6pn76+YOQa0y7cg4G3znKkNFaG5uUTshQCmAG1odiw== X-Google-Smtp-Source: AGHT+IG9kBliO0CtfxZCSI2MNE4PXAKUjOhmOuLQl5nlzc91Az3tsCB8lPe1qq0oobddcluqdUG4Kg+EqTDzLH0TNsY= X-Received: by 2002:a05:6402:518f:b0:5d0:abb8:79d with SMTP id 4fb4d7f45d1cf-5d972e083f9mr2038596a12.14.1736516874309; Fri, 10 Jan 2025 05:47:54 -0800 (PST) MIME-Version: 1.0 From: Rovanion Luckey Date: Fri, 10 Jan 2025 14:47:27 +0100 X-Gm-Features: AbW1kvYmFfok9gA2uT42IACMmdpAK9qJWQ_42BY-_G9FMfSSKrbJicwi2XZg2vM Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches I've attached an updated version 3 of the music.scm patch. Den ons 8 jan. 2025 kl 13:01 skrev Liliana Marie Prikler < liliana.prikler@gmail.com>: > Am Mittwoch, dem 01.01.2025 um 19:37 +0100 schrieb Rovanion Luckey: > > - (base32 > > "1hx0l6d7avyfbh88hwn01h9q51mgd9zix91q2kgg1ax73pqxhfs2")) > > - (modules '((guix build utils))) > > - (snippet > > - '(begin > > - ;; Delete precompiled binaries. > > - (delete-file-recursively > > "src/diagnostics/crashpad_handler") > > - (substitute* "src/diagnostics/CMakeLists.txt" > > - (("install") "#install")))))) > > + (base32 > > "0cjp1sp50pwmrgvpxjxg849s0vsvk2vcb66ym617nvlj761h0ngz")) > > + (modules '((guix build utils))))) > This change is undocumented. If you do drop the snippet (is it really > safe to?), then you can also drop the modules. > As far as I can tell, yes. This step is superseeded by the flag -DMUSE_MODULE_DIAGNOSTICS_CRASHPAD_CLIENT=OFF. > (build-system qt-build-system) > > (arguments > > - `(#:configure-flags > > - `("-DDOWNLOAD_SOUNDFONT=OFF" > > - "-DBUILD_DIAGNOSTICS=OFF" > > - "-DMUSESCORE_BUILD_CONFIG=release" > > - "-DUSE_SYSTEM_FREETYPE=ON") > > + `(#:qtbase ,qtbase > Is this flag needed? Anyway, new flags should be documented… Yes, Musescore will crash on startup otherwise as it would be linked against the wrong qtbase. Added a comment. It's of course a bit insane that the qt-build-system doesn't pick up the qt-base passed as arguments for the package, but that is what it is. > + #:configure-flags > > + `("-DMUSE_APP_BUILD_MODE=release" > > + ;; Disable the build and usage of the > > `/bin/crashpad_handler` utility - > > + ;; it does automatic crash reporting and is distributed as > > a > > + ;; pre-compiled binary in the source-tree of MuseScore: > > + ;; https://github.com/musescore/MuseScore/issues/15571 > > + ;; Renamed from MUE_BUILD_CRASHPAD_CLIENT, > > MUE_BUILD_DIAGNOSTICS_MODULE > > + ;; > > > https://github.com/musescore/MuseScore/commit/6f269e8b072cca36cb76eb016cb60c1c1c2b9906 > > + "-DMUSE_MODULE_DIAGNOSTICS_CRASHPAD_CLIENT=OFF" > > + ;; Use Guix' versions of system libraries. > > + "-DMUE_COMPILE_USE_SYSTEM_FREETYPE=ON" > > + "-DMUE_COMPILE_USE_SYSTEM_HARFBUZZ=ON" > > + "-DMUE_COMPILE_USE_SYSTEM_TINYXML=ON" > > + "-DMUE_COMPILE_USE_SYSTEM_OPUSENC=ON" ; Ipmlies - > > DMUE_COMPILE_USE_SYSTEM_OPUS=ON > > + "-DMUE_COMPILE_USE_SYSTEM_FLAC=ON" > > + ;; Disable download of soundfont during build. > > + "-DDOWNLOAD_SOUNDFONT=OFF" > > + ;; Don't bundle Qt QML files, relevant really only for > > Darwin. > > + ;; "-DMUE_COMPILE_INSTALL_QTQML_FILES=OFF" > > + ) > … as should changes here. I clearified the comment spanning multiple lines and hopefully understood the meaning of document correctly when I added some text to the commit message. Is everything renamed from MUSE to MUE or > are these typos? > Yes, renamed. Also, parentheses are social animals, they like to group together :) > > ;; There are tests, but no simple target to run. The command > > used to > > ;; run them is: > > ;; > > @@ -5404,30 +5414,31 @@ (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)) > Write this out in the ChangeLog. > Sure. > (inputs > > (list alsa-lib > > freetype > > `(,gtk+ "bin") ;for gtk-update-icon-cache > > + harfbuzz-meson > Whoopsie, this can be regular harfbuzz with the new 1/2. > Fixed. > jack-1 > > lame > > libogg > > + libopusenc > > libsndfile > > libvorbis > > portaudio > > portmidi > > pulseaudio > > python > > - qtbase-5 > > - qtdeclarative-5 > > - qtgraphicaleffects > > - qtnetworkauth-5 > > - qtquickcontrols-5 > > - qtquickcontrols2-5 > > - qtscript > > - qtsvg-5 > > - qtx11extras > > - qtxmlpatterns)) > > + qt5compat > > + qtbase > > + qtdeclarative > > + qtnetworkauth > > + qtscxml > > + qtshadertools > > + qtsvg > > + qtwayland > > + tinyxml2)) > Write these out in the ChangeLog. Done. > (propagated-inputs > > (list `(,alsa-plugins "pulseaudio"))) ;for > > libasound_module_conf_pulse.so > > (synopsis "Music composition and notation software") > > Cheers > Thanks for the review, hope this one fits the bill. From a098362bde076d983e73b25c2fd56f871b287368 Mon Sep 17 00:00:00 2001 Message-ID: From: Rovanion Luckey Date: Wed, 1 Jan 2025 19:37:57 +0100 Subject: [PATCH] gnu: musescore: Update to 4.4.4. * gnu/packages/music.scm (musescore): Update to 4.4.4. [source]: Remove snippet to delete precompiled binaries, superseeded by flag "-DMUSE_MODULE_DIAGNOSTICS_CRASHPAD_CLIENT=OFF". The directory src/diagnostics/crashpad_handler no longer exists. [arguments]<#:configure-flags>: Decreased the number of vendored libraries by four. [inputs]: Move to Qt 6. Add the now unvendored libraries: flac, harfbuzz, libopusenc and tinyxml2. Change-Id: Ib5da630b73889625054f88b1e86af1e9666e6e93 --- gnu/packages/music.scm | 64 +++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 4832f33f09..0f399bbb3b 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -38,7 +38,7 @@ ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; Copyright © 2021 Frank Pursel -;;; Copyright © 2021 Rovanion Luckey +;;; Copyright © 2021, 2024, 2025 Rovanion Luckey ;;; Copyright © 2021 Justin Veilleux ;;; Copyright © 2021, 2022, 2023 Felix Gruber ;;; Copyright © 2021 Simon Streit @@ -5424,7 +5424,7 @@ (define-public sfizz (define-public musescore (package (name "musescore") - (version "4.3.2") + (version "4.4.4") (source (origin (method git-fetch) @@ -5433,21 +5433,31 @@ (define-public musescore (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1hx0l6d7avyfbh88hwn01h9q51mgd9zix91q2kgg1ax73pqxhfs2")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Delete precompiled binaries. - (delete-file-recursively "src/diagnostics/crashpad_handler") - (substitute* "src/diagnostics/CMakeLists.txt" - (("install") "#install")))))) + (base32 "0cjp1sp50pwmrgvpxjxg849s0vsvk2vcb66ym617nvlj761h0ngz")) + (modules '((guix build utils))))) (build-system qt-build-system) (arguments - `(#:configure-flags - `("-DDOWNLOAD_SOUNDFONT=OFF" - "-DBUILD_DIAGNOSTICS=OFF" - "-DMUSESCORE_BUILD_CONFIG=release" - "-DUSE_SYSTEM_FREETYPE=ON") + `(;; In order for qt-build-system to build against qt-base 6 and not 5. + #:qtbase ,qtbase + #:configure-flags + `("-DMUSE_APP_BUILD_MODE=release" + ;; Disable the build and usage of the `/bin/crashpad_handler` utility - + ;; it does automatic crash reporting and is distributed as a + ;; pre-compiled binary in the source-tree of MuseScore: + ;; https://github.com/musescore/MuseScore/issues/15571 + ;; Renamed from MUE_BUILD_CRASHPAD_CLIENT, MUE_BUILD_DIAGNOSTICS_MODULE + ;; https://github.com/musescore/MuseScore/commit/6f269e8b072cca36cb76eb016cb60c1c1c2b9906 + "-DMUSE_MODULE_DIAGNOSTICS_CRASHPAD_CLIENT=OFF" + ;;; These five lines asks that Guix' versions of system libraries are used. + "-DMUE_COMPILE_USE_SYSTEM_FREETYPE=ON" + "-DMUE_COMPILE_USE_SYSTEM_HARFBUZZ=ON" + "-DMUE_COMPILE_USE_SYSTEM_TINYXML=ON" + "-DMUE_COMPILE_USE_SYSTEM_OPUSENC=ON" ; Ipmlies -DMUE_COMPILE_USE_SYSTEM_OPUS=ON + "-DMUE_COMPILE_USE_SYSTEM_FLAC=ON" + ;; Disable download of soundfont during build. + "-DDOWNLOAD_SOUNDFONT=OFF" + ;; Don't bundle Qt QML files, relevant really only for Darwin. + "-DMUE_COMPILE_INSTALL_QTQML_FILES=OFF") ;; There are tests, but no simple target to run. The command used to ;; run them is: ;; @@ -5458,30 +5468,32 @@ (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 + flac freetype `(,gtk+ "bin") ;for gtk-update-icon-cache + harfbuzz jack-1 lame libogg + libopusenc libsndfile libvorbis portaudio portmidi pulseaudio python - qtbase-5 - qtdeclarative-5 - qtgraphicaleffects - qtnetworkauth-5 - qtquickcontrols-5 - qtquickcontrols2-5 - qtscript - qtsvg-5 - qtx11extras - qtxmlpatterns)) + qt5compat + qtbase + qtdeclarative + qtnetworkauth + qtscxml + qtshadertools + qtsvg + qtwayland + tinyxml2)) (propagated-inputs (list `(,alsa-plugins "pulseaudio"))) ;for libasound_module_conf_pulse.so (synopsis "Music composition and notation software") base-commit: 461d773adead955e2daead70cee4415f7f0f00be prerequisite-patch-id: 7a77c9e2af02bf1a414a08e0380a523af0074899 -- 2.46.0