Skip to content

Waybar: update to 0.12.0#54555

Merged
classabbyamp merged 2 commits intovoid-linux:masterfrom
xavierfortier1:waybar
Mar 4, 2025
Merged

Waybar: update to 0.12.0#54555
classabbyamp merged 2 commits intovoid-linux:masterfrom
xavierfortier1:waybar

Conversation

@xavierfortier1
Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, x86_64
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • aarch64 (crossbuild)
    • i686
    • x86_64-musl

Closes #53561 with d11584e

@R1shy
Copy link
Copy Markdown

R1shy commented Mar 3, 2025

Partially off topic but can you give a list of deps you installed to compile waybar I couldn't get it to work and the README only shows the ones for debian.

@xavierfortier1
Copy link
Copy Markdown
Contributor Author

Partially off topic but can you give a list of deps you installed to compile waybar I couldn't get it to work and the README only shows the ones for debian.

I used the dependencies specified in the template. xbps-src managed those, I did not explicitly installed them. With the build options enabled, these are the packages that are used:

hostmakedepends="cmake pkg-config glib-devel wayland-devel scdoc gobject-introspection"

makedepends="libevdev-devel libinput-devel wayland-devel gtkmm-devel spdlog eudev-libudev-devel
 gtk-layer-shell-devel jsoncpp-devel libglib-devel libsigc++-devel fmt-devel chrono-date-devel
 playerctl-devel upower-devel wireplumber-devel pipewire-devel libnl3-devel pulseaudio-devel
 libdbusmenu-gtk3-devel libmpdclient-devel sndio-devel jack-devel"

@R1shy
Copy link
Copy Markdown

R1shy commented Mar 3, 2025

Oh I forgor xbps-src was a thing

@classabbyamp classabbyamp merged commit b56977f into void-linux:master Mar 4, 2025
8 checks passed
@xavierfortier1 xavierfortier1 deleted the waybar branch May 7, 2025 14:55
@vulpes-vulpeos
Copy link
Copy Markdown

Maybe a stupid question, but why does this package also drag the wireplumber and playerctl packages?

xbps-install Waybar
Password: 
[*] Updating repository `https://repo-de.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: 1988KB [avg rate: 42GB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
Name             Action    Version           New version            Download size
libspdlog        install   -                 1.11.0_1               146KB 
libsigc++        install   -                 2.12.1_1               9.9KB 
jsoncpp          install   -                 1.9.5_1                84KB 
glibmm           install   -                 2.66.6_1               672KB 
atkmm            install   -                 2.28.3_1               80KB 
cairomm          install   -                 1.14.5_1               46KB 
pangomm          install   -                 2.46.2_1               53KB 
gtkmm            install   -                 3.24.8_1               1067KB 
libdbusmenu-glib install   -                 16.04.0_6              52KB 
libdbusmenu-gtk3 install   -                 16.04.0_6              31KB 
libupower-glib3  install   -                 1.90.4_1               40KB 
playerctl        install   -                 2.4.1_1                62KB 
lua54            install   -                 5.4.6_1                191KB 
wireplumber      install   -                 0.5.6_1                427KB 
gtk-layer-shell  install   -                 0.9.0_1                64KB 
libxkbregistry   install   -                 1.9.1_1                14KB 
Waybar           install   -                 0.12.0_1               797KB 

Size to download:             3844KB
Size required on disk:          14MB
Space available on disk:       226GB

I do not use pipewire and do not need the playerctl utility.
Waybar github also does not mention them in the dependencies list:

gtkmm3
jsoncpp
libsigc++
fmt
wayland
chrono-date
spdlog
libgtk-3-dev [gtk-layer-shell]
gobject-introspection [gtk-layer-shell]
libgirepository1.0-dev [gtk-layer-shell]
libpulse [Pulseaudio module]
libnl [Network module]
libappindicator-gtk3 [Tray module]
libdbusmenu-gtk3 [Tray module]
libmpdclient [MPD module]
libsndio [sndio module]
libevdev [KeyboardState module]
xkbregistry
upower [UPower battery module]

I can understand that Waybar components may need devel libraries (wireplumber-devel, pipewire-devel, playerctl-devel etc.), but I do not understand why it also drags utilities themself.

@Duncaen
Copy link
Copy Markdown
Member

Duncaen commented May 11, 2025

I can understand that Waybar components may need devel libraries (wireplumber-devel, pipewire-devel, playerctl-devel etc.), but I do not understand why it also drags utilities themself.

The devel packages are build time requirements, in the end you need the package that ships the shared library, which is wireplumber, pipewire and playerctl in this case.
What you are thinking of is splitting wireplumber into packages like libwireplumber which is currently not done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants