Accepting request 912430 from X11:Wayland
- Update to 0.9.8: * Fix incorrect tray icon scaling * Don't start if graphical-session is not running * feat(tray): handle Status property * feat(tray): handle scroll events * feat(tray): fallback to Title for items without ToolTip * feat(tray): implement tooltips (text only) for tray items * refactor(tray): infer changed properties from signal name * fix(tray): ignore unused WindowId property * Fix blurry tray icons for HiDPI displays * Remove unused variable * Add man page for keyboard_state module * Search for device automatically if none given * Add default style * Update css class when locked/unlocked * Add more configuaration * Basic keyboard state module * Fix pulseaudio icon name compilation error * pulseaudio: Control currently running sink * Support per-device icon in pulseaudio * Improve sway/language * Do not fail to parse a multi-bar config * libfmt >=8.0.0 compatibility * Add include man section * Workaround for circular imports * Proper formatting * Add recursive config includes * fix(util): protect std::condition_variable methods from pthread_cancel * network: Fix mix use of default and state specific format * network: Fix one case where default route is deleted without notification OBS-URL: https://build.opensuse.org/request/show/912430 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/waybar?expand=0&rev=28
This commit is contained in:
commit
f8e6b024c9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88a715f3dd1c61f9546e1c0fd922624fa625800481c3e4f7a3afe68f503dca5b
|
||||
size 3561488
|
3
0.9.8.tar.xz
Normal file
3
0.9.8.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79a4a9351e64b7825b45d426df6d2744958e3401c59cb4549a761329e4172932
|
||||
size 3592224
|
@ -1,40 +0,0 @@
|
||||
From 368e4813de5356332d1167e8200cb5633e772ed6 Mon Sep 17 00:00:00 2001
|
||||
From: John Helmert III <jchelmert3@posteo.net>
|
||||
Date: Tue, 29 Jun 2021 21:29:12 -0500
|
||||
Subject: [PATCH] libfmt >=8.0.0 compatibility
|
||||
|
||||
---
|
||||
include/util/format.hpp | 4 ++++
|
||||
src/modules/clock.cpp | 3 +++
|
||||
2 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/include/util/format.hpp b/include/util/format.hpp
|
||||
index 288d8f0cd..543a100fb 100644
|
||||
--- a/include/util/format.hpp
|
||||
+++ b/include/util/format.hpp
|
||||
@@ -35,7 +35,11 @@ namespace fmt {
|
||||
// The rationale for ignoring it is that the only reason to specify
|
||||
// an alignment and a with is to get a fixed width bar, and ">" is
|
||||
// sufficient in this implementation.
|
||||
+#if FMT_VERSION < 80000
|
||||
width = parse_nonnegative_int(it, end, ctx);
|
||||
+#else
|
||||
+ width = detail::parse_nonnegative_int(it, end, -1);
|
||||
+#endif
|
||||
}
|
||||
return it;
|
||||
}
|
||||
diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp
|
||||
index 22bedc783..82c570102 100644
|
||||
--- a/src/modules/clock.cpp
|
||||
+++ b/src/modules/clock.cpp
|
||||
@@ -196,6 +196,9 @@ template <>
|
||||
struct fmt::formatter<waybar_time> : fmt::formatter<std::tm> {
|
||||
template <typename FormatContext>
|
||||
auto format(const waybar_time& t, FormatContext& ctx) {
|
||||
+#if FMT_VERSION >= 80000
|
||||
+ auto& tm_format = specs;
|
||||
+#endif
|
||||
return format_to(ctx.out(), "{}", date::format(t.locale, fmt::to_string(tm_format), t.ztime));
|
||||
}
|
||||
};
|
@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 16 14:25:05 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.9.8:
|
||||
* Fix incorrect tray icon scaling
|
||||
* Don't start if graphical-session is not running
|
||||
* feat(tray): handle Status property
|
||||
* feat(tray): handle scroll events
|
||||
* feat(tray): fallback to Title for items without ToolTip
|
||||
* feat(tray): implement tooltips (text only) for tray items
|
||||
* refactor(tray): infer changed properties from signal name
|
||||
* fix(tray): ignore unused WindowId property
|
||||
* Fix blurry tray icons for HiDPI displays
|
||||
* Remove unused variable
|
||||
* Add man page for keyboard_state module
|
||||
* Search for device automatically if none given
|
||||
* Add default style
|
||||
* Update css class when locked/unlocked
|
||||
* Add more configuaration
|
||||
* Basic keyboard state module
|
||||
* Fix pulseaudio icon name compilation error
|
||||
* pulseaudio: Control currently running sink
|
||||
* Support per-device icon in pulseaudio
|
||||
* Improve sway/language
|
||||
* Do not fail to parse a multi-bar config
|
||||
* libfmt >=8.0.0 compatibility
|
||||
* Add include man section
|
||||
* Workaround for circular imports
|
||||
* Proper formatting
|
||||
* Add recursive config includes
|
||||
* fix(util): protect std::condition_variable methods from pthread_cancel
|
||||
* network: Fix mix use of default and state specific format
|
||||
* network: Fix one case where default route is deleted without notification
|
||||
* network: Handle ip route priority
|
||||
* network: Also clear ifname in clearIface()
|
||||
* network: Parse whole RTM_NEWROUTE msg before interpreting it
|
||||
* sway-language: ignore events with empty layout
|
||||
* network: Update WiFi information when available
|
||||
* network: Fix use of carrier information
|
||||
* doc: add man for exclusive and passthrough flags
|
||||
* feat(bar): add config flag to disable exclusive zone
|
||||
* feat(bar): add config flag for pointer event passthrough
|
||||
* Add options to use a .json extension for the config filename
|
||||
* network: Handle carrier information
|
||||
* network: Rework interface auto detection, handle route change events
|
||||
* network: Rework address lookup to use only events
|
||||
* network: Rework initial interface search by using a dump
|
||||
* network: Read all available messages on ev_sock_
|
||||
* network: Start the module with some text in the label_
|
||||
* network: Initialise cidr_ like clearIface() does
|
||||
* Fix power calculation when battery units are in μA instead of μW
|
||||
* fix: incorrect battery percentage on Pinebook Pro
|
||||
* fix: bluetooth status tooltip
|
||||
* rewriteTitle: allow multiple sequential rewrites
|
||||
* [modules/battery] allow format-discharging-full
|
||||
* [modules/pulseaudio] fix bluetooth class for PipeWire
|
||||
* Document changes in manpage
|
||||
* Catch exception on erroneous rules
|
||||
* Add option to rewrite sway/window title
|
||||
* feat: implement mpd volume format template
|
||||
* Remove exceed protected
|
||||
* Add ignore-list param to wlr/taskbar
|
||||
- Remove waybar-0.9.7-fmt-compat.patch: upstreamed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 09:50:00 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: waybar
|
||||
Version: 0.9.7
|
||||
Version: 0.9.8
|
||||
Release: 0
|
||||
Summary: Customizable Wayland bar for Sway and Wlroots based compositors
|
||||
License: MIT
|
||||
@ -27,8 +27,6 @@ URL: https://github.com/Alexays/Waybar
|
||||
# to get the `date` dependency. and create own tarball
|
||||
#Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
|
||||
Source: %{version}.tar.xz
|
||||
# boo#1188200 - https://github.com/Alexays/Waybar/commit/368e4813de5356332d1167e8200cb5633e772ed6
|
||||
Patch0: waybar-0.9.7-fmt-compat.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtk-layer-shell-devel
|
||||
@ -52,6 +50,7 @@ BuildRequires: pkgconfig(libmpdclient)
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
BuildRequires: pkgconfig(libnl-genl-3.0)
|
||||
# optional: audio
|
||||
BuildRequires: pkgconfig(libevdev)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(sigc++-2.0)
|
||||
@ -60,6 +59,7 @@ BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(xkbregistry)
|
||||
# requires branding
|
||||
Requires: %{name}-branding
|
||||
# optional: sway integration
|
||||
|
Loading…
x
Reference in New Issue
Block a user