Package Details: eww-git 0.6.0.r53.g8661abf-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.015028
First Submitted: 2020-10-27 01:41 (UTC)
Last Updated: 2024-09-15 05:41 (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

1 2 3 4 5 6 7 Next › Last »

Flat commented on 2024-10-26 14:36 (UTC)

Consider including shell completions in the package:

---
 PKGBUILD | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 25ba4ed..14a3e8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 _pkgname=eww
 pkgname="$_pkgname-git"
-pkgver=0.6.0.r53.g8661abf
+pkgver=0.6.0.r62.g50ec181
 pkgrel=1
 pkgdesc="ElKowar's wacky widgets"
 arch=(x86_64)
@@ -20,6 +20,7 @@ prepare() {
    cd $_pkgname
    export RUSTUP_TOOLCHAIN=stable
    cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+  mkdir completions
 }

 pkgver() {
@@ -31,6 +32,10 @@ build() {
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_TARGET_DIR=target
    cargo build --frozen --release
+  local compgen="target/release/eww shell-completions -s"
+  $compgen bash >"completions/$_pkgname"
+  $compgen fish >"completions/$_pkgname.fish"
+  $compgen zsh >"completions/_$_pkgname"
 }

 package() {
@@ -39,4 +44,7 @@ package() {
    install -d "$pkgdir/etc/xdg/$_pkgname/"
    cp -r examples/eww-bar "$pkgdir/etc/xdg/$_pkgname/"
    install -Dm755 target/release/$_pkgname -t "$pkgdir/usr/bin/"
+  install -Dm 644 "completions/$_pkgname" -t "$pkgdir/usr/share/bash-completion/completions/"
+  install -Dm 644 "completions/$_pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d/"
+  install -Dm 644 "completions/_$_pkgname" -t "$pkgdir/usr/share/zsh/site-functions/"
 }
-- 
2.47.0

johbii commented on 2024-09-14 23:44 (UTC)

Fails to build.

==> Starting prepare()...
patching file Cargo.lock
Hunk #1 FAILED at 1676.
Hunk #2 FAILED at 2893.
Hunk #3 FAILED at 2914.
3 out of 3 hunks FAILED -- saving rejects to file Cargo.lock.rej
==> ERROR: A failure occurred in prepare().

Had the same issue, it's because of this upstream commit https://github.com/elkowar/eww/commit/8b9d65f80072b9e4da1f2457481d5ff363913d32 which replaced a dep which was having it's version patched by this package.

This patch will work if you want to build now. The author's Github repo does not seem to be up to date with their AUR repo otherwise I would make a PR.

diff --git a/.SRCINFO b/.SRCINFO
index dad2dc0..426d0c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = eww-git
    pkgdesc = ElKowar's wacky widgets
-   pkgver = 0.6.0.r8.g4d55e9a
+   pkgver = 0.6.0.r8.8661abf2
    pkgrel = 1
    url = https://github.com/elkowar/eww
    arch = x86_64
@@ -14,8 +14,6 @@ pkgbase = eww-git
    provides = eww
    conflicts = eww
    source = git+https://github.com/elkowar/eww.git
-   source = eww-lockfile.patch::https://raw.githubusercontent.com/NixOS/nixpkgs/8b14399f5e10211f569b3b8321988c1fb7c7ba2e/pkgs/by-name/ew/eww/lockfile.patch
    b2sums = SKIP
-   b2sums = a2d953b7cea414cceb3beb6dbb8a17a7503d2b5a0d38fd1a235dbe3edae56d66c3f42003b3fab7633c233056cb556925e57f6f218f0eb0fb445a5873c884d7a5

 pkgname = eww-git
diff --git a/PKGBUILD b/PKGBUILD
index 855d27f..c4b1f94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 _pkgname=eww
 pkgname="$_pkgname-git"
-pkgver=0.6.0.r8.g4d55e9a
+pkgver=0.6.0.r8.8661abf2
 pkgrel=1
 pkgdesc="ElKowar's wacky widgets"
 arch=(x86_64)
@@ -13,16 +13,11 @@ depends=(gtk3 gtk-layer-shell libdbusmenu-glib libdbusmenu-gtk3)
 makedepends=(cargo git)
 provides=("$_pkgname")
 conflicts=("$_pkgname")
-source=(
-   "git+$url.git"
-   "eww-lockfile.patch::https://raw.githubusercontent.com/NixOS/nixpkgs/8b14399f5e10211f569b3b8321988c1fb7c7ba2e/pkgs/by-name/ew/eww/lockfile.patch"
-)
-b2sums=('SKIP'
-        'a2d953b7cea414cceb3beb6dbb8a17a7503d2b5a0d38fd1a235dbe3edae56d66c3f42003b3fab7633c233056cb556925e57f6f218f0eb0fb445a5873c884d7a5')
+source=("git+$url.git")
+b2sums=('SKIP')

 prepare() {
    cd $_pkgname
-   patch -Np1 -i "$srcdir/eww-lockfile.patch"
    export RUSTUP_TOOLCHAIN=stable
    cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }

xiota commented on 2024-08-25 18:56 (UTC)

Fails to build.

==> Starting prepare()...
patching file Cargo.lock
Hunk #1 FAILED at 1676.
Hunk #2 FAILED at 2893.
Hunk #3 FAILED at 2914.
3 out of 3 hunks FAILED -- saving rejects to file Cargo.lock.rej
==> ERROR: A failure occurred in prepare().

Tanghe commented on 2024-04-05 14:46 (UTC) (edited on 2024-04-05 14:47 (UTC) by Tanghe)

sinse systray got added to the main branch I`ve switched to this over the bin package.

Im not sure if this didn`t download the latest build or if my yuck file is incorrect. yuck looks like

(defwidget sidestuff [] (box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" ... (time) (stray) ))

... (defwidget stray [] (systray :pack-direction "down"))

johbii commented on 2024-03-31 21:54 (UTC) (edited on 2024-03-31 22:03 (UTC) by johbii)

Can confirm that latest commit builds correctly, as anurag said, with cargo update removed from .PKGBUILD.

EDIT: new upstream dependencies are required as well according to documentation https://elkowar.github.io/eww/:

depends=(gtk3 gtk-layer-shell pango gdk-pixbuf2 libdbusmenu-gtk3 cairo glib2 gcc-libs glibc)

I was able to build in chroot with this.

johbii commented on 2024-03-31 21:44 (UTC)

I believe the reason the PGP checks keeps failing is because the author is not signing all commits, thus the signature is invalid or not found and the build fails without makepkg --skippgpcheck.

I think a false-positive failure is worse than having the verification at all, and would suggest removing them.

See latest commit is currently unsigned: https://github.com/elkowar/eww/commit/149727ce1f7dd4f461ab1d61d560546f3d1f32a1

anurag commented on 2024-03-31 08:21 (UTC) (edited on 2024-03-31 08:34 (UTC) by anurag)

Hi, the cargo update in the prepare() should be removed, this causing build errors on the latest version, as the versions are being changed from what's locked on main.

This builds correctly without the cargo update in prepare, latest main on Github is also building correctly.

error[E0433]: failed to resolve: could not find ObjectExt in glib --> /home/anurag/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dbusmenu-glib-0.1.0/src/auto/client.rs:203:15 | 203 | glib::ObjectExt::property(self.as_ref(), "dbus-name") | ^^^^^^^^^ could not find ObjectExt in glib | help: a struct with a similar name exists | 203 | glib::Object::property(self.as_ref(), "dbus-name") | ~~ help: consider importing this trait | 6 + use glib::prelude::ObjectExt; | help: if you import ObjectExt, refer to it directly | 203 - glib::ObjectExt::property(self.as_ref(), "dbus-name") 203 + ObjectExt::property(self.as_ref(), "dbus-name") |

beatsgo commented on 2024-02-24 22:19 (UTC) (edited on 2024-02-24 22:21 (UTC) by beatsgo)

In addition to CrumblyLiquid's comment, pubkey '968479A1AFF927E37D1A566BB5690EEEBB952194' is missing in the validpgpkeys field. I was able to build and install the built package afterwards.

CrumblyLiquid commented on 2024-02-18 12:44 (UTC)

The ERROR: One or more PGP signatures could not be verified! error can be fixed by adding 9EFD181455D31DD0F42DA932862BA3D7D7760F13 to the validpgpkeys list in the PKGBUILD.

9EFD181455D31DD0F42DA932862BA3D7D7760F13 is a fingerprint of one of the keys in https://github.com/elkowar.gpg (you can view them with this command: curl -sS https://github.com/elkowar.gpg | gpg -)

Disclaimer: I don't know what I'm doing so use this information with caution!

CrumblyLiquid commented on 2024-02-18 12:28 (UTC)

Eww now uses stable Rust (see commit 9ca9844)