git: 51040855256d - main - audio/jack: Update to 1.9.22 release.

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 10 Feb 2023 10:35:33 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51040855256d176862aa2b8f71c5319cc548036e

commit 51040855256d176862aa2b8f71c5319cc548036e
Author:     Florian Walpen <dev@submerge.ch>
AuthorDate: 2023-02-09 15:51:25 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-02-10 10:30:48 +0000

    audio/jack: Update to 1.9.22 release.
    
    ChangeLog: https://github.com/jackaudio/jack2/releases/tag/v1.9.22
    
     * The waf autooption --example-tools has been removed.
     * The example clients and tools are no longer part of the jack2 project.
     * Drop dependencies that were only used for example clients and tools
       (readline, sndfile and zita libs)
     * Fix build with python3.11+
     * Fix compatibility with macOS 12+
     * Fix ringbuffer thread safety on ARM
    
    PR:             269413
    Reported by:    dev@submerge.ch (maintainer)
---
 UPDATING                         |  7 +++++++
 audio/jack/Makefile              |  5 ++---
 audio/jack/distinfo              |  6 +++---
 audio/jack/files/patch-python311 | 19 -------------------
 audio/jack/pkg-message           |  3 +++
 5 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/UPDATING b/UPDATING
index 89f5e50a075e..41561bd470c1 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,13 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20230209:
+  AFFECTS: users of audio/jack
+  AUTHOR: fernape@FreeBSD.org
+
+  audio/jack 1.9.22 fixes an issue with latency correction on FreeBSD.
+  Latency correction parameters have to be measured again after update.
+
 20230130:
   AFFECTS: users of USES=nodejs, www/node*, www/npm* and www/yarn*
   AUTHOR: sunpoet@FreeBSD.org
diff --git a/audio/jack/Makefile b/audio/jack/Makefile
index 89abdb594b6f..329bf571630b 100644
--- a/audio/jack/Makefile
+++ b/audio/jack/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jackit
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.9.21
+DISTVERSION=	1.9.22
 CATEGORIES=	audio
 
 MAINTAINER=	dev@submerge.ch
@@ -27,8 +27,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 SHEBANG_FILES=	dbus/jack_control
 SHEBANG_LANG=	python3
 
-CONFIGURE_ARGS=	--celt=no --sndfile=no --samplerate=yes \
-		--readline=no --example-tools=no
+CONFIGURE_ARGS=	--celt=no --samplerate=yes
 
 OPTIONS_DEFINE=		ALSA DBUS OPUS PROFILING
 OPTIONS_DEFAULT=	DBUS OPUS
diff --git a/audio/jack/distinfo b/audio/jack/distinfo
index 8f3fc1eec3d4..4d372a443879 100644
--- a/audio/jack/distinfo
+++ b/audio/jack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650059296
-SHA256 (jackaudio-jack2-v1.9.21_GH0.tar.gz) = 8b044a40ba5393b47605a920ba30744fdf8bf77d210eca90d39c8637fe6bc65d
-SIZE (jackaudio-jack2-v1.9.21_GH0.tar.gz) = 1006157
+TIMESTAMP = 1675342810
+SHA256 (jackaudio-jack2-v1.9.22_GH0.tar.gz) = 1e42b9fc4ad7db7befd414d45ab2f8a159c0b30fcd6eee452be662298766a849
+SIZE (jackaudio-jack2-v1.9.22_GH0.tar.gz) = 933448
diff --git a/audio/jack/files/patch-python311 b/audio/jack/files/patch-python311
deleted file mode 100644
index 6900f5048660..000000000000
--- a/audio/jack/files/patch-python311
+++ /dev/null
@@ -1,19 +0,0 @@
-'U' is default and deprecated since python-3.3, becomes a failure in 3.11.
-
-Just a quick fix (rather than bump waf) while waiting for upstream's
-plans to migrate to meson:
-https://github.com/jackaudio/jack2/issues/898
---- waflib/ConfigSet.py
-+++ waflib/ConfigSet.py
-@@ -314,3 +314,3 @@
- 		tbl = self.table
--		code = Utils.readf(filename, m='rU')
-+		code = Utils.readf(filename, m='r')
- 		for m in re_imp.finditer(code):
---- waflib/Context.py
-+++ waflib/Context.py
-@@ -664,3 +664,3 @@
- 	try:
--		code = Utils.readf(path, m='rU', encoding=encoding)
-+		code = Utils.readf(path, m='r', encoding=encoding)
- 	except EnvironmentError:
diff --git a/audio/jack/pkg-message b/audio/jack/pkg-message
index d87b12e61522..2a94946d2d57 100644
--- a/audio/jack/pkg-message
+++ b/audio/jack/pkg-message
@@ -24,3 +24,6 @@ jackd_args="-R -doss -r48000 -p1024 -n1 -w16 \
             --capture /dev/dsp0 --playback /dev/dsp0"
 
 Official JACK example clients and tools are available as jack-example-tools.
+
+JACK 1.9.22 introduces a latency correction fix.
+Latency correction parameters have to be measured again after an update.