rtmidi 6.1.0-1~exp1
Package Information
| Description | C++ library for realtime MIDI input/output RtMidi is a set of C++ classes that provides a common API (Application Programming Interface) for realtime MIDI input/output across Linux (native ALSA, JACK, and OSS), Macintosh OS X, SGI, and Windows (DirectSound and ASIO) operating systems. RtMidi significantly simplifies the process of interacting with computer audio hardware. It was designed with the following objectives: * object-oriented C++ design * simple, common API across all supported platforms * only one source and two header files for easy inclusion in programming projects * MIDI device enumeration MIDI input and output functionality are separated into two classes, RtMidiIn and RtMidiOut. Each class instance supports only a single MIDI connection. RtMidi does not provide timing functionality (i.e., output messages are sent immediately). Input messages are timestamped with delta times in seconds (via a double floating point type). MIDI data is passed to the user as raw bytes using an std::vector<unsigned char>. This package provides the shared library. |
|---|---|
| Maintainer | Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> |
| Changed By | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> |
| Sponsor | umlaeute@debian.org |
| Distribution | experimental |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/multimedia-team/rtmidi.git (browse) |
| Popcon Installs | 2059 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/rtmidi |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Fri, 20 Nov 2026 20:50:34 +0100 |
|---|---|
| Source | rtmidi |
| Version | 6.1.0-1~exp1 |
| Changed-By | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> |
| Architecture | source amd64 all |
| Distribution | experimental |
Changelog
rtmidi (6.1.0-1~exp1) experimental; urgency=medium
.
* New upstream version 6.1.0
+ Refresh patches
* Rename binary package to "librtmidi8" to reflect soname bump
* Add autopkgtest
* Bump dh-compat to 14
* Drop obsolete 'Priority: optional' stanza.
* Drop obsolete 'Rules-Requires-Root: no' stanza.
* Fix typo in short description of packages
* Fix typo in old NEWS
* Modernize d/watch to version 5
* Update copyright information
+ Update stanzas for moved files
+ Bump copyright dates
+ Update licensecheck ignore regex
+ Re-generate d/copyright_hints
* Update git repository layout to follow DEP-14
* Bump standards version to 4.7.4.dsc
| Section | libdevel |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librtmidi-dev deb libdevel optional arch=any librtmidi-doc deb doc optional arch=all librtmidi8 deb libs optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: RtMidi
Upstream-Contact: Gary P. Schiavone <gary@music.mcgill.ca>
Source: http://www.music.mcgill.ca/~gary/rtmidi/release/
Copyright: 2001-2026 Gary P. Scavone
Files: *
Copyright: 2003-2026 Gary P. Scavone
License: other-mit
Files: CMakeLists.txt
Copyright: © 2018, Juan G. Victores, Bartek Łukawski, Stephen Sinclair
License: other-mit
Files: examples/android/gradle*
Copyright: 2015, gradlew developers
License: Apache-2.0
Files: debian/*
Copyright:
2012-2014 Alessio Treglia <alessio@debian.org>
2013-2017 Jaromír Mikeš <mira.mikes@seznam.cz>
2017-2026 IOhannes m zmölnig <umlaeute@debian.org>
License: GPL-3+
License: other-mit
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
Any person wishing to distribute modifications to the Software is
asked to send the modifications to the original developer so that
they can be incorporated into the canonical version. This is,
however, not a binding provision of this license.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Comment:
On Debian systems, the complete text of the GNU General Public
License can be found in `/usr/share/common-licenses/GPL-3'.
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comment:
On Debian systems, the complete text of the Apache License
can be found in `/usr/share/common-licenses/Apache-2.0'.
DFSG Assistant LLM REVIEW 2 blocker, 0 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 0 hours ago.
Report
DFSG NEW review for rtmidi version 6.1.0-1~exp1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: No
- Issues: 2 blocker, 0 important, 3 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 4 found
Licensing
Most of the tree is correctly described: debian/copyright is DEP-5, reproduces the MIT/Expat text used by LICENSE, RtMidi.cpp and RtMidi.h, names the CMakeLists.txt holders, gives Apache-2.0 to the Gradle wrapper scripts and GPL-3+ to debian/*. But it mislicenses m4/ax_cxx_compile_stdcxx.m4 as other-mit although that file is under the FSF All-Permissive License (FSFAP) with eight other holders whose notice is reproduced nowhere, and the source package ships examples/android/gradle/wrapper/gradle-wrapper.jar, compiled Java bytecode whose source is not in the package.
Packaging
The packaging is otherwise current and conventional (debhelper compat 14, hardening=+all, DEP-5 copyright, a DEP-3 patch, salsa CI, an autopkgtest), but there are three defects: librtmidi-dev carries a needless librtaudio-dev dependency, the autopkgtest builds its programs inside a source tree autopkgtest does not make writable and declares no rw-build-tree restriction, and debian/rules clean deletes the upstream files doc/images/ccrma.gif and doc/images/mcgill.gif.
Issues
blocker
licensing
1. Files: * licenses m4/ax_cxx_compile_stdcxx.m4 as other-mit, but it is FSFAP with eight holders whose notice is not reproduced
◂
-
Files:
debian/copyright,m4/ax_cxx_compile_stdcxx.m4:30-41,configure.ac:67 -
Basis: checked, in the package or with a reference tool
-
Evidence:
configure.ac:67
m4_include([m4/ax_cxx_compile_stdcxx.m4]); the file itself says:# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com> ... # Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com> # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty.debian/copyright_hints records
License: FSFAPfor this file. -
Problem: The
Files: *stanza gives every file not matched later the MIT/Expat text and the single holder2003-2026 Gary P. Scavone. The m4 file has a different licence (FSF All-Permissive, not MIT), eight copyright holders, and a notice that must be preserved; none of that is in debian/copyright, so the file is misdescribed and its licence text is absent. Policy 2.3 does not require the holders of a build-only file to be copied into /usr/share/doc/package/copyright, but that does not make the licence statement in debian/copyright correct, and a wrong licence is a defect wherever the file is (the source package is distributed too). -
Fix: Add a
Files: m4/ax_cxx_compile_stdcxx.m4stanza afterFiles: *with the eight Copyright lines from m4/ax_cxx_compile_stdcxx.m4:30-37, and a stand-aloneLicense: FSFAPparagraph reproducing the four-line permission notice. Do not leave the file under other-mit.
blocker licensing 2. The source package ships a prebuilt Gradle wrapper jar (examples/android/gradle/wrapper/gradle-wrapper.jar) without its source ◂
- Files:
examples/android/gradle/wrapper/gradle-wrapper.jar,examples/android/gradlew:83,examples/android/gradle/wrapper/gradle-wrapper.properties:4 - Basis: checked, in the package or with a reference tool
- Evidence: gradlew:83
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jarand laterorg.gradle.wrapper.GradleWrapperMain; gradle-wrapper.properties:4distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip; the orig tarball contains onlygradle-wrapper.jar (57.8KB)andgradle-wrapper.properties (230B), no Java source. - Problem: A .jar is compiled Java bytecode; the scan flags this one as a built file, and its source (the Gradle wrapper bootstrap) is nowhere in the source package. The package therefore distributes a work only in binary form, contrary to DFSG point 2, even though debian/rules neither builds nor installs anything from examples/android. It is not test data and there is no source path to name. Its licence (Apache-2.0) is covered by the examples/android/gradle* stanza, but that does not supply the preferred form for modification.
- Fix: Repack the orig tarball to exclude examples/android/gradle/wrapper/gradle-wrapper.jar (Files-Excluded or a repack script, with the version suffix and the example README adjusted), or replace it with a wrapper built from source shipped in the package.
minor
packaging
3. The autopkgtest compiles into the source root but declares no rw-build-tree restriction
◂
- Files:
debian/tests/control:5,debian/tests/Makefile:13-19 - Basis: checked, in the package or with a reference tool
- Evidence: debian/tests/control:5
Test-Command: make -f debian/tests/Makefile; debian/tests/Makefile:13-19%: %.cand%: %.cpprun$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $< $(LIBS), writing apinames, cgetmessage, ... into the current directory. - Problem: The autopkgtest specification says a test's cwd is the root of the source package, unpacked but not built, and that tests 'may not modify the source tree (and may not have write access to it)'; write access needs
Restrictions: rw-build-tree. On a compliant testbed this test fails with permission denied before it tests anything. - Fix: Copy tests/ into $AUTOPKGTEST_TMP and build there, or at minimum add
Restrictions: rw-build-treeand remove the produced binaries afterwards.
minor packaging 4. librtmidi-dev depends on librtaudio-dev, which RtMidi neither uses nor exposes ◂
- Files:
debian/control:52 - Basis: checked, in the package or with a reference tool
- Evidence: debian/control:52
librtaudio-dev,in the Depends of Package: librtmidi-dev; a tree-wide search finds RtAudio only in doc/release.txt, rtmidi.pc.in hasRequires.private: @req@(jack, alsa) andLibs.private: -lpthread @req_libs@with no rtaudio, andapt-cache show librtaudio-devlistsSuggests: librtmidi-dev(the relation runs the other way). - Problem: Every librtmidi-dev installation pulls in librtaudio7, libpulse-dev and the rest of librtaudio-dev's dependencies for nothing: RtMidi 6.1.0 is a separate library and has no RtAudio dependency. A Depends is a promise about what consumers need, and this one is false.
- Fix: Drop librtaudio-dev from librtmidi-dev's Depends.
minor
packaging
5. debian/rules clean deletes the upstream files doc/images/ccrma.gif and doc/images/mcgill.gif
◂
- Files:
debian/rules:16-17,doc/images/ccrma.gif,doc/images/mcgill.gif - Basis: checked, in the package or with a reference tool
- Evidence: debian/rules:16-17
execute_after_dh_auto_clean:/rm -rf doc/html doc/images; the orig tarball hasrtmidi-6.1.0/doc/images/ccrma.gif (3.4KB)andmcgill.gif (4.5KB), and the only patch (0004) modifies configure.ac, so these are upstream source files, not build products. - Problem: Policy 4.9's clean target must undo the effects of build and binary. Deleting upstream source goes beyond that: after
debian/rules cleanthe tree no longer matches the orig tarball, so a source build from it records their deletion in a generated patch (or fails). Patch 0004 already keeps the images out of the -doc package, so the deletion is not needed for installation. - Fix: Remove
doc/imagesfrom the rm (keepdoc/html). If the images must not be distributed, remove them by repacking the orig tarball, as Policy 4.9 requires, rather than in clean.
Verified ◂
- Read all of debian/ except debian/watch (not reviewed), including control, rules, changelog, copyright and copyright_hints, the install/docs/links/doc-base/NEWS files, patches/series and the patch, tests/control and tests/Makefile, gbp.conf and gbp/postclone.sh, README.source, salsa-ci.yml, not-installed and source/format.
- debian/copyright is DEP-5 with the exact current Format URL and no Files-Excluded. Apart from the m4 file (issue), its Files: , CMakeLists.txt, examples/android/gradle and debian/* stanzas match the notices found; other-mit reproduces LICENSE/RtMidi.cpp/RtMidi.h, and CMakeLists.txt's three holders match its header.
- Searched the whole tree (excluding .pc/ and debian/) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU/Apache/MPL/public domain/All rights reserved and similar; the only distinct licences found are the project's MIT/Expat, Apache-2.0 in gradlew/gradlew.bat and FSFAP in m4/ax_cxx_compile_stdcxx.m4.
- The three 'non-commercial' scan hits are the MIDI SysEx universal non-real-time manufacturer ID 0x7D: comments in examples/android/app/src/main/java/com/rtmidi/yellowlab/midireader/MidiController.kt:166, tests/cgetmessage.c:98 and tests/sysexchunked.cpp:222. They are MIDI protocol text, not licence terms.
- The scan's 'possibly named under a similar name' holder is doc/doxygen/footer.html's
©2003-2023 Gary P. Scavone, McGill University. Gary P. Scavone is named in Files: *, McGill University is his affiliation in the same line, and the notice remains in the HTML the -doc package installs, so Policy 2.3 does not require it to be copied. - Binary files were not opened: doc/images/ccrma.gif and mcgill.gif are in the orig tarball and are kept out of the -doc binary by patch 0004; examples/android/images/midi.png and the mipmap webp launcher icons are example assets. All are covered by Files: *; judged by path and the documentation that uses them.
- The scan's built file is examples/android/gradle/wrapper/gradle-wrapper.jar, the standard Gradle 8.0 wrapper bootstrap; identified from gradlew/gradlew.bat and gradle-wrapper.properties (reported as an issue for want of source).
- There is only one patch, 0004-not-install-doc-images.patch, with DEP-3 Description/Author/Forwarded headers; it rewrites configure.ac only and creates no files.
- The orig tarball has no configure script and no Makefile; at compat 14 dh runs dh_autoreconf automatically, and debhelper depends on dh-autoreconf (which depends on autoconf, automake and libtool), so the autotools build regenerates configure without extra Build-Depends. This is not an FTBFS.
- Standards-Version 4.7.4 matches Policy 4.7.4.1 (first two components); the drop of Priority and Rules-Requires-Root is current practice (Policy 2.5, 5.6.31); librtmidi8 having no Depends field is correct at compat 14, where dh_gencontrol adds the relationship substvars.
- No maintainer scripts and no maintscript are present; librtmidi-dev's libasound2-dev/libjack-dev dependencies are defensible through rtmidi.pc's Requires.private and the static library.
- uscan found the packaged version as the newest upstream release (upstream
6.1.0, packaged6.1.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,GPL-3).
Not confirmed ◂
- No build, no debian/rules clean and no autopkgtest was run; the read-only-source-tree and cleaned-tree consequences are taken from the autopkgtest specification and Policy 4.9, not from execution.
- The Gradle wrapper jar and the GIF/PNG/WebP files were not opened (binary files), so their internal notices and file-level provenance beyond path and context are unchecked.
- Whether dpkg-source -b from a tree cleaned by debian/rules records the doc/images deletion in a generated patch or errors was not tested.
- Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused:
read: "xd://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.