-
-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop date dependency and use C++20 (once compilers support it) #668
Comments
I'll go 100% on C++20 once possible! |
I've worked on waybar for debian and definitely can say that the dependency on hhdate hinders waybars adoption. It'd help waybar's distribution if the dependency on hhdate was optional, even if that costs timezone support. |
Just for the record, I've uploaded |
I've packaged hhdate and waybar to get the full functionality. Here's the PPA. FWIW it might be ready for inclusion into debian. |
Hi @b1rger can you give me a hand setting up the clock using the I've done it this way:
It almost work, but once the clock is initialized it does not update anymore, even though having the Oh, I've also tried |
I'm not sure, maybe drop the
|
@b1rger Thanks for the Debian package and the example snippet. Maybe next time you can put this info into the changelog (instead of README.Debian), so users get notified when the upgrade ( @diraol I had the same issue. It's because you've specified the interval as a string (
|
Oh man! 🤦 thanks for spotting it! |
Any update on this? The lack of a |
Getting unknown module |
@kit-ty-kate @charliebarber have you seen this comment above:
The PPA worked like a charm for me. |
This is caused by Alexays/Waybar#668 and the Debian package maintainer's decision to drop the clock module from waybar because it can't *yet* be compiled without a specific dependency... even though it's had that dependency all along.
Starting waybar I get this error, is it related to this issue? |
Should this line not be changed? https://github.com/Alexays/Waybar/blob/master/meson.build#L7 Why did those PRs not change that to c++20? I don't have c++20 features unless I change that line. @LukashonakV EDIT: I figured out that I can pass this as an option to the meson setup command, but maybe we should set c++20 as the default now? |
Hi,
according to HowardHinnant/date#565 C++20 seems to implement the functionality of the
date
library, that Waybar uses. Most compilers don't fully implement C++20 yet, but when they do, it would probably make sense to drop the dependency.(For transparency: I've uploaded releases of
waybar
to Debian in the past, but at the moment I'm blocked by the missingdate
dependency. I looked into packagingdate
, but given the fact that its functionality will be provided by C++20 I'm not sure it makes much sense.)The text was updated successfully, but these errors were encountered: