Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] espeak-ng: update to 1.51
@ 2022-11-02  7:48 CMB
  2022-11-03 19:57 ` [PR REVIEW] " classabbyamp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: CMB @ 2022-11-02  7:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

There is a new pull request by CMB against master on the void-packages repository

https://github.com/CMB/void-packages espeak-ng
https://github.com/void-linux/void-packages/pull/40292

espeak-ng: update to 1.51
- pcaudiolib: update to 1.2.
- espeak-ng: update to 1.51.

- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl


A patch file from https://github.com/void-linux/void-packages/pull/40292.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-espeak-ng-40292.patch --]
[-- Type: text/x-diff, Size: 6438 bytes --]

From aa8ca4d4131f6d0ea33d67afcc5933d40f06faf2 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:08:44 -0700
Subject: [PATCH 1/2] pcaudiolib: update to 1.2.

---
 .../upstream-fix-alsa-sample-size.patch       | 19 -----
 .../patches/upstream-fix-snappiness.patch     | 76 -------------------
 srcpkgs/pcaudiolib/template                   |  4 +-
 3 files changed, 2 insertions(+), 97 deletions(-)
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch

diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
deleted file mode 100644
index fa3c235cdcdf..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit d6a6b00aa4334b461c1a09c27b6c681eaac8da8a
-Author: Martin Schreiber <mse00000@gmail.com>
-Date:   Sat Mar 10 06:55:58 2018 +0100
-
-    * Alsa: fixed sample_size calculation, multiply with channel count.
-
-diff --git src/alsa.c src/alsa.c
-index 34e39be..6af1941 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -53,7 +53,7 @@ alsa_object_open(struct audio_object *object,
- 		return -EEXIST;
- 
- 	snd_pcm_format_t pcm_format;
--#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size; break;
-+#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size*channels; break;
- 	switch (format)
- 	{
- 	FORMAT(AUDIO_OBJECT_FORMAT_ALAW,      SND_PCM_FORMAT_A_LAW, 1)
diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
deleted file mode 100644
index 82ddadfd82e3..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-commit a41d46e816d2cbcd93564c42b65a87af547bcb2d
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Sun Oct 11 17:34:57 2020 +0200
-
-    Fix cancellation snappiness
-    
-    Screen reader users report getting late cancellation, or even mixtures
-    of speech. This is because the default buffering parameters of alsa or
-    pulseaudio are relatively large.
-    
-    This change sets alsa and pulseaudio buffer sizes to 10ms worth of audio,
-    which is the human snappiness perception limit.
-
-diff --git src/alsa.c src/alsa.c
-index 64d5a90..c856788 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -99,6 +99,7 @@ alsa_object_open(struct audio_object *object,
- 
- 	snd_pcm_hw_params_t *params = NULL;
- 	snd_pcm_hw_params_malloc(&params);
-+	snd_pcm_uframes_t bufsize = (rate * channels * LATENCY) / 1000;
- 
- 	int err = 0;
- 	if ((err = snd_pcm_open(&self->handle, self->device ? self->device : "default", SND_PCM_STREAM_PLAYBACK, 0)) < 0)
-@@ -113,6 +114,8 @@ alsa_object_open(struct audio_object *object,
- 		goto error;
- 	if ((err = snd_pcm_hw_params_set_channels(self->handle, params, channels)) < 0)
- 		goto error;
-+	if ((err = snd_pcm_hw_params_set_buffer_size_near(self->handle, params, &bufsize)) < 0)
-+		goto error;
- 	if ((err = snd_pcm_hw_params(self->handle, params)) < 0)
- 		goto error;
- 	if ((err = snd_pcm_prepare(self->handle)) < 0)
-diff --git src/audio_priv.h src/audio_priv.h
-index 9526138..669a037 100644
---- a/src/audio_priv.h
-+++ b/src/audio_priv.h
-@@ -52,6 +52,10 @@ struct audio_object
- 	                         int error);
- };
- 
-+/* We try to aim for 10ms cancelation latency, which will be perceived as
-+ * "snappy" by users */
-+#define LATENCY 10
-+
- #if defined(_WIN32) || defined(_WIN64)
- 
- #include <windows.h>
-diff --git src/pulseaudio.c src/pulseaudio.c
-index d23366d..2f80c62 100644
---- a/src/pulseaudio.c
-+++ b/src/pulseaudio.c
-@@ -74,6 +74,13 @@ pulseaudio_object_open(struct audio_object *object,
- 	}
- 
- 	int error = 0;
-+	pa_buffer_attr battr;
-+
-+	battr.fragsize = (uint32_t) -1;
-+	battr.maxlength = (uint32_t) -1;
-+	battr.minreq = (uint32_t) -1;
-+	battr.prebuf = (uint32_t) -1;
-+	battr.tlength = pa_bytes_per_second(&self->ss) * LATENCY / 1000;
- 	self->s = pa_simple_new(NULL,
- 	                        self->application_name,
- 	                        PA_STREAM_PLAYBACK,
-@@ -81,7 +88,7 @@ pulseaudio_object_open(struct audio_object *object,
- 	                        self->description,
- 	                        &self->ss,
- 	                        NULL,
--	                        NULL,
-+	                        &battr,
- 	                        &error);
- 	return error;
- }
diff --git a/srcpkgs/pcaudiolib/template b/srcpkgs/pcaudiolib/template
index 7f40e0388e16..926e7fe212ad 100644
--- a/srcpkgs/pcaudiolib/template
+++ b/srcpkgs/pcaudiolib/template
@@ -1,6 +1,6 @@
 # Template file for 'pcaudiolib'
 pkgname=pcaudiolib
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-configure
 hostmakedepends="automake libtool which pkg-config"
@@ -10,7 +10,7 @@ maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/pcaudiolib"
 distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz"
-checksum=699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b
+checksum=44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619
 
 pre_configure() {
 	./autogen.sh

From 89118aaef44843eaee181ed00c3a84d629b31055 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:18:28 -0700
Subject: [PATCH 2/2] espeak-ng: update to 1.51.

---
 srcpkgs/espeak-ng/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/espeak-ng/template b/srcpkgs/espeak-ng/template
index f6c13921feee..f5f15df88037 100644
--- a/srcpkgs/espeak-ng/template
+++ b/srcpkgs/espeak-ng/template
@@ -1,6 +1,6 @@
 # Template file for 'espeak-ng'
 pkgname=espeak-ng
-version=1.50
+version=1.51
 revision=1
 build_style=gnu-configure
 make_build_args="-j1"
@@ -11,7 +11,7 @@ maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/espeak-ng/"
 distfiles="https://github.com/espeak-ng/espeak-ng/archive/${version}.tar.gz"
-checksum=5ce9f24ee662b5822a4acc45bed31425e70d7c50707b96b6c1603a335c7759fa
+checksum=f0e028f695a8241c4fa90df7a8c8c5d68dcadbdbc91e758a97e594bbb0a3bdbf
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" espeak-ng"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
@ 2022-11-03 19:57 ` classabbyamp
  2022-11-03 19:58 ` classabbyamp
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-11-03 19:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40292#discussion_r1013342207

Comment:
```suggestion
homepage="https://github.com/espeak-ng/espeak-ng/"
changelog="https://raw.githubusercontent.com/espeak-ng/espeak-ng/master/ChangeLog.md"
```

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
  2022-11-03 19:57 ` [PR REVIEW] " classabbyamp
@ 2022-11-03 19:58 ` classabbyamp
  2022-11-04 10:44 ` [PR PATCH] [Updated] " CMB
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-11-03 19:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40292#discussion_r1013342928

Comment:
```suggestion
homepage="https://github.com/espeak-ng/pcaudiolib"
changelog="https://raw.githubusercontent.com/espeak-ng/pcaudiolib/master/ChangeLog.md"
```

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
  2022-11-03 19:57 ` [PR REVIEW] " classabbyamp
  2022-11-03 19:58 ` classabbyamp
@ 2022-11-04 10:44 ` CMB
  2022-11-04 10:45 ` CMB
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: CMB @ 2022-11-04 10:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by CMB against master on the void-packages repository

https://github.com/CMB/void-packages espeak-ng
https://github.com/void-linux/void-packages/pull/40292

espeak-ng: update to 1.51
- pcaudiolib: update to 1.2.
- espeak-ng: update to 1.51.

- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl


A patch file from https://github.com/void-linux/void-packages/pull/40292.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-espeak-ng-40292.patch --]
[-- Type: text/x-diff, Size: 6686 bytes --]

From 463df939686639479bc5e3949c517710c59d0110 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:08:44 -0700
Subject: [PATCH 1/2] pcaudiolib: update to 1.2.

---
 .../upstream-fix-alsa-sample-size.patch       | 19 -----
 .../patches/upstream-fix-snappiness.patch     | 76 -------------------
 srcpkgs/pcaudiolib/template                   |  5 +-
 3 files changed, 3 insertions(+), 97 deletions(-)
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch

diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
deleted file mode 100644
index fa3c235cdcdf..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit d6a6b00aa4334b461c1a09c27b6c681eaac8da8a
-Author: Martin Schreiber <mse00000@gmail.com>
-Date:   Sat Mar 10 06:55:58 2018 +0100
-
-    * Alsa: fixed sample_size calculation, multiply with channel count.
-
-diff --git src/alsa.c src/alsa.c
-index 34e39be..6af1941 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -53,7 +53,7 @@ alsa_object_open(struct audio_object *object,
- 		return -EEXIST;
- 
- 	snd_pcm_format_t pcm_format;
--#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size; break;
-+#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size*channels; break;
- 	switch (format)
- 	{
- 	FORMAT(AUDIO_OBJECT_FORMAT_ALAW,      SND_PCM_FORMAT_A_LAW, 1)
diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
deleted file mode 100644
index 82ddadfd82e3..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-commit a41d46e816d2cbcd93564c42b65a87af547bcb2d
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Sun Oct 11 17:34:57 2020 +0200
-
-    Fix cancellation snappiness
-    
-    Screen reader users report getting late cancellation, or even mixtures
-    of speech. This is because the default buffering parameters of alsa or
-    pulseaudio are relatively large.
-    
-    This change sets alsa and pulseaudio buffer sizes to 10ms worth of audio,
-    which is the human snappiness perception limit.
-
-diff --git src/alsa.c src/alsa.c
-index 64d5a90..c856788 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -99,6 +99,7 @@ alsa_object_open(struct audio_object *object,
- 
- 	snd_pcm_hw_params_t *params = NULL;
- 	snd_pcm_hw_params_malloc(&params);
-+	snd_pcm_uframes_t bufsize = (rate * channels * LATENCY) / 1000;
- 
- 	int err = 0;
- 	if ((err = snd_pcm_open(&self->handle, self->device ? self->device : "default", SND_PCM_STREAM_PLAYBACK, 0)) < 0)
-@@ -113,6 +114,8 @@ alsa_object_open(struct audio_object *object,
- 		goto error;
- 	if ((err = snd_pcm_hw_params_set_channels(self->handle, params, channels)) < 0)
- 		goto error;
-+	if ((err = snd_pcm_hw_params_set_buffer_size_near(self->handle, params, &bufsize)) < 0)
-+		goto error;
- 	if ((err = snd_pcm_hw_params(self->handle, params)) < 0)
- 		goto error;
- 	if ((err = snd_pcm_prepare(self->handle)) < 0)
-diff --git src/audio_priv.h src/audio_priv.h
-index 9526138..669a037 100644
---- a/src/audio_priv.h
-+++ b/src/audio_priv.h
-@@ -52,6 +52,10 @@ struct audio_object
- 	                         int error);
- };
- 
-+/* We try to aim for 10ms cancelation latency, which will be perceived as
-+ * "snappy" by users */
-+#define LATENCY 10
-+
- #if defined(_WIN32) || defined(_WIN64)
- 
- #include <windows.h>
-diff --git src/pulseaudio.c src/pulseaudio.c
-index d23366d..2f80c62 100644
---- a/src/pulseaudio.c
-+++ b/src/pulseaudio.c
-@@ -74,6 +74,13 @@ pulseaudio_object_open(struct audio_object *object,
- 	}
- 
- 	int error = 0;
-+	pa_buffer_attr battr;
-+
-+	battr.fragsize = (uint32_t) -1;
-+	battr.maxlength = (uint32_t) -1;
-+	battr.minreq = (uint32_t) -1;
-+	battr.prebuf = (uint32_t) -1;
-+	battr.tlength = pa_bytes_per_second(&self->ss) * LATENCY / 1000;
- 	self->s = pa_simple_new(NULL,
- 	                        self->application_name,
- 	                        PA_STREAM_PLAYBACK,
-@@ -81,7 +88,7 @@ pulseaudio_object_open(struct audio_object *object,
- 	                        self->description,
- 	                        &self->ss,
- 	                        NULL,
--	                        NULL,
-+	                        &battr,
- 	                        &error);
- 	return error;
- }
diff --git a/srcpkgs/pcaudiolib/template b/srcpkgs/pcaudiolib/template
index 7f40e0388e16..c98b8452a7e4 100644
--- a/srcpkgs/pcaudiolib/template
+++ b/srcpkgs/pcaudiolib/template
@@ -1,6 +1,6 @@
 # Template file for 'pcaudiolib'
 pkgname=pcaudiolib
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-configure
 hostmakedepends="automake libtool which pkg-config"
@@ -9,8 +9,9 @@ short_desc="Portable C Audio Library"
 maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/pcaudiolib"
+changelog="https://raw.githubusercontent.com/espeak-ng/pcaudiolib/master/ChangeLog.md
 distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz"
-checksum=699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b
+checksum=44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619
 
 pre_configure() {
 	./autogen.sh

From 3a7132728359c4cb6b70608aaf8269c003d21484 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:18:28 -0700
Subject: [PATCH 2/2] espeak-ng: update to 1.51.

---
 srcpkgs/espeak-ng/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/espeak-ng/template b/srcpkgs/espeak-ng/template
index f6c13921feee..ccca6841a09e 100644
--- a/srcpkgs/espeak-ng/template
+++ b/srcpkgs/espeak-ng/template
@@ -1,6 +1,6 @@
 # Template file for 'espeak-ng'
 pkgname=espeak-ng
-version=1.50
+version=1.51
 revision=1
 build_style=gnu-configure
 make_build_args="-j1"
@@ -10,8 +10,9 @@ short_desc="Text to Speech engine"
 maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/espeak-ng/"
+changelog="https://raw.githubusercontent.com/espeak-ng/espeak-ng/master/ChangeLog.md"
 distfiles="https://github.com/espeak-ng/espeak-ng/archive/${version}.tar.gz"
-checksum=5ce9f24ee662b5822a4acc45bed31425e70d7c50707b96b6c1603a335c7759fa
+checksum=f0e028f695a8241c4fa90df7a8c8c5d68dcadbdbc91e758a97e594bbb0a3bdbf
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" espeak-ng"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
                   ` (2 preceding siblings ...)
  2022-11-04 10:44 ` [PR PATCH] [Updated] " CMB
@ 2022-11-04 10:45 ` CMB
  2022-11-04 11:00 ` [PR PATCH] [Updated] " CMB
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: CMB @ 2022-11-04 10:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

New comment by CMB on void-packages repository

https://github.com/void-linux/void-packages/pull/40292#issuecomment-1303247916

Comment:
Done, thanks.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
                   ` (3 preceding siblings ...)
  2022-11-04 10:45 ` CMB
@ 2022-11-04 11:00 ` CMB
  2022-11-04 18:27 ` [PR REVIEW] " paper42
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: CMB @ 2022-11-04 11:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by CMB against master on the void-packages repository

https://github.com/CMB/void-packages espeak-ng
https://github.com/void-linux/void-packages/pull/40292

espeak-ng: update to 1.51
- pcaudiolib: update to 1.2.
- espeak-ng: update to 1.51.

- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl


A patch file from https://github.com/void-linux/void-packages/pull/40292.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-espeak-ng-40292.patch --]
[-- Type: text/x-diff, Size: 6687 bytes --]

From b6e4fd6ad3537b01fde545f4329d156e4f227ec8 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:08:44 -0700
Subject: [PATCH 1/2] pcaudiolib: update to 1.2.

---
 .../upstream-fix-alsa-sample-size.patch       | 19 -----
 .../patches/upstream-fix-snappiness.patch     | 76 -------------------
 srcpkgs/pcaudiolib/template                   |  5 +-
 3 files changed, 3 insertions(+), 97 deletions(-)
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch

diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
deleted file mode 100644
index fa3c235cdcdf..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit d6a6b00aa4334b461c1a09c27b6c681eaac8da8a
-Author: Martin Schreiber <mse00000@gmail.com>
-Date:   Sat Mar 10 06:55:58 2018 +0100
-
-    * Alsa: fixed sample_size calculation, multiply with channel count.
-
-diff --git src/alsa.c src/alsa.c
-index 34e39be..6af1941 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -53,7 +53,7 @@ alsa_object_open(struct audio_object *object,
- 		return -EEXIST;
- 
- 	snd_pcm_format_t pcm_format;
--#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size; break;
-+#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size*channels; break;
- 	switch (format)
- 	{
- 	FORMAT(AUDIO_OBJECT_FORMAT_ALAW,      SND_PCM_FORMAT_A_LAW, 1)
diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
deleted file mode 100644
index 82ddadfd82e3..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-commit a41d46e816d2cbcd93564c42b65a87af547bcb2d
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Sun Oct 11 17:34:57 2020 +0200
-
-    Fix cancellation snappiness
-    
-    Screen reader users report getting late cancellation, or even mixtures
-    of speech. This is because the default buffering parameters of alsa or
-    pulseaudio are relatively large.
-    
-    This change sets alsa and pulseaudio buffer sizes to 10ms worth of audio,
-    which is the human snappiness perception limit.
-
-diff --git src/alsa.c src/alsa.c
-index 64d5a90..c856788 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -99,6 +99,7 @@ alsa_object_open(struct audio_object *object,
- 
- 	snd_pcm_hw_params_t *params = NULL;
- 	snd_pcm_hw_params_malloc(&params);
-+	snd_pcm_uframes_t bufsize = (rate * channels * LATENCY) / 1000;
- 
- 	int err = 0;
- 	if ((err = snd_pcm_open(&self->handle, self->device ? self->device : "default", SND_PCM_STREAM_PLAYBACK, 0)) < 0)
-@@ -113,6 +114,8 @@ alsa_object_open(struct audio_object *object,
- 		goto error;
- 	if ((err = snd_pcm_hw_params_set_channels(self->handle, params, channels)) < 0)
- 		goto error;
-+	if ((err = snd_pcm_hw_params_set_buffer_size_near(self->handle, params, &bufsize)) < 0)
-+		goto error;
- 	if ((err = snd_pcm_hw_params(self->handle, params)) < 0)
- 		goto error;
- 	if ((err = snd_pcm_prepare(self->handle)) < 0)
-diff --git src/audio_priv.h src/audio_priv.h
-index 9526138..669a037 100644
---- a/src/audio_priv.h
-+++ b/src/audio_priv.h
-@@ -52,6 +52,10 @@ struct audio_object
- 	                         int error);
- };
- 
-+/* We try to aim for 10ms cancelation latency, which will be perceived as
-+ * "snappy" by users */
-+#define LATENCY 10
-+
- #if defined(_WIN32) || defined(_WIN64)
- 
- #include <windows.h>
-diff --git src/pulseaudio.c src/pulseaudio.c
-index d23366d..2f80c62 100644
---- a/src/pulseaudio.c
-+++ b/src/pulseaudio.c
-@@ -74,6 +74,13 @@ pulseaudio_object_open(struct audio_object *object,
- 	}
- 
- 	int error = 0;
-+	pa_buffer_attr battr;
-+
-+	battr.fragsize = (uint32_t) -1;
-+	battr.maxlength = (uint32_t) -1;
-+	battr.minreq = (uint32_t) -1;
-+	battr.prebuf = (uint32_t) -1;
-+	battr.tlength = pa_bytes_per_second(&self->ss) * LATENCY / 1000;
- 	self->s = pa_simple_new(NULL,
- 	                        self->application_name,
- 	                        PA_STREAM_PLAYBACK,
-@@ -81,7 +88,7 @@ pulseaudio_object_open(struct audio_object *object,
- 	                        self->description,
- 	                        &self->ss,
- 	                        NULL,
--	                        NULL,
-+	                        &battr,
- 	                        &error);
- 	return error;
- }
diff --git a/srcpkgs/pcaudiolib/template b/srcpkgs/pcaudiolib/template
index 7f40e0388e16..492a7781adc6 100644
--- a/srcpkgs/pcaudiolib/template
+++ b/srcpkgs/pcaudiolib/template
@@ -1,6 +1,6 @@
 # Template file for 'pcaudiolib'
 pkgname=pcaudiolib
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-configure
 hostmakedepends="automake libtool which pkg-config"
@@ -9,8 +9,9 @@ short_desc="Portable C Audio Library"
 maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/pcaudiolib"
+changelog="https://raw.githubusercontent.com/espeak-ng/pcaudiolib/master/ChangeLog.md"
 distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz"
-checksum=699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b
+checksum=44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619
 
 pre_configure() {
 	./autogen.sh

From 22538eacddc4c38eb4e81944c48c60fd2ab178b8 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:18:28 -0700
Subject: [PATCH 2/2] espeak-ng: update to 1.51.

---
 srcpkgs/espeak-ng/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/espeak-ng/template b/srcpkgs/espeak-ng/template
index f6c13921feee..ccca6841a09e 100644
--- a/srcpkgs/espeak-ng/template
+++ b/srcpkgs/espeak-ng/template
@@ -1,6 +1,6 @@
 # Template file for 'espeak-ng'
 pkgname=espeak-ng
-version=1.50
+version=1.51
 revision=1
 build_style=gnu-configure
 make_build_args="-j1"
@@ -10,8 +10,9 @@ short_desc="Text to Speech engine"
 maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/espeak-ng/"
+changelog="https://raw.githubusercontent.com/espeak-ng/espeak-ng/master/ChangeLog.md"
 distfiles="https://github.com/espeak-ng/espeak-ng/archive/${version}.tar.gz"
-checksum=5ce9f24ee662b5822a4acc45bed31425e70d7c50707b96b6c1603a335c7759fa
+checksum=f0e028f695a8241c4fa90df7a8c8c5d68dcadbdbc91e758a97e594bbb0a3bdbf
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" espeak-ng"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
                   ` (4 preceding siblings ...)
  2022-11-04 11:00 ` [PR PATCH] [Updated] " CMB
@ 2022-11-04 18:27 ` paper42
  2022-11-05  1:38 ` [PR PATCH] [Updated] " CMB
  2022-11-05  4:43 ` [PR PATCH] [Merged]: " classabbyamp
  7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2022-11-04 18:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/40292#discussion_r1014338648

Comment:
We should use `disable_parallel_build=yes` instead

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
                   ` (5 preceding siblings ...)
  2022-11-04 18:27 ` [PR REVIEW] " paper42
@ 2022-11-05  1:38 ` CMB
  2022-11-05  4:43 ` [PR PATCH] [Merged]: " classabbyamp
  7 siblings, 0 replies; 9+ messages in thread
From: CMB @ 2022-11-05  1:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by CMB against master on the void-packages repository

https://github.com/CMB/void-packages espeak-ng
https://github.com/void-linux/void-packages/pull/40292

espeak-ng: update to 1.51
- pcaudiolib: update to 1.2.
- espeak-ng: update to 1.51.

- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl


A patch file from https://github.com/void-linux/void-packages/pull/40292.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-espeak-ng-40292.patch --]
[-- Type: text/x-diff, Size: 6802 bytes --]

From b6e4fd6ad3537b01fde545f4329d156e4f227ec8 Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:08:44 -0700
Subject: [PATCH 1/2] pcaudiolib: update to 1.2.

---
 .../upstream-fix-alsa-sample-size.patch       | 19 -----
 .../patches/upstream-fix-snappiness.patch     | 76 -------------------
 srcpkgs/pcaudiolib/template                   |  5 +-
 3 files changed, 3 insertions(+), 97 deletions(-)
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
 delete mode 100644 srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch

diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
deleted file mode 100644
index fa3c235cdcdf..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-alsa-sample-size.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit d6a6b00aa4334b461c1a09c27b6c681eaac8da8a
-Author: Martin Schreiber <mse00000@gmail.com>
-Date:   Sat Mar 10 06:55:58 2018 +0100
-
-    * Alsa: fixed sample_size calculation, multiply with channel count.
-
-diff --git src/alsa.c src/alsa.c
-index 34e39be..6af1941 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -53,7 +53,7 @@ alsa_object_open(struct audio_object *object,
- 		return -EEXIST;
- 
- 	snd_pcm_format_t pcm_format;
--#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size; break;
-+#define FORMAT(srcfmt, dstfmt, size) case srcfmt: pcm_format = dstfmt; self->sample_size = size*channels; break;
- 	switch (format)
- 	{
- 	FORMAT(AUDIO_OBJECT_FORMAT_ALAW,      SND_PCM_FORMAT_A_LAW, 1)
diff --git a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch b/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
deleted file mode 100644
index 82ddadfd82e3..000000000000
--- a/srcpkgs/pcaudiolib/patches/upstream-fix-snappiness.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-commit a41d46e816d2cbcd93564c42b65a87af547bcb2d
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Sun Oct 11 17:34:57 2020 +0200
-
-    Fix cancellation snappiness
-    
-    Screen reader users report getting late cancellation, or even mixtures
-    of speech. This is because the default buffering parameters of alsa or
-    pulseaudio are relatively large.
-    
-    This change sets alsa and pulseaudio buffer sizes to 10ms worth of audio,
-    which is the human snappiness perception limit.
-
-diff --git src/alsa.c src/alsa.c
-index 64d5a90..c856788 100644
---- a/src/alsa.c
-+++ b/src/alsa.c
-@@ -99,6 +99,7 @@ alsa_object_open(struct audio_object *object,
- 
- 	snd_pcm_hw_params_t *params = NULL;
- 	snd_pcm_hw_params_malloc(&params);
-+	snd_pcm_uframes_t bufsize = (rate * channels * LATENCY) / 1000;
- 
- 	int err = 0;
- 	if ((err = snd_pcm_open(&self->handle, self->device ? self->device : "default", SND_PCM_STREAM_PLAYBACK, 0)) < 0)
-@@ -113,6 +114,8 @@ alsa_object_open(struct audio_object *object,
- 		goto error;
- 	if ((err = snd_pcm_hw_params_set_channels(self->handle, params, channels)) < 0)
- 		goto error;
-+	if ((err = snd_pcm_hw_params_set_buffer_size_near(self->handle, params, &bufsize)) < 0)
-+		goto error;
- 	if ((err = snd_pcm_hw_params(self->handle, params)) < 0)
- 		goto error;
- 	if ((err = snd_pcm_prepare(self->handle)) < 0)
-diff --git src/audio_priv.h src/audio_priv.h
-index 9526138..669a037 100644
---- a/src/audio_priv.h
-+++ b/src/audio_priv.h
-@@ -52,6 +52,10 @@ struct audio_object
- 	                         int error);
- };
- 
-+/* We try to aim for 10ms cancelation latency, which will be perceived as
-+ * "snappy" by users */
-+#define LATENCY 10
-+
- #if defined(_WIN32) || defined(_WIN64)
- 
- #include <windows.h>
-diff --git src/pulseaudio.c src/pulseaudio.c
-index d23366d..2f80c62 100644
---- a/src/pulseaudio.c
-+++ b/src/pulseaudio.c
-@@ -74,6 +74,13 @@ pulseaudio_object_open(struct audio_object *object,
- 	}
- 
- 	int error = 0;
-+	pa_buffer_attr battr;
-+
-+	battr.fragsize = (uint32_t) -1;
-+	battr.maxlength = (uint32_t) -1;
-+	battr.minreq = (uint32_t) -1;
-+	battr.prebuf = (uint32_t) -1;
-+	battr.tlength = pa_bytes_per_second(&self->ss) * LATENCY / 1000;
- 	self->s = pa_simple_new(NULL,
- 	                        self->application_name,
- 	                        PA_STREAM_PLAYBACK,
-@@ -81,7 +88,7 @@ pulseaudio_object_open(struct audio_object *object,
- 	                        self->description,
- 	                        &self->ss,
- 	                        NULL,
--	                        NULL,
-+	                        &battr,
- 	                        &error);
- 	return error;
- }
diff --git a/srcpkgs/pcaudiolib/template b/srcpkgs/pcaudiolib/template
index 7f40e0388e16..492a7781adc6 100644
--- a/srcpkgs/pcaudiolib/template
+++ b/srcpkgs/pcaudiolib/template
@@ -1,6 +1,6 @@
 # Template file for 'pcaudiolib'
 pkgname=pcaudiolib
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-configure
 hostmakedepends="automake libtool which pkg-config"
@@ -9,8 +9,9 @@ short_desc="Portable C Audio Library"
 maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/pcaudiolib"
+changelog="https://raw.githubusercontent.com/espeak-ng/pcaudiolib/master/ChangeLog.md"
 distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz"
-checksum=699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b
+checksum=44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619
 
 pre_configure() {
 	./autogen.sh

From 0bfa6657b2582a4c0173102d28b3c95aa9007a2c Mon Sep 17 00:00:00 2001
From: Christopher Brannon <chris@the-brannons.com>
Date: Tue, 1 Nov 2022 10:18:28 -0700
Subject: [PATCH 2/2] espeak-ng: update to 1.51.

---
 srcpkgs/espeak-ng/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/espeak-ng/template b/srcpkgs/espeak-ng/template
index f6c13921feee..d50dcf99e38c 100644
--- a/srcpkgs/espeak-ng/template
+++ b/srcpkgs/espeak-ng/template
@@ -1,17 +1,18 @@
 # Template file for 'espeak-ng'
 pkgname=espeak-ng
-version=1.50
+version=1.51
 revision=1
 build_style=gnu-configure
-make_build_args="-j1"
 hostmakedepends="automake libtool which pkg-config"
 makedepends="pcaudiolib-devel libsonic-devel"
 short_desc="Text to Speech engine"
 maintainer="Joey <joey@imap.cc>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/espeak-ng/espeak-ng/"
+changelog="https://raw.githubusercontent.com/espeak-ng/espeak-ng/master/ChangeLog.md"
 distfiles="https://github.com/espeak-ng/espeak-ng/archive/${version}.tar.gz"
-checksum=5ce9f24ee662b5822a4acc45bed31425e70d7c50707b96b6c1603a335c7759fa
+checksum=f0e028f695a8241c4fa90df7a8c8c5d68dcadbdbc91e758a97e594bbb0a3bdbf
+disable_parallel_build=yes
 
 if [ "$CROSS_BUILD" ]; then
 	hostmakedepends+=" espeak-ng"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Merged]: espeak-ng: update to 1.51
  2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
                   ` (6 preceding siblings ...)
  2022-11-05  1:38 ` [PR PATCH] [Updated] " CMB
@ 2022-11-05  4:43 ` classabbyamp
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-11-05  4:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

There's a merged pull request on the void-packages repository

espeak-ng: update to 1.51
https://github.com/void-linux/void-packages/pull/40292

Description:
- pcaudiolib: update to 1.2.
- espeak-ng: update to 1.51.

- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-05  4:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02  7:48 [PR PATCH] espeak-ng: update to 1.51 CMB
2022-11-03 19:57 ` [PR REVIEW] " classabbyamp
2022-11-03 19:58 ` classabbyamp
2022-11-04 10:44 ` [PR PATCH] [Updated] " CMB
2022-11-04 10:45 ` CMB
2022-11-04 11:00 ` [PR PATCH] [Updated] " CMB
2022-11-04 18:27 ` [PR REVIEW] " paper42
2022-11-05  1:38 ` [PR PATCH] [Updated] " CMB
2022-11-05  4:43 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).