Package Details: polybar-git 3.7.2-1

Git Clone URL: https://aur.archlinux.org/polybar-git.git (read-only, click to copy)
Package Base: polybar-git
Description: A fast and easy-to-use status bar
Upstream URL: https://github.com/polybar/polybar
Keywords: bar bspwm i3 lemonbar lemonbuddy polybar
Licenses: MIT
Conflicts: polybar
Provides: polybar
Submitter: jaagr
Maintainer: jaagr (NBonaparte, patrick96)
Last Packager: patrick96
Votes: 55
Popularity: 0.31
First Submitted: 2016-11-19 05:07 (UTC)
Last Updated: 2024-08-17 11:53 (UTC)

Required by (11)

Sources (1)

Pinned Comments

patrick96 commented on 2021-12-28 15:29 (UTC)

I went ahead and added aarch64 as an architecture to the PKGBUILD.

Please be aware that polybar is not maintained on aarch64 and there is no official support for it (even if it will probably run fine). We do our best to get it to compile on ARM and do accept patches for that, but for any ARM-related runtime issues we cannot provide proper support because we don't have access to aarch64 machines.

Latest Comments

1 2 3 4 5 Next › Last »

patrick96 commented on 2023-04-19 23:25 (UTC)

@gromit Thanks for reporting, for some reason this never triggered for me when I made those changes. I pushed a fix

gromit commented on 2023-04-19 14:24 (UTC) (edited on 2023-04-19 14:25 (UTC) by gromit)

This package currently fails to build for me:

$ testing-x86_64-build
[...]
-- Build files have been written to: /build/polybar-git/src/polybar/build
[  1%] Generating generated-sources/include/xpp/proto/xkb.hpp
[  2%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc.cpp.o
[  3%] sphinx-build man: see doc/builder-man.log
[  3%] sphinx-build html: see doc/builder-html.log
[  4%] Generating generated-sources/include/xpp/proto/composite.hpp
[  5%] Generating generated-sources/include/xpp/proto/randr.hpp

Exception occurred:
  File "/usr/lib/python3.10/site-packages/sphinx/ext/extlinks.py", line 103, in role
    title = caption % part
TypeError: not all arguments converted during string formatting
The full traceback has been saved in /tmp/sphinx-err-pr_si_29.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Exception occurred:
  File "/usr/lib/python3.10/site-packages/sphinx/ext/extlinks.py", line 103, in role
    title = caption % part
TypeError: not all arguments converted during string formatting
The full traceback has been saved in /tmp/sphinx-err-hx58jj49.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[2]: *** [doc/CMakeFiles/doc_html.dir/build.make:71: doc/CMakeFiles/doc_html] Error 2
make[1]: *** [CMakeFiles/Makefile2:415: doc/CMakeFiles/doc_html.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  6%] Generating generated-sources/include/xpp/proto/x.hpp
list: size, ['red', 'green', 'blue']
list: size, ['red', 'green', 'blue']
make[2]: *** [doc/CMakeFiles/doc_man.dir/build.make:71: doc/CMakeFiles/doc_man] Error 2
make[1]: *** [CMakeFiles/Makefile2:441: doc/CMakeFiles/doc_man.dir/all] Error 2
[  7%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc-util.cpp.o
[  8%] Linking CXX static library libi3ipc++.a
[  8%] Built target i3ipc++
[  9%] Linking CXX static library libxpp.a
[  9%] Built target xpp
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/testing-x86_64/chris/build

patrick96 commented on 2022-04-30 20:42 (UTC)

@cysp74 Thanks! Added it to both packages. I just assumed pacman automatically does this for files in /etc

cysp74 commented on 2022-04-30 17:54 (UTC)

Hey,

Just dropping here a small patch for creating backup of existing config files upon upgrading package.


diff --git a/PKGBUILD b/PKGBUILD
index 9663eb4..cdf185e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Patrick Ziegler <p.ziegler96@gmail.com>
 _pkgname=polybar
 pkgname="${_pkgname}-git"
-pkgver=3.6.2
+pkgver=3.6.2.r36.g6a2d7b5d
 pkgrel=1
 pkgdesc="A fast and easy-to-use status bar"
 # aarch64 is not officially supported by polybar, it is only listed here for convenience
@@ -12,6 +12,7 @@ depends=("libuv" "cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm"
          "xcb-util-cursor" "alsa-lib" "libpulse" "libmpdclient" "libnl"
          "jsoncpp" "curl")
 optdepends=("i3-wm: i3 module support")
+backup=(etc/polybar/config.ini)
 makedepends=("cmake" "git" "python" "pkg-config" "python-sphinx"
              "python-packaging" "i3-wm")
 provides=("polybar")

patrick96 commented on 2021-12-28 15:29 (UTC)

I went ahead and added aarch64 as an architecture to the PKGBUILD.

Please be aware that polybar is not maintained on aarch64 and there is no official support for it (even if it will probably run fine). We do our best to get it to compile on ARM and do accept patches for that, but for any ARM-related runtime issues we cannot provide proper support because we don't have access to aarch64 machines.

patrick96 commented on 2021-09-04 13:09 (UTC)

@nem Removing those dependencies will build polybar without i3 or mpd support. The goal of this package is to produce a fully-featured polybar.

nem commented on 2021-07-19 11:54 (UTC)

Removing "libmpdclient" from "depends" as well as removing "i3-wm" from "makedepends" will build and run polybar with exmaple config without issues. They should be removed from the PKGBUILD and should not be hard dependencies there.

patrick96 commented on 2020-07-13 21:57 (UTC)

@TrueBers Don't use the mpd module if you don't want polybar to try to connect to mpd. libmpd cannot be an optional dependency, polybar's optional dependencies are only optional at compile-time, at runtime most of them are mandatory if polybar was compiled with that feature.

TrueBers commented on 2020-07-13 13:39 (UTC)

Shouldn't libmpd be an optional dependency as it's stated on Github? It's bashing mpd socket every second which is very annoying.