Package Details: waybar-git r2429.09142fa3-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 (GIT)
Upstream URL: https://github.com/Alexays/Waybar/
Keywords: bar sway wlroots
Licenses: MIT
Conflicts: waybar
Provides: waybar
Submitter: BlueGone
Maintainer: Alexays (BlueGone, maximbaz)
Last Packager: Alexays
Votes: 32
Popularity: 1.04
First Submitted: 2018-08-09 18:41 (UTC)
Last Updated: 2024-06-14 07:05 (UTC)

Required by (27)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Alexays commented on 2022-09-07 08:34 (UTC)

Should be fixed on master :)

Blackquicksilver commented on 2022-09-07 08:32 (UTC)

The issue is a missing formatter for std::filesystem::path, which is logged in src/config.cpp l. 33 & 40. You can fix it with appending a .string() to it for conversion to a string.

Here is a PKGBUILD with the patch to do this https://gist.githubusercontent.com/JBenda/934a62398e0d1e7a775eeea47385fff2/raw/9be4258b7c026722dcce5373a413533d7f3a0447/PKGBUILD

And here is the patch isolated: https://gist.github.com/JBenda/934a62398e0d1e7a775eeea47385fff2#file-waybarfmthotfix-patch

nze commented on 2022-09-05 12:24 (UTC)

Build currently fails due to issues with fmt.

[70/128] Compiling C++ object test/waybar_test.p/.._src_config.cpp.o
FAILED: test/waybar_test.p/.._src_config.cpp.o
c++ -Itest/waybar_test.p -Itest -I../waybar-git/test -I../waybar-git/include -I../waybar-git/subprojects/Catch2-2.13.7/single_include -I/usr/include/gtkmm-3.0 -I/usr/lib/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/gdkmm-3.0/include -I -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 '-DVERSION="0.9.13-142-g79f21c0 (branch '"'"'master'"'"')"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="//etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SWAY -DHAVE_WLR -DHAVE_RIVER -DHAVE_HYPRLAND -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_UPOWER -DHAVE_LIBPULSE -DHAVE_LIBJACK -DHAVE_DBUSMENU -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBMPDCLIENT -DHAVE_GTK_LAYER_SHELL -DHAVE_LIBSNDIO -DHAVE_GIO_UNIX -DHAVE_LIBDATE -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 -DUSE_OS_TZDB=1 -DONLY_C_LOCALE=0 -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -pthread -MD -MQ test/waybar_test.p/.._src_config.cpp.o -MF test/waybar_test.p/.._src_config.cpp.o.d -o test/waybar_test.p/.._src_config.cpp.o -c ../waybar-git/src/config.cpp
In file included from /usr/include/spdlog/fmt/fmt.h:27,
                 from /usr/include/spdlog/common.h:45,
                 from /usr/include/spdlog/spdlog.h:12,
                 from ../waybar-git/src/config.cpp:3:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = std::filesystem::__cxx11::path&]’:
/usr/include/fmt/core.h:1777:29:   required from ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; type <anonymous> = fmt::v9::detail::type::custom_type; T = std::filesystem::__cxx11::path&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/usr/include/fmt/core.h:1901:77:   required from ‘constexpr fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {std::filesystem::__cxx11::path&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {std::filesystem::__cxx11::path}]’
/usr/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context<appender, char>; Args = {std::filesystem::__cxx11::path&}]’
/usr/include/spdlog/logger.h:370:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {std::filesystem::__cxx11::path&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:90:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {std::filesystem::__cxx11::path&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, std::filesystem::__cxx11::path&>]’
/usr/include/spdlog/logger.h:96:12:   required from ‘void spdlog::logger::log(spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {std::filesystem::__cxx11::path&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, std::filesystem::__cxx11::path&>]’
/usr/include/spdlog/logger.h:152:12:   required from ‘void spdlog::logger::debug(fmt::v9::format_string<T ...>, Args&& ...) [with Args = {std::filesystem::__cxx11::path&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, std::filesystem::__cxx11::path&>]’
/usr/include/spdlog/spdlog.h:151:32:   required from ‘void spdlog::debug(fmt::v9::format_string<T ...>, Args&& ...) [with Args = {std::filesystem::__cxx11::path&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, std::filesystem::__cxx11::path&>]’
../waybar-git/src/config.cpp:33:16:   required from here
/usr/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1757 |       formattable,
      |       ^~~~~~~~~~~
/usr/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
[79/128] Compiling C++ object test/waybar_test.p/main.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

sheercold commented on 2022-09-01 23:00 (UTC) (edited on 2022-09-01 23:01 (UTC) by sheercold)

Have this error after upgrade fmt from 8.1.1-2 to 9.1.0-1

waybar: error while loading shared libraries: libfmt.so.8: cannot open shared object file: No such file or directory

Matt101 commented on 2022-05-25 19:50 (UTC) (edited on 2022-05-25 19:51 (UTC) by Matt101)

Is there anyway we could get:

--auto-features=enabled

added so that the Bluetooth module would be added.

pkap commented on 2022-04-07 17:48 (UTC)

sndio is missing as a dependency. Thanks!

marijns commented on 2022-03-23 08:27 (UTC)

Can you change the pkgver() function to something like:

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

https://wiki.archlinux.org/title/VCS_package_guidelines#Git

That'll show the latest tagged version and number of commits since, instead of just the total number of commits since the start of waybar.

Thanks!

Fjorge commented on 2022-01-16 21:07 (UTC)

I got around the dependency issue on update by skipping dependency checks on update and then reinstalling (and thereby recompiling) waybar-git. No issues so far, but I'll edit if anything breaks.

infiniter commented on 2022-01-12 18:02 (UTC)

Hello, this issue still blocks update. Any progress?