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: 29
Popularity: 0.146973
First Submitted: 2018-08-09 18:41 (UTC)
Last Updated: 2023-07-05 07:10 (UTC)

Required by (25)

Sources (1)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8

Alexays commented on 2018-12-17 08:19 (UTC)

@daenney I just added --tags, it should be fixed :)

daenney commented on 2018-12-01 15:11 (UTC) (edited on 2018-12-01 15:24 (UTC) by daenney)

I get a build error:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: sed: -e expression #1, char 17: invalid reference \1 on `s' command's RHS
r296.691fb88

The reason appears to be this:

git describe --long
fatal: No annotated tags can describe '691fb88057355ff39a3806ad4a4479037893d174'.
However, there were unannotated tags: try --tags.

That's all printed to stderr, so git describe --long 2>/dev/null results in no output, making the sed expression fail and bail out due to the set -o pipefail.

head-crash commented on 2018-11-20 06:53 (UTC)

Oddly, I am encountering the following error upon makepkg -si:

Dependency gtkmm-3.0 found: NO (tried pkgconfig)

meson.build:40:0: ERROR:  Dependency "gtkmm-3.0" not found, tried pkgconfig

Even though I can confirm that I have gtkmm3 installed, via pacman.

Alexays commented on 2018-11-09 08:55 (UTC) (edited on 2018-11-09 08:55 (UTC) by Alexays)

Thanks @Ranguvar!

I've made the changes :)

Ranguvar commented on 2018-11-08 18:14 (UTC)

New meson.build.patch:

http://ix.io/1rkN

pkgver function:

pkgver() { cd "$pkgname" ( set -o pipefail git describe --long 2>/dev/null | sed 's/([^-]*-g)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) }

Ranguvar commented on 2018-10-25 13:05 (UTC) (edited on 2018-10-26 20:39 (UTC) by Ranguvar)

I think you forgot the pkgver function :) Thanks for packaging! Latest git seems to work with this PKGBUILD and meson.build.patch

...How do you post code blocks here?

aereaux commented on 2018-08-11 23:48 (UTC)

This package is also missing git as a build dependency.

As for the fmt thing, I think you could add a fmt 4.1.0 package to the AUR if you wanted.

BlueGone commented on 2018-08-11 09:50 (UTC) (edited on 2018-08-11 09:51 (UTC) by BlueGone)

Waybar is still in the very early stages of development. The list of dependencies therefore tends to grow rapidly, so that the AUR package will often have missing dependencies.

Because Waybar depends on fmtlib 4.1.0 and this version is unavailable on archlinux repositories, the AUR package patch the meson.build to build and link statically fmtlib to the binary. The slightest change of the meson.build on the upstream will therefore cause the build to fail until I'll release the according meson.build.patch.

I'm trying to keep track of the upstream, but this package will often be out-of-date. One generic way to fix the build is to install an earlier version of Waybar for which the AUR package has been designed, until I fix it. You just need, in the PKGBUILD, to comment the current git source, and uncomment the alternative one. Example for r70.8d5b61a9-2:

22,23c22,23
< # source=("${pkgname}::git://github.com/Alexays/Waybar#commit=8d5b61a9"
< source=("${pkgname}::git://github.com/Alexays/Waybar"
---
> source=("${pkgname}::git://github.com/Alexays/Waybar#commit=8d5b61a9"
> # source=("${pkgname}::git://github.com/Alexays/Waybar"

aereaux commented on 2018-08-11 01:20 (UTC)

Also missing libpulse as a dependency.

TimsManter commented on 2018-08-10 17:35 (UTC) (edited on 2018-08-10 17:36 (UTC) by TimsManter)

In prepare():

patching file meson.build
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 26 (offset 5 lines).
1 out of 2 hunks FAILED -- saving rejects to file meson.build.rej

Also some dependencies are missing:

  • wireless_tools (iwlib.h file)
  • waylandpp (wayland-client.hpp file)