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:
+6
-1
@@ -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(
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user