Package Details: waybar-git 0.13.0.r41.g0776e69-1

Git Clone URL: https://aur.archlinux.org/waybar-git.git (read-only, click to copy)
Package Base: waybar-git
Description: Highly customizable Wayland bar for Sway and Wlroots based compositors
Upstream URL: https://github.com/Alexays/Waybar
Keywords: bar sway wlroots
Licenses: MIT
Conflicts: waybar
Provides: waybar
Submitter: BlueGone
Maintainer: xiota (Alexays)
Last Packager: xiota
Votes: 37
Popularity: 0.41
First Submitted: 2018-08-09 18:41 (UTC)
Last Updated: 2025-07-30 20:05 (UTC)

Required by (52)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

weftwise commented on 2026-02-05 05:25 (UTC)

Cleared the package cache and rebuilt and it is now working. Thanks @xiota

weftwise commented on 2026-02-05 05:25 (UTC)

Cleared the package cache and rebuilt and it is now working. Thanks @xiota

xiota commented on 2026-02-03 21:38 (UTC) (edited on 2026-02-03 21:38 (UTC) by xiota)

@weftwise Looks like should be fixed... https://github.com/Alexays/Waybar/commit/5ab28b901c92dcf29f468dadcddaa77fa72a5f7b

weftwise commented on 2026-02-03 17:42 (UTC)

I am getting the following error when trying to build with hyprland

./waybar/src/bar.cpp: In constructor ‘waybar::Bar::Bar(waybar::waybar_output*, const Json::Value&)’:
../waybar/src/bar.cpp:232:65: error: cannot convert ‘Json::String’ {aka ‘std::__cxx11::basic_string<char>’} to ‘const char*’
  232 |   gtk_layer_set_namespace(gtk_window, config["name"].isString() ? config["name"].asString() : "waybar");
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                 |
      |                                                                 Json::String {aka std::__cxx11::basic_string<char>}

Please let me know what other information would be relevant and I can include it. Thanks!

xiota commented on 2026-01-17 01:20 (UTC) (edited on 2026-02-03 21:27 (UTC) by xiota)

@ninetailedtori Fails to build with libcxx=true when I tried adding libc++ to depends, exporting CC/CXX, and adding clang to makedeps.

ninetailedtori commented on 2026-01-14 20:30 (UTC) (edited on 2026-01-15 00:43 (UTC) by ninetailedtori)

Could we add _use_libcxx to the options as well? It would help for those of us who use clang's libc++ instead of the gnu stdlibc++:

# Maintainer: Alexis Rouillard <contact@arouillard.fr>

## options
: ${_use_sodeps:=false}
: ${_use_libcxx:=false}

: ${_with_cava:=false}
: ${_with_gpsd:=false}

_pkgname="waybar"
pkgname="$_pkgname-git"
pkgver=0.13.0.r41.g0776e69
pkgrel=1
pkgdesc="Highly customizable Wayland bar for Sway and Wlroots based compositors"
url='https://github.com/Alexays/Waybar'
license=('MIT')
arch=('x86_64')

depends=(
  'fmt'
  'gtk-layer-shell'
  'gtkmm3'
  'jack'
  'jsoncpp'
  'libdbusmenu-gtk3'
  'libevdev'
  'libinput'
  'libmpdclient'
  'libnl'
  'libpulse'
  'libsigc++'
  'libwireplumber'
  'libxkbcommon'
  'playerctl'
  'sndio'
  'spdlog'
  'upower'
  'wayland'
)
makedepends=(
  'catch2'
  'cmake'
  'git'
  'glib2-devel' # gdbus-codegen
  'meson'
  'python-setuptools'
  'scdoc' # to generate manpages
  'wayland-protocols'
)
optdepends=(
  'otf-font-awesome: Icons in the default configuration'
)

if [[ "${_with_cava::1}" == "t" ]]; then
  depends+=('libcava') # AUR
fi
if [[ "${_with_gpsd::1}" == "t" ]]; then
  depends+=('gpsd')
fi
if [[ "${_use_libcxx:=t}" == "t" ]]; then
  depends+=('libc++')
fi

provides=("$_pkgname=${pkgver%.g*}")
conflicts=("$_pkgname")

backup=(
  'etc/xdg/waybar/config.jsonc'
  'etc/xdg/waybar/style.css'
)

_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')

pkgver() {
  cd "$_pkgsrc"
  git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
    | sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  local _meson_args=(
    -Dexperimental=true
  )

  if [ "${_with_cava::1}" != "t" ]; then
    _meson_args+=(-Dcava=disabled)
  fi

  if [ "${_with_gpsd::1}" != "t" ]; then
    _meson_args+=(-Dgps=disabled)
  fi

  if [ "${_use_libcxx::1}" == "t" ]; then
    _meson_args+=(-Dlibcxx=true)
  fi

  if ((!CHECKFUNC)); then
    _meson_args+=(-Dtests=disabled)
  fi

  arch-meson "${_meson_args[@]}" "$_pkgsrc" build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs --no-rebuild --suite waybar
}

package() {
  if [[ "${_use_sodeps::1}" == "t" ]]; then
    eval "depends+=(
      'libatkmm-1.6.so'
      'libcairomm-1.0.so'
      'libfmt.so'
      'libgtk-3.so'
      'libjack.so'
      'libjsoncpp.so'
      'libpipewire-0.3.so'
      'libsndio.so'
      'libspdlog.so'
      'libudev.so'
      'libupower-glib.so'
    )"
  fi

  meson install -C build --destdir "$pkgdir"
  install -Dm644 "$_pkgsrc/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
}

SentakuHM commented on 2025-12-19 07:48 (UTC) (edited on 2025-12-19 07:49 (UTC) by SentakuHM)

@alekgr yes i was able to build after updating hyprland-git, just reboot after updating hyprland-git then rebuild waybar-git.

musta_ruhtinas commented on 2025-10-20 15:58 (UTC)

builds just fine in a clean chroot

alekgr commented on 2025-10-19 15:33 (UTC)

anybody able to build latest waybar-git with hyprland-git

getting

DGRuntimeDirExists

../waybar/test/hyprland/backend.cpp:12 ...............................................................................

../waybar/test/hyprland/backend.cpp:24: FAILED: REQUIRE( actualPath == expectedPath ) with expansion: "/tmp/hypr/59ff7b2f891d06f4097128faf7027a3863542167_1760887456_299454743" == "/tmp/hypr_test/run/user/1000/hypr/instance_sig"

=============================================================================== test cases: 4 | 3 passed | 1 failed assertions: 4 | 3 passed | 1 failed

stderr: [2025-10-19 10:27:34.095] [info] Hyprland IPC starting [2025-10-19 10:27:34.095] [warning] $XDG_RUNTIME_DIR/hypr does not exist, falling back to /tmp/hypr [2025-10-19 10:27:34.095] [error] Hyprland IPC: Unable to connect? [2025-10-19 10:27:34.095] [info] Hyprland IPC stopping... [2025-10-19 10:27:34.095] [info] Hyprland IPC starting [2025-10-19 10:27:34.095] [warning] $XDG_RUNTIME_DIR/hypr does not exist, falling back to /tmp/hypr [2025-10-19 10:27:34.095] [error] Hyprland IPC: Unable to connect? [2025-10-19 10:27:34.095] [info] Hyprland IPC stopping... [2025-10-19 10:27:34.095] [info] Hyprland IPC starting [2025-10-19 10:27:34.095] [warning] $XDG_RUNTIME_DIR/hypr does not exist, falling back to /tmp/hypr [2025-10-19 10:27:34.095] [error] Hyprland IPC: Unable to connect? [2025-10-19 10:27:34.096] [info] Hyprland IPC stopping... [2025-10-19 10:27:34.096] [info] Hyprland IPC starting [2025-10-19 10:27:34.096] [warning] $XDG_RUNTIME_DIR/hypr does not exist, falling back to /tmp/hypr [2025-10-19 10:27:34.096] [error] Hyprland IPC: Unable to connect? [2025-10-19 10:27:34.096] [info] Hyprland IPC stopping... ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

3/3 utils OK 0.01s

Summary of Failures:

2/3 hyprland FAIL 0.00s exit status 42

Ok: 2
Fail: 1

Full log written to /home/alek/.cache/paru/clone/waybar-git/src/build/meson-logs/testlog.txt ==> ERROR: A failure occurred in check(). Aborting... error: failed to build 'waybar-git-0.13.0.r41.g0776e69-1': error: packages failed to build: waybar-git-0.13.0.r41.g0776e69-1 rocket at alek ~ ❯