Bug 195981

Summary: GNOME Shell Extensions do not install/update via Extensions website
Product: Ports & Packages Reporter: Nicola Vitale <nivit>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: tcberner, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Fix unzip path for GNOME Shell port none

Description Nicola Vitale freebsd_committer freebsd_triage 2014-12-14 23:23:23 UTC
Created attachment 150587 [details]
Fix unzip path for GNOME Shell port

It seems that it's impossible to install new GNOME Shell Extensions (or update those preinstalled by x11/gnome-shell-extensions) via http://extensions.gnome.org.

I think the reason is that gnome-shell uses the following command to extract the extension:

unzip -uod ~/.local/share/gnome-shell/extensions -- NEW_EXTENSION.ZIP

but it fails because it uses /usr/bin/unzip instead of /usr/local/bin/unzip, for which the options -o and -u are
contradictory.

How to repeat:

1) go to http://extensions.gnome.org
2) try to install a new extension
3) Nothing is installed (check ~/.local/share/gnome-shell/extensions, you see only
an empty directory for the chosen extension)

Fix:

Apply the patch provided to the gnome-shell port or temporarily move /usr/local/bin before /usr/bin in your PATH, adding for example this line in ~/.xprofile, if you use GDM (logout to see effects)

PATH=/sbin:/bin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/games:/usr/local/sbin:$HOME/bin
export $PATH
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-11 18:33:18 UTC
Is this still  relevant? No maintainer feedback till now!
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2020-12-19 14:35:41 UTC
Moin moin 

Please re-open if this is still an issue.


mfg Tobias