Can git be added as a makedepend please?
Search Criteria
Package Details: polybar-git 3.7.2-1
Package Actions
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.090362 |
First Submitted: | 2016-11-19 05:07 (UTC) |
Last Updated: | 2024-08-17 11:53 (UTC) |
Dependencies (20)
- alsa-lib
- cairo (cairo-gitAUR)
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- libmpdclient
- libnl (libnl-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libuv (libuv-gitAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- xcb-util-image
- xcb-util-wm
- xcb-util-xrm
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- i3-wm (i3-gaps-kde-gitAUR, i3-gitAUR, i3-rounded-border-patch-gitAUR, i3-doublebordersAUR, i3-rounded-border-patchAUR) (make)
- pkg-config (pkgconf-gitAUR, pkg-config-gitAUR, pkgconf) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-packaging (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- i3-wm (i3-gaps-kde-gitAUR, i3-gitAUR, i3-rounded-border-patch-gitAUR, i3-doublebordersAUR, i3-rounded-border-patchAUR) (optional) – i3 module support
Required by (11)
- leftwm (requires polybar) (optional)
- leftwm-git (requires polybar) (optional)
- leftwm-nonsystemd (requires polybar) (optional)
- leftwm-nonsystemd-git (requires polybar) (optional)
- leftwm-theme-git (requires polybar) (optional)
- polify (requires polybar) (optional)
- polybar-peekaboo (requires polybar)
- polybar-spotify-module (requires polybar)
- polybar-themes-git (requires polybar)
- python-pywal16 (requires polybar) (optional)
- xest-window-manager-git (requires polybar) (optional)
Sources (1)
Chemgeer commented on 2017-01-25 18:27 (UTC)
jaagr commented on 2017-01-24 10:12 (UTC)
@poboxy see https://github.com/jaagr/polybar/issues/310
poboxy commented on 2017-01-21 05:35 (UTC)
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 (UTC) (edited on 2016-11-21 00:27 (UTC) by jaagr)
@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 (UTC)
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 (UTC)
@metak: thanks, I'll update the PKGBUILD
metak commented on 2016-11-20 18:26 (UTC)
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 (UTC) (edited on 2016-10-25 10:28 (UTC) by omrisim210)
"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
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.