Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rubberband: update to 3.2.1.
@ 2023-06-01 17:23 mhmdanas
  2023-06-05 21:28 ` [PR PATCH] [Updated] " mhmdanas
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mhmdanas @ 2023-06-01 17:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages rubberband-3.2.1
https://github.com/void-linux/void-packages/pull/44215

rubberband: update to 3.2.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rubberband-3.2.1-44215.patch --]
[-- Type: text/x-diff, Size: 1746 bytes --]

From 9249c703b01e11051d5c7f9da595136a8feac777 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 1 Jun 2023 18:23:04 +0100
Subject: [PATCH] rubberband: update to 3.2.1.

---
 srcpkgs/rubberband/template | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/rubberband/template b/srcpkgs/rubberband/template
index 5d41a61ad7a5..27a94f0493f1 100644
--- a/srcpkgs/rubberband/template
+++ b/srcpkgs/rubberband/template
@@ -1,24 +1,31 @@
 # Template file for 'rubberband'
 pkgname=rubberband
-version=3.1.2
+version=3.2.1
 revision=1
 build_style=meson
 hostmakedepends="pkg-config"
 makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel lv2"
 depends="libvamp-plugin-sdk"
+checkdepends="boost-devel"
 short_desc="Time-stretching and pitch-shifting audio library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://breakfastquay.com/rubberband/"
 changelog="https://breakfastquay.com/news.html"
 distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
-checksum=dda7e257b14c59a1f59c5ccc4d6f19412039f77834275955aa0ff511779b98d2
+checksum=82edacd0c50bfe56a6a85db1fcd4ca3346940ffe02843fc50f8b92f99a97d172
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	LDFLAGS+=" -latomic"
 fi
 
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args="-Dtests=enabled"
+else
+	configure_args="-Dtests=disabled"
+fi
+
 librubberband_package() {
 	short_desc+=" - Runtime libraries"
 	pkg_install() {
@@ -27,6 +34,7 @@ librubberband_package() {
 		vmove usr/lib/ladspa
 	}
 }
+
 rubberband-devel_package() {
 	depends="librubberband>=${version}_${revision}"
 	short_desc+=" - Development files"

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

* Re: [PR PATCH] [Updated] rubberband: update to 3.2.1.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
@ 2023-06-05 21:28 ` mhmdanas
  2023-06-08 17:35 ` rubberband: update to 3.2.1, adopt mhmdanas
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-06-05 21:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages rubberband-3.2.1
https://github.com/void-linux/void-packages/pull/44215

rubberband: update to 3.2.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rubberband-3.2.1-44215.patch --]
[-- Type: text/x-diff, Size: 1807 bytes --]

From dac45d143486450fc17f0037a497f4b60d71d24a Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 1 Jun 2023 18:23:04 +0100
Subject: [PATCH] rubberband: update to 3.2.1, adopt.

---
 srcpkgs/rubberband/template | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rubberband/template b/srcpkgs/rubberband/template
index 5d41a61ad7a5..57795fb5c521 100644
--- a/srcpkgs/rubberband/template
+++ b/srcpkgs/rubberband/template
@@ -1,24 +1,31 @@
 # Template file for 'rubberband'
 pkgname=rubberband
-version=3.1.2
+version=3.2.1
 revision=1
 build_style=meson
 hostmakedepends="pkg-config"
 makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel lv2"
 depends="libvamp-plugin-sdk"
+checkdepends="boost-devel"
 short_desc="Time-stretching and pitch-shifting audio library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Mohammed Anas <triallax@tutanota.com>"
 license="GPL-2.0-or-later"
 homepage="https://breakfastquay.com/rubberband/"
 changelog="https://breakfastquay.com/news.html"
 distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
-checksum=dda7e257b14c59a1f59c5ccc4d6f19412039f77834275955aa0ff511779b98d2
+checksum=82edacd0c50bfe56a6a85db1fcd4ca3346940ffe02843fc50f8b92f99a97d172
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 	LDFLAGS+=" -latomic"
 fi
 
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args="-Dtests=enabled"
+else
+	configure_args="-Dtests=disabled"
+fi
+
 librubberband_package() {
 	short_desc+=" - Runtime libraries"
 	pkg_install() {
@@ -27,6 +34,7 @@ librubberband_package() {
 		vmove usr/lib/ladspa
 	}
 }
+
 rubberband-devel_package() {
 	depends="librubberband>=${version}_${revision}"
 	short_desc+=" - Development files"

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

* Re: rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
  2023-06-05 21:28 ` [PR PATCH] [Updated] " mhmdanas
@ 2023-06-08 17:35 ` mhmdanas
  2023-06-26 15:30 ` [PR PATCH] [Updated] " mhmdanas
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-06-08 17:35 UTC (permalink / raw)
  To: ml

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

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/44215#issuecomment-1583073430

Comment:
I went ahead and reported the i686 test timeout in https://github.com/breakfastquay/rubberband/issues/87.

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

* Re: [PR PATCH] [Updated] rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
  2023-06-05 21:28 ` [PR PATCH] [Updated] " mhmdanas
  2023-06-08 17:35 ` rubberband: update to 3.2.1, adopt mhmdanas
@ 2023-06-26 15:30 ` mhmdanas
  2023-06-26 19:38 ` mhmdanas
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-06-26 15:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages rubberband-3.2.1
https://github.com/void-linux/void-packages/pull/44215

rubberband: update to 3.2.1, adopt.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rubberband-3.2.1-44215.patch --]
[-- Type: text/x-diff, Size: 1855 bytes --]

From aaf6a6d9d05f41866bf91a0083e71c13d411dc58 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 1 Jun 2023 18:23:04 +0100
Subject: [PATCH] rubberband: update to 3.2.1, adopt.

---
 srcpkgs/rubberband/template | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/rubberband/template b/srcpkgs/rubberband/template
index 5d41a61ad7a5..1da2848f704f 100644
--- a/srcpkgs/rubberband/template
+++ b/srcpkgs/rubberband/template
@@ -1,22 +1,30 @@
 # Template file for 'rubberband'
 pkgname=rubberband
-version=3.1.2
+version=3.2.1
 revision=1
 build_style=meson
+configure_args="--buildtype=release -Dresampler=libsamplerate -Dfft=fftw"
 hostmakedepends="pkg-config"
 makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel lv2"
 depends="libvamp-plugin-sdk"
+checkdepends="boost-devel"
 short_desc="Time-stretching and pitch-shifting audio library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Mohammed Anas <triallax@tutanota.com>"
 license="GPL-2.0-or-later"
 homepage="https://breakfastquay.com/rubberband/"
 changelog="https://breakfastquay.com/news.html"
 distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
-checksum=dda7e257b14c59a1f59c5ccc4d6f19412039f77834275955aa0ff511779b98d2
+checksum=82edacd0c50bfe56a6a85db1fcd4ca3346940ffe02843fc50f8b92f99a97d172
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
-	LDFLAGS+=" -latomic"
+	LDFLAGS="-latomic"
+fi
+
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -Dtests=enabled"
+else
+	configure_args+=" -Dtests=disabled"
 fi
 
 librubberband_package() {
@@ -27,6 +35,7 @@ librubberband_package() {
 		vmove usr/lib/ladspa
 	}
 }
+
 rubberband-devel_package() {
 	depends="librubberband>=${version}_${revision}"
 	short_desc+=" - Development files"

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

* Re: [PR PATCH] [Updated] rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
                   ` (2 preceding siblings ...)
  2023-06-26 15:30 ` [PR PATCH] [Updated] " mhmdanas
@ 2023-06-26 19:38 ` mhmdanas
  2023-06-27 14:37 ` [PR REVIEW] " Duncaen
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-06-26 19:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages rubberband-3.2.1
https://github.com/void-linux/void-packages/pull/44215

rubberband: update to 3.2.1, adopt.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rubberband-3.2.1-44215.patch --]
[-- Type: text/x-diff, Size: 3916 bytes --]

From 58df490f679cc1f2bf45ea7786baad4eb8296fba Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 1 Jun 2023 18:23:04 +0100
Subject: [PATCH] rubberband: update to 3.2.1, adopt.

---
 ...6f472e3271ad64ab6c2968920e5e95c17080.patch | 26 +++++++++++++++++
 srcpkgs/rubberband/template                   | 29 +++++++++++++++----
 2 files changed, 50 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch

diff --git a/srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch b/srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch
new file mode 100644
index 000000000000..15d5150a48a7
--- /dev/null
+++ b/srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch
@@ -0,0 +1,26 @@
+From df596f472e3271ad64ab6c2968920e5e95c17080 Mon Sep 17 00:00:00 2001
+From: Chris Cannam <cannam@all-day-breakfast.com>
+Date: Mon, 26 Jun 2023 11:38:20 +0100
+Subject: [PATCH] Minor threshold tweak
+
+---
+Remove on next release.
+
+Source: https://github.com/breakfastquay/rubberband/commit/df596f472e3271ad64ab6c2968920e5e95c17080
+
+ src/test/TestStretcher.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/test/TestStretcher.cpp b/src/test/TestStretcher.cpp
+index 8213dbe4..cbf3ae3c 100644
+--- a/src/test/TestStretcher.cpp
++++ b/src/test/TestStretcher.cpp
+@@ -999,7 +999,7 @@ static void impulses_realtime(RubberBandStretcher::Options options,
+     // These limits aren't alarming, but it may be worth tightening
+     // them and and taking a look at the waveforms
+     
+-    BOOST_TEST(peak0 < int(ceil(200 * timeRatio)));
++    BOOST_TEST(peak0 < int(ceil(210 * timeRatio)));
+     BOOST_TEST(peak0 > int(ceil(50 * timeRatio)));
+ 
+     BOOST_TEST(peak1 < int(ceil(5070 * timeRatio)));
diff --git a/srcpkgs/rubberband/template b/srcpkgs/rubberband/template
index 5d41a61ad7a5..8762aa8e99e6 100644
--- a/srcpkgs/rubberband/template
+++ b/srcpkgs/rubberband/template
@@ -1,22 +1,40 @@
 # Template file for 'rubberband'
 pkgname=rubberband
-version=3.1.2
+version=3.2.1
 revision=1
 build_style=meson
+configure_args="--buildtype=release -Dfft=fftw"
 hostmakedepends="pkg-config"
-makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel lv2"
+makedepends="ladspa-sdk vamp-plugin-sdk-devel fftw-devel lv2"
 depends="libvamp-plugin-sdk"
+checkdepends="boost-devel"
 short_desc="Time-stretching and pitch-shifting audio library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Mohammed Anas <triallax@tutanota.com>"
 license="GPL-2.0-or-later"
 homepage="https://breakfastquay.com/rubberband/"
 changelog="https://breakfastquay.com/news.html"
 distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
-checksum=dda7e257b14c59a1f59c5ccc4d6f19412039f77834275955aa0ff511779b98d2
+checksum=82edacd0c50bfe56a6a85db1fcd4ca3346940ffe02843fc50f8b92f99a97d172
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
-	LDFLAGS+=" -latomic"
+	LDFLAGS="-latomic"
+fi
+
+# On 32-bit targets, the built-in resampler is much slower than libsamplerate.
+# On 64-bit targets the performance difference is not as pronounced, and the
+# built-in resampler can, in some situations, sound slightly better, so keep
+# using it on them.
+# See https://github.com/breakfastquay/rubberband/issues/87#issuecomment-1607722278.
+if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
+	makedepends+=" libsamplerate-devel"
+	configure_args+=" -Dresampler=libsamplerate"
+fi
+
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -Dtests=enabled"
+else
+	configure_args+=" -Dtests=disabled"
 fi
 
 librubberband_package() {
@@ -27,6 +45,7 @@ librubberband_package() {
 		vmove usr/lib/ladspa
 	}
 }
+
 rubberband-devel_package() {
 	depends="librubberband>=${version}_${revision}"
 	short_desc+=" - Development files"

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

* Re: [PR REVIEW] rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
                   ` (3 preceding siblings ...)
  2023-06-26 19:38 ` mhmdanas
@ 2023-06-27 14:37 ` Duncaen
  2023-06-27 16:02 ` mhmdanas
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2023-06-27 14:37 UTC (permalink / raw)
  To: ml

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

New review comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/44215#discussion_r1243864185

Comment:
Any reason to set the buildtype here since that overwrites what the meson build style does, which is does afaik to keep the xbps-src build flags?

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

* Re: [PR REVIEW] rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
                   ` (4 preceding siblings ...)
  2023-06-27 14:37 ` [PR REVIEW] " Duncaen
@ 2023-06-27 16:02 ` mhmdanas
  2023-07-07 20:15 ` [PR PATCH] [Updated] " mhmdanas
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-06-27 16:02 UTC (permalink / raw)
  To: ml

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

New review comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/44215#discussion_r1243997268

Comment:
Without passing this, `meson.build` was detecting the build type as "Debug" instead of "Release."

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

* Re: [PR PATCH] [Updated] rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
                   ` (5 preceding siblings ...)
  2023-06-27 16:02 ` mhmdanas
@ 2023-07-07 20:15 ` mhmdanas
  2023-07-07 20:15 ` [PR REVIEW] " mhmdanas
  2023-07-09 17:38 ` [PR PATCH] [Merged]: " the-maldridge
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-07-07 20:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages rubberband-3.2.1
https://github.com/void-linux/void-packages/pull/44215

rubberband: update to 3.2.1, adopt.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rubberband-3.2.1-44215.patch --]
[-- Type: text/x-diff, Size: 4885 bytes --]

From 866465bdae3217833a85d1e9de59ff15d90b9813 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 1 Jun 2023 18:23:04 +0100
Subject: [PATCH] rubberband: update to 3.2.1, adopt.

---
 ...6f472e3271ad64ab6c2968920e5e95c17080.patch | 26 +++++++++++++++++
 .../fix-meson-buildtype-detection.diff        | 19 ++++++++++++
 srcpkgs/rubberband/template                   | 29 +++++++++++++++----
 3 files changed, 69 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch
 create mode 100644 srcpkgs/rubberband/patches/fix-meson-buildtype-detection.diff

diff --git a/srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch b/srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch
new file mode 100644
index 000000000000..15d5150a48a7
--- /dev/null
+++ b/srcpkgs/rubberband/patches/df596f472e3271ad64ab6c2968920e5e95c17080.patch
@@ -0,0 +1,26 @@
+From df596f472e3271ad64ab6c2968920e5e95c17080 Mon Sep 17 00:00:00 2001
+From: Chris Cannam <cannam@all-day-breakfast.com>
+Date: Mon, 26 Jun 2023 11:38:20 +0100
+Subject: [PATCH] Minor threshold tweak
+
+---
+Remove on next release.
+
+Source: https://github.com/breakfastquay/rubberband/commit/df596f472e3271ad64ab6c2968920e5e95c17080
+
+ src/test/TestStretcher.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/test/TestStretcher.cpp b/src/test/TestStretcher.cpp
+index 8213dbe4..cbf3ae3c 100644
+--- a/src/test/TestStretcher.cpp
++++ b/src/test/TestStretcher.cpp
+@@ -999,7 +999,7 @@ static void impulses_realtime(RubberBandStretcher::Options options,
+     // These limits aren't alarming, but it may be worth tightening
+     // them and and taking a look at the waveforms
+     
+-    BOOST_TEST(peak0 < int(ceil(200 * timeRatio)));
++    BOOST_TEST(peak0 < int(ceil(210 * timeRatio)));
+     BOOST_TEST(peak0 > int(ceil(50 * timeRatio)));
+ 
+     BOOST_TEST(peak1 < int(ceil(5070 * timeRatio)));
diff --git a/srcpkgs/rubberband/patches/fix-meson-buildtype-detection.diff b/srcpkgs/rubberband/patches/fix-meson-buildtype-detection.diff
new file mode 100644
index 000000000000..84f6e8315fb0
--- /dev/null
+++ b/srcpkgs/rubberband/patches/fix-meson-buildtype-detection.diff
@@ -0,0 +1,19 @@
+diff --git a/meson.build b/meson.build
+index 535b3db..eb00f50 100644
+--- a/meson.build
++++ b/meson.build
+@@ -432,11 +432,11 @@ ladspa_symbol_args = []
+ lv2_symbol_args = []
+ vamp_symbol_args = []
+ 
+-if get_option('buildtype').startswith('release')
++if get_option('debug')
++  config_summary += { 'Build type': 'Debug' }
++else
+   config_summary += { 'Build type': 'Release' }
+   feature_defines += ['-DNO_THREAD_CHECKS', '-DNO_TIMING', '-DNDEBUG']
+-else
+-  config_summary += { 'Build type': 'Debug' }
+ endif
+ 
+ if system == 'darwin'
diff --git a/srcpkgs/rubberband/template b/srcpkgs/rubberband/template
index 5d41a61ad7a5..04e4d91c0f10 100644
--- a/srcpkgs/rubberband/template
+++ b/srcpkgs/rubberband/template
@@ -1,22 +1,40 @@
 # Template file for 'rubberband'
 pkgname=rubberband
-version=3.1.2
+version=3.2.1
 revision=1
 build_style=meson
+configure_args="-Dfft=fftw"
 hostmakedepends="pkg-config"
-makedepends="ladspa-sdk libsamplerate-devel vamp-plugin-sdk-devel fftw-devel lv2"
+makedepends="ladspa-sdk vamp-plugin-sdk-devel fftw-devel lv2"
 depends="libvamp-plugin-sdk"
+checkdepends="boost-devel"
 short_desc="Time-stretching and pitch-shifting audio library"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Mohammed Anas <triallax@tutanota.com>"
 license="GPL-2.0-or-later"
 homepage="https://breakfastquay.com/rubberband/"
 changelog="https://breakfastquay.com/news.html"
 distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2"
-checksum=dda7e257b14c59a1f59c5ccc4d6f19412039f77834275955aa0ff511779b98d2
+checksum=82edacd0c50bfe56a6a85db1fcd4ca3346940ffe02843fc50f8b92f99a97d172
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
-	LDFLAGS+=" -latomic"
+	LDFLAGS="-latomic"
+fi
+
+# On 32-bit targets, the built-in resampler is much slower than libsamplerate.
+# On 64-bit targets the performance difference is not as pronounced, and the
+# built-in resampler can, in some situations, sound slightly better, so keep
+# using it on them.
+# See https://github.com/breakfastquay/rubberband/issues/87#issuecomment-1607722278.
+if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
+	makedepends+=" libsamplerate-devel"
+	configure_args+=" -Dresampler=libsamplerate"
+fi
+
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -Dtests=enabled"
+else
+	configure_args+=" -Dtests=disabled"
 fi
 
 librubberband_package() {
@@ -27,6 +45,7 @@ librubberband_package() {
 		vmove usr/lib/ladspa
 	}
 }
+
 rubberband-devel_package() {
 	depends="librubberband>=${version}_${revision}"
 	short_desc+=" - Development files"

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

* Re: [PR REVIEW] rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
                   ` (6 preceding siblings ...)
  2023-07-07 20:15 ` [PR PATCH] [Updated] " mhmdanas
@ 2023-07-07 20:15 ` mhmdanas
  2023-07-09 17:38 ` [PR PATCH] [Merged]: " the-maldridge
  8 siblings, 0 replies; 10+ messages in thread
From: mhmdanas @ 2023-07-07 20:15 UTC (permalink / raw)
  To: ml

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

New review comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/44215#discussion_r1256413736

Comment:
I added a patch to fix the detection, and I'm also going to submit it upstream.

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

* Re: [PR PATCH] [Merged]: rubberband: update to 3.2.1, adopt.
  2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
                   ` (7 preceding siblings ...)
  2023-07-07 20:15 ` [PR REVIEW] " mhmdanas
@ 2023-07-09 17:38 ` the-maldridge
  8 siblings, 0 replies; 10+ messages in thread
From: the-maldridge @ 2023-07-09 17:38 UTC (permalink / raw)
  To: ml

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

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

rubberband: update to 3.2.1, adopt.
https://github.com/void-linux/void-packages/pull/44215

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2023-07-09 17:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01 17:23 [PR PATCH] rubberband: update to 3.2.1 mhmdanas
2023-06-05 21:28 ` [PR PATCH] [Updated] " mhmdanas
2023-06-08 17:35 ` rubberband: update to 3.2.1, adopt mhmdanas
2023-06-26 15:30 ` [PR PATCH] [Updated] " mhmdanas
2023-06-26 19:38 ` mhmdanas
2023-06-27 14:37 ` [PR REVIEW] " Duncaen
2023-06-27 16:02 ` mhmdanas
2023-07-07 20:15 ` [PR PATCH] [Updated] " mhmdanas
2023-07-07 20:15 ` [PR REVIEW] " mhmdanas
2023-07-09 17:38 ` [PR PATCH] [Merged]: " the-maldridge

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).