stuartlangridge/gnome-shell-clock-override

"make install" not working anymore

Opened this issue · 4 comments

When trying to install my current source with make -j install as by README.md I get the following error:

gnome-shell-extension-tool --reload-extension="clock-override@gnomeshell.kryogenix.org"
Reloading extensions does not work correctly and is no longer supported

Actually, the problem seems rooted more deeply:

% gnome-shell-extension-tool -e extension.js
gnome-shell-extension-tool is deprecated, use gnome-extensions instead

This happens on Ubuntu 20.04.1 LTS, version of package gnome-shell is 3.36.4

% apt-cache policy gnome-shell
gnome-shell:
  Installed: 3.36.4-1ubuntu1~20.04.2

Sadly I'm not really able to solve this myself. But it seems that the makefile should use the mentioned gnome-extensions to create and install the extension. See help pages:

% gnome-extensions create --help
gnome-extensions: Unknown option --help

Usage:
  gnome-extensions create [OPTION…]

Create a new extension

Options:
  --uuid=UUID                   The unique identifier of the new extension
  --name=NAME                   The user-visible name of the new extension
  --description=DESCRIPTION     A short description of what the extension does
  -i, --interactive             Enter extension information interactively

and

 gnome-extensions install --help
 gnome-extensions: Unknown option --help
 
 Usage:
   gnome-extensions install [OPTION…] EXTENSION_BUNDLE
 
 Install an extension bundle
 
 Options:
   -f, --force             Overwrite an existing extension
da2x commented

I’ve been using a virtual machine frozen just before displaying GNOME. It reads extensions from a shared directory with the host OS. It’s a horrible solution, but that’s GNOME development for you.

I had started this comment before your reply, and then forgotten it. So for completeness' sake:
Indeed there ist a gnome bug that reloading extensions does not work.
The bug is set to WONTFIX "as there's currently no idea how the required support in gjs could be implemented".

So what to do with the makefile, then? Removing the install target altogether seems to much.
So maybe just remove the reloading command? Possibly write to console that reloading does not work and reference this issue?

And what about using shell-extensions for creating and installing the extension?