Package Details: eww-git 0.5.0.r9.g149727c-1

Git Clone URL: https://aur.archlinux.org/eww-git.git (read-only, click to copy)
Package Base: eww-git
Description: ElKowar's wacky widgets
Upstream URL: https://github.com/elkowar/eww
Keywords: statusbar wayland x11
Licenses: MIT
Conflicts: eww
Provides: eww
Submitter: McFranko
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 22
Popularity: 0.54
First Submitted: 2020-10-27 01:41 (UTC)
Last Updated: 2024-04-01 20:48 (UTC)

Required by (6)

Sources (1)

Pinned Comments

eclairevoyant commented on 2023-04-03 17:29 (UTC)

Adopted and updated. Make sure to fetch the signing keys from GitHub and import them before building:

curl -sS https://github.com/elkowar.gpg | gpg --import -i -
curl -sS https://github.com/web-flow.gpg | gpg --import -i -

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

NoXPhasma commented on 2023-07-17 01:11 (UTC)

@FabioLolix The approach with devtools and extra-x86_64-build worked for me.

@eclairevoyant I was using a clean chroot, not only told I yay to use one, I also tried to manually delete the build folder. I've then installed paru and it shows the same exact error. And even using makepkg -si in the cloned folder shows the same error. I don't know why it fails for me, it worked fine before.

eclairevoyant commented on 2023-07-16 00:14 (UTC)

@FabioLolix TanakaSan's issue was from before I added the patch, but I agree that @NoXPhasma is clearly not building in a clean chroot

FabioLolix commented on 2023-07-15 16:34 (UTC)

@TanakaSan @NoXPhasma could not reproduce your issue both using makepkg and devtools (extra-x86_64-build), since this pkgbuild don't depends on other AUR pkgbuilds is easy to build with devtools; that will also let you use rust on your system while rustup will be installed in the chroot

NoXPhasma commented on 2023-07-15 16:13 (UTC) (edited on 2023-07-15 16:13 (UTC) by NoXPhasma)

I can't build with latest changes to the pkgbuild. This is the error:

   Compiling gdkx11 v0.15.5
error[E0635]: unknown feature hash_extract_if
 --> crates/eww/src/main.rs:6:12
  |
6 | #![feature(hash_extract_if)]
  |            ^^^^^^^^^^^^^^^

error[E0635]: unknown feature extract_if --> crates/eww/src/main.rs:2:12 | 2 | #![feature(extract_if)] | ^^^^^^^^^^

error[E0599]: no method named extract_if found for struct std::collections::HashMap in the current scope --> crates/eww/src/widgets/widget_definitions.rs:130:62 | 130 | ... bargs.unhandled_attrs.extract_if(|a, _| deprecated.contains(&a.0 as &str)).collect(); | ^^^^^^^^^^ method not found in HashMap<AttrName, AttrEntry>

Some errors have detailed explanations: E0599, E0635. For more information about an error, try rustc --explain E0599. error: could not compile eww (bin "eww") due to 3 previous errors ==> ERROR: A failure occurred in build().

eclairevoyant commented on 2023-07-15 09:25 (UTC)

@TanakaSan Upstream CI uses the latest nightly and all PRs will be run against this CI. Therefore I will be using the nightly toolchain here.

TanakaSan commented on 2023-06-23 08:25 (UTC) (edited on 2023-06-23 08:31 (UTC) by TanakaSan)

Hello, I am new to arch, and trying to install eww-x11-git with paru.

now, when I run paru -S eww-x11-git, it fails to build package with following compile errors; error[E0635],error[E0635],error[E0599],error[E0599]

I do not write error details, but I am quite sure the reason of these errors are depends on rust-toolchain version issue. PKGBUILD overwrites the rust-toolchain version to nightly. However, actual required toolchain version is "nightly-2022-08-27" as it is written in rust-toolchain.toml

Therefore, rather we define rust-toolchain version on ourselves, it is better to use rust-toolchain.toml

Here is solution:

remove export RUSTUP_TOOLCHAIN=nightly from both prepare() and build() section.

remove cargo fetch --locked --target "$CARCH-unknown-linux-gnu". Instead of this, run rustup show to install appropreate rust-toolchain version.

thank you for maintaining repo :)

GuessWhatBBQ commented on 2023-06-10 17:48 (UTC)

I believe elkowar's pgp key expired and the package no longer builds by default

eclairevoyant commented on 2023-05-22 12:14 (UTC)

makedepends was updated to comply with Rust package guidelines.

Anyway, AUR helpers aren't supported by Arch, use makepkg -s or ideally build in a clean chroot using makechrootpkg -- -s and you should not have issues.

hertg commented on 2023-05-22 09:28 (UTC)

I am unable to install this package with paru.

==> ERROR: Could not resolve all dependencies.
error: failed to build 'eww-git-0.4.0.r28.ge762068-2 (eww-x11-git)':
error: packages failed to build: eww-git-0.4.0.r28.ge762068-2 (eww-x11-git)

I am pretty sure it is because of cargo-nightly in makedepends

eclairevoyant commented on 2023-05-22 05:59 (UTC)

In the interest of having a functioning binary, since I don't know when upstream will take a look at #739, I have turned this into a split package (eww-x11-git and eww-wayland-git). Please install the relevant package based on your use case, and make sure to kill eww completely before using the new packages.