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
New package: newsflash-1.4.2 #30449
New package: newsflash-1.4.2 #30449
Conversation
e6ef288
to
12d5232
Compare
Could someone who knows a bit more about rust help me with this? With a cargo style I get this error for x86_64
and this for cross compilation to aarch64-musl:
When I use meson build style and add rust-std to makedepends I get a different error on aarch64-musl cross compilation (x86_64 and i686 works fine):
|
I think it's expected to build with meson, which will generate the file with the version info, maybe? So try adding |
12d5232
to
3438a6e
Compare
#24218 can be closed then |
Why not call it |
I think newsflash makes more sense:
|
Ok, that makes sense. Have you verified that an |
3438a6e
to
9db4e9b
Compare
Just fixed it with an update :) |
this update needs newer rust |
9db4e9b
to
3705701
Compare
srcpkgs/newsflash/template
Outdated
vsed -i build-aux/cargo.sh \ | ||
-e 's,"$CARGO_TARGET_DIR"/${TARGET}/news_flash_gtk,"$CARGO_TARGET_DIR"/'"${XBPS_CROSS_RUST_TARGET}/"'${TARGET}/news_flash_gtk,' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the same sed as https://github.com/void-linux/void-packages/pull/24218/files
Is the CARGO_HOME
one not necessary?
3705701
to
b5f9deb
Compare
Your post-patch section is different from #24218 e.g. you have "," instead of "/". |
b5f9deb
to
7c328b2
Compare
@notthewave Thanks for noticing this, I am not sure why I missed it. We don't need to remove the CARGO_HOME line anyway, not sure why, but it works without patching it, there is probably a variable which has higher priority (maybe CARGO_TARGET_DIR?). I couldn't find it mentioned in the documentation, but it works fine. The CI is still failing for some architectures, because cargo.io is unreliable. |
srcpkgs/newsflash/template
Outdated
makedepends="rust-std webkit2gtk-devel libhandy1-devel openssl-devel" | ||
short_desc="RSS feed reader that supports various web based services" | ||
maintainer="Michal Vasilek <michal@vasilek.cz>" | ||
license="GPL-3.0-only" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be "or-later" https://gitlab.com/news-flash/news_flash_gtk/-/issues/222
7c328b2
to
90f9d93
Compare
General
Have the results of the proposed changes been tested?