Package Details: glava-git r329.3cc5e22-2

Git Clone URL: https://aur.archlinux.org/glava-git.git (read-only, click to copy)
Package Base: glava-git
Description: OpenGL audio spectrum visualizer
Upstream URL: https://github.com/wacossusca34/glava
Licenses: GPL3
Conflicts: glava
Provides: glava
Submitter: coderobe
Maintainer: coderobe
Last Packager: coderobe
Votes: 13
Popularity: 0.002362
First Submitted: 2018-01-17 18:04 (UTC)
Last Updated: 2019-12-14 12:01 (UTC)

Latest Comments

1 2 Next › Last »

boredhero commented on 2023-04-29 00:22 (UTC)

Currently segfaulting. Went to rebuild, discovered I cannot. First off, was unable to clone the submodule glad, had to change git settings like so to get it to try to build:

git config --global protocol.file.allow always

secondly, got these errors while building:

```❱ makepkg -si ==> Making package: glava-git r329.3cc5e22-2 (Fri 28 Apr 2023 08:21:39 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning glava git repo... Cloning into bare repository '/home/user/Desktop/glava-git/glava'... remote: Enumerating objects: 1960, done. remote: Counting objects: 100% (70/70), done. remote: Compressing objects: 100% (62/62), done. remote: Total 1960 (delta 28), reused 18 (delta 7), pack-reused 1890 Receiving objects: 100% (1960/1960), 1.04 MiB | 18.73 MiB/s, done. Resolving deltas: 100% (1238/1238), done. -> Cloning glad git repo... Cloning into bare repository '/home/user/Desktop/glava-git/glad'... remote: Enumerating objects: 7348, done. remote: Counting objects: 100% (316/316), done. remote: Compressing objects: 100% (179/179), done. remote: Total 7348 (delta 119), reused 254 (delta 97), pack-reused 7032 Receiving objects: 100% (7348/7348), 5.79 MiB | 29.38 MiB/s, done. Resolving deltas: 100% (4144/4144), done. ==> Validating source files with md5sums... glava ... Skipped glad ... Skipped ==> Extracting sources... -> Creating working copy of glava git repo... Cloning into 'glava'... done. -> Creating working copy of glad git repo... Cloning into 'glad'... done. ==> Starting prepare()... Submodule 'glad' (https://github.com/Dav1dde/glad) registered for path 'glad' Cloning into '/home/user/Desktop/glava-git/src/glava/glad'... done. Submodule path 'glad': checked out 'c33992f23c2524f472c7a0102ab26251f8563714' ==> Starting pkgver()... ==> Updated version: glava-git r332.6fc0e32-1 ==> Starting build()... + exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true build --prefix /usr The Meson build system Version: 1.0.1 Source dir: /home/user/Desktop/glava-git/src/glava Build dir: /home/user/Desktop/glava-git/src/glava/build Build type: native build WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Project name: glava Project version: v1.6.3-90-g6fc0e32 C compiler for the host machine: cc (gcc 12.2.1 "cc (GCC) 12.2.1 20230201") C linker for the host machine: cc ld.bfd 2.40 C++ compiler for the host machine: c++ (gcc 12.2.1 "c++ (GCC) 12.2.1 20230201") C++ linker for the host machine: c++ ld.bfd 2.40 Host machine cpu family: x86_64 Host machine cpu: x86_64 Run-time dependency threads found: YES Library pulse found: YES Library pulse-simple found: YES Library dl found: YES Library m found: YES Library X11 found: YES Library Xext found: YES Library Xrender found: YES Library dl found: YES Dependency threads found: YES unknown (cached) Library GL found: YES Library X11 found: YES Library obs found: YES Library dl found: YES Build targets in project: 4

glava v1.6.3-90-g6fc0e32

User defined options auto_features: enabled buildtype : plain libexecdir : lib prefix : /usr sbindir : bin wrap_mode : nodownload b_lto : true b_pie : true

Found ninja-1.11.1 at /usr/bin/ninja ninja: Entering directory build' [2/19] Compiling C object glava.p/glava-cli_cli.c.o cc1: warning: command-line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [6/19] Compiling C object libglava.so.p/glava_fifo.c.o ../glava/fifo.c: In function ‘entry’: ../glava/fifo.c:81:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | read(fd, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [12/19] Compiling C++ object libglfft.a.p/glfft_glfft_gl_interface.cpp.o FAILED: libglfft.a.p/glfft_glfft_gl_interface.cpp.o c++ -Ilibglfft.a.p -I. -I.. -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -DGLAVA_UNIX -DGLAVA_GLX '-DGLAVA_VERSION="v1.6.3-90-g6fc0e32"' '-DSHADER_INSTALL_PATH="/etc/xdg/glava"' '-DGLAVA_RESOURCE_PATH="/usr/share/glava/resources"' -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libglfft.a.p/glfft_glfft_gl_interface.cpp.o -MF libglfft.a.p/glfft_glfft_gl_interface.cpp.o.d -o libglfft.a.p/glfft_glfft_gl_interface.cpp.o -c ../glfft/glfft_gl_interface.cpp In file included from ../glfft/glfft_gl_interface.cpp:19: ../glfft/glfft_gl_interface.hpp: In function ‘void glfft_log(const char*, ...)’: ../glfft/glfft_gl_interface.hpp:43:14: error: ‘stdout’ was not declared in this scope 43 | vfprintf(stdout, fmt, l); | ^~~~~~ ../glfft/glfft_gl_interface.hpp:33:1: note: ‘stdout’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? 32 | #include <error.h> +++ |+#include <cstdio> 33 | } ../glfft/glfft_gl_interface.hpp:43:5: error: ‘vfprintf’ was not declared in this scope; did you mean ‘vwprintf’? 43 | vfprintf(stdout, fmt, l); | ^~~~~~~~ | vwprintf ../glfft/glfft_gl_interface.hpp: In function ‘double glfft_time()’: ../glfft/glfft_gl_interface.hpp:54:17: error: ‘stderr’ was not declared in this scope 54 | fprintf(stderr, "clock_gettime(CLOCK_REALTIME, ...): %s\n", strerror(errno)); | ^~~~~~ ../glfft/glfft_gl_interface.hpp:54:17: note: ‘stderr’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? ../glfft/glfft_gl_interface.hpp:54:78: error: ‘errno’ was not declared in this scope 54 | fprintf(stderr, "clock_gettime(CLOCK_REALTIME, ...): %s\n", strerror(errno)); | ^~~~~ ../glfft/glfft_gl_interface.hpp:33:1: note: ‘errno’ is defined in header ‘<cerrno>’; did you forget to ‘#include <cerrno>’? 32 | #include <error.h> +++ |+#include <cerrno> 33 | } ../glfft/glfft_gl_interface.hpp:54:9: error: ‘fprintf’ was not declared in this scope; did you mean ‘wprintf’? 54 | fprintf(stderr, "clock_gettime(CLOCK_REALTIME, ...): %s\n", strerror(errno)); | ^~~~~~~ | wprintf ../glfft/glfft_gl_interface.cpp: In member function ‘virtual void GLFFT::GLContext::log(const char*, ...)’: ../glfft/glfft_gl_interface.cpp:201:5: error: ‘vsnprintf’ was not declared in this scope; did you mean ‘vswprintf’? 201 | vsnprintf(buffer, sizeof(buffer), fmt, va); | ^~~~~~~~~ | vswprintf [13/19] Compiling C++ object libglfft.a.p/glfft_glfft_wisdom.cpp.o FAILED: libglfft.a.p/glfft_glfft_wisdom.cpp.o c++ -Ilibglfft.a.p -I. -I.. -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -DGLAVA_UNIX -DGLAVA_GLX '-DGLAVA_VERSION="v1.6.3-90-g6fc0e32"' '-DSHADER_INSTALL_PATH="/etc/xdg/glava"' '-DGLAVA_RESOURCE_PATH="/usr/share/glava/resources"' -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ libglfft.a.p/glfft_glfft_wisdom.cpp.o -MF libglfft.a.p/glfft_glfft_wisdom.cpp.o.d -o libglfft.a.p/glfft_glfft_wisdom.cpp.o -c ../glfft/glfft_wisdom.cpp ../glfft/glfft_wisdom.cpp: In member function ‘std::pair<double, GLFFT::FFTOptions::Performance> GLFFT::FFTWisdom::study(GLFFT::Context*, const GLFFT::WisdomPass&, GLFFT::FFTOptions::Type) const’: ../glfft/glfft_wisdom.cpp:273:23: error: ‘logic_error’ was not declared in this scope 273 | throw logic_error("Invalid input mode.\n"); | ^~~~~~~~~~~ ../glfft/glfft_wisdom.cpp:307:23: error: ‘logic_error’ was not declared in this scope 307 | throw logic_error("Invalid output mode.\n"); | ^~~~~~~~~~~ [15/19] Linking target libglava.so FAILED: libglava.so cc -o libglava.so libglava.so.p/glava_glx_wcb.c.o libglava.so.p/glava_glad.c.o libglava.so.p/glava_glsl_ext.c.o libglava.so.p/glava_xwin.c.o libglava.so.p/glava_pulse_input.c.o libglava.so.p/glava_glava.c.o libglava.so.p/glava_glfw_wcb.c.o libglava.so.p/glava_fifo.c.o libglava.so.p/glava_render.c.o -flto -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libglava.so -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -pthread -lpulse -lpulse-simple -ldl -lm -lX11 -lXext -lXrender -Wl,--end-group /usr/bin/ld: libglava.so.p/glava_glsl_ext.c.o (symbol from plugin): in functionglava_abort': (.text+0x0): multiple definition of glava_abort'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_glsl_ext.c.o (symbol from plugin): in functionglava_abort': (.text+0x0): multiple definition of glava_return'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_xwin.c.o (symbol from plugin): in functionxwin_assign_icon_bmp': (.text+0x0): multiple definition of glava_abort'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_xwin.c.o (symbol from plugin): in functionxwin_assign_icon_bmp': (.text+0x0): multiple definition of glava_return'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_glava.c.o (symbol from plugin): in functionglava_return_builtin': (.text+0x0): multiple definition of glava_abort'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_glava.c.o (symbol from plugin): in functionglava_return_builtin': (.text+0x0): multiple definition of glava_return'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_render.c.o (symbol from plugin): in functiontransform_wrange': (.text+0x0): multiple definition of glava_abort'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: libglava.so.p/glava_render.c.o (symbol from plugin): in functiontransform_wrange': (.text+0x0): multiple definition of `glava_return'; libglava.so.p/glava_glx_wcb.c.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: warning: /tmp/cc5r7HeK.ltrans1.ltrans.o: requires executable stack (because the .note.GNU-stack section is executable) collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...```

Thoughts?

famewolf commented on 2023-01-07 03:24 (UTC)

Applied that patch (the third portion failed so I manually added it in the prepare section) and did a makepkg -si. Ended up with this error:

Cloning into '/tmp/glava-git/src/glava/glad'... fatal: transport 'file' not allowed fatal: clone of '/tmp/glava-git/src/glad' into submodule path '/tmp/glava-git/src/glava/glad' failed Failed to clone 'glad' a second time, aborting ==> ERROR: A failure occurred in prepare(). Aborting...

OmegaMetor commented on 2022-07-08 20:53 (UTC)

The build is currently broken, though there is an unmerged pr to fix it. This change should fix this package by applying the pr's patch during preparation.

diff --git a/PKGBUILD b/PKGBUILD
index b77c5b1..c4b314b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@

 _pkgname=glava
 pkgname=${_pkgname}-git
-pkgver=r329.3cc5e22
-pkgrel=2
+pkgver=r332.6fc0e32
+pkgrel=3
 pkgdesc='OpenGL audio spectrum visualizer'
 arch=('x86_64')
 url='https://github.com/wacossusca34/glava'
@@ -14,9 +14,11 @@ optdepends=('obs-studio: OBS integration')
 provides=("${_pkgname}")
 conflicts=("${_pkgname}")
 source=('git+https://github.com/wacossusca34/glava'
-        'git+https://github.com/Dav1dde/glad')
+        'git+https://github.com/Dav1dde/glad'
+       'https://github.com/jarcode-foss/glava/commit/a2d494319c824e676399df1d3c250baf4da87b83.patch')
 md5sums=('SKIP'
-         'SKIP')
+         'SKIP'
+        'SKIP')

 pkgver() {
    cd "${_pkgname}"
@@ -29,6 +31,7 @@ prepare() {
    git submodule init
    git config submodule.glad.url "${srcdir}/glad"
    git submodule update
+   git apply ${srcdir}/a2d494319c824e676399df1d3c250baf4da87b83.patch
 }

 build() {

drew33 commented on 2021-01-24 12:31 (UTC) (edited on 2021-01-24 12:32 (UTC) by drew33)

As reported by @tilktilk5 compilation fails in the glad submodule / external library. Haven't investigated why, however this is an optional library (for acceleration I believe). Interestingly, it's not mentioned in the documentation at all.

I've created an updated PKGBUILD which doesn't reference glad for the time being and also uses a fork with an additional compile fix: https://gist.github.com/andrewrembrandt/b48a0f76185cef21f45aaf33b3e5eb5f#file-glava-git-pkgbuild

tilktilk5 commented on 2020-08-21 07:05 (UTC)

Running makepkg -si fails, full output: https://pastebin.com/Y3gc2vJD

shaybox commented on 2019-06-19 06:19 (UTC)

Needs meson as a dependency

coderobe commented on 2018-10-02 13:58 (UTC)

you have merely not configured it, linarcx

linarcx commented on 2018-10-02 09:03 (UTC)

When i install it and run it a transparent window showing to me! why?

coderobe commented on 2018-05-07 08:30 (UTC)

@erikdubois: Update - An issue with the upstream Makefile was found that would cause the build to fail like you described when XDG_CONFIG_DIRS is set in your environment, i have submitted a patch upstream. Additionally, i suggest building your packages in a clean env to avoid issues like this.

coderobe commented on 2018-05-07 05:42 (UTC)

@erikdubois: Cannot reproduce. Build system & built package look normal. You'll have to provide me with some more info & logs.