all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 500+ Gnome-shell-extensions - how to handle?
@ 2018-12-13 12:15 swedebugia
  0 siblings, 0 replies; only message in thread
From: swedebugia @ 2018-12-13 12:15 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2355 bytes --]

Hi people

How do we best handle gnome-shell-extensions?

They seem needing to be registered via gsettings (see example in the 
install.sh attached) so a service for exporting the installed extensions 
seems necessary.

So in a config we would specify:
(shell-extension-service-type =>
		(inherit config)
		(extensions
			(list (cpufreq-konkor
				...)))))

Things to ponder:
- what naming scheme?
- new importer for extensions?
- new build-system parsing the metadata.json?

Sum up of findings:
- 90% of the extensions had a link to a github repository and had a 
license clearly specified there.
- No license information on https://extensions.gnome.org (not suitable 
for import in my view)
- No dependencies found for extensions (they don't depend on each other)
- No need to support gnome-shell-js install via browser
- gse (gnome-shell-extensions) proposed as a prefix for these packages.
- author as they appear on https://extensions.gnome.org proposed as suffix.

------
NAMING:
What do we call them?
e.g. https://extensions.gnome.org/extension/1082/cpufreq/ "by konkor"
https://github.com/konkor/cpufreq -> gse-cpufreq-konkor?

as opposed to this one
https://extensions.gnome.org/extension/47/cpu-frequency/ "by ojo"
https://github.com/azdyb/gnome-shell-extension-cpufreq/tree/master/cpufreq%40zdyb.tk 
-> gst-cpufreq-ojo?

In the attached install.sh. There gse-cpufreq-konkor is listed with a 
UUID as "cpufreq@konkor" (from 
https://github.com/konkor/cpufreq/blob/master/install.sh)

-----------------
Here is an example without an install script (which seems to be a common 
case):

cpupower:
https://github.com/martin31821/cpupower

There is a 
https://github.com/martin31821/cpupower/blob/master/metadata.json with 
the following information:

{
	"localedir":"/usr/local/share/locale",
	"shell-version": [
		"3.10", "3.12", "3.14", "3.16", "3.18", "3.20", "3.22", "3.24", "3.26"
	],
	"uuid": "cpupower@mko-sl.de",
	"name": "CPU Power Manager",
	"url": "https://github.com/martin31821/cpupower",
	"description": "Manage Intel_pstate CPU Frequency scaling driver",
	"schema": "org.gnome.shell.extensions.cpupower"
}

Based on this I guess we could import gnome-shell-extensions by pointing 
to the git-repository of them. Those without a git repository are not 
free because the source is not available...

Any thoughts?

-- 
Cheers
Swedebugia

[-- Attachment #2: install.sh --]
[-- Type: application/x-shellscript, Size: 1767 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-13 12:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-13 12:15 500+ Gnome-shell-extensions - how to handle? swedebugia

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.