* [PR PATCH] sonic-visualiser: update to 5.0
@ 2024-09-29 12:46 newbluemoon
2024-10-03 21:14 ` [PR PATCH] [Updated] " newbluemoon
` (45 more replies)
0 siblings, 46 replies; 47+ messages in thread
From: newbluemoon @ 2024-09-29 12:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2250 bytes --]
There is a new pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0
<!-- 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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 1748 bytes --]
From 35b21ba6a94138d6fbd794a30c0825bb50520ca0 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.0
---
srcpkgs/sonic-visualiser/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..8cdaab236fad80 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,12 +1,12 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
+ opusfile-devel portaudio-devel pulseaudio-devel qt6-svg-devel rubberband-devel
speex-devel sord-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
@@ -14,4 +14,4 @@ license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=88f479704e0faeff44fa49ef6ecf6abd9a45945f175d6ee99a00fac43f5857bb
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
@ 2024-10-03 21:14 ` newbluemoon
2024-10-23 19:15 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1 newbluemoon
` (44 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2024-10-03 21:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2284 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0
<!-- 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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 1752 bytes --]
From f29ac27ad618018f126c777cd6fed345912577ee Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..1abd69700d03ad 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,12 +1,12 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
+ opusfile-devel portaudio-devel pulseaudio-devel qt6-svg-devel rubberband-devel
speex-devel sord-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
@@ -14,4 +14,4 @@ license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
2024-10-03 21:14 ` [PR PATCH] [Updated] " newbluemoon
@ 2024-10-23 19:15 ` newbluemoon
2024-11-21 8:45 ` newbluemoon
` (43 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2024-10-23 19:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 1752 bytes --]
From 808c60110303a972329f3102b3a31943a037fd89 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..1abd69700d03ad 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,12 +1,12 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
+ opusfile-devel portaudio-devel pulseaudio-devel qt6-svg-devel rubberband-devel
speex-devel sord-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
@@ -14,4 +14,4 @@ license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
2024-10-03 21:14 ` [PR PATCH] [Updated] " newbluemoon
2024-10-23 19:15 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1 newbluemoon
@ 2024-11-21 8:45 ` newbluemoon
2024-12-19 5:03 ` newbluemoon
` (42 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2024-11-21 8:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 1752 bytes --]
From 54cfc6895c5287734d28d45d60e6d23623e781db Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..1abd69700d03ad 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,12 +1,12 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
+ opusfile-devel portaudio-devel pulseaudio-devel qt6-svg-devel rubberband-devel
speex-devel sord-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
@@ -14,4 +14,4 @@ license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (2 preceding siblings ...)
2024-11-21 8:45 ` newbluemoon
@ 2024-12-19 5:03 ` newbluemoon
2024-12-25 9:28 ` newbluemoon
` (41 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2024-12-19 5:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 1752 bytes --]
From 2f9e642bad88e652e4d4221431dddc7c757e8ab1 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..1abd69700d03ad 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,12 +1,12 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
+ opusfile-devel portaudio-devel pulseaudio-devel qt6-svg-devel rubberband-devel
speex-devel sord-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
@@ -14,4 +14,4 @@ license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (3 preceding siblings ...)
2024-12-19 5:03 ` newbluemoon
@ 2024-12-25 9:28 ` newbluemoon
2024-12-25 9:35 ` newbluemoon
` (40 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2024-12-25 9:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 5fbc9f980e621ce621ba99414daeb8b70ec99cb4 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..b36afcf720b162 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
+LDFLAGS+="-lopusenc"
From 0f6ff18c60c9ec86111093617a76cc797fb1fefa Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (4 preceding siblings ...)
2024-12-25 9:28 ` newbluemoon
@ 2024-12-25 9:35 ` newbluemoon
2025-01-11 17:02 ` [PR PATCH] [Updated] " newbluemoon
` (39 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2024-12-25 9:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-2561752683
Comment:
Made a slight modification to the pkg-config-wrapper to find the qt6 tools when cross building on 64 bit host for 32 bit target:
```
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b..e2db9e400e9 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
```
This is the smallest change I could come up with that makes it work, but maybe there's a better solution?
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (5 preceding siblings ...)
2024-12-25 9:35 ` newbluemoon
@ 2025-01-11 17:02 ` newbluemoon
2025-01-28 17:41 ` newbluemoon
` (38 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-01-11 17:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 7b84f25f61b4c9c3fdcb3348f78c882de9d2d9a9 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 193b4b18bcae16..b36afcf720b162 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=2
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
+LDFLAGS+="-lopusenc"
From 77d191c2819fb2fe33045d7c4e153af04d8ff187 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (6 preceding siblings ...)
2025-01-11 17:02 ` [PR PATCH] [Updated] " newbluemoon
@ 2025-01-28 17:41 ` newbluemoon
2025-02-09 8:10 ` newbluemoon
` (37 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-01-28 17:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 0112f410ae4f251682658c48efe5bc4c959c87ae Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..b36afcf720b162 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
+LDFLAGS+="-lopusenc"
From 31b610975e6e54127d9717f529d8260d56239189 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (7 preceding siblings ...)
2025-01-28 17:41 ` newbluemoon
@ 2025-02-09 8:10 ` newbluemoon
2025-02-22 8:16 ` newbluemoon
` (36 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-02-09 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From cdbd154681d33fa844f4bc6347c4ac3ecb2c4244 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..b36afcf720b162 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
+LDFLAGS+="-lopusenc"
From feb2f65ac1d2c421589180e3124c8ba8cbc9b214 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (8 preceding siblings ...)
2025-02-09 8:10 ` newbluemoon
@ 2025-02-22 8:16 ` newbluemoon
2025-03-09 6:29 ` newbluemoon
` (35 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-02-22 8:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 20b1ce9d001504359e4fac169ee9fce1db7a4835 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.0.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..b36afcf720b162 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.0.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=b0a7d9df66dc33387afbc47e7ecb68d8a413869a3e7d2c4ceabacd04d9cf6e14
+LDFLAGS+="-lopusenc"
From 4e657c3a712ecfe5a261e9c3cea8f1898d9eb406 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (9 preceding siblings ...)
2025-02-22 8:16 ` newbluemoon
@ 2025-03-09 6:29 ` newbluemoon
2025-03-23 7:12 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.2 newbluemoon
` (34 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-03-09 6:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.0.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3252 bytes --]
From 41040ab67d19b1c4157b75af36b5f3ba6703a00a Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..9131c9242d855d 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=0d695146142d6ad2597786acd0ec020353e93012eeac1edef9dcc4770d108553
+LDFLAGS+="-lopusenc"
From 8504486e7489326f95472c60ea3d73612fcb7e4b Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (10 preceding siblings ...)
2025-03-09 6:29 ` newbluemoon
@ 2025-03-23 7:12 ` newbluemoon
2025-04-04 17:18 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1 newbluemoon
` (33 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-03-23 7:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2284 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.2
<!-- 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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 262bc7dead177d858742dfb4eb8179fb80bbe6f4 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
From 5eae531b6527eae85f208d0334b16324b190f3b7 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (11 preceding siblings ...)
2025-03-23 7:12 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.2 newbluemoon
@ 2025-04-04 17:18 ` newbluemoon
2025-04-19 4:50 ` newbluemoon
` (32 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-04-04 17:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 66aa9a12d5b96c5854606baf9143f01000a40b06 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
From 4e2cbb5cbf97647c31a5f65d34db975afbf4f8f9 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (12 preceding siblings ...)
2025-04-04 17:18 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1 newbluemoon
@ 2025-04-19 4:50 ` newbluemoon
2025-05-01 9:11 ` newbluemoon
` (31 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-04-19 4:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From a8ecbd5d1a349344ff5fe5ca7ef9f53eb9e1fb9a Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
From 0f0dcde149ec7b0da187447dc1ebd353403b8fe8 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (13 preceding siblings ...)
2025-04-19 4:50 ` newbluemoon
@ 2025-05-01 9:11 ` newbluemoon
2025-05-24 8:12 ` newbluemoon
` (30 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-05-01 9:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 0038a7e4c8b554ec9f1e19b85df19841c11c3381 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
From 87b440b4ebb50fff6eaa03fbe1b6d434b8426af2 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (14 preceding siblings ...)
2025-05-01 9:11 ` newbluemoon
@ 2025-05-24 8:12 ` newbluemoon
2025-06-05 19:35 ` newbluemoon
` (29 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-05-24 8:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From b22fd7e5df54c65ce96d1c67a824e60b88062ab6 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
From 1838c19c76dc9fdcbf4292ba45f69f834b26b9b1 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (15 preceding siblings ...)
2025-05-24 8:12 ` newbluemoon
@ 2025-06-05 19:35 ` newbluemoon
2025-06-06 17:48 ` Duncaen
` (28 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-06-05 19:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 3256 bytes --]
From 8dd9e31ed90117c1e68cb03adefc8ee064c5c024 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
From 15c813d9f833333872c105ab962f5871840c916a Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Wed, 25 Dec 2024 10:15:14 +0100
Subject: [PATCH 2/2] common: make pkg-config-wrapper look under lib
instead of lib32
cf. #52402, make 32-bit cross builds find qt-host-tools on a 64-bit host
.pc files contain lib32 hardcoded, lib is a symlink to the corresponding
lib{32,64} anyway, so let the wrapper look under lib
---
common/hooks/pre-configure/02-script-wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh
index 3d5d6c2ab3b8f3..e2db9e400e9cbd 100644
--- a/common/hooks/pre-configure/02-script-wrapper.sh
+++ b/common/hooks/pre-configure/02-script-wrapper.sh
@@ -103,7 +103,7 @@ pkgconfig_wrapper() {
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}"
-exec /usr/bin/pkg-config "\$@"
+exec /usr/bin/pkg-config "\$@" | sed s/lib32/lib/g
_EOF
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
if [ -z "$no_generic_pkgconfig_link" ]; then
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (16 preceding siblings ...)
2025-06-05 19:35 ` newbluemoon
@ 2025-06-06 17:48 ` Duncaen
2025-06-06 18:55 ` newbluemoon
` (27 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: Duncaen @ 2025-06-06 17:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-2950000036
Comment:
Just blindly replacing every occurance of `lib32` in any `pkg-config` output seems wrong.
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (17 preceding siblings ...)
2025-06-06 17:48 ` Duncaen
@ 2025-06-06 18:55 ` newbluemoon
2025-06-15 7:58 ` [PR PATCH] [Updated] " newbluemoon
` (26 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-06-06 18:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-2950211428
Comment:
I do agree, just couldn’t come up with something better. Also couldn’t find any other package having this constellation. Maybe don’t allow 32-bit cross builds from 64-bit hosts for now then?
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (18 preceding siblings ...)
2025-06-06 18:55 ` newbluemoon
@ 2025-06-15 7:58 ` newbluemoon
2025-06-15 8:02 ` newbluemoon
` (25 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-06-15 7:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From 4d9b62bd1dfff91c4406eb566dabc98c919acb36 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (19 preceding siblings ...)
2025-06-15 7:58 ` [PR PATCH] [Updated] " newbluemoon
@ 2025-06-15 8:02 ` newbluemoon
2025-06-15 8:31 ` newbluemoon
` (24 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-06-15 8:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-2973573848
Comment:
@Duncaen I disabled cross builds when host and target wordsize differs. I’ll open an issue with meson.
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (20 preceding siblings ...)
2025-06-15 8:02 ` newbluemoon
@ 2025-06-15 8:31 ` newbluemoon
2025-06-30 20:22 ` [PR PATCH] [Updated] " newbluemoon
` (23 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-06-15 8:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-2973573848
Comment:
@Duncaen I disabled cross builds when host and target wordsize differs.
There already seems to be an active meson issue addressing this: https://github.com/mesonbuild/meson/issues/13018
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (21 preceding siblings ...)
2025-06-15 8:31 ` newbluemoon
@ 2025-06-30 20:22 ` newbluemoon
2025-07-21 4:21 ` newbluemoon
` (22 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-06-30 20:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From 147ca9b9fe5da5918b88566ed22ee7c163150760 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (22 preceding siblings ...)
2025-06-30 20:22 ` [PR PATCH] [Updated] " newbluemoon
@ 2025-07-21 4:21 ` newbluemoon
2025-08-18 4:12 ` newbluemoon
` (21 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-07-21 4:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From cd223c814f26305931af2685e089231aaf3bcd98 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (23 preceding siblings ...)
2025-07-21 4:21 ` newbluemoon
@ 2025-08-18 4:12 ` newbluemoon
2025-09-06 7:13 ` newbluemoon
` (20 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-08-18 4:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From c580a4fcf3e61a3248b67fe3daebdc30bed9f47d Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (24 preceding siblings ...)
2025-08-18 4:12 ` newbluemoon
@ 2025-09-06 7:13 ` newbluemoon
2025-09-22 19:22 ` newbluemoon
` (19 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-09-06 7:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From b01dfcf99ca7d4b91ff703c0ca5e05cf3b14fd0e Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (25 preceding siblings ...)
2025-09-06 7:13 ` newbluemoon
@ 2025-09-22 19:22 ` newbluemoon
2025-09-28 6:02 ` newbluemoon
` (18 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-09-22 19:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From b259d3ff8033fc5ae8bf7feae604ad1ac2c3c136 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (26 preceding siblings ...)
2025-09-22 19:22 ` newbluemoon
@ 2025-09-28 6:02 ` newbluemoon
2025-10-12 18:18 ` newbluemoon
` (17 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-09-28 6:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From 1b1673da2f661f5ab80df334c1f3d2a578a5c2f6 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (27 preceding siblings ...)
2025-09-28 6:02 ` newbluemoon
@ 2025-10-12 18:18 ` newbluemoon
2025-11-03 19:53 ` newbluemoon
` (16 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-10-12 18:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From be03102c1248226d1b519c700758d72e9cd6e774 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (28 preceding siblings ...)
2025-10-12 18:18 ` newbluemoon
@ 2025-11-03 19:53 ` newbluemoon
2025-11-14 10:36 ` newbluemoon
` (15 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-11-03 19:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From 08f2c309831123e97070b659516dbb84de1fadea Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (29 preceding siblings ...)
2025-11-03 19:53 ` newbluemoon
@ 2025-11-14 10:36 ` newbluemoon
2025-11-14 11:55 ` newbluemoon
` (14 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-11-14 10:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]
From 7f4ec4cd225854881ed7ddfd9da87cb6681f4473 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
srcpkgs/sonic-visualiser/template | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (30 preceding siblings ...)
2025-11-14 10:36 ` newbluemoon
@ 2025-11-14 11:55 ` newbluemoon
2025-11-26 19:55 ` newbluemoon
` (13 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-11-14 11:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 5840 bytes --]
From 58bcd87e9be565a95c1c5538b9e82874d22e8859 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 19 ++++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 80 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (31 preceding siblings ...)
2025-11-14 11:55 ` newbluemoon
@ 2025-11-26 19:55 ` newbluemoon
2025-12-07 20:04 ` newbluemoon
` (12 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-11-26 19:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 5840 bytes --]
From 79fc870c8f3ea171661cd271067d8f3d9552894d Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 19 ++++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 80 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (32 preceding siblings ...)
2025-11-26 19:55 ` newbluemoon
@ 2025-12-07 20:04 ` newbluemoon
2025-12-20 20:41 ` newbluemoon
` (11 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-07 20:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 5840 bytes --]
From 68ab51577fd5ea7355b1f65d9f6bb7320067925b Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 19 ++++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 80 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (33 preceding siblings ...)
2025-12-07 20:04 ` newbluemoon
@ 2025-12-20 20:41 ` newbluemoon
2025-12-21 13:31 ` newbluemoon
` (10 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-20 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 5840 bytes --]
From 90f015e11b77e7a81b41f9218786273d411b8417 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 19 ++++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 80 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..dbf9e2c93c16e3 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,22 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
+
+if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
+ nocross="meson tries to find qt6 host tool under target wordsize lib dir"
+fi
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (34 preceding siblings ...)
2025-12-20 20:41 ` newbluemoon
@ 2025-12-21 13:31 ` newbluemoon
2025-12-21 13:39 ` newbluemoon
` (9 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-21 13:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From a7c0bcc5e7821cbcfac50e0211c9057b925e0c45 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 3bdf05d6ba94a2..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=3
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From 99181587ab245b5610dfd0a60c4dc9eb1c4d103a Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (35 preceding siblings ...)
2025-12-21 13:31 ` newbluemoon
@ 2025-12-21 13:39 ` newbluemoon
2025-12-21 17:45 ` newbluemoon
` (8 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-21 13:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-3678804486
Comment:
To resolve the cross build problem (32 bit target on 64 bit host) I added the required qt6 host tools (`moc` and `rcc`) explicitly to the meson cross profile.
Hope this approach will be accepted as it is the cleanest way I can come up with :)
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (36 preceding siblings ...)
2025-12-21 13:39 ` newbluemoon
@ 2025-12-21 17:45 ` newbluemoon
2025-12-29 5:04 ` [PR PATCH] [Updated] " newbluemoon
` (7 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-21 17:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-3678804486
Comment:
To resolve the cross build problem (32 bit target on 64 bit host) I added the two by the package required qt6 host tool binaries (`moc` and `rcc`) explicitly to the meson cross profile.
Hope this approach will be accepted as it is the cleanest way I can come up with :)
^ permalink raw reply [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (37 preceding siblings ...)
2025-12-21 17:45 ` newbluemoon
@ 2025-12-29 5:04 ` newbluemoon
2025-12-30 17:25 ` newbluemoon
` (6 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-29 5:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From 7e5729c647bbf9b5f29b48f5a02e7faa5acc6bf2 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From e07c001f73206760da9ff8e7347540314af5c132 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (38 preceding siblings ...)
2025-12-29 5:04 ` [PR PATCH] [Updated] " newbluemoon
@ 2025-12-30 17:25 ` newbluemoon
2025-12-30 22:20 ` newbluemoon
` (5 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-30 17:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From 9bc7b91dd36bf38643a1ec5a07c2544ddedb5802 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From d27849f892f927129241b65a03d591c29e5bc184 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (39 preceding siblings ...)
2025-12-30 17:25 ` newbluemoon
@ 2025-12-30 22:20 ` newbluemoon
2026-01-04 12:07 ` newbluemoon
` (4 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2025-12-30 22:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From 47ced17c8567c79745bf4dc0bd5b1939a03e5d60 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From c6f315f1952e057ac12ad25a5abfbc30f5416fcf Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (40 preceding siblings ...)
2025-12-30 22:20 ` newbluemoon
@ 2026-01-04 12:07 ` newbluemoon
2026-01-28 6:17 ` newbluemoon
` (3 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2026-01-04 12:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From 48ab3ce5c51271be365861d46bc47b65003ee210 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From 0efabf26e08601ce749ceff0838a2f4b1e6a32ae Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (41 preceding siblings ...)
2026-01-04 12:07 ` newbluemoon
@ 2026-01-28 6:17 ` newbluemoon
2026-02-06 20:39 ` newbluemoon
` (2 subsequent siblings)
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2026-01-28 6:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From 29518027dc12b6ad31a2c4cc1732a202a314223d Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From 88e8d2606b19184eabbb5bde1ecad196e5d39766 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (42 preceding siblings ...)
2026-01-28 6:17 ` newbluemoon
@ 2026-02-06 20:39 ` newbluemoon
2026-02-22 14:17 ` newbluemoon
2026-02-22 14:33 ` newbluemoon
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2026-02-06 20:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From f6fe155557066ee2aaeea85684476831d63c56aa Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From c131201a78360d795eecb9c6874ff90ec779fe01 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (43 preceding siblings ...)
2026-02-06 20:39 ` newbluemoon
@ 2026-02-22 14:17 ` newbluemoon
2026-02-22 14:33 ` newbluemoon
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2026-02-22 14:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages sonic-visualiser
https://github.com/void-linux/void-packages/pull/52406
sonic-visualiser: update to 5.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, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l (cross) --> fails on x86_64, succeedes on i686, see below
- x86_64-musl
- i686
There is a problem with 32-bit cross builds on a 64-bit host.
Meson detects Qt6 using pkg-config. However, the corresponding .pc files have
```
prefix=/usr
exec_prefix=${prefix}
bindir=${prefix}/lib32/qt6/bin
libexecdir=${prefix}/lib32/qt6/libexec
libdir=${prefix}/lib
includedir=${prefix}/include/qt6
```
i.e. they have `.../lib32/...` hard coded and so detection of the host tools fails when they are under `.../lib64/...`.
There are not much options to tweak this; using qmake instead of pkg-config yields the same error.
I think a clean solution would be adjusting Qt6’s .pc files to contain `.../lib/...` solely. There shouldn’t be a problem, because `lib32` and `lib64` are symlinks to `lib`, anyway. Everything else I can think of would be quite hacky. I don’t know if this is the only package having this problem; I searched for other templates, but didn’t find anything alike.
Any ideas/suggestions are very welcome :)
A patch file from https://github.com/void-linux/void-packages/pull/52406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sonic-visualiser-52406.patch --]
[-- Type: text/x-diff, Size: 6724 bytes --]
From 3c88493d5bac24e4cb9851b8978a0715c30e6a99 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 29 Sep 2024 14:19:46 +0200
Subject: [PATCH 1/2] sonic-visualiser: update to 5.2.1
---
.../sonic-visualiser/patches/svcore-fix.patch | 67 +++++++++++++++++++
srcpkgs/sonic-visualiser/template | 15 +++--
srcpkgs/sonic-visualiser/update | 3 +-
3 files changed, 76 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/sonic-visualiser/patches/svcore-fix.patch
diff --git a/srcpkgs/sonic-visualiser/patches/svcore-fix.patch b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
new file mode 100644
index 00000000000000..6d757a9c0d50a9
--- /dev/null
+++ b/srcpkgs/sonic-visualiser/patches/svcore-fix.patch
@@ -0,0 +1,67 @@
+from https://github.com/sonic-visualiser/sonic-visualiser/issues/112
+fixed in https://github.com/sonic-visualiser/svcore/commit/2dee776aad88060d41086c4fb0191ecb0bded86c
+
+diff --git a/data/model/EditableDenseThreeDimensionalModel.cpp b/data/model/EditableDenseThreeDimensionalModel.cpp
+index da5ff904..7a621631 100644
+--- a/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
++++ b/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
+@@ -458,10 +458,10 @@ EditableDenseThreeDimensionalModel::toXml(QTextStream &out,
+ Model::toXml
+ (out, indent,
+ QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
+- .arg(m_resolution)
+- .arg(m_yBinCount)
+- .arg(m_minimum)
+- .arg(m_maximum)
++ .arg(m_resolution.load())
++ .arg(m_yBinCount.load())
++ .arg(m_minimum.load())
++ .arg(m_maximum.load())
+ .arg(getExportId())
+ .arg(m_startFrame)
+ .arg(extraAttributes));
+diff --git a/data/model/NoteModel.h b/data/model/NoteModel.h
+index 8c3a421e..28e145c2 100644
+--- a/svcore/data/model/NoteModel.h
++++ b/svcore/data/model/NoteModel.h
+@@ -403,8 +403,8 @@ class NoteModel : public Model,
+ .arg(m_events.getExportId())
+ .arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/RegionModel.h b/data/model/RegionModel.h
+index 916a0477..db021ae7 100644
+--- a/svcore/data/model/RegionModel.h
++++ b/svcore/data/model/RegionModel.h
+@@ -335,8 +335,8 @@ class RegionModel : public Model,
+ .arg(m_events.getExportId())
+ .arg("region")
+ .arg(m_valueQuantization)
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
+diff --git a/data/model/SparseTimeValueModel.h b/data/model/SparseTimeValueModel.h
+index fe6e70cc..70335038 100644
+--- a/svcore/data/model/SparseTimeValueModel.h
++++ b/svcore/data/model/SparseTimeValueModel.h
+@@ -342,8 +342,8 @@ class SparseTimeValueModel : public Model,
+ .arg("true") // always true after model reaches 100% -
+ // subsequent events are always notified
+ .arg(m_events.getExportId())
+- .arg(m_valueMinimum)
+- .arg(m_valueMaximum)
++ .arg(m_valueMinimum.load())
++ .arg(m_valueMaximum.load())
+ .arg(encodeEntities(m_units))
+ .arg(extraAttributes));
+
diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template
index 554a1bff0fc89e..ac61a7468e4d03 100644
--- a/srcpkgs/sonic-visualiser/template
+++ b/srcpkgs/sonic-visualiser/template
@@ -1,17 +1,18 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
-version=4.5.2
-revision=4
+version=5.2.1
+revision=1
build_style=meson
-hostmakedepends="pkg-config capnproto-devel qt5-host-tools"
+hostmakedepends="pkg-config capnproto-devel qt6-base qt6-tools"
makedepends="capnproto-devel jack-devel libfishsound-devel libid3tag-devel
- liblo-devel liblrdf-devel libmad-devel liboggz-devel libsamplerate-devel
- opusfile-devel portaudio-devel pulseaudio-devel qt5-svg-devel rubberband-devel
- speex-devel sord-devel vamp-plugin-sdk-devel"
+ liblo-devel liblrdf-devel libmad-devel liboggz-devel libopusenc-devel
+ libsamplerate-devel opusfile-devel portaudio-devel pulseaudio-devel
+ qt6-svg-devel rubberband-devel sord-devel speex-devel vamp-plugin-sdk-devel"
short_desc="Viewing and analysing the contents of music audio files"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://raw.githubusercontent.com/sonic-visualiser/sonic-visualiser/default/CHANGELOG"
distfiles="https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v${version}/sonic-visualiser-${version}.tar.gz"
-checksum=0816e1ba9e3f97af495ece2554186bccad1cf47090ff8a13f1d08322212db487
+checksum=2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
+LDFLAGS+="-lopusenc"
diff --git a/srcpkgs/sonic-visualiser/update b/srcpkgs/sonic-visualiser/update
index c6bb05147b3c4b..a78243342d2889 100644
--- a/srcpkgs/sonic-visualiser/update
+++ b/srcpkgs/sonic-visualiser/update
@@ -1,2 +1 @@
-site="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/files"
-ignore="*pre*"
+pkgname=sv
From 054a826670aaa204e357a7ff4fe1580820d6169f Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 21 Dec 2025 14:20:41 +0100
Subject: [PATCH 2/2] common: add qt host binaries to meson cross profile
When cross building 32 bit qt6 packages on 64 bit hosts the qt6 host
tools are not found, because the path is determined via pkgconfig which
points to /usr/lib32.
Adding the required binaries to the cross profile as a workaround to
resolve this.
---
common/build-helper/meson.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh
index 69b30555fce672..4d94e7afbeaf0c 100644
--- a/common/build-helper/meson.sh
+++ b/common/build-helper/meson.sh
@@ -76,6 +76,8 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF
cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
qmake6 = 'qmake6'
qmake5 = 'qmake5'
+ moc = '/usr/lib/qt6/libexec/moc'
+ rcc = '/usr/lib/qt6/libexec/rcc'
[properties]
needs_exe_wrapper = true
^ permalink raw reply related [flat|nested] 47+ messages in thread
* Re: sonic-visualiser: update to 5.2.1
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
` (44 preceding siblings ...)
2026-02-22 14:17 ` newbluemoon
@ 2026-02-22 14:33 ` newbluemoon
45 siblings, 0 replies; 47+ messages in thread
From: newbluemoon @ 2026-02-22 14:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New comment by newbluemoon on void-packages repository
https://github.com/void-linux/void-packages/pull/52406#issuecomment-3941064530
Comment:
Issue for build failure: https://github.com/sonic-visualiser/sonic-visualiser/issues/117
^ permalink raw reply [flat|nested] 47+ messages in thread
end of thread, other threads:[~2026-02-22 14:33 UTC | newest]
Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-29 12:46 [PR PATCH] sonic-visualiser: update to 5.0 newbluemoon
2024-10-03 21:14 ` [PR PATCH] [Updated] " newbluemoon
2024-10-23 19:15 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.0.1 newbluemoon
2024-11-21 8:45 ` newbluemoon
2024-12-19 5:03 ` newbluemoon
2024-12-25 9:28 ` newbluemoon
2024-12-25 9:35 ` newbluemoon
2025-01-11 17:02 ` [PR PATCH] [Updated] " newbluemoon
2025-01-28 17:41 ` newbluemoon
2025-02-09 8:10 ` newbluemoon
2025-02-22 8:16 ` newbluemoon
2025-03-09 6:29 ` newbluemoon
2025-03-23 7:12 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.2 newbluemoon
2025-04-04 17:18 ` [PR PATCH] [Updated] sonic-visualiser: update to 5.2.1 newbluemoon
2025-04-19 4:50 ` newbluemoon
2025-05-01 9:11 ` newbluemoon
2025-05-24 8:12 ` newbluemoon
2025-06-05 19:35 ` newbluemoon
2025-06-06 17:48 ` Duncaen
2025-06-06 18:55 ` newbluemoon
2025-06-15 7:58 ` [PR PATCH] [Updated] " newbluemoon
2025-06-15 8:02 ` newbluemoon
2025-06-15 8:31 ` newbluemoon
2025-06-30 20:22 ` [PR PATCH] [Updated] " newbluemoon
2025-07-21 4:21 ` newbluemoon
2025-08-18 4:12 ` newbluemoon
2025-09-06 7:13 ` newbluemoon
2025-09-22 19:22 ` newbluemoon
2025-09-28 6:02 ` newbluemoon
2025-10-12 18:18 ` newbluemoon
2025-11-03 19:53 ` newbluemoon
2025-11-14 10:36 ` newbluemoon
2025-11-14 11:55 ` newbluemoon
2025-11-26 19:55 ` newbluemoon
2025-12-07 20:04 ` newbluemoon
2025-12-20 20:41 ` newbluemoon
2025-12-21 13:31 ` newbluemoon
2025-12-21 13:39 ` newbluemoon
2025-12-21 17:45 ` newbluemoon
2025-12-29 5:04 ` [PR PATCH] [Updated] " newbluemoon
2025-12-30 17:25 ` newbluemoon
2025-12-30 22:20 ` newbluemoon
2026-01-04 12:07 ` newbluemoon
2026-01-28 6:17 ` newbluemoon
2026-02-06 20:39 ` newbluemoon
2026-02-22 14:17 ` newbluemoon
2026-02-22 14:33 ` newbluemoon
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).