diff options
author | Richard Hughes <richard@hughsie.com> | 2015-04-01 19:32:00 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-04-01 19:32:04 +0100 |
commit | cdee74d2335675eb3519a361d015553068179d44 (patch) | |
tree | 8e120fc9c50c7eef20c4b26ff34d7e76fb788a58 /client/as-builder.c | |
parent | 1c44250ca6cf5aad7cace691dc56cc4ed7170e5b (diff) | |
download | appstream-glib-cdee74d2335675eb3519a361d015553068179d44.tar.gz |
Remove --extra-appstream from the builder
There is no need to merge these into one file as we can just install the other
AppStream files manually.
Diffstat (limited to 'client/as-builder.c')
-rw-r--r-- | client/as-builder.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/client/as-builder.c b/client/as-builder.c index 1f3f1cb..a46cf68 100644 --- a/client/as-builder.c +++ b/client/as-builder.c @@ -147,7 +147,6 @@ main (int argc, char **argv) _cleanup_free_ gchar *basename = NULL; _cleanup_free_ gchar *cache_dir = NULL; _cleanup_free_ gchar *extra_appdata = NULL; - _cleanup_free_ gchar *extra_appstream = NULL; _cleanup_free_ gchar *extra_screenshots = NULL; _cleanup_free_ gchar *log_dir = NULL; _cleanup_free_ gchar *icons_dir = NULL; @@ -199,9 +198,6 @@ main (int argc, char **argv) { "temp-dir", '\0', 0, G_OPTION_ARG_FILENAME, &temp_dir, /* TRANSLATORS: command line option */ _("Set the temporary directory"), "DIR" }, - { "extra-appstream-dir", '\0', 0, G_OPTION_ARG_FILENAME, &extra_appstream, - /* TRANSLATORS: command line option */ - _("Use extra appstream data"), "DIR" }, { "extra-appdata-dir", '\0', 0, G_OPTION_ARG_FILENAME, &extra_appdata, /* TRANSLATORS: command line option */ _("Use extra appdata data"), "DIR" }, @@ -293,8 +289,6 @@ main (int argc, char **argv) origin = g_strdup ("example"); if (screenshot_uri == NULL) screenshot_uri = g_strdup ("http://www.example.com/screenshots/"); - if (extra_appstream == NULL) - extra_appstream = g_strdup ("./appstream-extra"); if (extra_appdata == NULL) extra_appdata = g_strdup ("./appdata-extra"); if (extra_screenshots == NULL) @@ -304,7 +298,6 @@ main (int argc, char **argv) ctx = asb_context_new (); asb_context_set_api_version (ctx, api_version); asb_context_set_old_metadata (ctx, old_metadata); - asb_context_set_extra_appstream (ctx, extra_appstream); asb_context_set_extra_appdata (ctx, extra_appdata); asb_context_set_extra_screenshots (ctx, extra_screenshots); asb_context_set_screenshot_uri (ctx, screenshot_uri); |