With 0.9.1 I get:
[ 23s] Run-time dependency date found: NO (tried pkgconfig and cmake)
[ 23s] Looking for a fallback subproject for the dependency date
[ 23s]
[ 23s] meson.build:85:0: ERROR: Git program not found.
What is 'date' actually? Not sure which package is meant by this. PKGCONFIG doesnt seem to know about it.
Its this one: https://github.com/HowardHinnant/date
Seems not packaged in Debian nor openSUSE. Also seems to be a header only library. Maybe you could add it to the repo as a fallback if it's not found on the system?
Seems not packaged in Debian nor openSUSE.
Yeah, I am already looking into packaging date for Debian, since I'm one of the waybar maintainers in Debian and we will need that for uploading a new waybar release ;)
Maybe you could add it to the repo as a fallback if it's not found on the system?
I'm not a part of waybar upstream, but I think thats what subprojects/date.wrap is for.
@bisco2 Yeah subprojects/date.wrap is the fallback, but it seems to use git.. so you'll need to install it.
Yeah subprojects/date.wrap is the fallback, but it seems to use git.. so you'll need to install it.
Unfortunately there won't be a network connection available in the buildroot.
Yeah subprojects/date.wrap is the fallback, but it seems to use git.. so you'll need to install it.
Unfortunately there won't be a network connection available in the buildroot.
I just did meson subprojects download, deleted everything except date there and repacked tar.gz.
Later I could just add script that would do that, that is usual thing for such kind of dependencies in OBS.
https://build.opensuse.org/request/show/788449
@MichaelAquilina ^ package for openSUSE on its way. you could install it from dev project if you want it earlier.
I accepted https://build.opensuse.org/request/show/788449 and forwarded to Factory.
I'm going to close this issue, but just out of curiosity, how did you solve the problem?
We downloaded the date dependency with meson subprojects download and added it to our tarball. Which is pretty ugly :(
I've the same issue on Gentoo with 0.9.2. Waybar doesn't compile due to missing date dependency. This ought to be resolved somehow.
Please reopen.
UPD: I've found the package in overlays, so I was able to update. Actually, it's ebuild author who missed new dependency. From the other hand, it's strange that such a simple task did require such an exotic package to be fulfilled. That's a kludge. Hope you won't pull dbus next release...
Thanks!
Most helpful comment
@MichaelAquilina ^ package for openSUSE on its way. you could install it from dev project if you want it earlier.