public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/musescore/files/, media-sound/musescore/
Date: Mon,  9 Jan 2023 12:03:11 +0000 (UTC)	[thread overview]
Message-ID: <1673265782.c1ae317df122aeeed663423681fc75a55738752f.sam@gentoo> (raw)

commit:     c1ae317df122aeeed663423681fc75a55738752f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  9 12:02:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  9 12:03:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ae317d

media-sound/musescore: fix build for 9999

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/musescore-9999-missing-qt-includes.patch | 217 +++++++++++++++++++++
 media-sound/musescore/musescore-9999.ebuild        |   6 +-
 2 files changed, 222 insertions(+), 1 deletion(-)

diff --git a/media-sound/musescore/files/musescore-9999-missing-qt-includes.patch b/media-sound/musescore/files/musescore-9999-missing-qt-includes.patch
new file mode 100644
index 000000000000..2cfa8f2b8fca
--- /dev/null
+++ b/media-sound/musescore/files/musescore-9999-missing-qt-includes.patch
@@ -0,0 +1,217 @@
+https://github.com/musescore/MuseScore/pull/15775
+
+From 6f3168324d265b4df262c0c3a37bebdb056b6671 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Mon, 9 Jan 2023 11:55:35 +0000
+Subject: [PATCH] Add missing includes (mostly Qt)
+
+--- a/src/appshell/iapplicationactioncontroller.h
++++ b/src/appshell/iapplicationactioncontroller.h
+@@ -22,6 +22,9 @@
+ #ifndef MU_APPSHELL_IAPPLICATIONACTIONCONTROLLER_H
+ #define MU_APPSHELL_IAPPLICATIONACTIONCONTROLLER_H
+ 
++#include <QDragEnterEvent>
++#include <QDropEvent>
++#include <QDragMoveEvent>
+ #include <QEvent>
+ 
+ #include "modularity/imoduleexport.h"
+--- a/src/autobot/internal/api/interactiveapi.cpp
++++ b/src/autobot/internal/api/interactiveapi.cpp
+@@ -19,6 +19,8 @@
+  * You should have received a copy of the GNU General Public License
+  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+  */
++#include <QUrl>
++
+ #include "interactiveapi.h"
+ 
+ using namespace mu::api;
+--- a/src/autobot/internal/jsmoduleloader.cpp
++++ b/src/autobot/internal/jsmoduleloader.cpp
+@@ -19,6 +19,8 @@
+  * You should have received a copy of the GNU General Public License
+  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+  */
++#include <QFileInfo>
++
+ #include "jsmoduleloader.h"
+ 
+ #include "scriptengine.h"
+--- a/src/framework/audio/internal/worker/playback.cpp
++++ b/src/framework/audio/internal/worker/playback.cpp
+@@ -19,6 +19,9 @@
+  * You should have received a copy of the GNU General Public License
+  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+  */
++
++#include <utility>
++
+ #include "playback.h"
+ 
+ #include "log.h"
+--- a/src/framework/global/thirdparty/deto_async/async/promise.h
++++ b/src/framework/global/thirdparty/deto_async/async/promise.h
+@@ -3,6 +3,9 @@
+ 
+ #include <memory>
+ #include <string>
++
++#include <QtCore/qcompilerdetection.h>
++
+ #include "internal/abstractinvoker.h"
+ #include "async.h"
+ 
+--- a/src/framework/ui/view/uitheme.h
++++ b/src/framework/ui/view/uitheme.h
+@@ -24,6 +24,7 @@
+ #define MU_UI_UITHEME_H
+ 
+ #include <QFont>
++#include <QPainter>
+ #include <QProxyStyle>
+ 
+ #include "modularity/ioc.h"
+--- a/src/importexport/bb/internal/bb.cpp
++++ b/src/importexport/bb/internal/bb.cpp
+@@ -20,6 +20,9 @@
+  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+  */
+ 
++#include <QFile>
++#include <QFileInfo>
++
+ #include "bb.h"
+ 
+ #include "engravingerrors.h"
+--- a/src/importexport/imagesexport/internal/svggenerator.cpp
++++ b/src/importexport/imagesexport/internal/svggenerator.cpp
+@@ -22,6 +22,7 @@
+ 
+ #include <QTextStream>
+ #include <QBuffer>
++#include <QFile>
+ #include <QTextCodec>
+ #include <QPainterPath>
+ #include <QMimeType>
+--- a/src/importexport/midi/internal/midiimport/importmidi_model.h
++++ b/src/importexport/midi/internal/midiimport/importmidi_model.h
+@@ -26,6 +26,8 @@
+ 
+ #include <memory>
+ 
++#include <QAbstractTableModel>
++
+ namespace mu::iex::midi {
+ class TracksModel : public QAbstractTableModel
+ {
+--- a/src/importexport/midi/internal/midiimport/importmidi_operations.cpp
++++ b/src/importexport/midi/internal/midiimport/importmidi_operations.cpp
+@@ -21,6 +21,7 @@
+  */
+ #include "importmidi_operations.h"
+ 
++#include <QFile>
+ #include <QXmlStreamReader>
+ 
+ #include "log.h"
+--- a/src/importexport/musedata/internal/musedatareader.cpp
++++ b/src/importexport/musedata/internal/musedatareader.cpp
+@@ -19,6 +19,9 @@
+  * You should have received a copy of the GNU General Public License
+  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+  */
++
++#include <QFileInfo>
++
+ #include "musedatareader.h"
+ 
+ #include "musedata.h"
+--- a/src/multiinstances/internal/ipc/ipc.cpp
++++ b/src/multiinstances/internal/ipc/ipc.cpp
+@@ -21,6 +21,8 @@
+  */
+ #include "ipc.h"
+ 
++#include <QDataStream>
++
+ #include <QJsonDocument>
+ #include <QJsonObject>
+ #include <QJsonArray>
+--- a/src/notation/view/notationnavigator.h
++++ b/src/notation/view/notationnavigator.h
+@@ -23,6 +23,8 @@
+ #define MU_NOTATION_NOTATIONNAVIGATOR_H
+ 
+ #include <QObject>
++#include <QMouseEvent>
++#include <QPainter>
+ #include <QQuickPaintedItem>
+ 
+ #include "modularity/ioc.h"
+--- a/src/notation/view/notationviewinputcontroller.cpp
++++ b/src/notation/view/notationviewinputcontroller.cpp
+@@ -21,6 +21,7 @@
+  */
+ #include "notationviewinputcontroller.h"
+ 
++#include <QApplication>
+ #include <QMimeData>
+ #include <QQuickItem>
+ #include <QTimer>
+--- a/src/palette/view/widgets/palettewidget.cpp
++++ b/src/palette/view/widgets/palettewidget.cpp
+@@ -27,8 +27,10 @@
+ #include <QAccessible>
+ #include <QAccessibleEvent>
+ #include <QAction>
++#include <QApplication>
+ #include <QContextMenuEvent>
+ #include <QDrag>
++#include <QFileInfo>
+ #include <QMenu>
+ #include <QMimeData>
+ #include <QResizeEvent>
+--- a/src/project/internal/exportprojectscenario.cpp
++++ b/src/project/internal/exportprojectscenario.cpp
+@@ -19,6 +19,8 @@
+  * You should have received a copy of the GNU General Public License
+  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+  */
++#include <QFile>
++
+ #include "exportprojectscenario.h"
+ 
+ #include "async/async.h"
+--- a/src/project/view/exportdialogmodel.cpp
++++ b/src/project/view/exportdialogmodel.cpp
+@@ -21,6 +21,7 @@
+  */
+ #include "exportdialogmodel.h"
+ 
++#include <QApplication>
+ #include <QItemSelectionModel>
+ 
+ #include "async/async.h"
+--- a/src/workspace/view/newworkspacemodel.h
++++ b/src/workspace/view/newworkspacemodel.h
+@@ -24,6 +24,7 @@
+ #define MU_WORKSPACE_NEWWORKSPACEMODEL_H
+ 
+ #include <QObject>
++#include <QVariant>
+ 
+ namespace mu::workspace {
+ class NewWorkspaceModel : public QObject
+--- a/thirdparty/beatroot/AgentList.h
++++ b/thirdparty/beatroot/AgentList.h
+@@ -18,6 +18,7 @@
+ 
+ #include "Event.h"
+ 
++#include <cstddef>
+ #include <vector>
+ 
+ 
+

diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild
index d2e8794771d9..06685fa6b24a 100644
--- a/media-sound/musescore/musescore-9999.ebuild
+++ b/media-sound/musescore/musescore-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -62,6 +62,10 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-9999-missing-qt-includes.patch
+)
+
 src_unpack() {
 	if [[ ${PV} == "9999" ]]; then
 		git-r3_src_unpack


             reply	other threads:[~2023-01-09 12:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09 12:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-27  9:12 [gentoo-commits] repo/gentoo:master commit in: media-sound/musescore/files/, media-sound/musescore/ Miroslav Šulc
2024-08-04 11:24 Miroslav Šulc
2024-08-04 11:16 Miroslav Šulc
2024-08-04 10:14 Miroslav Šulc
2023-01-09 15:07 Sam James
2021-02-28 11:47 Miroslav Šulc
2020-10-17  9:07 Miroslav Šulc
2020-08-06 13:28 Miroslav Šulc
2020-04-02 12:59 Miroslav Šulc
2020-03-04 16:19 Miroslav Šulc
2020-01-04 14:58 Miroslav Šulc
2019-04-28 23:45 Andreas Sturmlechner
2019-02-01 19:50 Miroslav Šulc
2018-12-24  0:51 Andreas Sturmlechner
2018-08-21 21:23 Andreas Sturmlechner
2018-08-21 21:23 Andreas Sturmlechner
2018-08-17 22:04 Andreas Sturmlechner
2017-12-09 23:13 Michał Górny
2017-07-30 15:45 David Seifert
2017-01-30 13:20 Johannes Huber
2017-01-04 10:15 David Seifert
2016-11-29  8:29 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673265782.c1ae317df122aeeed663423681fc75a55738752f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox