From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFDF0158287 for ; Thu, 15 May 2025 10:19:15 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C66A0343882 for ; Thu, 15 May 2025 10:19:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C841611036D; Thu, 15 May 2025 10:19:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BE43A11036D for ; Thu, 15 May 2025 10:19:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7421D343881 for ; Thu, 15 May 2025 10:19:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9DE6254D for ; Thu, 15 May 2025 10:19:12 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1747304349.6f9224c4c4e591b45aa33c274fb72e4a3e3e9490.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/musescore/files/, media-sound/musescore/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/musescore/files/musescore-4.6.0-qjsonvalue.patch media-sound/musescore/musescore-9999.ebuild X-VCS-Directories: media-sound/musescore/files/ media-sound/musescore/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 6f9224c4c4e591b45aa33c274fb72e4a3e3e9490 X-VCS-Branch: master Date: Thu, 15 May 2025 10:19:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1e59c81b-e460-44ac-ac9a-77fb7cd26f82 X-Archives-Hash: 49834d67448e37df4cca10a8a33793f4 commit: 6f9224c4c4e591b45aa33c274fb72e4a3e3e9490 Author: Miroslav Šulc gentoo org> AuthorDate: Thu May 15 10:18:57 2025 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Thu May 15 10:19:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f9224c4 media-sound/musescore: updated live ebuild Signed-off-by: Miroslav Šulc gentoo.org> .../files/musescore-4.6.0-qjsonvalue.patch | 36 ++++++++++++++++++++++ media-sound/musescore/musescore-9999.ebuild | 1 + 2 files changed, 37 insertions(+) diff --git a/media-sound/musescore/files/musescore-4.6.0-qjsonvalue.patch b/media-sound/musescore/files/musescore-4.6.0-qjsonvalue.patch new file mode 100644 index 000000000000..d8ac6e9263a7 --- /dev/null +++ b/media-sound/musescore/files/musescore-4.6.0-qjsonvalue.patch @@ -0,0 +1,36 @@ +--- a/src/converter/internal/compat/backendapi.cpp ++++ b/src/converter/internal/compat/backendapi.cpp +@@ -268,11 +268,11 @@ QVariantMap BackendApi::readBeatsColors(const muse::io::path_t& filePath) + + QVariantMap result; + +- for (const QJsonValueRef colorObj: colors) { ++ for (const QJsonValue &colorObj: colors) { + const QJsonArray beatsIndexes = colorObj[u"beats"].toArray(); + const QColor beatsColor = QColor(colorObj[u"color"].toString()); + +- for (const QJsonValueRef index: beatsIndexes) { ++ for (const QJsonValue &index: beatsIndexes) { + result[index.toString()] = beatsColor; + } + } +--- a/src/converter/internal/convertercontroller.cpp ++++ b/src/converter/internal/convertercontroller.cpp +@@ -258,7 +258,7 @@ RetVal ConverterController::parseBatchJob(const m + return io::Dir::fromNativeSeparators(path).toQString(); + }; + +- for (const QJsonValueRef obj : arr) { ++ for (const QJsonValue &obj : arr) { + Job job; + job.in = correctUserInputPath(obj[u"in"].toString()); + +@@ -278,7 +278,7 @@ RetVal ConverterController::parseBatchJob(const m + rv.val.push_back(std::move(job)); + } else if (outValue.isArray()) { + const QJsonArray outArray = outValue.toArray(); +- for (const QJsonValueRef outItem : outArray) { ++ for (const QJsonValue &outItem : outArray) { + Job partJob = job; // Copy the input path + if (outItem.isString()) { + partJob.out = correctUserInputPath(outItem.toString()); diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild index beb2078f4b5a..9daa4e07cf3f 100644 --- a/media-sound/musescore/musescore-9999.ebuild +++ b/media-sound/musescore/musescore-9999.ebuild @@ -63,6 +63,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.2.0-dynamic_cast-crash.patch" "${FILESDIR}/${PN}-4.4.0-include.patch" "${FILESDIR}/${PN}-4.5.0-missing-includes.patch" + "${FILESDIR}/${PN}-4.6.0-qjsonvalue.patch" ) src_unpack() {