Compare commits
41 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8022010cee | ||
|
|
0e08c1f334 | ||
|
|
6698953808 | ||
|
|
5f8bf1c356 | ||
|
|
7cd13a6795 | ||
|
|
2393a352a6 | ||
|
|
51f3baa960 | ||
|
|
0b2713db0e | ||
|
|
dc9e2f2103 | ||
|
|
3677f1e245 | ||
|
|
95aef9386d | ||
|
|
a257d27363 | ||
|
|
deff62a784 | ||
|
|
5fcf626ea0 | ||
|
|
c587cda8fe | ||
|
|
9f1241cc6c | ||
|
|
b9239690f5 | ||
|
|
5819615ec6 | ||
|
|
17c0f46bf3 | ||
|
|
baa61a9456 | ||
|
|
8deeb50959 | ||
|
|
998faaa79c | ||
|
|
a36c49f269 | ||
|
|
ac54edcf01 | ||
|
|
6676a81258 | ||
|
|
98135f784c | ||
|
|
dadd5e240a | ||
|
|
125c202848 | ||
|
|
1ff548c31c | ||
|
|
8dae9b13ad | ||
|
|
fae966635a | ||
|
|
b58fdc23cb | ||
|
|
85e3a23c71 | ||
|
|
1ae3db077e | ||
|
|
50698cf1e3 | ||
|
|
946a2a0b98 | ||
|
|
9dca03548c | ||
|
|
f1ef0de38a | ||
|
|
9ad105d12b | ||
|
|
450ff58b69 | ||
|
|
1a7da2b644 |
7 changed files with 259 additions and 39 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
a2jmidid-6.tar.bz2
|
||||
/a2jmidid-7.tar.bz2
|
||||
/a2jmidid-8.tar.bz2
|
||||
/a2jmidid-9.tar.gz
|
||||
|
|
|
|||
44
a2jmidid-add-riscv64-support.patch
Normal file
44
a2jmidid-add-riscv64-support.patch
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
From 2c3fbef6854743416d95d85b1565dde51668488c Mon Sep 17 00:00:00 2001
|
||||
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
||||
Date: Fri, 1 Oct 2021 16:15:29 +0200
|
||||
Subject: [PATCH] sigsegv: enable RISC-V build
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Avoid build error
|
||||
|
||||
../sigsegv.c:104:39: error: ‘mcontext_t’ has no member named ‘gregs’;
|
||||
did you mean ‘__gregs’?
|
||||
104 | ucontext->uc_mcontext.gregs[i]
|
||||
| ^~~~~
|
||||
|
||||
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
||||
---
|
||||
sigsegv.c | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sigsegv.c b/sigsegv.c
|
||||
index fb4456e..6930185 100644
|
||||
--- a/sigsegv.c
|
||||
+++ b/sigsegv.c
|
||||
@@ -91,7 +91,9 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
|
||||
a2j_error("info.si_errno = %d", info->si_errno);
|
||||
a2j_error("info.si_code = %d (%s)", info->si_code, si_codes[info->si_code]);
|
||||
a2j_error("info.si_addr = %p", info->si_addr);
|
||||
-#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__)
|
||||
+#if !defined(__alpha__) && !defined(__ia64__) && \
|
||||
+ !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && \
|
||||
+ !defined(__sh__) && !defined(__aarch64__) && !defined(__riscv)
|
||||
for(i = 0; i < NGREG; i++)
|
||||
a2j_error("reg[%02d] = 0x" REGFORMAT, i,
|
||||
#if defined(__powerpc__) && !defined(__powerpc64__)
|
||||
@@ -108,7 +110,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
|
||||
ucontext->uc_mcontext.gregs[i]
|
||||
#endif
|
||||
);
|
||||
-#endif /* alpha, ia64, kFreeBSD, arm, hppa, aarch64 */
|
||||
+#endif /* alpha, ia64, kFreeBSD, arm, hppa, aarch64, riscv */
|
||||
|
||||
#if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64)
|
||||
# if defined(SIGSEGV_STACK_IA64)
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
diff -rupN a2jmidid-8.old/wscript a2jmidid-8/wscript
|
||||
--- a2jmidid-8.old/wscript 2012-07-04 21:14:23.000000000 -0400
|
||||
+++ a2jmidid-8/wscript 2012-07-09 22:38:36.474015629 -0400
|
||||
@@ -67,6 +67,7 @@ def configure(conf):
|
||||
conf.env['DBUS_ENABLED'] = False
|
||||
|
||||
conf.env['LIB_DL'] = ['dl']
|
||||
+ conf.env['LIB_PTHREAD'] = ['pthread']
|
||||
|
||||
#conf.check_header('expat.h', mandatory=True)
|
||||
#conf.env['LIB_EXPAT'] = ['expat']
|
||||
@@ -152,7 +153,7 @@ def build(bld):
|
||||
|
||||
prog.includes = '.' # make waf dependency tracking work
|
||||
prog.target = 'a2jmidid'
|
||||
- prog.uselib = 'ALSA JACK DL'
|
||||
+ prog.uselib = 'ALSA JACK DL PTHREAD'
|
||||
if bld.env()['DBUS_ENABLED']:
|
||||
prog.uselib += " DBUS-1"
|
||||
prog = bld.create_obj('cc', 'program')
|
||||
49
a2jmidid-man.patch
Normal file
49
a2jmidid-man.patch
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
diff --git a/man/a2jmidi_bridge.1 b/man/a2jmidi_bridge.1
|
||||
index c4c358d..e3a4af8 100644
|
||||
--- a/man/a2jmidi_bridge.1
|
||||
+++ b/man/a2jmidi_bridge.1
|
||||
@@ -5,7 +5,7 @@ a2jmidi_bridge \- static bridge with one ALSA playback port and one JACK MIDI in
|
||||
.SH SYNOPSIS
|
||||
.B a2jmidi_bridge [NAME]
|
||||
.SH DESCRIPTION
|
||||
-A single, static, one-way bridge from legacy ALSA MIDI to JACK MIDI. Mostly useful for those needing a steady bridge rather than an active briding daemon such as a2jmidid. Multiple instances of this can be run simultaneously.
|
||||
+A single, static, one-way bridge from legacy ALSA MIDI to JACK MIDI. Mostly useful for those needing a steady bridge rather than an active bridging daemon such as a2jmidid. Multiple instances of this can be run simultaneously.
|
||||
.SH OPTIONS
|
||||
.IP NAME
|
||||
names the given bridge with the name provided
|
||||
@@ -15,4 +15,3 @@ Eric Hedekar <after the beep at g mail dot nospam com>
|
||||
.BR a2jmidid (1),
|
||||
.BR a2j_control (1),
|
||||
.BR j2amidi_bridge (1)
|
||||
-
|
||||
diff --git a/man/a2jmidid.1 b/man/a2jmidid.1
|
||||
index d4b4bf5..432e0a5 100644
|
||||
--- a/man/a2jmidid.1
|
||||
+++ b/man/a2jmidid.1
|
||||
@@ -6,7 +6,7 @@ a2jmidid \- JACK MIDI daemon for ALSA MIDI
|
||||
.B a2jmidid [-j jack-server] [e | --export-hw]
|
||||
.SH DESCRIPTION
|
||||
a2jmidid is a daemon that implements automatic bridging. For every ALSA
|
||||
-sequencer port you get one jack midi port. If ALSA sequencer port is
|
||||
+sequencer port you get one JACK midi port. If ALSA sequencer port is
|
||||
both input and output one, you get two JACK MIDI ports, one input and
|
||||
output.
|
||||
.SH OPTIONS
|
||||
diff --git a/man/j2amidi_bridge.1 b/man/j2amidi_bridge.1
|
||||
index e2f2ce0..8c4bcbd 100644
|
||||
--- a/man/j2amidi_bridge.1
|
||||
+++ b/man/j2amidi_bridge.1
|
||||
@@ -5,7 +5,7 @@ j2amidi_bridge \- static bridge with one ALSA input port and one JACK MIDI outpu
|
||||
.SH SYNOPSIS
|
||||
.B j2amidi_bridge [NAME]
|
||||
.SH DESCRIPTION
|
||||
-A single, static, one-way bridge from JACK MIDI to legacy ALSA MIDI. Mostly useful for those needing a steady bridge rather than an active briding daemon such as a2jmidid. Multiple instances of this can be run simultaneously.
|
||||
+A single, static, one-way bridge from JACK MIDI to legacy ALSA MIDI. Mostly useful for those needing a steady bridge rather than an active bridging daemon such as a2jmidid. Multiple instances of this can be run simultaneously.
|
||||
.SH OPTIONS
|
||||
.IP NAME
|
||||
names the given bridge with the name provided
|
||||
@@ -15,4 +15,3 @@ Eric Hedekar <after the beep at g mail dot nospam com>
|
||||
.BR a2jmidid (1),
|
||||
.BR a2j_control (1),
|
||||
.BR a2jmidi_bridge (1)
|
||||
-
|
||||
17
a2jmidid-portname.patch
Normal file
17
a2jmidid-portname.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/port.c b/port.c
|
||||
index 3a7c41e..523fae2 100644
|
||||
--- a/port.c
|
||||
+++ b/port.c
|
||||
@@ -116,10 +116,11 @@ a2j_port_fill_name(
|
||||
ret = snprintf(
|
||||
port_ptr->name,
|
||||
g_max_jack_port_name_size,
|
||||
- "%s [%d] (%s): %s",
|
||||
+ "%s [%d] (%s): [%d] %s",
|
||||
snd_seq_client_info_get_name(client_info_ptr),
|
||||
snd_seq_client_info_get_client(client_info_ptr),
|
||||
type == A2J_PORT_CAPTURE ? "capture": "playback",
|
||||
+ snd_seq_port_info_get_port(port_info_ptr),
|
||||
snd_seq_port_info_get_name(port_info_ptr));
|
||||
}
|
||||
else
|
||||
165
a2jmidid.spec
165
a2jmidid.spec
|
|
@ -1,22 +1,30 @@
|
|||
Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system
|
||||
Name: a2jmidid
|
||||
Version: 8
|
||||
Release: 1%{?dist}
|
||||
URL: http://home.gna.org/a2jmidid/
|
||||
Source0: http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2
|
||||
Version: 9
|
||||
Release: 19%{?dist}
|
||||
URL: https://github.com/linuxaudio/a2jmidid
|
||||
Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# Backported from upstream
|
||||
Patch0: %{name}-man.patch
|
||||
Patch1: %{name}-portname.patch
|
||||
Patch2: %{name}-add-riscv64-support.patch
|
||||
|
||||
# a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+
|
||||
# The rest is GPLv2
|
||||
# Fix DSO linking: https://gna.org/support/index.php?2934
|
||||
Patch0: a2jmidid-linking.patch
|
||||
License: GPLv2 and GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
# Automatically converted from old format: GPLv2 and GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-only AND GPL-2.0-or-later
|
||||
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: gcc
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
BuildRequires: pipewire-jack-audio-connection-kit-devel
|
||||
%else
|
||||
BuildRequires: jack-audio-connection-kit-devel
|
||||
BuildRequires: python
|
||||
%endif
|
||||
BuildRequires: meson
|
||||
Requires: dbus
|
||||
|
||||
Requires: python3
|
||||
|
||||
%description
|
||||
a2jmidid is a project that aims to ease usage of legacy ALSA sequencer
|
||||
|
|
@ -31,20 +39,21 @@ The second approach is to static bridges. You start application that creates
|
|||
one ALSA sequencer port and one JACK MIDI port. Such bridge is unidirectional.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .dso.linking
|
||||
%autosetup -p1
|
||||
|
||||
# Fix Python shebangs
|
||||
sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
./waf configure --prefix=%{_prefix} \
|
||||
--enable-pkg-config-dbus-service-dir
|
||||
./waf %{?_smp_mflags} -v
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
./waf --destdir=%{buildroot} -v install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%doc AUTHORS README gpl2.txt NEWS
|
||||
%doc AUTHORS.rst README.rst CHANGELOG.rst
|
||||
%license LICENSE
|
||||
%{_bindir}/a2j
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/a2j_control
|
||||
|
|
@ -55,6 +64,126 @@ export CFLAGS="%{optflags}"
|
|||
%{_mandir}/man1/j2a*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 9-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Mar 27 2025 Davide Cavalca <dcavalca@fedoraproject.org> - 9-17
|
||||
- Switch to pipewire-jack-audio-connection-kit-devel where available
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 9-15
|
||||
- convert license to SPDX
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Oct 06 2023 Songsong Zhang <U2FsdGVkX1@gmail.com> - 9-11
|
||||
- Add riscv64 patch from https://github.com/jackaudio/a2jmidid/pull/18
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9-4
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Sep 26 2019 Guido Aulisi <guido.aulisi@gmail.com> - 9-1
|
||||
- Update to version 9
|
||||
- New upstream
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 19 2018 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8-18
|
||||
- Use Fedora link flags
|
||||
- BR: gcc
|
||||
- Moved license file to %%license
|
||||
- Fix Python shebangs
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 8-16
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Feb 16 2017 Orcan Ogetbil <oget [dot] fedora [at] gmail [dot] com> - 8-12
|
||||
- Add patch to fix build on ppc64*
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Oct 26 2014 Peter Robinson <pbrobinson@fedoraproject.org> 8-8
|
||||
- Add patch to fix ftbfs on aarch64
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jan 13 2013 Brendan Jones <brendan.jones.it@gmail.com> 8-3
|
||||
- Release bump for F19
|
||||
|
||||
* Sat Sep 15 2012 Jørn Lomax <northlomax@gmail.com> - 8-2
|
||||
- added patch for man pages
|
||||
|
||||
* Mon Jul 09 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8-1
|
||||
- Update to 8.
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
9cf4edbc3ad2ddeeaf6c8c1791ff3ddd a2jmidid-8.tar.bz2
|
||||
SHA512 (a2jmidid-9.tar.gz) = 5bd13b6904ed68c5bfe40ca516fd49b7eb4d4a946b9908ee04687265848734c8e1a81579f0f1a5bd0752595be8858dc748da10487b7f366394c09a5ffc7d5e5c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue