install: impossible d'évaluer 'src/other/plank/theme-Dark/*': Aucun fichier ou dossier de ce nom
English (translated) :
Unable to evaluate 'src/other/plank/theme-Dark/*': No file or directory with that name
| Git Clone URL: | https://aur.archlinux.org/whitesur-gtk-theme-git.git (read-only, click to copy) |
|---|---|
| Package Base: | whitesur-gtk-theme-git |
| Description: | MacOS Big Sur like theme for GNOME desktops |
| Upstream URL: | https://github.com/vinceliuice/WhiteSur-gtk-theme |
| Keywords: | big desktops for gnome like macos sur theme |
| Licenses: | GPL |
| Conflicts: | whitesur-gtk-theme |
| Provides: | whitesur-gtk-theme |
| Submitter: | jonathon |
| Maintainer: | AlphaJack (HunabKu, t3pfaffe) |
| Last Packager: | AlphaJack |
| Votes: | 4 |
| Popularity: | 0.000000 |
| First Submitted: | 2021-09-11 20:22 (UTC) |
| Last Updated: | 2025-05-07 21:42 (UTC) |
install: impossible d'évaluer 'src/other/plank/theme-Dark/*': Aucun fichier ou dossier de ce nom
English (translated) :
Unable to evaluate 'src/other/plank/theme-Dark/*': No file or directory with that name
@t3pfaffe I couldn't fix it with your prepare(), I had to remove the "--libadwaita" flag
@HunabKu Can you retry to install it now?
The themes no longer appears on /usr/share/themes/. but it appears with no -git version (whitesur-gtk-theme)
I've been running into issues updating this pkg, the ./install.sh command complains about --libadwaita being run as root and seemingly soft failing the installation as a result. I had to change the PKGBUILD around to avoid using sudo by adding a prepare() function and stripping any sudo calls from within the ./install.sh script before running it. It appears to have worked, although it's a very hacky solution, so your mileage may vary.
This seems to be a new issue with the installation script, as several issue threads on the matter have popped up over the past day within the upstream repo. I have attached the patch for my changes below, in-case anyone runs into the same problem:
From 5bd28eea8ebba8073c0ccc23288447b34ed3c3a9 Mon Sep 17 00:00:00 2001
From: Tom Pfaffe <t3@pfaffe.me>
Date: Tue, 22 Apr 2025 15:22:52 -0400
Subject: [PATCH] fix: allow --libadwaita under fakeroot by patching install.sh
---
PKGBUILD | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 1c096c1..7388c91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,11 +20,25 @@ provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
source=(git+$url.git)
-b2sums=('SKIP')
+sha256sums=('SKIP')
pkgver() {
cd WhiteSur-gtk-theme
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags \
+ | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd WhiteSur-gtk-theme
+
+ # remove any sudo invocations
+ sed -i 's/\bsudo\b//g' install.sh
+
+ # make the libadwaita guard always true
+ sed -i 's/if \[\[ "\$UID" != '\''0'\'' \]\]/if true/' install.sh
+
+ # drop the “do not run --libadwaita as root” prompt
+ sed -i '/prompt -e "Do not run '\''--libadwaita'\'' option with sudo!"/d' install.sh
}
package() {
--
2.49.0
With pleasure
@HunabKu Thank you, I updated the PKGBUILD with your fix!
Hi, i have this error on the last commit :
ERROR: Unrecognized installation option '--icon'.
ERROR: Unrecognized installation option 'arch'.
Just comment "--icon arch" not works, need to remove it and make on one line :
./install.sh --alt all --theme all --libadwaita --dest "$pkgdir/usr/share/themes"
This package installs files to /usr/share/docs. The path should be usr/share/doc (no trailing s). Can confirm path by running pacman -Fl | grep 'usr/share/doc/'
@elamperti Seems pamac has problems with the spinner animation the installer script uses. But that's only a guess because i didn't looked further in it. I noticed it works with yay and that was fine for me.
@Sharky009 You are right indeed! Tried an update directly from yay and it works. Any clue on why this error happens? This should work regardless of client preferences...
Pinned Comments
AlphaJack commented on 2024-11-02 14:22 (UTC)
@HunabKu Thank you, I updated the PKGBUILD with your fix!
jonathon commented on 2021-09-11 20:23 (UTC)
This package provides the base theme (without tweaks) as configured for the upstream tagged releases.