Package Details: sonic-lineup 1.1-5

Git Clone URL: https://aur.archlinux.org/sonic-lineup.git (read-only, click to copy)
Package Base: sonic-lineup
Description: Sonic Lineup is a free, open-source application for Windows, Linux, and Mac, designed for rapid visualisation of multiple audio files containing versions of the same source material
Upstream URL: https://www.sonicvisualiser.org/sonic-lineup/
Keywords: audio spectrum visualize
Licenses: GPL2
Submitter: napcode
Maintainer: napcode
Last Packager: napcode
Votes: 1
Popularity: 0.000000
First Submitted: 2019-11-05 08:04 (UTC)
Last Updated: 2022-08-15 19:10 (UTC)

Latest Comments

xorly commented on 2023-10-22 17:02 (UTC) (edited on 2023-10-22 17:04 (UTC) by xorly)

Hi, could you please move patching to prepare() function? >docs on wiki< It helps if user wants to rebuild but does not want to re-extract and thus re-patch already patched sources.

napcode commented on 2022-08-15 19:10 (UTC)

Thanks for the report. Should be fixed.

smradlev commented on 2022-08-15 11:34 (UTC) (edited on 2022-08-15 11:37 (UTC) by smradlev)

When compiling, I get the following error:

svcore/data/model/RelativelyFineZoomConstraint.cpp: In member function ‘virtual ZoomLevel RelativelyFineZoomConstraint::getNearestZoomLevel(ZoomLevel, ZoomConstraint::RoundingDirection) const’:
svcore/data/model/RelativelyFineZoomConstraint.cpp:91:26: error: ‘rel_ops’ is not a namespace-name
   91 |     using namespace std::rel_ops;
      |                          ^~~~~~~
svcore/data/model/RelativelyFineZoomConstraint.cpp:92:18: error: no match for ‘operator>’ (operand types are ‘ZoomLevel’ and ‘ZoomLevel’)
   92 |     if (newLevel > getMaxZoomLevel()) {
      |         ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
      |         |                         |
      |         ZoomLevel                 ZoomLevel
In file included from /usr/include/c++/12.1.1/string:47,
                 from /usr/include/c++/12.1.1/bits/locale_classes.h:40,
                 from /usr/include/c++/12.1.1/bits/ios_base.h:41,
                 from /usr/include/c++/12.1.1/ios:42,
                 from /usr/include/c++/12.1.1/istream:38,
                 from /usr/include/c++/12.1.1/sstream:38,
                 from /usr/include/c++/12.1.1/complex:45,
                 from svcore/base/BaseTypes.h:19,
                 from svcore/base/ZoomLevel.h:18,
                 from svcore/base/ZoomConstraint.h:21,
                 from svcore/data/model/RelativelyFineZoomConstraint.h:18,
                 from svcore/data/model/RelativelyFineZoomConstraint.cpp:15:

smw commented on 2022-01-22 20:56 (UTC)

Yes, that fixed it. Thank you!

napcode commented on 2022-01-22 10:28 (UTC)

Thx. Should be fixed.

smw commented on 2022-01-22 04:19 (UTC)

Version 1.1-3 builds for me, but fails in testing. The symptoms are as follows:

make[1]: Entering directory '/var/tmp/pamac-build-smw/sonic-lineup/src/sonic-lineup-1.1'
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -std=gnu++1y -Wall -Wextra -fPIC -DHAVE_BZ2 -DHAVE_FFTW3 -DHAVE_FFTW3F -DHAVE_SNDFILE -DHAVE_SAMPLERATE -DHAVE_RUBBERBAND -DHAVE_SORD -DHAVE_SERD -DHAVE_CAPNP -DHAVE_LIBLO -DHAVE_PORTAUDIO_2_0 -DHAVE_JACK -DHAVE_LIBPULSE -DHAVE_LRDF -DHAVE_OGGZ -DHAVE_FISHSOUND -DHAVE_MAD -DHAVE_ID3TAG -DHAVE_OPUS -DHAVE_X11 -DHAVE_PIPER -DHAVE_PLUGIN_CHECKER_HELPER -DDYNAMIC_JACK -DUSE_COMPACT_TYPES -I. -Ivamp-plugin-sdk -I/usr/lib/qt/mkspecs/linux-g++ -o match/o/DistanceMetric.o match/src/DistanceMetric.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -std=gnu++1y -Wall -Wextra -fPIC -DHAVE_BZ2 -DHAVE_FFTW3 -DHAVE_FFTW3F -DHAVE_SNDFILE -DHAVE_SAMPLERATE -DHAVE_RUBBERBAND -DHAVE_SORD -DHAVE_SERD -DHAVE_CAPNP -DHAVE_LIBLO -DHAVE_PORTAUDIO_2_0 -DHAVE_JACK -DHAVE_LIBPULSE -DHAVE_LRDF -DHAVE_OGGZ -DHAVE_FISHSOUND -DHAVE_MAD -DHAVE_ID3TAG -DHAVE_OPUS -DHAVE_X11 -DHAVE_PIPER -DHAVE_PLUGIN_CHECKER_HELPER -DDYNAMIC_JACK -DUSE_COMPACT_TYPES -I. -Ivamp-plugin-sdk -I/usr/lib/qt/mkspecs/linux-g++ -o match/o/FeatureConditioner.o match/src/FeatureConditioner.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -std=gnu++1y -Wall -Wextra -fPIC -DHAVE_BZ2 -DHAVE_FFTW3 -DHAVE_FFTW3F -DHAVE_SNDFILE -DHAVE_SAMPLERATE -DHAVE_RUBBERBAND -DHAVE_SORD -DHAVE_SERD -DHAVE_CAPNP -DHAVE_LIBLO -DHAVE_PORTAUDIO_2_0 -DHAVE_JACK -DHAVE_LIBPULSE -DHAVE_LRDF -DHAVE_OGGZ -DHAVE_FISHSOUND -DHAVE_MAD -DHAVE_ID3TAG -DHAVE_OPUS -DHAVE_X11 -DHAVE_PIPER -DHAVE_PLUGIN_CHECKER_HELPER -DDYNAMIC_JACK -DUSE_COMPACT_TYPES -I. -Ivamp-plugin-sdk -I/usr/lib/qt/mkspecs/linux-g++ -o match/o/FeatureExtractor.o match/src/FeatureExtractor.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -std=gnu++1y -Wall -Wextra -fPIC -DHAVE_BZ2 -DHAVE_FFTW3 -DHAVE_FFTW3F -DHAVE_SNDFILE -DHAVE_SAMPLERATE -DHAVE_RUBBERBAND -DHAVE_SORD -DHAVE_SERD -DHAVE_CAPNP -DHAVE_LIBLO -DHAVE_PORTAUDIO_2_0 -DHAVE_JACK -DHAVE_LIBPULSE -DHAVE_LRDF -DHAVE_OGGZ -DHAVE_FISHSOUND -DHAVE_MAD -DHAVE_ID3TAG -DHAVE_OPUS -DHAVE_X11 -DHAVE_PIPER -DHAVE_PLUGIN_CHECKER_HELPER -DDYNAMIC_JACK -DUSE_COMPACT_TYPES -I. -Ivamp-plugin-sdk -I/usr/lib/qt/mkspecs/linux-g++ -o match/o/Finder.o match/src/Finder.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS -I/usr/include/opus -I/usr/include/sord-0 -I/usr/include/serd-0 -I/usr/include/serd-0 -pthread -pthread -D_REENTRANT -I/usr/include/raptor2 -I/usr/include/opus -std=gnu++1y -Wall -Wextra -fPIC -DHAVE_BZ2 -DHAVE_FFTW3 -DHAVE_FFTW3F -DHAVE_SNDFILE -DHAVE_SAMPLERATE -DHAVE_RUBBERBAND -DHAVE_SORD -DHAVE_SERD -DHAVE_CAPNP -DHAVE_LIBLO -DHAVE_PORTAUDIO_2_0 -DHAVE_JACK -DHAVE_LIBPULSE -DHAVE_LRDF -DHAVE_OGGZ -DHAVE_FISHSOUND -DHAVE_MAD -DHAVE_ID3TAG -DHAVE_OPUS -DHAVE_X11 -DHAVE_PIPER -DHAVE_PLUGIN_CHECKER_HELPER -DDYNAMIC_JACK -DUSE_COMPACT_TYPES -I. -Ivamp-plugin-sdk -I/usr/lib/qt/mkspecs/linux-g++ -o match/o/FullDTW.o match/src/FullDTW.cpp
In file included from match/src/FullDTW.cpp:18:
match/src/FullDTW.h:86:17: error: ‘size_t’ was not declared in this scope; did you mean ‘std::size_t’?
   86 |     std::vector<size_t> align(const featureseq_t &s1,
      |                 ^~~~~~
      |                 std::size_t
In file included from /usr/include/c++/11.1.0/bits/stl_algobase.h:59,
                 from /usr/include/c++/11.1.0/vector:60,
                 from match/src/FullDTW.h:21,
                 from match/src/FullDTW.cpp:18:
/usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:280:33: note: ‘std::size_t’ declared here
  280 |   typedef __SIZE_TYPE__         size_t;
      |                                 ^~~~~~
In file included from match/src/FullDTW.cpp:18:
match/src/FullDTW.h:86:23: error: template argument 1 is invalid
   86 |     std::vector<size_t> align(const featureseq_t &s1,
      |                       ^
match/src/FullDTW.h:86:23: error: template argument 2 is invalid
match/src/FullDTW.cpp:97:1: error: no declaration matches ‘std::vector<long unsigned int> FullDTW::align(const featureseq_t&, const featureseq_t&)’
   97 | FullDTW::align(const featureseq_t &s1, const featureseq_t &s2) {
      | ^~~~~~~
In file included from match/src/FullDTW.cpp:18:
match/src/FullDTW.h:86:25: note: candidate is: ‘int FullDTW::align(const featureseq_t&, const featureseq_t&)’
   86 |     std::vector<size_t> align(const featureseq_t &s1,
      |                         ^~~~~
match/src/FullDTW.h:36:7: note: ‘class FullDTW’ defined here
   36 | class FullDTW
      |       ^~~~~~~
make[1]: *** [Makefile.match:818: match/o/FullDTW.o] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-smw/sonic-lineup/src/sonic-lineup-1.1'
make: *** [Makefile:304: sub-match-pro-make_first-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

napcode commented on 2020-12-08 16:27 (UTC)

Thanks for the info. I updated the package and the patch is indeed no longer required.

DaarkWel commented on 2020-12-08 14:20 (UTC)

Working new PKGBUILD. I'm not sure what that patch does, but it works for me without it.

pkgname=sonic-lineup
pkgver=1.1
pkgrel=1
pkgdesc="Sonic Lineup is a free, open-source application for Windows, Linux, and Mac, designed for rapid visualisation of multiple audio files containing versions of the same source material"
arch=('x86_64')
url="https://www.sonicvisualiser.org/sonic-lineup/"
license=('GPL2')
depends=(
  'capnproto'
  'boost-libs'
  'fftw'
  'jack2'
  'libfishsound'
  'libid3tag'
  'liblo'
  'liblrdf'
  'libmad'
  'liboggz'
  'libpulse'
  'libsamplerate'
  'libsndfile'
  'libx11'
  'opus'
  'opusfile'
  'portaudio'
  'qt5-base'
  'qt5-svg'
  'qt5-tools'
  'rubberband'
  'serd'
  'sord'
)
makedepends=(
  'boost'
)
source=("${pkgname}-${pkgver}.tar.gz::https://code.soundsoftware.ac.uk/attachments/download/2765/${pkgname}-${pkgver}.tar.gz")
md5sums=('f3b0d0de568ba673be3428b9589c0ac4')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  export INSTALL_ROOT="${pkgdir}/"
  ./configure --prefix=/usr
#  patch -Np1 -i "../../${pkgname}-${pkgver}.patch"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  export INSTALL_ROOT="${pkgdir}/"
  make install
}