x11/polybar: Unbreak on FreeBSD 15+ Don't utilize libinotify module in upsteam's build framework on 15+ Approved by: blanket (just fix it)b54d81f67f
Port details
x11/polybar 3.7.2_3
Fast and easy-to-use status bar
Port info
- Maintainer
- jbo@FreeBSD.org
- Packages
- latest: 3.7.2_3
- Upstream
- up to date
- Last update
- to 3.7.2_3 · b54d81f67f
- Quarterly
- 2026Q4: 3.7.2_3
- WWW
- https://github.com/polybar/polybar
- Links
- cgit · VuXML
Install
- Package
# pkg install polybarinstalls 3.7.2_3 fromlatest; fromquarterly(2026Q4) 3.7.2_3- Port
# cd /usr/ports/x11/polybar && make install clean# make -C /usr/ports/x11/polybar config # change options first
- Size
- 605 KiB download · 2.2 MiB installed
- Depends on
- audio/libmpdclient 2.27_1, audio/pulseaudio 17.0_6, devel/jsoncpp 1.9.8, devel/libuv 1.52.1, ftp/curl 8.23.0, graphics/cairo 1.18.2,3, print/freetype2 2.14.3, x11-fonts/fontconfig 2.18.3,1, x11/libxcb 1.17.0, x11/xcb-util 0.4.1,1, x11/xcb-util-cursor 0.1.6, x11/xcb-util-image 0.4.1, x11/xcb-util-wm 0.4.2, x11/xcb-util-xrm 1.3
- License
- MIT
- Options
- 7 of 10 on in the package: CURSOR GITHUB I3 IPC MPD PULSEAUDIO XKEYBOARD
Show the 3 options that are off
ALSA DEBUG TESTS - pkg-message
Shown after installing
Polybar was originally built with Linux in mind, so certain modules do not function in FreeBSD. Working modules: - bspwm - cpu - date - github - i3 - ipc (polybar-msg method does not seem to work) - memory - menu - mpd - script - text - xkeyboard - xwindow - xworkspaces (not extensively tested) Broken modules: - filesystem - network (requires wireless_tools) - temperature (requires /sys/class/thermal/* in sysfs) - volume (requires full alsa, not a wrapper) Unknown: - backlight - battery - xbacklight
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.7.2_3 | 3.7.2_3 | – |
| FreeBSD 15 | 3.7.2_3 | 3.7.2_3 | – |
| FreeBSD 14 | 3.7.2_3 | 3.7.2_3 | 3.7.2_3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.7.2_3 | 3.7.2_3 | – |
| FreeBSD 14 | 3.7.2_3 | 3.7.2_3 | 3.7.2_3 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.7.2_3.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (56)
x11/polybar: Fix build Fix build error due to missing libfreetype by pulling in upstream patch.7b64641292
*: Bump PORTREVISIONs of Pulseaudio consumers Sponsored by: Future Crew, LLC5505c50fcc
*/*: Bump dependencioes after devel/jsoncpp update PR: 281462 Reported by: Ale <discipline@tiscali.it>a63bcef051
x11/polybar: Update to 3.7.2 Changelog: https://github.com/polybar/polybar/releases/tag/3.7.203f87e71de
x11/polybar: Update to 3.7.1 Changelog: https://github.com/polybar/polybar/releases/tag/3.7.1 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D427828386430c51
x11/polybar: Update to 3.7.0 Changelog: https://github.com/polybar/polybar/releases/tag/3.7.0 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D42529468f1ec759
maintainer: Update to FreeBSD address Change all MAINTAINER entries with <jbo@insane.engineer> to <jbo@FreeBSD.org> Approved by: zirias (mentor) Differential Review: https://reviews.freebsd.org/D4178131299d31bf
audio/pulseaudio: Update to 16.1 Bump PORTREVISION on consumers. Sponsored by: Serenity Cybersecurity, LLC PR: 262713b1ecad53b0
x11/polybar: Add patches for CPU and memory modules - give it to Joel Bodenmann <jbo@insane.engineer> PR: 2728316cdddcb8fd
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9caudio/opus: bump consumers after update to 1.4feb1fa34f5
x11/polybar: Update WWW. PR: 271026bc6887871c
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
x11/polybar: Update to 3.6.3fabc9835c2
x11/polybar: Update to 3.6.2c190546875
x11/polybar: Update to 3.6.1a24c133df8
devel/jsoncpp: Update to 1.9.4 -> 1.9.5 PR: 25965400f2a7aec7
x11/polybar: Update to 3.5.78197a73f58
x11/polybar: Update to 3.5.63e2037431d
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
x11/polybar: Update to 3.5.5d73721414d
Remove # $FreeBSD$ from Makefiles.305f148f48
x11/polybar: Update to 3.5.42fac1a5956
x11/polybar: Update to 3.5.3 Relnotes: https://github.com/polybar/polybar/releases/tag/3.5.3968f00ba46
x11/polybar: Update to 2.5.2 Relnotes: https://github.com/polybar/polybar/releases/tag/3.5.2d727fc237f
x11/polybar: Update to 3.5.1 Relnotes: https://github.com/polybar/polybar/releases/tag/3.5.1a928b2bb75
x11/polybar: Update to 3.5.0 Relnotes: https://github.com/polybar/polybar/releases/tag/3.5.09c4c43ddb6
Bump devel/jsoncpp consumers after r540853. Reported by: Kevin Oberman <rkoberman@gmail.com>e2cd5999be
x11/polybar: Update to 3.4.3101367c1eb
devel/jsoncpp: Update 1.8.1 -> 1.9.2 PR: 229677 Differential Revision: D22905fe6826dccc
x11/polybar: Update to 3.4.2 Approved by: tcberner (mentor, implicit)2ef28c03ce
x11/polybar: Update to 3.4.1 Approved by: tcberner (mentor, implicit)97c5683e74
Convert to UCL & cleanup pkg-message (categories x)467ad301e8
x11/polybar: Update to 3.4.0. - the manual pages were removed because upstream moved to sphinx and require a version considerably newer than we have. Approved by: tcberner (mentor)92d2eea9d9
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330ea8c8ec7da
Remove esound support from pulseaudio as audio/esound expired. Bump PORTREVISIONs of dependent ports. Build-tested in poudriere on a head-amd64 jail for audio/pulseaudio*7469b029a6
x11/polybar: Update to 3.3.1 Approved by: tcberner (mentor)6494025cf8
x11/polybar: fix build with devel/clang80 Approved by: tcberner (mentor)39b5cbf3e3
x11/polybar: fix build with DEFAULT_VERSIONS=python=3.x PR: 234682 Reported by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D187700e460d94d5
Change cmake default behaviour to outsource. Ports that build out of source now simply can use "USES=cmake" instead of "USES=cmake:outsource". Ports that fail to build out of source now need to specify "USES=cmake:insource". I tried to only set insource where explictely needed. PR: 232038 Exp-run by: antoine707c6bf295
Restore fix from r480820 which was lost with previous commit. Reviewed by: maintainer925deec328
x11/polybar: update to version 3.3.0. - disable network support early since it needs Linux/libnl - add CURSOR, PULSEAUDIO, and XKEYBORAD options - remove unused EXAMPLES option - rename CURL option to GITHUB - rewrite some OPTIONS descriptions Reviewed by: tcberner (mentor) Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/360fe59221
Unmark broken on arm. Tested on aarch64 and armv7 (and, thus, presumably, works on armv6.) Reported by: maintainer (private email)6709b1bcf5
x11/polybar: fix build on 13-CURRENT. Approved by: tcberner (mentor) Obtained from: upstream Differential Revision: https://reviews.freebsd.org/D185670f3ee33fe1
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590a9f015d155
Update maintainer eMail address. Reviewed by: mat (mentor) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D173991986e3b82c
Fix build on gcc-based archs. Tested on powerpc64 and amd64. While here, pet portlint. Approved by: portmgr (tier-2 blanket)6a504aa868
x11/polybar: update to 3.2.1 PR: 230477 Submitted by: lebarondemerde@privacychain.ch (maintainer)d79826ce2b