From 8deeb50959edc9c570a237c6ce503eafc8fdda92 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 17:23:59 +0000 Subject: [PATCH 01/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index c5546ea..90e43db 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 8 -Release: 19%{?dist} +Release: 20%{?dist} URL: http://home.gna.org/a2jmidid/ Source0: http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2 # a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+ @@ -66,6 +66,9 @@ export LINKFLAGS="$RPM_LD_FLAGS" %{_mandir}/man1/j2a* %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 8-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From baa61a9456d5d829e55b828e8d3bf9d428968a5f Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Thu, 26 Sep 2019 13:21:24 +0200 Subject: [PATCH 02/21] Update to version 9 New upstream --- .gitignore | 1 + a2jmidid-aarch64.patch | 20 ------------ a2jmidid-linking.patch | 20 ------------ a2jmidid-man.patch | 68 +++++++++++++++++++++++++++++------------ a2jmidid-portname.patch | 17 +++++++++++ a2jmidid-ppc64.patch | 15 --------- a2jmidid.spec | 46 +++++++++++++--------------- sources | 2 +- 8 files changed, 89 insertions(+), 100 deletions(-) delete mode 100644 a2jmidid-aarch64.patch delete mode 100644 a2jmidid-linking.patch create mode 100644 a2jmidid-portname.patch delete mode 100644 a2jmidid-ppc64.patch diff --git a/.gitignore b/.gitignore index 3aaf6fd..456f069 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ a2jmidid-6.tar.bz2 /a2jmidid-7.tar.bz2 /a2jmidid-8.tar.bz2 +/a2jmidid-9.tar.gz diff --git a/a2jmidid-aarch64.patch b/a2jmidid-aarch64.patch deleted file mode 100644 index 7e16fe2..0000000 --- a/a2jmidid-aarch64.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a2jmidid-8/sigsegv.c.orig 2014-10-27 00:55:18.105347411 +0000 -+++ a2jmidid-8/sigsegv.c 2014-10-27 00:56:07.209296207 +0000 -@@ -91,7 +91,7 @@ - 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__) -+#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) - for(i = 0; i < NGREG; i++) - a2j_error("reg[%02d] = 0x" REGFORMAT, i, - #if defined(__powerpc__) -@@ -102,7 +102,7 @@ - ucontext->uc_mcontext.gregs[i] - #endif - ); --#endif /* alpha, ia64, kFreeBSD, arm, hppa */ -+#endif /* alpha, ia64, kFreeBSD, arm, hppa, aarch64 */ - - #if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64) - # if defined(SIGSEGV_STACK_IA64) diff --git a/a2jmidid-linking.patch b/a2jmidid-linking.patch deleted file mode 100644 index 15a3758..0000000 --- a/a2jmidid-linking.patch +++ /dev/null @@ -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') diff --git a/a2jmidid-man.patch b/a2jmidid-man.patch index a6b08e4..f536a66 100644 --- a/a2jmidid-man.patch +++ b/a2jmidid-man.patch @@ -1,19 +1,49 @@ -diff -Nurp a2jmidid/man/a2jmidid.1 a2jmidid.orig/man/a2jmidid.1 ---- a2jmidid/man/a2jmidid.1 2012-09-15 11:25:31.661714067 +0200 -+++ a2jmidid.orig/man/a2jmidid.1 2012-09-15 11:31:29.273764443 +0200 -@@ -19,13 +19,13 @@ specifies which jack-server to use - .SH NOTES - ALSA does not guarantee client names to by unique. I.e. it is possible - to have two apps that create two clients with same ALSA client name. --JACK however requires port names to be unqiue. To ensure this uniqueness, -+JACK however requires port names to be unique. To ensure this uniqueness, - a2jmidid will add the unique numeric ALSA client ID to the JACK port name. - However this behaviour is known to be problematic when restoring - connections using simplistic tools like aj\-snapshot and jack_connect. - In order to make them work, the -u option can be used. This option will - cause a2jmidid to omit the numeric ALSA Client ID from JACK port names. --In this mode, ALSA client name uniqueness must be guartanteed externally. -+In this mode, ALSA client name uniqueness must be guaranteed externally. - - .SH AUTHOR - Eric Hedekar +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 + .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 + .BR a2jmidid (1), + .BR a2j_control (1), + .BR a2jmidi_bridge (1) +- diff --git a/a2jmidid-portname.patch b/a2jmidid-portname.patch new file mode 100644 index 0000000..06c7368 --- /dev/null +++ b/a2jmidid-portname.patch @@ -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 diff --git a/a2jmidid-ppc64.patch b/a2jmidid-ppc64.patch deleted file mode 100644 index d2dfc6d..0000000 --- a/a2jmidid-ppc64.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -rupN a2jmidid-8.org/sigsegv.c a2jmidid-8/sigsegv.c ---- a2jmidid-8.org/sigsegv.c 2017-02-16 00:53:09.585594069 -0500 -+++ a2jmidid-8/sigsegv.c 2017-02-16 00:54:33.498225062 -0500 -@@ -94,8 +94,10 @@ static void signal_segv(int signum, sigi - #if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) - for(i = 0; i < NGREG; i++) - a2j_error("reg[%02d] = 0x" REGFORMAT, i, --#if defined(__powerpc__) -+#if defined(__powerpc__) && !defined(__powerpc64__) - ucontext->uc_mcontext.uc_regs[i] -+#elif defined(__powerpc64__) -+ ucontext->uc_mcontext.gp_regs[i] - #elif defined(__sparc__) && defined(__arch64__) - ucontext->uc_mcontext.mc_gregs[i] - #else diff --git a/a2jmidid.spec b/a2jmidid.spec index 90e43db..b2851a3 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,25 +1,24 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid -Version: 8 -Release: 20%{?dist} -URL: http://home.gna.org/a2jmidid/ -Source0: http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2 +Version: 9 +Release: 1%{?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 + # 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 -Patch1: a2jmidid-man.patch -Patch2: a2jmidid-aarch64.patch -Patch3: a2jmidid-ppc64.patch License: GPLv2 and GPLv2+ BuildRequires: alsa-lib-devel BuildRequires: dbus-devel BuildRequires: gcc BuildRequires: jack-audio-connection-kit-devel -BuildRequires: python2 +BuildRequires: meson Requires: dbus - +Requires: python3 %description a2jmidid is a project that aims to ease usage of legacy ALSA sequencer @@ -34,28 +33,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 -%patch1 -p1 -b .man -%patch2 -p1 -b .aarch64 -%patch3 -p1 -b .ppc64 +%autosetup -p1 # Fix Python shebangs -sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' a2j_control waf wscript +sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %build -export CFLAGS="%{optflags}" -export LINKFLAGS="$RPM_LD_FLAGS" -./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 NEWS -%license gpl2.txt +%doc AUTHORS.rst README.rst CHANGELOG.rst +%license LICENSE %{_bindir}/a2j %{_bindir}/%{name} %{_bindir}/a2j_control @@ -66,6 +58,10 @@ export LINKFLAGS="$RPM_LD_FLAGS" %{_mandir}/man1/j2a* %changelog +* Thu Sep 26 2019 Guido Aulisi - 9-1 +- Update to version 9 +- New upstream + * Wed Jul 24 2019 Fedora Release Engineering - 8-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index dc65b7e..e40c361 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9cf4edbc3ad2ddeeaf6c8c1791ff3ddd a2jmidid-8.tar.bz2 +SHA512 (a2jmidid-9.tar.gz) = 5bd13b6904ed68c5bfe40ca516fd49b7eb4d4a946b9908ee04687265848734c8e1a81579f0f1a5bd0752595be8858dc748da10487b7f366394c09a5ffc7d5e5c From 17c0f46bf3547774c3c6a03982ee31bdfc98615d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:04:07 +0000 Subject: [PATCH 03/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index b2851a3..bc63f62 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Sep 26 2019 Guido Aulisi - 9-1 - Update to version 9 - New upstream From 5819615ec6785a67b1d47ab5427ae02d6736ce6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 11:37:32 +0000 Subject: [PATCH 04/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index bc63f62..4996846 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Fedora Release Engineering - 9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From b9239690f52da3e77dd8ddb1c82a3de3a0906966 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jul 2020 23:45:48 +0000 Subject: [PATCH 05/21] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 4996846..692c49b 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,10 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Fri Jul 31 2020 Fedora Release Engineering - 9-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 9f1241cc6cb76c0455e5692998b321c806d86393 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 25 Jan 2021 23:41:34 +0000 Subject: [PATCH 06/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 692c49b..3546bc8 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Mon Jan 25 2021 Fedora Release Engineering - 9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Jul 31 2020 Fedora Release Engineering - 9-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From c587cda8fe2fc532de1a9c5e6e5cd6ea324134cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:13:25 +0000 Subject: [PATCH 07/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 5fcf626ea07f60f71a8ac1f513de84273df3f9e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:08:29 +0000 Subject: [PATCH 08/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 3546bc8..6a6971b 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 9-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Mon Jan 25 2021 Fedora Release Engineering - 9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From deff62a784d9e579c40fc2fc4470f8050f5cb0fe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 20:48:19 +0000 Subject: [PATCH 09/21] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 6a6971b..d025afa 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From a257d273632d44fe0efdf30ba79811005c2453be Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:18:49 +0000 Subject: [PATCH 10/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index d025afa..3ec0f42 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jan 19 2022 Fedora Release Engineering - 9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 95aef9386d97de1c32d721753a799afd4817b3de Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:16:29 +0000 Subject: [PATCH 11/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 3ec0f42..9ab3157 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 8%{?dist} +Release: 9%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 9-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 3677f1e24510f4de62d7b27585b5cd8d1f82d775 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 12:46:13 +0000 Subject: [PATCH 12/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 9ab3157..c75eef4 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 9%{?dist} +Release: 10%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -58,6 +58,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 9-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jan 18 2023 Fedora Release Engineering - 9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From dc9e2f21038fa7131e71983cb02cd7d39006898e Mon Sep 17 00:00:00 2001 From: U2FsdGVkX1 Date: Fri, 6 Oct 2023 13:59:44 +0800 Subject: [PATCH 13/21] Add riscv64 support --- a2jmidid-add-riscv64-support.patch | 44 ++++++++++++++++++++++++++++++ a2jmidid.spec | 6 +++- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 a2jmidid-add-riscv64-support.patch diff --git a/a2jmidid-add-riscv64-support.patch b/a2jmidid-add-riscv64-support.patch new file mode 100644 index 0000000..2b9e2ed --- /dev/null +++ b/a2jmidid-add-riscv64-support.patch @@ -0,0 +1,44 @@ +From 2c3fbef6854743416d95d85b1565dde51668488c Mon Sep 17 00:00:00 2001 +From: Heinrich Schuchardt +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 +--- + 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) diff --git a/a2jmidid.spec b/a2jmidid.spec index c75eef4..3e40122 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,12 +1,13 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 10%{?dist} +Release: 11%{?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 @@ -58,6 +59,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Fri Oct 06 2023 Songsong Zhang - 9-11 +- Add riscv64 patch from https://github.com/jackaudio/a2jmidid/pull/18 + * Wed Jul 19 2023 Fedora Release Engineering - 9-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 0b2713db0ea16da64de25ebdd70573872a4d249d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 11:56:46 +0000 Subject: [PATCH 14/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 3e40122..6da6bd4 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 11%{?dist} +Release: 12%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -59,6 +59,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 9-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Oct 06 2023 Songsong Zhang - 9-11 - Add riscv64 patch from https://github.com/jackaudio/a2jmidid/pull/18 From 51f3baa960142a1b62fffd0d32824dcd70af4c12 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 22:31:32 +0000 Subject: [PATCH 15/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 6da6bd4..57f68b5 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 12%{?dist} +Release: 13%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -59,6 +59,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 9-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 9-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 2393a352a6cb2a0575e541fc918e1ba5b2acf814 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 16:27:51 +0000 Subject: [PATCH 16/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 57f68b5..68dc7ac 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 13%{?dist} +Release: 14%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -59,6 +59,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 9-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 7cd13a67959a6fdd7779242f5889706a4515e3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 7 Aug 2024 09:18:25 +0200 Subject: [PATCH 17/21] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- a2jmidid.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 68dc7ac..dd8ab87 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 14%{?dist} +Release: 15%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -11,7 +11,8 @@ Patch2: %{name}-add-riscv64-support.patch # a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+ # The rest is GPLv2 -License: GPLv2 and GPLv2+ +# 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 @@ -59,6 +60,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Aug 07 2024 Miroslav Suchý - 9-15 +- convert license to SPDX + * Wed Jul 17 2024 Fedora Release Engineering - 9-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 5f8bf1c35661f43426aaee9952503ccefa4278f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 10:25:19 +0000 Subject: [PATCH 18/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index dd8ab87..bc8a5f4 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 15%{?dist} +Release: 16%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -60,6 +60,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 9-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Aug 07 2024 Miroslav Suchý - 9-15 - convert license to SPDX From 6698953808ac4b8c975b3c3cd3963dc02b51dd34 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 27 Mar 2025 08:46:28 -0700 Subject: [PATCH 19/21] Switch to pipewire-jack-audio-connection-kit-devel where available --- a2jmidid.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index bc8a5f4..6e1a4cc 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 16%{?dist} +Release: 17%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -17,7 +17,11 @@ 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 +%endif BuildRequires: meson Requires: dbus Requires: python3 @@ -60,6 +64,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Thu Mar 27 2025 Davide Cavalca - 9-17 +- Switch to pipewire-jack-audio-connection-kit-devel where available + * Thu Jan 16 2025 Fedora Release Engineering - 9-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 0e08c1f33429a1a4caf01f1d84f46cb81d99a26e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 16:40:43 +0000 Subject: [PATCH 20/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index 6e1a4cc..a5572dc 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 17%{?dist} +Release: 18%{?dist} URL: https://github.com/linuxaudio/a2jmidid Source0: https://github.com/linuxaudio/a2jmidid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Backported from upstream @@ -64,6 +64,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 9-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Mar 27 2025 Davide Cavalca - 9-17 - Switch to pipewire-jack-audio-connection-kit-devel where available From 8022010cee50ffe910ed36a9ae7412ea9983306a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:22:01 +0000 Subject: [PATCH 21/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- a2jmidid.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a2jmidid.spec b/a2jmidid.spec index a5572dc..938ee27 100644 --- a/a2jmidid.spec +++ b/a2jmidid.spec @@ -1,7 +1,7 @@ Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system Name: a2jmidid Version: 9 -Release: 18%{?dist} +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 @@ -64,6 +64,9 @@ sed -i 's|^#!/usr/bin/env python3|#!/usr/bin/python3|' a2j_control %{_mandir}/man1/j2a* %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 9-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Jul 23 2025 Fedora Release Engineering - 9-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild