builder: Set the new extension properties

Set autodelete=true on locale and debug extensions.
Set no-autodownload=true on debug extensions.
Thats what will happen anyway, but its nice to be explicit.

Also, remove subdirectories=true on the locale extensions, as
we're not using that anymore.
tingping/wmclass
Alexander Larsson 2016-06-30 16:53:01 +02:00
parent 5ab628d0ee
commit eaeb132a5a
1 changed files with 5 additions and 3 deletions

View File

@ -1777,7 +1777,7 @@ builder_manifest_finish (BuilderManifest *self,
extension_contents = g_strdup_printf ("\n"
"[Extension %s.Locale]\n"
"directory=%s\n"
"subdirectories=true\n",
"autodelete=true\n",
self->id,
LOCALES_SEPARATE_DIR);
@ -1816,7 +1816,9 @@ builder_manifest_finish (BuilderManifest *self,
extension_contents = g_strdup_printf ("\n"
"[Extension %s.Debug]\n"
"directory=lib/debug\n",
"directory=lib/debug\n"
"autodelete=true\n"
"no-autodownload=true\n",
self->id);
output = g_file_append_to (metadata_file, G_FILE_CREATE_NONE, NULL, error);
@ -2039,7 +2041,7 @@ builder_manifest_create_platform (BuilderManifest *self,
extension_contents = g_strdup_printf ("\n"
"[Extension %s.Locale]\n"
"directory=%s\n"
"subdirectories=true\n",
"autodelete=true\n",
self->id_platform,
LOCALES_SEPARATE_DIR);