From 028d43f0ba0a317885a85d992076ef37d38472da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 22 Mar 2026 16:36:09 +0100 Subject: [PATCH 1/5] Rebuild (jsoncpp) --- waybar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/waybar.spec b/waybar.spec index e76a21e..ffe9db8 100644 --- a/waybar.spec +++ b/waybar.spec @@ -1,6 +1,6 @@ Name: waybar Version: 0.15.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors # Source files/overall project licensed as MIT, but # - BSL-1.0 @@ -102,6 +102,9 @@ Recommends: font(fontawesome6brands) %{_userunitdir}/%{name}.service %changelog +* Sun Mar 22 2026 Björn Esser - 0.15.0-2 +- Rebuild (jsoncpp) + * Sat Feb 07 2026 Tomasz Hołubowicz - 0.15.0-1 - Update to 0.15.0 From ed30418b47bc8cea479df65205e6b0e89b3b1be9 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 27 May 2026 11:42:19 -0600 Subject: [PATCH 2/5] Migrate from FontAwesome 6.x to 7.x --- waybar-fedora-config-changes.patch | 2 +- waybar.spec | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/waybar-fedora-config-changes.patch b/waybar-fedora-config-changes.patch index 25fa381..3d93c6c 100644 --- a/waybar-fedora-config-changes.patch +++ b/waybar-fedora-config-changes.patch @@ -21,7 +21,7 @@ index 7e830285..e0310372 100644 * { - /* `otf-font-awesome` is required to be installed for icons */ - font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; -+ font-family: 'Noto Sans Mono', 'Font Awesome 6 Free', 'Font Awesome 6 Brands', monospace; ++ font-family: 'Noto Sans Mono', 'Font Awesome 7 Free', 'Font Awesome 7 Brands', monospace; font-size: 13px; } diff --git a/waybar.spec b/waybar.spec index ffe9db8..9edaf82 100644 --- a/waybar.spec +++ b/waybar.spec @@ -1,6 +1,6 @@ Name: waybar Version: 0.15.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors # Source files/overall project licensed as MIT, but # - BSL-1.0 @@ -63,8 +63,13 @@ BuildRequires: pkgconfig(wireplumber-0.5) BuildRequires: pkgconfig(xkbregistry) Enhances: sway +%if 0%{?fedora} < 45 Recommends: font(fontawesome6free) Recommends: font(fontawesome6brands) +%else +Recommends: font(fontawesome7free) +Recommends: font(fontawesome7brands) +%endif %description %{summary}. @@ -102,6 +107,9 @@ Recommends: font(fontawesome6brands) %{_userunitdir}/%{name}.service %changelog +* Wed May 27 2026 Jerry James - 0.15.0-3 +- Migrate from FontAwesome 6.x to 7.x + * Sun Mar 22 2026 Björn Esser - 0.15.0-2 - Rebuild (jsoncpp) From 0ddcc56e20cf83ae6ece24d19597c8247a71dbe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Thu, 25 Jun 2026 12:41:56 +0200 Subject: [PATCH 3/5] Rebuilt for fmt/spdlog --- waybar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/waybar.spec b/waybar.spec index 9edaf82..640c161 100644 --- a/waybar.spec +++ b/waybar.spec @@ -1,6 +1,6 @@ Name: waybar Version: 0.15.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors # Source files/overall project licensed as MIT, but # - BSL-1.0 @@ -107,6 +107,9 @@ Recommends: font(fontawesome7brands) %{_userunitdir}/%{name}.service %changelog +* Thu Jun 25 2026 František Zatloukal - 0.15.0-4 +- Rebuilt for fmt/spdlog + * Wed May 27 2026 Jerry James - 0.15.0-3 - Migrate from FontAwesome 6.x to 7.x From 9d96345347260740c87caaee25ff8b569266bf45 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:42:18 +0000 Subject: [PATCH 4/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- waybar.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/waybar.spec b/waybar.spec index 640c161..6c6d900 100644 --- a/waybar.spec +++ b/waybar.spec @@ -1,6 +1,6 @@ Name: waybar Version: 0.15.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors # Source files/overall project licensed as MIT, but # - BSL-1.0 @@ -107,6 +107,9 @@ Recommends: font(fontawesome7brands) %{_userunitdir}/%{name}.service %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.15.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Thu Jun 25 2026 František Zatloukal - 0.15.0-4 - Rebuilt for fmt/spdlog From ab5016c9bcef88948aa47e4134561e3032cb5e54 Mon Sep 17 00:00:00 2001 From: Aleksei Bavshin Date: Sat, 4 Jul 2026 23:47:47 -0700 Subject: [PATCH 5/5] systemd: declare known incompatible desktop environments --- waybar-fedora-systemd-target-conflicts.patch | 39 ++++++++++++++++++++ waybar.spec | 8 +++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 waybar-fedora-systemd-target-conflicts.patch diff --git a/waybar-fedora-systemd-target-conflicts.patch b/waybar-fedora-systemd-target-conflicts.patch new file mode 100644 index 0000000..f277e2e --- /dev/null +++ b/waybar-fedora-systemd-target-conflicts.patch @@ -0,0 +1,39 @@ +From f67dcce02d02ef1dc8e78efc565647b6fe8656d4 Mon Sep 17 00:00:00 2001 +From: Aleksei Bavshin +Date: Sat, 4 Jul 2026 22:51:31 -0700 +Subject: [PATCH] systemd: declare known incompatible desktop environments + +Waybar can be used with many different Wayland compositors. Some of +those provide distinct user session targets, some aren't. The usual +recommendation for the latter ones is to allow manual startup of the +graphical-session.target and run "systemd --user start ..." command on +init. + +To ensure that all of the above is supported, we have to keep the +service bound to the graphical-session.target. However, this may impact +unrelated sessions on machines with multiple DEs installed. + +Instead of listing dozens of supported Wayland compositors and breaking +any configs that explicitly use graphical-session.target, keep a list +of known sessions where Waybar is not wanted. +--- + resources/waybar.service.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/resources/waybar.service.in b/resources/waybar.service.in +index 18bac54c..9a54e5ba 100644 +--- a/resources/waybar.service.in ++++ b/resources/waybar.service.in +@@ -6,6 +6,9 @@ After=graphical-session.target + Requisite=graphical-session.target + + [Service] ++ExecCondition=sh -c '[ -n "$WAYLAND_DISPLAY" ]' ++# Known incompatible Wayland sessions ++ExecCondition=/usr/lib/systemd/systemd-xdg-autostart-condition "" "GNOME:KDE:COSMIC:X-Cinnamon" + ExecStart=@prefix@/bin/waybar + ExecReload=kill -SIGUSR2 $MAINPID + Restart=on-failure +-- +2.55.0 + diff --git a/waybar.spec b/waybar.spec index 6c6d900..60ff304 100644 --- a/waybar.spec +++ b/waybar.spec @@ -1,6 +1,6 @@ Name: waybar Version: 0.15.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors # Source files/overall project licensed as MIT, but # - BSL-1.0 @@ -21,6 +21,9 @@ Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # - Remove several modules from the config # - Switch font to monospace Patch: waybar-fedora-config-changes.patch +# Downstream changes to the systemd service: +# - Check that the environment is Wayland and is not listed as unsupported +Patch: waybar-fedora-systemd-target-conflicts.patch # Fix for hot update loop that can spike CPU and # destabilize rendering in drawer/group setups @@ -107,6 +110,9 @@ Recommends: font(fontawesome7brands) %{_userunitdir}/%{name}.service %changelog +* Sun Aug 02 2026 Aleksei Bavshin - 0.15.0-6 +- systemd: declare known incompatible desktop environments + * Fri Jul 17 2026 Fedora Release Engineering - 0.15.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild