Why use git+https not https://github.com/elkowar/eww/archive/refs/tags/vX.Y.Z.tar.gz
then signing keys needed?
Git Clone URL: | https://aur.archlinux.org/eww.git (read-only, click to copy) |
---|---|
Package Base: | eww |
Description: | Standalone widget system made in Rust |
Upstream URL: | https://github.com/elkowar/eww |
Licenses: | MIT |
Conflicts: | eww |
Provides: | eww |
Submitter: | cog |
Maintainer: | eclairevoyant |
Last Packager: | eclairevoyant |
Votes: | 29 |
Popularity: | 1.13 |
First Submitted: | 2022-08-28 08:30 (UTC) |
Last Updated: | 2024-08-12 13:12 (UTC) |
Why use git+https not https://github.com/elkowar/eww/archive/refs/tags/vX.Y.Z.tar.gz
then signing keys needed?
refresh is incredibly slow
I came here to mention the same thing, same error on the items variable, and what solved was setting the export RUSTUP_TOOLCHAIN=1.76.0
on both prepare()
and build()
as dgd mentioned, and also adding +1.76.0
to the cargo build command. Not sure if both are needed, but I set them anyway as per the github issue mentioned
For those experiencing the same issue as @NerdwaveNick, where compiling the "time" crate throws an error, the solution is to change the Rust version in the PKGBUILD.
export RUSTUP_TOOLCHAIN=1.76.0
eww runs on Rust 1.76.0, and the latest stable causes this problem as far as I understand. See this issue on Github for more details:
https://github.com/elkowar/eww/issues/1141#issuecomment-2258575600
@NerdwaveNick run 'cargo update time@0.3.34'
I'm seeing issues with this package and the eww-git package. Building eww from source functions as expected, but if I try to install it via these packages, I get compile errors in the time
crate. Specifically
error[E0282]: type annotations needed for `Box<_>`
83 | let items = format_items
|
...
86 | Ok(items.into())
| ---- type must be known at this point
Any ideas?
If you want to use new features of v0.6.0
and you don't want to install both X11 and Wayland backends then you can also install eww-x11
or eww-wayland
in place of eww
.
For anyone eager to try the new systray
widget, I applied the following patch to the PKGBUILD and it worked just fine. The new SHA is the commit with the 0.6.0 release.
diff --git i/PKGBUILD w/PKGBUILD
index d6e5725..0af0c4d 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Will Elliott <troutcobbler at gmail dot com>
pkgname=eww
-pkgver=0.5.0
-pkgrel=2
+pkgver=0.6.0
+pkgrel=1
pkgdesc="Standalone widget system made in Rust"
url='https://github.com/elkowar/eww'
arch=(x86_64)
@@ -13,7 +13,7 @@ depends=(gtk3 gtk-layer-shell)
provides=(eww)
conflicts=(eww)
install=$pkgname.install
-source=("git+$url?signed#commit=387d344690903949121040f8a892f946e323c472")
+source=("git+$url?signed#commit=d87c2fdbfdc012e76d229e4e9ea3325bc0f23e89")
b2sums=('SKIP')
validpgpkeys=(
'9EFD181455D31DD0F42DA932862BA3D7D7760F13' # Leon Kowarschick <5300871+elkowar@users.noreply.github.com>
debugedit
should be in build deps?
not sure why i was having key errors trying to install this but have never had any other issues installing anything else but the pinned comment did work for me though. I would have never even seen this had I not came to the site and looked for the comments on the page
Pinned Comments
eclairevoyant commented on 2023-07-18 00:39 (UTC)
Make sure to fetch the signing keys from GitHub and import them before building: