Sync from SUSE:SLFO:Main jack revision 854d8f4c02ab06acae41538cf87470ed

This commit is contained in:
Adrian Schröter 2025-03-28 16:59:30 +01:00
parent b7109ac849
commit ab40f8368a
3 changed files with 44 additions and 5 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Nov 23 16:43:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add python313-waflib.patch to fix build with python 3.13
-------------------------------------------------------------------
Thu Apr 11 18:06:26 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Make jack explicitly require libjack{,net,server}%{sonum} so
that the official libraries are installed and zypper doesn't
just use the pipewire-libjack-0_3 replacement libraries
(related to boo#1222253)
-------------------------------------------------------------------
Thu Apr 11 09:20:55 UTC 2024 - pgajdos@suse.com
@ -38,7 +51,7 @@ Wed Apr 20 20:05:25 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Fix potential memory corruption in midi_latency_test tool
* Fix JackWeakAPI on Windows
* Use predefined variables in pkg-config file (required for mingw)
-------------------------------------------------------------------
Tue Mar 1 17:17:07 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>
@ -366,7 +379,7 @@ Fri May 2 09:10:30 CEST 2014 - ohering@suse.de
-------------------------------------------------------------------
Tue Jun 11 22:52:31 UTC 2013 - dmueller@suse.com
- add aarch64.patch
- add aarch64.patch
-------------------------------------------------------------------
Thu Jun 6 09:29:16 UTC 2013 - cdenicolo@suse.com
@ -438,7 +451,7 @@ Wed Jun 27 15:23:00 UTC 2012 - dvaleev@suse.com
-------------------------------------------------------------------
Tue Apr 10 16:05:10 UTC 2012 - klaussfreire@gmail.com
- Disable parallel build to limit resource usage and prevent hung
- Disable parallel build to limit resource usage and prevent hung
build hosts.
-------------------------------------------------------------------

View File

@ -31,6 +31,7 @@ Group: System/Sound Daemons
URL: https://jackaudio.org/
Source0: https://github.com/jackaudio/jack2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch1: python313-waflib.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
@ -52,6 +53,9 @@ BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile)
Requires: jack-dbus
Requires: libjack%{sonum}
Requires: libjacknet%{sonum}
Requires: libjackserver%{sonum}
Conflicts: jack-daemon
Provides: jack-audio-connection-kit
Provides: jack-daemon
@ -132,8 +136,7 @@ This package contains the files needed to compile programs that
communicate with jack clients/servers.
%prep
%setup -q -n %{name}2-%{version}
%autopatch -p1
%autosetup -p1 -n %{name}2-%{version}
%build
%define _lto_cflags %{nil}

23
python313-waflib.patch Normal file
View File

@ -0,0 +1,23 @@
Index: jack2-1.9.22/waflib/Context.py
===================================================================
--- jack2-1.9.22.orig/waflib/Context.py
+++ jack2-1.9.22/waflib/Context.py
@@ -6,10 +6,17 @@
Classes and functions enabling the command system
"""
-import os, re, imp, sys
+import os, re, sys
from waflib import Utils, Errors, Logs
import waflib.Node
+if sys.hexversion >= 0x3040000:
+ import types
+ class imp(object):
+ new_module = lambda x: types.ModuleType(x)
+else:
+ import imp
+
# the following 3 constants are updated on each new release (do not touch)
HEXVERSION=0x2000c00
"""Constant updated on new releases"""