build: Include UUID suffix in classic mode description

The shortnames we use elsewhere don't match the actual UUID, so we
effectively don't enable any extensions in classic mode at the moment.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/45
This commit is contained in:
Florian Müllner
2018-01-17 19:04:48 +01:00
parent f5c69cbfdc
commit eba3cfccfe
3 changed files with 9 additions and 2 deletions
+6 -1
View File
@@ -13,8 +13,13 @@ foreach s : sessions
)
endforeach
classic_uuids = []
foreach e : classic_extensions
classic_uuids += e + uuid_suffix
endforeach
mode_conf = configuration_data()
mode_conf.set('CLASSIC_EXTENSIONS', '"' + '", "'.join(classic_extensions) + '"')
mode_conf.set('CLASSIC_EXTENSIONS', '"' + '", "'.join(classic_uuids) + '"')
mode_file = 'classic.json'
configure_file(
+1 -1
View File
@@ -4,7 +4,7 @@ js_sources = extensionlib
metadata_name = 'metadata.json'
foreach e : all_extensions
uuid = e + '@gnome-shell-extensions.gcampax.github.com'
uuid = e + uuid_suffix
metadata_conf = configuration_data()
metadata_conf.set('extension_id', e)
+2
View File
@@ -32,6 +32,8 @@ else
shell_version = '.'.join(ver_arr)
endif
uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
classic_extensions = [
'alternate-tab',
'apps-menu',