Package Details: noson-app 5.6.8.r0.g8326e67c-1

Git Clone URL: https://aur.archlinux.org/noson-app.git (read-only, click to copy)
Package Base: noson-app
Description: The essential to control music from your SONOS devices on Linux platforms
Upstream URL: https://janbar.github.io/noson-app
Keywords: sonos
Licenses: GPL3
Submitter: s0me0ne
Maintainer: s0me0ne
Last Packager: s0me0ne
Votes: 10
Popularity: 0.001952
First Submitted: 2018-03-04 13:20 (UTC)
Last Updated: 2024-10-06 09:57 (UTC)

Latest Comments

1 2 3 Next › Last »

solarisfire commented on 2023-05-07 09:41 (UTC)

Ahhh,

Looks like it's down to GCC 13

Someone's done a pull request but the maintainers aren't doing anything with it...

https://github.com/janbar/noson/pull/17

solarisfire commented on 2023-05-07 09:29 (UTC) (edited on 2023-05-07 09:29 (UTC) by solarisfire)

This won't install, just throws a bunch of compilation errors:

[ 22%] Building CXX object backend/lib/noson-build/CMakeFiles/noson.dir/src/avtransport.cpp.o
In file included from /home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioencoder.h:24,
                 from /home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioencoder.cpp:19:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:33:3: error: ‘uint8_t’ does not name a type
   33 |   uint8_t sampleSize;
      |   ^~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:25:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   24 | #include <string>
  +++ |+#include <cstdint>
   25 | 
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:34:3: error: ‘uint32_t’ does not name a type
   34 |   uint32_t sampleRate;
      |   ^~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:34:3: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:35:3: error: ‘uint8_t’ does not name a type
   35 |   uint8_t channelCount;
      |   ^~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:35:3: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In constructor ‘SONOS::AudioFormat::AudioFormat()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:41:5: error: class ‘SONOS::AudioFormat’ does not have any field named ‘sampleSize’
   41 |   , sampleSize(0)
      |     ^~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:42:5: error: class ‘SONOS::AudioFormat’ does not have any field named ‘sampleRate’
   42 |   , sampleRate(0)
      |     ^~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:43:5: error: class ‘SONOS::AudioFormat’ does not have any field named ‘channelCount’
   43 |   , channelCount(0)
      |     ^~~~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In member function ‘bool SONOS::AudioFormat::isValid()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:49:12: error: ‘sampleRate’ was not declared in this scope; did you mean ‘sampleType’?
   49 |     return sampleRate && sampleSize && channelCount && !codec.empty();
      |            ^~~~~~~~~~
      |            sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:49:26: error: ‘sampleSize’ was not declared in this scope; did you mean ‘sampleType’?
   49 |     return sampleRate && sampleSize && channelCount && !codec.empty();
      |                          ^~~~~~~~~~
      |                          sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:49:40: error: ‘channelCount’ was not declared in this scope
   49 |     return sampleRate && sampleSize && channelCount && !codec.empty();
      |                                        ^~~~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In member function ‘int SONOS::AudioFormat::bytesPerFrame()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:54:17: error: ‘channelCount’ was not declared in this scope
   54 |     return (int)channelCount * ((sampleSize + 7) / 8);
      |                 ^~~~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:54:34: error: ‘sampleSize’ was not declared in this scope; did you mean ‘sampleType’?
   54 |     return (int)channelCount * ((sampleSize + 7) / 8);
      |                                  ^~~~~~~~~~
      |                                  sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In static member function ‘static SONOS::AudioFormat SONOS::AudioFormat::CDLPCM()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:62:8: error: ‘struct SONOS::AudioFormat’ has no member named ‘sampleSize’; did you mean ‘sampleType’?
   62 |     af.sampleSize = 16;
      |        ^~~~~~~~~~
      |        sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:63:8: error: ‘struct SONOS::AudioFormat’ has no member named ‘sampleRate’; did you mean ‘sampleType’?
   63 |     af.sampleRate = 44100;
      |        ^~~~~~~~~~
      |        sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:64:8: error: ‘struct SONOS::AudioFormat’ has no member named ‘channelCount’
   64 |     af.channelCount = 2;
      |        ^~~~~~~~~~~~
make[2]: *** [backend/lib/noson-build/CMakeFiles/noson.dir/build.make:370: backend/lib/noson-build/CMakeFiles/noson.dir/src/audioencoder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 23%] Building CXX object backend/NosonMediaScanner/CMakeFiles/NosonMediaScanner.dir/mediascanner.cpp.o
[ 23%] Building CXX object backend/NosonMediaScanner/CMakeFiles/NosonMediaScanner.dir/mediascannerengine.cpp.o
In file included from /home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audiosource.h:24,
                 from /home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audiosource.cpp:19:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:33:3: error: ‘uint8_t’ does not name a type
   33 |   uint8_t sampleSize;
      |   ^~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:25:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   24 | #include <string>
  +++ |+#include <cstdint>
   25 | 
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:34:3: error: ‘uint32_t’ does not name a type
   34 |   uint32_t sampleRate;
      |   ^~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:34:3: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:35:3: error: ‘uint8_t’ does not name a type
   35 |   uint8_t channelCount;
      |   ^~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:35:3: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In constructor ‘SONOS::AudioFormat::AudioFormat()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:41:5: error: class ‘SONOS::AudioFormat’ does not have any field named ‘sampleSize’
   41 |   , sampleSize(0)
      |     ^~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:42:5: error: class ‘SONOS::AudioFormat’ does not have any field named ‘sampleRate’
   42 |   , sampleRate(0)
      |     ^~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:43:5: error: class ‘SONOS::AudioFormat’ does not have any field named ‘channelCount’
   43 |   , channelCount(0)
      |     ^~~~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In member function ‘bool SONOS::AudioFormat::isValid()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:49:12: error: ‘sampleRate’ was not declared in this scope; did you mean ‘sampleType’?
   49 |     return sampleRate && sampleSize && channelCount && !codec.empty();
      |            ^~~~~~~~~~
      |            sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:49:26: error: ‘sampleSize’ was not declared in this scope; did you mean ‘sampleType’?
   49 |     return sampleRate && sampleSize && channelCount && !codec.empty();
      |                          ^~~~~~~~~~
      |                          sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:49:40: error: ‘channelCount’ was not declared in this scope
   49 |     return sampleRate && sampleSize && channelCount && !codec.empty();
      |                                        ^~~~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In member function ‘int SONOS::AudioFormat::bytesPerFrame()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:54:17: error: ‘channelCount’ was not declared in this scope
   54 |     return (int)channelCount * ((sampleSize + 7) / 8);
      |                 ^~~~~~~~~~~~
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:54:34: error: ‘sampleSize’ was not declared in this scope; did you mean ‘sampleType’?
   54 |     return (int)channelCount * ((sampleSize + 7) / 8);
      |                                  ^~~~~~~~~~
      |                                  sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h: In static member function ‘static SONOS::AudioFormat SONOS::AudioFormat::CDLPCM()’:
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:62:8: error: ‘struct SONOS::AudioFormat’ has no member named ‘sampleSize’; did you mean ‘sampleType’?
   62 |     af.sampleSize = 16;
      |        ^~~~~~~~~~
      |        sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:63:8: error: ‘struct SONOS::AudioFormat’ has no member named ‘sampleRate’; did you mean ‘sampleType’?
   63 |     af.sampleRate = 44100;
      |        ^~~~~~~~~~
      |        sampleType
/home/solarisfire/.cache/yay/noson-app/src/build/backend/lib/noson-src/noson/src/audioformat.h:64:8: error: ‘struct SONOS::AudioFormat’ has no member named ‘channelCount’
   64 |     af.channelCount = 2;
      |        ^~~~~~~~~~~~
[ 25%] Building CXX object gui/CMakeFiles/noson-gui.dir/noson.cpp.o
[ 25%] Building CXX object backend/NosonMediaScanner/CMakeFiles/NosonMediaScanner.dir/mediarunnable.cpp.o
make[2]: *** [backend/lib/noson-build/CMakeFiles/noson.dir/build.make:384: backend/lib/noson-build/CMakeFiles/noson.dir/src/audiosource.cpp.o] Error 1

s0me0ne commented on 2022-12-13 19:01 (UTC)

Thanks @m8D2! I've updated the package accordingly.

m8D2 commented on 2022-11-07 19:37 (UTC) (edited on 2022-11-07 19:39 (UTC) by m8D2)

Hi,

I have successfully built and run it on Apple Macbook Air M1 running Asahi Linux (arch based). So there appears to be nothing wrong with adding aarch64 to arch=() in PKGBUILD:

...
arch=('x86_64' 'armv7h' 'aarch64')

s0me0ne commented on 2022-01-03 20:58 (UTC)

@bone: You're absolutely right, this doesn't make sense. I've probably just copied it from another package and forgot to remove it. Amazing that it survived for almost for 4 years :D

I've just pushed an updated version. Thanks for reporting! :)

bone commented on 2022-01-03 13:32 (UTC)

Hi I just noticed pacman would install this package when I tell it to install base-devel. Why is this package within the "base-devel" group? Am I missing something or was this a mistake? thanks!

s0me0ne commented on 2021-11-21 20:07 (UTC)

Thanks Ekerim! I've updated the code accordingly.

Ekerim commented on 2021-11-02 01:14 (UTC) (edited on 2021-11-02 01:18 (UTC) by Ekerim)

Latest release has run into changes that github has done to up their security. The changes were implemented a while ago 2021-09-01 (https://github.blog/2021-09-01-improving-git-protocol-security-github/)

I'm not an experienced git user, but I tried to just change the "source=" in the buildfiles from:

source=("git+git://github.com/janbar/noson-app.git#tag=4.4.10")

to ...

source=("git+https://github.com/janbar/noson-app.git#tag=4.4.10")

... and that worked.

s0me0ne commented on 2019-03-17 14:49 (UTC)

Thanks @janbar! :) I've added libpulse/flac as a dependency. Tests on my system showed that it works as expected.

janbar commented on 2019-03-11 23:50 (UTC)

I haven't tested arch yet. So if you want to enable the feature to stream the pulseaudio output, you need to add the following dependencies: - libpulse-dev - libflac-dev - libflac++-dev Unless those are already installed by default. Then in the dialog "Audio Settings" you will see the input "PulseAudio", that lets you stream YouTube or any other sounds you are playing.