public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/milkytracker] rawhide: Rebuilt for rtmidi-6.1.0
@ 2026-11-27 11:14 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-11-27 11:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/milkytracker
Branch : rawhide
Commit : a8214b6226b9d5287e141b5059f589c3b59af217
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-11-24T09:49:37+01:00
Stats : +68/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/milkytracker/c/a8214b6226b9d5287e141b5059f589c3b59af217?branch=rawhide
Log:
Rebuilt for rtmidi-6.1.0
---
diff --git a/milkytracker-1.06-rtmidi-6.1.patch b/milkytracker-1.06-rtmidi-6.1.patch
new file mode 100644
index 0000000..9270bca
--- /dev/null
+++ b/milkytracker-1.06-rtmidi-6.1.patch
@@ -0,0 +1,60 @@
+From fe29c2be199642feda3254a89280a72ec7ebf7be Mon Sep 17 00:00:00 2001
+From: Matthew White <mehw.is.me@proton.me>
+Date: Sun, 1 Nov 2026 14:08:24 +0000
+Subject: [PATCH] Fix incomplete type error for class RtMidiIn
+
+This error was found while compiling MilkyTracker v1.05.01 on Gentoo.
+
+It can be fixed by replacing the forward declaration of RtMidiIn with
+its definition from RtMidi.h header.
+
+Additionally, mark RTMIDI_INCLUDE_DIRS as PUBLIC, so that the correct
+include directory (e.g. '/usr/include/rtmidi' on Gentoo) is available
+when compiling.
+
+Buglink: https://bugs.gentoo.org/985348
+Signed-off-by: Matthew White <mehw.is.me@proton.me>
+---
+ src/midi/CMakeLists.txt | 1 +
+ src/midi/posix/MidiReceiver_pthread.cpp | 1 -
+ src/midi/posix/MidiReceiver_pthread.h | 3 +--
+ 3 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/src/midi/CMakeLists.txt b/src/midi/CMakeLists.txt
+index ceb850e6..d737c84c 100644
+--- a/src/midi/CMakeLists.txt
++++ b/src/midi/CMakeLists.txt
+@@ -111,6 +111,7 @@ else()
+ target_include_directories(midi
+ PRIVATE
+ ${CMAKE_CURRENT_SOURCE_DIR}/../ppui/osinterface/posix
++ PUBLIC
+ ${RTMIDI_INCLUDE_DIRS}
+ )
+
+diff --git a/src/midi/posix/MidiReceiver_pthread.cpp b/src/midi/posix/MidiReceiver_pthread.cpp
+index 43a51485..f9e7f50f 100644
+--- a/src/midi/posix/MidiReceiver_pthread.cpp
++++ b/src/midi/posix/MidiReceiver_pthread.cpp
+@@ -31,7 +31,6 @@
+ #include "MidiReceiver_pthread.h"
+ #include "Tracker.h"
+ #include "PPMutex.h"
+-#include "RtMidi.h"
+ #include "PPSystem.h"
+ #include <iostream>
+ #include "MidiTools.h"
+diff --git a/src/midi/posix/MidiReceiver_pthread.h b/src/midi/posix/MidiReceiver_pthread.h
+index 23b7abad..a8e2abe1 100644
+--- a/src/midi/posix/MidiReceiver_pthread.h
++++ b/src/midi/posix/MidiReceiver_pthread.h
+@@ -32,8 +32,7 @@
+ #define __MIDIRECEIVER_H__
+
+ #include <vector>
+-
+-class RtMidiIn;
++#include "RtMidi.h"
+
+ class MidiReceiver
+ {
diff --git a/milkytracker.spec b/milkytracker.spec
index 4c88d2a..2d838ab 100644
--- a/milkytracker.spec
+++ b/milkytracker.spec
@@ -2,7 +2,7 @@ Name: milkytracker
%global rtld_name org.milkytracker.MilkyTracker
Version: 1.06
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Module tracker software for creating music
License: GPL-3.0-or-later AND BSD-3-Clause
@@ -15,6 +15,10 @@ Patch1: milkytracker-1.06-no-cmp0004.patch
# Milkytracker 1.06's CMakeLists.txt set "1.05.01" as the version
Patch2: milkytracker-1.06-VER_FULL.patch
+# Fix building with rtmidi-6.1.
+# https://github.com/milkytracker/MilkyTracker/pull/423
+Patch3: milkytracker-1.06-rtmidi-6.1.patch
+
BuildRequires: SDL2-devel
BuildRequires: cmake
BuildRequires: desktop-file-utils
@@ -78,6 +82,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{rtld_na
%changelog
+* Tue Nov 24 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.06-2
+- Rebuilt for rtmidi-6.1.0
+
* Mon Sep 21 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.06-1
- Update to v1.06
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 11:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 11:14 [rpms/milkytracker] rawhide: Rebuilt for rtmidi-6.1.0 Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox