Commit Graph

5 Commits

Author SHA1 Message Date
Giovanni Campagna
e2a76b665a Convenience: relicense to BSD
This module is meant to be a copy-lib, and it is used all over the
place (including GPLv3, LGPL or BSD licensed extensions). I don't
want to block an extension for license incompatibility.

The rest of the repository is still GPLv2, as it is the tarball
distribution and individual extensions downloaded from the website.
2012-08-06 23:44:27 +02:00
Giovanni Campagna
7b3650fb68 convenience: use recursive lookup for schemas
If the schema is not found in the extension directory, fall back
to the default source, allowing for systemwide installation of
extensions.
2012-02-24 11:23:59 +01:00
Giovanni Campagna
a4fac964dc convenience: allow system-wide installation again
Check if necessary files are installed in the extension folder
(as done by "make zip-file"), and if not, fallback to the standard
paths.
2012-02-13 18:55:15 +01:00
Giovanni Campagna
7517d8ab6a convenience: update for the new extension API
Extension helper and metadata are now different objects, so the
first needs be retrieved from ExtensionUtils.
Also, reduce the number of required arguments (by using the new
metadata keys) and make generic enough for usage by other extensions.
Includes documentation.
2012-02-09 18:43:25 +01:00
Giovanni Campagna
c5d79240fd Introduce a convenience module for initialization
Common code for retrieving translations and GSettings schemas has
been factored out into lib/convenience.js, which is part of
every extension installation.
Since that code relies on renames done at zip file creation time,
extensions can no longer be installed with "make install". Instead,
one should create the zip file and install it with the tweak-tool.
There is also a bash script, local-install.sh, that will install
everything in zip-files.
Also, since the GSettingsSchemaSource code is not yet in a stable
GLib release, extensions using GSettings have seen their stable
shell version removed.
2011-11-19 16:54:20 +01:00