Accepting request 1042785 from home:fbonazzi:branches:X11:Wayland
- Fix: actually use the date library dependency provided by hhdate Currently packaged waybar is silently using a fallback version of the clock without fancy format strings, so that e.g. the calendar tooltip does not work. This was not obvious to me when I moved the date library dependency to its own hhdate package, and I am rectifying this now. OBS-URL: https://build.opensuse.org/request/show/1042785 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=97
This commit is contained in:
parent
8bcf56f924
commit
eb4ce2b64f
12
0001-require-date-dependency.patch
Normal file
12
0001-require-date-dependency.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 9354ca8..e61ee70 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -120,7 +120,6 @@ gtk_layer_shell = dependency('gtk-layer-shell-0',
|
||||
fallback : ['gtk-layer-shell', 'gtk_layer_shell_dep'])
|
||||
systemd = dependency('systemd', required: get_option('systemd'))
|
||||
tz_dep = dependency('date',
|
||||
- required: false,
|
||||
default_options : [ 'use_system_tzdb=true' ],
|
||||
modules : [ 'date::date', 'date::date-tz' ],
|
||||
fallback: [ 'date', 'tz_dep' ])
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 20:58:47 UTC 2022 - Filippo Bonazzi <filippo.bonazzi@suse.com>
|
||||
|
||||
- Fix: actually use the date library dependency provided by hhdate
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 19:10:20 UTC 2022 - Filippo Bonazzi <filippo.bonazzi@suse.com>
|
||||
|
||||
|
@ -25,6 +25,7 @@ Group: System/GUI/Other
|
||||
URL: https://github.com/Alexays/Waybar
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: 0000-replace-gethostbyname-getaddrinfo.patch
|
||||
Patch1: 0001-require-date-dependency.patch
|
||||
BuildRequires: cmake
|
||||
%if 0%{?sle_version} >= 150400
|
||||
BuildRequires: gcc11-c++
|
||||
@ -38,7 +39,7 @@ BuildRequires: pkgconfig
|
||||
# test dependency
|
||||
BuildRequires: pkgconfig(catch2) >= 3.0
|
||||
BuildRequires: sndio-devel >= 1.7.0
|
||||
# date module
|
||||
# clock module
|
||||
BuildRequires: hhdate-devel
|
||||
# optional: man pages
|
||||
BuildRequires: scdoc
|
||||
|
Loading…
Reference in New Issue
Block a user