Package Details: yambar-wayland 1.11.0-1

Git Clone URL: https://aur.archlinux.org/yambar-wayland.git (read-only, click to copy)
Package Base: yambar-wayland
Description: Simplistic and highly configurable status panel for Wayland (No X11 support)
Upstream URL: https://codeberg.org/dnkl/yambar
Licenses: MIT
Conflicts: yambar
Provides: yambar
Submitter: Eragon
Maintainer: VannTen
Last Packager: VannTen
Votes: 9
Popularity: 0.174946
First Submitted: 2023-01-31 11:36 (UTC)
Last Updated: 2024-04-22 08:42 (UTC)

Latest Comments

Jarek_jre commented on 2023-07-28 01:40 (UTC)

run

$ gpg --keyserver keys.gnupg.net --recv-keys 5BBD4992C116573F

to install this package

VannTen commented on 2023-07-13 16:02 (UTC) (edited on 2023-07-13 16:05 (UTC) by VannTen)

You're missing 'wayland-protocols' in makedepends, thus the build fails in a clean chroot. And 'libmpdclient' in checkdepends (produce :

>>> MALLOC_PERTURB_=193 /build/yambar-wayland/src/yambar/build/yambar -C -c /build/yambar-wayland/src/yambar/test/full-conf-good.yml
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stderr:
 err: plugin.c:286: module: mpd: dlopen: module_mpd.so: cannot open shared object file: No such file or directory
 err: config-verify.c:366: 38:6: bar.left: invalid module name: mpd
 err: main.c:113: /build/yambar-wayland/src/yambar/test/full-conf-good.yml: failed to load configuration

Feel free to patch :

From 8bd358319f4c84e92749767cc8b935510057996b Mon Sep 17 00:00:00 2001
From: Max Gautier <mg@max.gautier.name>
Date: Thu, 13 Jul 2023 18:03:48 +0200
Subject: [PATCH] Add missing deps

---
 PKGBUILD | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PKGBUILD b/PKGBUILD
index 522e4d1..a219c88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,6 +14,7 @@ license=('MIT')
 conflicts=('yambar')
 provides=('yambar')
 makedepends=(
+    'wayland-protocols'
    'meson'
    'ninja'
    'scdoc'
@@ -31,6 +32,8 @@ optdepends=(
    'alsa-lib: for the ALSA module'
    'json-c: for the XKB module'
    'libmpdclient: for the MPD module')
+checkdepends=(
+   'libmpdclient')
 source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/dnkl/${_pkgname}/archive/${pkgver}.tar.gz")
 sha256sums=('46f3002338f451c154678167bf3d5f593307954b6f381c50ddef2726b1a8c811')

-- 
2.41.0


Jarek_jre commented on 2023-03-18 09:33 (UTC) (edited on 2023-03-18 10:45 (UTC) by Jarek_jre)

hello, can't run this program, at least with cpu module

$ yambar
 err: plugin.c:286: module: cpu: dlopen: libdynlist.so: cannot open shared object file: No such file or directory
 err: config-verify.c:366: 13:6: bar.right: invalid module name: cpu

workaround:

$ LD_LIBRARY_PATH=/usr/lib/yambar yambar
info: fcft.c:338: fcft: 3.1.5 +graphemes +runs +svg(nanosvg) -assertions
info: fcft.c:377: fontconfig: 2.14.2, freetype: 2.13.0, harfbuzz: 7.1.0, utf8proc: 2.8.0 (Unicode 15.0.0)
...

I think the proper fix is to write

# echo /usr/lib/yambar > /etc/ld.so.conf.d/yambar.conf

dovecot does exactly that, for example

eclairevoyant commented on 2023-02-26 23:56 (UTC) (edited on 2023-02-27 00:03 (UTC) by eclairevoyant)

$srcdir needs to be quoted if you use it in a PKGBUILD. Or you can just not use it since all functions start from $srcdir anyway

It also needs to conflict with and provide yambar