Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: polybar-git 3.0.3-1

Git Clone URL: https://aur-dev.archlinux.org/polybar-git.git (read-only)
Package Base: polybar-git
Description: A fast and easy-to-use status bar
Upstream URL: https://github.com/jaagr/polybar
Keywords: bar bspwm i3 lemonbar lemonbuddy polybar
Licenses: MIT
Conflicts: polybar
Provides: polybar
Submitter: jaagr
Maintainer: jaagr
Last Packager: jaagr
Votes: 7
Popularity: 1.892985
First Submitted: 2016-11-19 05:07
Last Updated: 2017-01-27 14:56

Dependencies (17)

Required by (0)

Sources (1)

Latest Comments

Chemgeer commented on 2017-01-25 18:27

Can git be added as a makedepend please?

jaagr commented on 2017-01-24 10:12

@poboxy see https://github.com/jaagr/polybar/issues/310

poboxy commented on 2017-01-21 05:35

Getting an error at compile:

-- Build files have been written to: /tmp/yaourt-tmp-poboxy/aur-polybar-git/src/polybar/build
Scanning dependencies of target i3ipc++
[ 1%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc.cpp.o
[ 2%] Building CXX object lib/i3ipcpp/CMakeFiles/i3ipc++.dir/src/ipc-util.cpp.o
[ 3%] Linking CXX static library libi3ipc++.a
[ 3%] Built target i3ipc++
Scanning dependencies of target xpp
[ 4%] Linking CXX static library libxpp.a
list: size, ['red', 'green', 'blue']
list: size, ['red', 'green', 'blue']
[ 4%] Built target xpp
Scanning dependencies of target polybar
[ 5%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/alsa/control.cpp.o
[ 6%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/alsa/mixer.cpp.o
[ 8%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/mpd.cpp.o
[ 9%] Building CXX object bin/CMakeFiles/polybar.dir/adapters/net.cpp.o
[ 10%] Building CXX object bin/CMakeFiles/polybar.dir/components/bar.cpp.o
[ 11%] Building CXX object bin/CMakeFiles/polybar.dir/components/builder.cpp.o
[ 12%] Building CXX object bin/CMakeFiles/polybar.dir/components/command_line.cpp.o
[ 13%] Building CXX object bin/CMakeFiles/polybar.dir/components/config.cpp.o
[ 14%] Building CXX object bin/CMakeFiles/polybar.dir/components/controller.cpp.o
[ 16%] Building CXX object bin/CMakeFiles/polybar.dir/components/ipc.cpp.o
[ 17%] Building CXX object bin/CMakeFiles/polybar.dir/components/logger.cpp.o
[ 18%] Building CXX object bin/CMakeFiles/polybar.dir/components/parser.cpp.o
[ 19%] Building CXX object bin/CMakeFiles/polybar.dir/components/renderer.cpp.o
[ 20%] Building CXX object bin/CMakeFiles/polybar.dir/components/screen.cpp.o
[ 21%] Building CXX object bin/CMakeFiles/polybar.dir/components/taskqueue.cpp.o
[ 22%] Building CXX object bin/CMakeFiles/polybar.dir/drawtypes/animation.cpp.o
[ 24%] Building CXX object bin/CMakeFiles/polybar.dir/drawtypes/iconset.cpp.o
[ 25%] Building CXX object bin/CMakeFiles/polybar.dir/drawtypes/label.cpp.o
[ 26%] Building CXX object bin/CMakeFiles/polybar.dir/drawtypes/progressbar.cpp.o
[ 27%] Building CXX object bin/CMakeFiles/polybar.dir/drawtypes/ramp.cpp.o
[ 28%] Building CXX object bin/CMakeFiles/polybar.dir/events/signal_emitter.cpp.o
[ 29%] Building CXX object bin/CMakeFiles/polybar.dir/events/signal_receiver.cpp.o
[ 31%] Building CXX object bin/CMakeFiles/polybar.dir/main.cpp.o
[ 32%] Building CXX object bin/CMakeFiles/polybar.dir/modules/backlight.cpp.o
[ 33%] Building CXX object bin/CMakeFiles/polybar.dir/modules/battery.cpp.o
[ 34%] Building CXX object bin/CMakeFiles/polybar.dir/modules/bspwm.cpp.o
[ 35%] Building CXX object bin/CMakeFiles/polybar.dir/modules/counter.cpp.o
[ 36%] Building CXX object bin/CMakeFiles/polybar.dir/modules/cpu.cpp.o
[ 37%] Building CXX object bin/CMakeFiles/polybar.dir/modules/date.cpp.o
[ 39%] Building CXX object bin/CMakeFiles/polybar.dir/modules/fs.cpp.o
[ 40%] Building CXX object bin/CMakeFiles/polybar.dir/modules/github.cpp.o
[ 41%] Building CXX object bin/CMakeFiles/polybar.dir/modules/i3.cpp.o
[ 42%] Building CXX object bin/CMakeFiles/polybar.dir/modules/ipc.cpp.o
[ 43%] Building CXX object bin/CMakeFiles/polybar.dir/modules/memory.cpp.o
[ 44%] Building CXX object bin/CMakeFiles/polybar.dir/modules/menu.cpp.o
[ 45%] Building CXX object bin/CMakeFiles/polybar.dir/modules/meta/base.cpp.o
[ 47%] Building CXX object bin/CMakeFiles/polybar.dir/modules/mpd.cpp.o
[ 48%] Building CXX object bin/CMakeFiles/polybar.dir/modules/network.cpp.o
[ 49%] Building CXX object bin/CMakeFiles/polybar.dir/modules/script.cpp.o
[ 50%] Building CXX object bin/CMakeFiles/polybar.dir/modules/systray.cpp.o
[ 51%] Building CXX object bin/CMakeFiles/polybar.dir/modules/temperature.cpp.o
[ 52%] Building CXX object bin/CMakeFiles/polybar.dir/modules/text.cpp.o
[ 54%] Building CXX object bin/CMakeFiles/polybar.dir/modules/volume.cpp.o
[ 55%] Building CXX object bin/CMakeFiles/polybar.dir/modules/xbacklight.cpp.o
[ 56%] Building CXX object bin/CMakeFiles/polybar.dir/modules/xkeyboard.cpp.o
[ 57%] Building CXX object bin/CMakeFiles/polybar.dir/modules/xwindow.cpp.o
[ 58%] Building CXX object bin/CMakeFiles/polybar.dir/modules/xworkspaces.cpp.o
[ 59%] Building CXX object bin/CMakeFiles/polybar.dir/utils/bspwm.cpp.o
[ 60%] Building CXX object bin/CMakeFiles/polybar.dir/utils/command.cpp.o
[ 62%] Building CXX object bin/CMakeFiles/polybar.dir/utils/concurrency.cpp.o
[ 63%] Building CXX object bin/CMakeFiles/polybar.dir/utils/env.cpp.o
[ 64%] Building CXX object bin/CMakeFiles/polybar.dir/utils/factory.cpp.o
[ 65%] Building CXX object bin/CMakeFiles/polybar.dir/utils/file.cpp.o
[ 66%] Building CXX object bin/CMakeFiles/polybar.dir/utils/http.cpp.o
[ 67%] Building CXX object bin/CMakeFiles/polybar.dir/utils/i3.cpp.o
[ 68%] Building CXX object bin/CMakeFiles/polybar.dir/utils/inotify.cpp.o
[ 70%] Building CXX object bin/CMakeFiles/polybar.dir/utils/io.cpp.o
[ 71%] Building CXX object bin/CMakeFiles/polybar.dir/utils/process.cpp.o
[ 72%] Building CXX object bin/CMakeFiles/polybar.dir/utils/socket.cpp.o
[ 73%] Building CXX object bin/CMakeFiles/polybar.dir/utils/string.cpp.o
[ 74%] Building CXX object bin/CMakeFiles/polybar.dir/utils/throttle.cpp.o
[ 75%] Building CXX object bin/CMakeFiles/polybar.dir/x11/atoms.cpp.o
[ 77%] Building CXX object bin/CMakeFiles/polybar.dir/x11/color.cpp.o
[ 78%] Building CXX object bin/CMakeFiles/polybar.dir/x11/connection.cpp.o
[ 79%] Building CXX object bin/CMakeFiles/polybar.dir/x11/draw.cpp.o
[ 80%] Building CXX object bin/CMakeFiles/polybar.dir/x11/ewmh.cpp.o
[ 81%] Building CXX object bin/CMakeFiles/polybar.dir/x11/extensions/randr.cpp.o
[ 82%] Building CXX object bin/CMakeFiles/polybar.dir/x11/extensions/xkb.cpp.o
[ 83%] Building CXX object bin/CMakeFiles/polybar.dir/x11/fonts.cpp.o
[ 85%] Building CXX object bin/CMakeFiles/polybar.dir/x11/graphics.cpp.o
[ 86%] Building CXX object bin/CMakeFiles/polybar.dir/x11/icccm.cpp.o
[ 87%] Building CXX object bin/CMakeFiles/polybar.dir/x11/registry.cpp.o
[ 88%] Building CXX object bin/CMakeFiles/polybar.dir/x11/tray_client.cpp.o
[ 89%] Building CXX object bin/CMakeFiles/polybar.dir/x11/tray_manager.cpp.o
[ 90%] Building CXX object bin/CMakeFiles/polybar.dir/x11/window.cpp.o
[ 91%] Building CXX object bin/CMakeFiles/polybar.dir/x11/winspec.cpp.o
[ 93%] Building CXX object bin/CMakeFiles/polybar.dir/x11/wm.cpp.o
[ 94%] Building CXX object bin/CMakeFiles/polybar.dir/x11/xembed.cpp.o
[ 95%] Building CXX object bin/CMakeFiles/polybar.dir/x11/xresources.cpp.o
[ 96%] Linking CXX executable polybar
/usr/lib/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/CMakeFiles/polybar.dir/build.make:2139: bin/polybar] Error 1
make[1]: *** [CMakeFiles/Makefile2:336: bin/CMakeFiles/polybar.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build polybar-git.

jaagr commented on 2016-11-21 00:24

@metak: The xpp python code requires python2, and the xcbgen module is only available for python on Arch. Will have to include both packages. Will update again.

metak commented on 2016-11-21 00:08

Hey @jaagr. I'm building this package in open build service and it fails with this:
[code][ 87s] [ 5%] Linking CXX static library libxpp.a
[ 87s] Traceback (most recent call last):
[ 87s] File "/usr/src/packages/BUILD/polybar-git/src/polybar-git-2.3.1.r6.g2266b86/lib/xpp/generators/cpp_client.py", line 3191, in <module>
[ 87s] module.generate()
[ 87s] File "/usr/lib/python3.5/site-packages/xcbgen/state.py", line 106, in generate
[ 87s] item.out(name)
[ 87s] File "/usr/src/packages/BUILD/polybar-git/src/polybar-git-2.3.1.r6.g2266b86/lib/xpp/generators/cpp_client.py", line 3042, in cpp_error
[ 87s] cpp_error = CppError(self, _ns, name, c_name, self.opcodes[name], opcode_name)
[ 87s] File "/usr/src/packages/BUILD/polybar-git/src/polybar-git-2.3.1.r6.g2266b86/lib/xpp/generators/cpperror.py", line 128, in __init__
[ 87s] for name in self.names[0:-1]:
[ 87s] TypeError: 'map' object is not subscriptable
[ 87s] make[2]: *** [lib/xpp/CMakeFiles/xpp.dir/build.make:70: lib/xpp/libxpp.a] Error 1
[ 87s] make[1]: *** [CMakeFiles/Makefile2:229: lib/xpp/CMakeFiles/xpp.dir/all] Error 2
[ 87s] make: *** [Makefile:128: all] Error 2[/code]
With python2 & python in makedepends, it builds with python2 by default and uses python to detect xcbgen I guess?
Otherwise it fails to detect xcbgen like I already said. ?

jaagr commented on 2016-11-20 23:42

@metak: thanks, I'll update the PKGBUILD

metak commented on 2016-11-20 18:26

If there's no 'python' package installed then the build fails because it can't find xcbgen (which is built with python 3 in arch - xcb-proto).

omrisim210 commented on 2016-10-25 10:22

"clang35 and clang are in conflict"
One can simply compile with clang35, uninstall it and install clang but is it really necessary to use clang35?
EDIT:
==> Starting build()...
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/clang++
-- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/clang++ -- broken
CMake Error at /usr/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/lib/hardening-wrapper/bin/clang++" is not able to
compile a simple test program.

It fails with the following output:

Change Dir: /home/omri/.cache/pacaur/lemonbuddy-git/src/lemonbuddy/build/CMakeFiles/CMakeTmp



Run Build Command:"/usr/bin/make" "cmTC_a837f/fast"

/usr/bin/make -f CMakeFiles/cmTC_a837f.dir/build.make
CMakeFiles/cmTC_a837f.dir/build

make[1]: Entering directory
'/home/omri/.cache/pacaur/lemonbuddy-git/src/lemonbuddy/build/CMakeFiles/CMakeTmp'


Building CXX object CMakeFiles/cmTC_a837f.dir/testCXXCompiler.cxx.o

/usr/lib/hardening-wrapper/bin/clang++ -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector-strong -o
CMakeFiles/cmTC_a837f.dir/testCXXCompiler.cxx.o -c
/home/omri/.cache/pacaur/lemonbuddy-git/src/lemonbuddy/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


clang: error: unknown argument: '-fstack-check'

make[1]: *** [CMakeFiles/cmTC_a837f.dir/build.make:66:
CMakeFiles/cmTC_a837f.dir/testCXXCompiler.cxx.o] Error 1

make[1]: Leaving directory
'/home/omri/.cache/pacaur/lemonbuddy-git/src/lemonbuddy/build/CMakeFiles/CMakeTmp'


make: *** [Makefile:126: cmTC_a837f/fast] Error 2





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:5 (project)


-- Configuring incomplete, errors occurred!
See also "/home/omri/.cache/pacaur/lemonbuddy-git/src/lemonbuddy/build/CMakeFiles/CMakeOutput.log".
See also "/home/omri/.cache/pacaur/lemonbuddy-git/src/lemonbuddy/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
:: clang35 is a new orphan package
:: libc++ is a new orphan package
:: failed to build lemonbuddy-git package(s)

Seems like clang receives an unknown argument, I'll try compiling it with an up-to-date version