Bug 195981 - GNOME Shell Extensions do not install/update via Extensions website
Summary: GNOME Shell Extensions do not install/update via Extensions website
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-14 23:23 UTC by Nicola Stanislao Vitale
Modified: 2018-01-11 18:33 UTC (History)
1 user (show)

See Also:


Attachments
Fix unzip path for GNOME Shell port (2.01 KB, text/plain)
2014-12-14 23:23 UTC, Nicola Stanislao Vitale
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Stanislao Vitale freebsd_committer 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 w.schwarzenfeld freebsd_triage 2018-01-11 18:33:18 UTC
Is this still  relevant? No maintainer feedback till now!