Package Details: soundux 0.2.7-3

Git Clone URL: https://aur.archlinux.org/soundux.git (read-only, click to copy)
Package Base: soundux
Description: A cross-platform soundboard - stable version
Upstream URL: https://soundux.rocks
Keywords: discord soundboard teamspeak
Licenses: GPL3
Submitter: D3SOX
Maintainer: D3SOX (Curve)
Last Packager: D3SOX
Votes: 18
Popularity: 0.062752
First Submitted: 2020-12-22 20:14 (UTC)
Last Updated: 2024-08-03 17:26 (UTC)

Pinned Comments

D3SOX commented on 2024-07-06 10:45 (UTC)

Please use the Flatpak for now

Latest Comments

1 2 Next › Last »

Freso commented on 2024-08-03 09:25 (UTC)

The PKGBUILD should be updated to depend on pulse-native-provider instead of pulseaudio; see https://gitlab.archlinux.org/archlinux/packaging/packages/pipewire/-/issues/10

D3SOX commented on 2024-07-06 10:45 (UTC)

Please use the Flatpak for now

TrueRandom commented on 2024-02-28 22:03 (UTC)

same error as @ColonelThirtyTwo gcc (GCC) 13.2.1 20230801

ColonelThirtyTwo commented on 2023-08-01 20:47 (UTC)

@RichardPython Nope. c++ --version shows GCC 13.1.1 for me. I can build it on my laptop though, so maybe it's something with my environment, though I'm not sure what it could be.

RichardPython commented on 2023-07-24 18:00 (UTC)

@ColonelThirtyTwo Seems like they updated the package. I can sucessfully build it out of the box using gcc 13.1.1.

Are you using a different compiler ?

ColonelThirtyTwo commented on 2023-07-24 17:08 (UTC)

0.2.7-3 still fails to build for me:

[53/58] Building CXX object CMakeFiles/soundux.dir/src/helper/version/check.cpp.o
FAILED: CMakeFiles/soundux.dir/src/helper/version/check.cpp.o 
/usr/bin/c++ -DBACKWARD_HAS_BACKTRACE=0 -DBACKWARD_HAS_BACKTRACE_SYMBOL=0 -DBACKWARD_HAS_BFD=0 -DBACKWARD_HAS_DW=1 -DBACKWARD_HAS_DWARF=0 -DBACKWARD_HAS_LIBUNWIND=0 -DBACKWARD_HAS_UNWIND=1 -DCPPHTTPLIB_BROTLI_SUPPORT -DCPPHTTPLIB_OPENSSL_SUPPORT -DCPPHTTPLIB_ZLIB_SUPPORT -DSOUNDUX_VERSION=\"0.2.7\" -DWNCK_I_KNOW_THIS_IS_UNSTABLE=1 -I/home/col/.cache/pikaur/build/soundux/src/Soundux/lib/backward-cpp -I/home/col/.cache/pikaur/build/soundux/src/Soundux/lib/nativefiledialog-extended/src/include -I/home/col/.cache/pikaur/build/soundux/src/Soundux/lib/tiny-process-library -I/home/col/.cache/pikaur/build/soundux/src/Soundux/lib/guardpp/guard/include -I/home/col/.cache/pikaur/build/soundux/src/Soundux/lib/lockpp/lock/include -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/src -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/miniaudio -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/semver/include -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/fancypp/include -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/json/single_include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/cpp-httplib -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/webkitgtk-4.0 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/libxml2 -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/include -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/lib/json/single_include/nlohmann -isystem /usr/include/libappindicator3-0.1 -isystem /usr/include/libdbusmenu-glib-0.4 -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/traypp -isystem /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/traypp/tray/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O3 -DNDEBUG -std=c++17   -Wno-deprecated -Wall -Werror -Wextra -pedantic -Wno-unused-lambda-capture -Wno-gnu -MD -MT CMakeFiles/soundux.dir/src/helper/version/check.cpp.o -MF CMakeFiles/soundux.dir/src/helper/version/check.cpp.o.d -o CMakeFiles/soundux.dir/src/helper/version/check.cpp.o -c /home/col/.cache/pikaur/build/soundux/src/Soundux/src/helper/version/check.cpp
In file included from /usr/include/c++/13.1.1/regex:68,
                 from /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/cpp-httplib/httplib.h:202,
                 from /home/col/.cache/pikaur/build/soundux/src/Soundux/src/helper/version/check.hpp:2,
                 from /home/col/.cache/pikaur/build/soundux/src/Soundux/src/helper/version/check.cpp:1:
In member function ‘std::__cxx11::sub_match<_BiIter>::difference_type std::__cxx11::sub_match<_BiIter>::length() const [with _BiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’,
    inlined from ‘std::__cxx11::match_results<_Bi_iter, _Alloc>::difference_type std::__cxx11::match_results<_Bi_iter, _Alloc>::length(size_type) const [with _Bi_iter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ at /usr/include/c++/13.1.1/bits/regex.h:1907:37,
    inlined from ‘bool httplib::detail::parse_www_authenticate(const httplib::Response&, std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, bool)’ at /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/cpp-httplib/httplib.h:3828:30:
/usr/include/c++/13.1.1/bits/regex.h:942:22: error: array subscript -3 is outside array bounds of ‘std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > [384307168202282325]’ [-Werror=array-bounds=]
  942 |       { return this->matched ? std::distance(this->first, this->second) : 0; }
      |                ~~~~~~^~~~~~~
In file included from /usr/include/c++/13.1.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
                 from /usr/include/c++/13.1.1/bits/allocator.h:46,
                 from /usr/include/c++/13.1.1/bits/alloc_traits.h:39,
                 from /usr/include/c++/13.1.1/condition_variable:44,
                 from /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/cpp-httplib/httplib.h:190:
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’,
    inlined from ‘static _Tp* std::allocator_traits<std::allocator<_Tp1> >::allocate(allocator_type&, size_type) [with _Tp = std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ at /usr/include/c++/13.1.1/bits/alloc_traits.h:482:28,
    inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ at /usr/include/c++/13.1.1/bits/stl_vector.h:378:33,
    inlined from ‘void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ at /usr/include/c++/13.1.1/bits/stl_vector.h:395:44,
    inlined from ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ at /usr/include/c++/13.1.1/bits/stl_vector.h:332:26,
    inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ at /usr/include/c++/13.1.1/bits/stl_vector.h:600:61,
    inlined from ‘std::__cxx11::match_results<_Bi_iter, _Alloc>::match_results(const std::__cxx11::match_results<_Bi_iter, _Alloc>&) [with _Bi_iter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ at /usr/include/c++/13.1.1/bits/regex.h:1815:7,
    inlined from ‘bool httplib::detail::parse_www_authenticate(const httplib::Response&, std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, bool)’ at /home/col/.cache/pikaur/build/soundux/src/Soundux/lib/cpp-httplib/httplib.h:3825:21:
/usr/include/c++/13.1.1/bits/new_allocator.h:147:55: note: at offset -72 into object of size [1, 9223372036854775800] allocated by ‘operator new’
  147 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                       ^
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-gnu’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unused-lambda-capture’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
[56/58] Building CXX object CMakeFiles/soundux.dir/src/ui/impl/webview/webview.cpp.o
ninja: build stopped: subcommand failed.

RichardPython commented on 2023-05-05 15:31 (UTC) (edited on 2023-05-05 16:00 (UTC) by RichardPython)

@jmcb I got the same error and i found a workaround.

Edit PKGBUILD and replace

prepare() {
  sed -i /-Werror/d "$srcdir/Soundux/CMakeLists.txt"
}

By:

prepare() {
  find $srcdir/Soundux/ -name CMakeLists.txt -exec sed -i /-Werror/d {} \;
  sed -i "s/std::int32_t/int32_t/g" $srcdir/Soundux/lib/guardpp/guard/include/core/linux/guard.hpp
}

It also fixes "« int32_t » in namespace « std » does not name a type".

imcb commented on 2023-04-27 16:37 (UTC)

Currently failing with this error:

-- Checking for module 'libwnck-3.0'
--   Package 'libwnck-3.0', required by 'virtual:world', not found
nfd Platform: PLATFORM_LINUX
nfd Compiler: COMPILER_GNU
Using GTK version: 3.24.37
-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR) 
CMake Warning at lib/cpp-httplib/CMakeLists.txt:78 (message):
  cpp-httplib failed to find the latest Git tag, falling back to using user
  agent as the version.


Web-content will not be embedded
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /home/joelm/src/pkgbuild/soundux/src/Soundux/build
[21/24] Building CXX object src/ui/impl/w...w.dir/webview/src/core/linux/window.cpp.o
FAILED: src/ui/impl/webview/lib/webviewpp/CMakeFiles/webview.dir/webview/src/core/linux/window.cpp.o 
/usr/bin/c++  -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/webkitgtk-4.0 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/libxml2 -isystem /home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp -isystem /home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/include -isystem /home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/lib/json/single_include/nlohmann -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 -O3 -DNDEBUG -std=c++17 -Wall -Wextra -Werror -pedantic -Wno-unused-lambda-capture -MD -MT src/ui/impl/webview/lib/webviewpp/CMakeFiles/webview.dir/webview/src/core/linux/window.cpp.o -MF src/ui/impl/webview/lib/webviewpp/CMakeFiles/webview.dir/webview/src/core/linux/window.cpp.o.d -o src/ui/impl/webview/lib/webviewpp/CMakeFiles/webview.dir/webview/src/core/linux/window.cpp.o -c /home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/src/core/linux/window.cpp
/home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/src/core/linux/window.cpp: In lambda function:
/home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/src/core/linux/window.cpp:124:39: error: ‘void webkit_web_view_run_javascript(WebKitWebView*, const gchar*, GCancellable*, GAsyncReadyCallback, gpointer)’ is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Werror=deprecated-declarations]
  124 |         webkit_web_view_run_javascript(reinterpret_cast<WebKitWebView *>(webview), formatCode(code).c_str(), nullptr,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125 |                                        nullptr, nullptr);
      |                                        ~~~~~~~~~~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit/WebKitPrintOperation.h:29,
                 from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
                 from /home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/include/core/linux/window.hpp:5,
                 from /home/joelm/src/pkgbuild/soundux/src/Soundux/src/ui/impl/webview/lib/webviewpp/webview/src/core/linux/window.cpp:2:
/usr/include/webkitgtk-4.0/webkit/WebKitWebView.h:526:1: note: declared here
  526 | webkit_web_view_run_javascript                       (WebKitWebView             *web_view,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-unused-lambda-capture’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

Neko-san commented on 2022-11-13 07:53 (UTC)

Compilation fails with the Clang compiler; throws errors that GCC doesn't

Not a huge issue but would've liked to use Clang :/

D3SOX commented on 2022-10-31 11:53 (UTC)

@4censord thanks, pushed the fix