Hello community,
here is the log from the commit of package appstream-glib for openSUSE:Factory checked in at 2017-11-01 11:08:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/appstream-glib (Old)
and /work/SRC/openSUSE:Factory/.appstream-glib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "appstream-glib"
Wed Nov 1 11:08:52 2017 rev:53 rq:537525 version:0.7.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/appstream-glib/appstream-glib.changes 2017-09-15 15:12:39.421469777 +0200
+++ /work/SRC/openSUSE:Factory/.appstream-glib.new/appstream-glib.changes 2017-11-01 11:08:52.055462422 +0100
@@ -1,0 +2,17 @@
+Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org
+
+- Update to version 0.7.3:
+ + Add support for URL launchable types
+ + Prefer /usr/share/metainfo as default path for metainfo files
+ + Do not assign "flatpak" as an app's origin when no origin was
+ found.
+ + Add as_app_get_release_by_version().
+ + lib/app-validate: Fix typo in variable name.
+ + Write XML for newer AppStream specification versions.
+ + Add as_app_get_screenshot_default().
+ + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version
+ strings.
+ + Add new launchable types from the 0.11 series of the spec.
+ + Fix the inode mode to be sane on extracted files.
+
+-------------------------------------------------------------------
Old:
----
appstream-glib-0.7.2.tar.xz
New:
----
appstream-glib-0.7.3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ appstream-glib.spec ++++++
--- /var/tmp/diff_new_pack.yStoum/_old 2017-11-01 11:08:52.643440944 +0100
+++ /var/tmp/diff_new_pack.yStoum/_new 2017-11-01 11:08:52.647440799 +0100
@@ -19,7 +19,7 @@
%define _build_from_vcs 1
Name: appstream-glib
-Version: 0.7.2
+Version: 0.7.3
Release: 0
Summary: AppStream Abstraction Library
License: LGPL-2.1+ AND GPL-2.0+
++++++ _service ++++++
--- /var/tmp/diff_new_pack.yStoum/_old 2017-11-01 11:08:52.687439337 +0100
+++ /var/tmp/diff_new_pack.yStoum/_new 2017-11-01 11:08:52.687439337 +0100
@@ -2,9 +2,9 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
<param name="scm">git</param>
- <param name="versionformat">0.7.2</param>
+ <param name="versionformat">0.7.3</param>
<param name="changesgenerate">enable</param>
- <param name="revision">refs/tags/appstream_glib_0_7_2</param>
+ <param name="revision">refs/tags/appstream_glib_0_7_3</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.yStoum/_old 2017-11-01 11:08:52.703438753 +0100
+++ /var/tmp/diff_new_pack.yStoum/_new 2017-11-01 11:08:52.707438606 +0100
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
- <param name="changesrevision">6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">9783a5357a33d4eb945eba9f2b9a4da4535a46e9</param></service></servicedata>
\ No newline at end of file
++++++ appstream-glib-0.7.2.tar.xz -> appstream-glib-0.7.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/NEWS new/appstream-glib-0.7.3/NEWS
--- old/appstream-glib-0.7.2/NEWS 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/NEWS 2017-10-23 17:28:28.000000000 +0200
@@ -1,3 +1,19 @@
+Version 0.7.3
+~~~~~~~~~~~~~~
+Released: 2017-10-23
+
+New Features:
+ - Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version strings (Richard Hughes)
+ - Add as_app_get_release_by_version() (Richard Hughes)
+ - Add as_app_get_screenshot_default() (Richard Hughes)
+ - Add new launchable types (Marius Vollmer, Richard Hughes)
+
+Bugfixes:
+ - Do not assign "flatpak" as an app's origin when no origin was found (Joaquim Rocha)
+ - Fix the inode mode to be sane on extracted files (Richard Hughes)
+ - Prefer /usr/share/metainfo as default path for metainfo files (Jeremy Bicha)
+ - Write XML for newer AppStream specification versions (Richard Hughes)
+
Version 0.7.2
~~~~~~~~~~~~~~
Released: 2017-08-21
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/RELEASE new/appstream-glib-0.7.3/RELEASE
--- old/appstream-glib-0.7.2/RELEASE 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/RELEASE 2017-10-23 17:28:28.000000000 +0200
@@ -2,10 +2,10 @@
1. Write NEWS entries for appstream_glib in the same format as usual.
-git shortlog appstream_glib_0_7_1.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog appstream_glib_0_7_2.. | grep -i -v trivial | grep -v Merge > NEWS.new
--------------------------------------------------------------------------------
-Version 0.7.2
+Version 0.7.3
~~~~~~~~~~~~~~
Released: 2017-xx-xx
@@ -27,8 +27,8 @@
4. Commit changes in git:
-git commit -a -m "Release version 0.7.2"
-git tag -s -f -m "Release 0.7.2" appstream_glib_0_7_2
+git commit -a -m "Release version 0.7.3"
+git tag -s -f -m "Release 0.7.3" appstream_glib_0_7_3
<gpg password>
git push --tags
git push
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/data/appstream-xml.m4 new/appstream-glib-0.7.3/data/appstream-xml.m4
--- old/appstream-glib-0.7.2/data/appstream-xml.m4 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/data/appstream-xml.m4 2017-10-23 17:28:28.000000000 +0200
@@ -36,7 +36,7 @@
AS_IF([test "x$enable_appstream_validate" = "xyes"],
[AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])])
- AC_SUBST([appstreamxmldir], [${datadir}/appdata])
+ AC_SUBST([appstreamxmldir], [${datadir}/metainfo])
APPSTREAM_XML_RULES='
.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/data/installed-tests/meson.build new/appstream-glib-0.7.3/data/installed-tests/meson.build
--- old/appstream-glib-0.7.2/data/installed-tests/meson.build 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/data/installed-tests/meson.build 2017-10-23 17:28:28.000000000 +0200
@@ -1,14 +1,21 @@
+# replace @bindir@ and @datadir@
+con2 = configuration_data()
+con2.set('bindir', join_paths(get_option('prefix'),
+ get_option('bindir')))
+con2.set('datadir', join_paths(get_option('prefix'),
+ get_option('datadir')))
+
configure_file(
input : 'appdata-validate.test.in',
output : 'appdata-validate.test',
- configuration : conf,
+ configuration : con2,
install: true,
install_dir: join_paths('share', 'installed-tests', 'appstream-glib'),
)
configure_file(
input : 'destdir-check.test.in',
output : 'destdir-check.test',
- configuration : conf,
+ configuration : con2,
install: true,
install_dir: join_paths('share', 'installed-tests', 'appstream-glib'),
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-builder/asb-self-test.c new/appstream-glib-0.7.3/libappstream-builder/asb-self-test.c
--- old/appstream-glib-0.7.2/libappstream-builder/asb-self-test.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-builder/asb-self-test.c 2017-10-23 17:28:28.000000000 +0200
@@ -491,6 +491,7 @@
"<provides>\n"
"org.freedesktop.AppStream</dbus>\n"
"</provides>\n"
+ "app.desktop</launchable>\n"
"<languages>\n"
"en_GB</lang>\n"
"ru</lang>\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-builder/asb-utils.c new/appstream-glib-0.7.3/libappstream-builder/asb-utils.c
--- old/appstream-glib-0.7.2/libappstream-builder/asb-utils.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-builder/asb-utils.c 2017-10-23 17:28:28.000000000 +0200
@@ -411,6 +411,7 @@
valid = asb_utils_explode_file (entry, dir);
if (!valid)
continue;
+ archive_entry_set_mode (entry, S_IRGRP | S_IWGRP | S_IRUSR | S_IWUSR);
r = archive_read_extract (arch, entry, 0);
if (r != ARCHIVE_OK) {
ret = FALSE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-app-validate.c new/appstream-glib-0.7.3/libappstream-glib/as-app-validate.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-app-validate.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-app-validate.c 2017-10-23 17:28:28.000000000 +0200
@@ -1141,7 +1141,7 @@
const gchar *summary;
const gchar *tmp;
const gchar *update_contact;
- gboolean deprectated_failure = FALSE;
+ gboolean deprecated_failure = FALSE;
gboolean require_appstream_spec_only = FALSE;
gboolean require_contactdetails = TRUE;
gboolean require_copyright = FALSE;
@@ -1200,7 +1200,7 @@
/* make the requirements more strict */
if ((flags & AS_APP_VALIDATE_FLAG_STRICT) > 0) {
- deprectated_failure = TRUE;
+ deprecated_failure = TRUE;
require_copyright = TRUE;
require_translations = TRUE;
require_project_license = TRUE;
@@ -1375,7 +1375,7 @@
AS_PROBLEM_KIND_VALUE_MISSING,
"<!-- Copyright [year] [name] --> is not present");
}
- if (deprectated_failure &&
+ if (deprecated_failure &&
(problems & AS_APP_PROBLEM_UPDATECONTACT_FALLBACK) > 0) {
ai_app_validate_add (helper,
AS_PROBLEM_KIND_TAG_INVALID,
@@ -1635,7 +1635,7 @@
}
/* using deprecated names */
- if (deprectated_failure && (problems & AS_APP_PROBLEM_DEPRECATED_LICENCE) > 0) {
+ if (deprecated_failure && (problems & AS_APP_PROBLEM_DEPRECATED_LICENCE) > 0) {
ai_app_validate_add (helper,
AS_PROBLEM_KIND_ATTRIBUTE_INVALID,
"<licence> is deprecated, use "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-app.c new/appstream-glib-0.7.3/libappstream-glib/as-app.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-app.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-app.c 2017-10-23 17:28:28.000000000 +0200
@@ -1120,6 +1120,29 @@
}
/**
+ * as_app_get_release_by_version:
+ * @app: a #AsApp instance.
+ * @version: a release version number, e.g. "1.2.3"
+ *
+ * Gets a specific release from the application.
+ *
+ * Returns: (transfer none): a release, or %NULL
+ *
+ * Since: 0.7.3
+ **/
+AsRelease *
+as_app_get_release_by_version (AsApp *app, const gchar *version)
+{
+ AsAppPrivate *priv = GET_PRIVATE (app);
+ for (guint i = 0; i < priv->releases->len; i++) {
+ AsRelease *release_tmp = g_ptr_array_index (priv->releases, i);
+ if (g_strcmp0 (version, as_release_get_version (release_tmp)) == 0)
+ return release_tmp;
+ }
+ return NULL;
+}
+
+/**
* as_app_get_provides:
* @app: a #AsApp instance.
*
@@ -1215,6 +1238,25 @@
}
/**
+ * as_app_get_screenshot_default:
+ * @app: a #AsApp instance.
+ *
+ * Gets the default screenshot for the component.
+ *
+ * Returns: (transfer none): a screenshot or %NULL
+ *
+ * Since: 0.7.3
+ **/
+AsScreenshot *
+as_app_get_screenshot_default (AsApp *app)
+{
+ AsAppPrivate *priv = GET_PRIVATE (app);
+ if (priv->screenshots->len == 0)
+ return NULL;
+ return AS_SCREENSHOT (g_ptr_array_index (priv->screenshots, 0));
+}
+
+/**
* as_app_get_reviews:
* @app: a #AsApp instance.
*
@@ -4612,7 +4654,7 @@
}
/* <launchables> */
- if (priv->launchables->len > 0 && as_node_context_get_version (ctx) > 0.9) {
+ if (priv->launchables->len > 0) {
g_ptr_array_sort (priv->launchables, as_app_launchables_sort_cb);
for (i = 0; i < priv->launchables->len; i++) {
AsLaunchable *launchable = g_ptr_array_index (priv->launchables, i);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-app.h new/appstream-glib-0.7.3/libappstream-glib/as-app.h
--- old/appstream-glib-0.7.2/libappstream-glib/as-app.h 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-app.h 2017-10-23 17:28:28.000000000 +0200
@@ -705,6 +705,7 @@
GError **error);
AsContentRating *as_app_get_content_rating (AsApp *app,
const gchar *kind);
+AsScreenshot *as_app_get_screenshot_default (AsApp *app);
AsIcon *as_app_get_icon_default (AsApp *app);
AsIcon *as_app_get_icon_for_size (AsApp *app,
guint width,
@@ -713,6 +714,8 @@
AsRelease *as_app_get_release (AsApp *app,
const gchar *version);
AsRelease *as_app_get_release_default (AsApp *app);
+AsRelease *as_app_get_release_by_version (AsApp *app,
+ const gchar *version);
AsRequire *as_app_get_require_by_value (AsApp *app,
AsRequireKind kind,
const gchar *value);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-icon.c new/appstream-glib-0.7.3/libappstream-glib/as-icon.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-icon.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-icon.c 2017-10-23 17:28:28.000000000 +0200
@@ -513,11 +513,9 @@
n = as_node_insert (parent, "icon", NULL, 0,
"type", as_icon_kind_to_string (priv->kind),
NULL);
- if (as_node_context_get_version (ctx) >= 0.8) {
- as_node_add_attribute_as_uint (n, "width", priv->width);
- as_node_add_attribute_as_uint (n, "height", priv->height);
- }
- if (priv->scale > 1 && as_node_context_get_version (ctx) > 0.9)
+ as_node_add_attribute_as_uint (n, "width", priv->width);
+ as_node_add_attribute_as_uint (n, "height", priv->height);
+ if (priv->scale > 1)
as_node_add_attribute_as_uint (n, "scale", priv->scale);
as_node_insert (n, "name", priv->name, 0, NULL);
data = g_base64_encode (g_bytes_get_data (priv->data, NULL),
@@ -575,8 +573,7 @@
}
break;
}
- if (priv->kind == AS_ICON_KIND_CACHED &&
- as_node_context_get_version (ctx) >= 0.8) {
+ if (priv->kind == AS_ICON_KIND_CACHED) {
if (priv->width > 0)
as_node_add_attribute_as_uint (n, "width", priv->width);
if (priv->height > 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-launchable.c new/appstream-glib-0.7.3/libappstream-glib/as-launchable.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-launchable.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-launchable.c 2017-10-23 17:28:28.000000000 +0200
@@ -90,6 +90,12 @@
{
if (g_strcmp0 (kind, "desktop-id") == 0)
return AS_LAUNCHABLE_KIND_DESKTOP_ID;
+ if (g_strcmp0 (kind, "service") == 0)
+ return AS_LAUNCHABLE_KIND_SERVICE;
+ if (g_strcmp0 (kind, "cockpit-manifest") == 0)
+ return AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST;
+ if (g_strcmp0 (kind, "url") == 0)
+ return AS_LAUNCHABLE_KIND_URL;
return AS_LAUNCHABLE_KIND_UNKNOWN;
}
@@ -108,6 +114,12 @@
{
if (kind == AS_LAUNCHABLE_KIND_DESKTOP_ID)
return "desktop-id";
+ if (kind == AS_LAUNCHABLE_KIND_SERVICE)
+ return "service";
+ if (kind == AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST)
+ return "cockpit-manifest";
+ if (kind == AS_LAUNCHABLE_KIND_URL)
+ return "url";
return NULL;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-launchable.h new/appstream-glib-0.7.3/libappstream-glib/as-launchable.h
--- old/appstream-glib-0.7.2/libappstream-glib/as-launchable.h 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-launchable.h 2017-10-23 17:28:28.000000000 +0200
@@ -51,12 +51,18 @@
* AsLaunchableKind:
* @AS_LAUNCHABLE_KIND_UNKNOWN: Type invalid or not known
* @AS_LAUNCHABLE_KIND_DESKTOP_ID: A desktop ID
+ * @AS_LAUNCHABLE_KIND_SERVICE: A system service
+ * @AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST: A manifest run by the cockpit project
+ * @AS_LAUNCHABLE_KIND_URL: A web-app
*
* The launchable type.
**/
typedef enum {
AS_LAUNCHABLE_KIND_UNKNOWN,
AS_LAUNCHABLE_KIND_DESKTOP_ID, /* Since: 0.6.13 */
+ AS_LAUNCHABLE_KIND_SERVICE, /* Since: 0.7.3 */
+ AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST, /* Since: 0.7.3 */
+ AS_LAUNCHABLE_KIND_URL, /* Since: 0.7.3 */
/*< private >*/
AS_LAUNCHABLE_KIND_LAST
} AsLaunchableKind;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-markup.c new/appstream-glib-0.7.3/libappstream-glib/as-markup.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-markup.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-markup.c 2017-10-23 17:28:28.000000000 +0200
@@ -192,13 +192,14 @@
static void
as_markup_import_html_erase (GString *str, const gchar *start, const gchar *end)
{
- gssize i, j;
gssize start_len = (gssize) strlen (start);
gssize end_len = (gssize) strlen (end);
- for (i = 0; str->str[i] != '\0'; i++) {
+ if (start_len + end_len > str->len)
+ return;
+ for (gssize i = 0; i < str->len - start_len; i++) {
if (memcmp (&str->str[i], start, (gsize) start_len) != 0)
continue;
- for (j = i; i < (gssize) str->len; j++) {
+ for (gssize j = i; i < (gssize) str->len; j++) {
if (memcmp (&str->str[j], end, (gsize) end_len) != 0)
continue;
/* delete this section and restart the search */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-release.c new/appstream-glib-0.7.3/libappstream-glib/as-release.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-release.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-release.c 2017-10-23 17:28:28.000000000 +0200
@@ -645,7 +645,6 @@
AsReleasePrivate *priv = GET_PRIVATE (release);
AsChecksum *checksum;
GNode *n;
- guint i;
n = as_node_insert (parent, "release", NULL,
AS_NODE_INSERT_FLAG_NONE,
@@ -667,19 +666,16 @@
}
if (priv->version != NULL)
as_node_add_attribute (n, "version", priv->version);
- if (as_node_context_get_version (ctx) >= 0.9) {
- const gchar *tmp;
- for (i = 0; priv->locations != NULL && i < priv->locations->len; i++) {
- tmp = g_ptr_array_index (priv->locations, i);
- as_node_insert (n, "location", tmp,
- AS_NODE_INSERT_FLAG_NONE, NULL);
- }
- for (i = 0; priv->checksums != NULL && i < priv->checksums->len; i++) {
- checksum = g_ptr_array_index (priv->checksums, i);
- as_checksum_node_insert (checksum, n, ctx);
- }
+ for (guint i = 0; priv->locations != NULL && i < priv->locations->len; i++) {
+ const gchar *tmp = g_ptr_array_index (priv->locations, i);
+ as_node_insert (n, "location", tmp,
+ AS_NODE_INSERT_FLAG_NONE, NULL);
}
- if (priv->descriptions != NULL && as_node_context_get_version (ctx) >= 0.6) {
+ for (guint i = 0; priv->checksums != NULL && i < priv->checksums->len; i++) {
+ checksum = g_ptr_array_index (priv->checksums, i);
+ as_checksum_node_insert (checksum, n, ctx);
+ }
+ if (priv->descriptions != NULL) {
as_node_insert_localized (n, "description", priv->descriptions,
AS_NODE_INSERT_FLAG_PRE_ESCAPED |
AS_NODE_INSERT_FLAG_DEDUPE_LANG);
@@ -687,7 +683,7 @@
/* add sizes */
if (priv->sizes != NULL) {
- for (i = 0; i < AS_SIZE_KIND_LAST; i++) {
+ for (guint i = 0; i < AS_SIZE_KIND_LAST; i++) {
g_autofree gchar *size_str = NULL;
if (priv->sizes[i] == 0)
continue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-screenshot.c new/appstream-glib-0.7.3/libappstream-glib/as-screenshot.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-screenshot.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-screenshot.c 2017-10-23 17:28:28.000000000 +0200
@@ -436,15 +436,13 @@
as_node_add_attribute (n, "type",
as_screenshot_kind_to_string (priv->kind));
}
- if (as_node_context_get_version (ctx) >= 0.41) {
- if (priv->captions != NULL) {
- as_node_insert_localized (n,
- "caption",
- priv->captions,
- AS_NODE_INSERT_FLAG_DEDUPE_LANG);
- }
+ if (priv->captions != NULL) {
+ as_node_insert_localized (n,
+ "caption",
+ priv->captions,
+ AS_NODE_INSERT_FLAG_DEDUPE_LANG);
}
- if (as_node_context_get_version (ctx) >= 0.8 && priv->priority != 0)
+ if (priv->priority != 0)
as_node_add_attribute_as_int (n, "priority", priv->priority);
for (i = 0; i < priv->images->len; i++) {
image = g_ptr_array_index (priv->images, i);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-self-test.c new/appstream-glib-0.7.3/libappstream-glib/as-self-test.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-self-test.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-self-test.c 2017-10-23 17:28:28.000000000 +0200
@@ -968,7 +968,7 @@
as_node_context_set_version (ctx, 0.4);
n = as_icon_node_insert (icon, root, ctx);
xml = as_node_to_xml (n, AS_NODE_TO_XML_FLAG_NONE);
- ret = as_test_compare_lines (xml->str, src, &error);
+ ret = as_test_compare_lines (xml->str, "app.png</icon>", &error);
g_assert_no_error (error);
g_assert (ret);
g_string_free (xml, TRUE);
@@ -1098,7 +1098,7 @@
AsNode *root;
GString *xml;
const gchar *src =
-"<name>app.png</name>"
+"<name>app.png</name>"
"<filecontent>\n"
"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJ\n"
"TUUH1gsaCxQZBldDDAAACLxJREFUWIW9lmtsHNUVx/8zd3Zm9uFd73ptZ/3Gid+OoUlwyAscSJw4\n"
@@ -1828,6 +1828,11 @@
g_assert (rel != NULL);
g_assert_cmpstr (as_release_get_version (rel), ==, "3.11.91");
+ /* check specific release */
+ rel = as_app_get_release_by_version (app, "3.11.91");
+ g_assert (rel != NULL);
+ g_assert_cmpstr (as_release_get_version (rel), ==, "3.11.91");
+
/* check icons */
icons = as_app_get_icons (app);
g_assert (icons != NULL);
@@ -1991,7 +1996,7 @@
/* check screenshots were loaded */
screenshots = as_app_get_screenshots (app);
g_assert_cmpint (screenshots->len, ==, 1);
- ss = g_ptr_array_index (screenshots, 0);
+ ss = as_app_get_screenshot_default (app);
g_assert_cmpint (as_screenshot_get_kind (ss), ==, AS_SCREENSHOT_KIND_DEFAULT);
images = as_screenshot_get_images (ss);
g_assert_cmpint (images->len, ==, 1);
@@ -2460,6 +2465,7 @@
"\n"
"<id>org.gnome.Software.desktop</id>\n"
"<description>Software is awesome:\n\n * Bada\n * Boom!</description>\n"
+ "org.gnome.Software.desktop</launchable>\n"
"</component>\n";
g_autoptr(AsNodeContext) ctx = NULL;
g_autoptr(AsApp) app = NULL;
@@ -3033,7 +3039,7 @@
"<id>eog.desktop</id>"
"<pkgname>eog</pkgname>"
"<name>Image Viewer</name>"
-""
+""
"<name>eog.png</name>"
"<filecontent>\n"
"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJ\n"
@@ -3079,6 +3085,7 @@
"xxVXYLZ16ADU690D3JzxXLG581caBWBep/71278AZpn8hFce4VcAAAAASUVORK5CYII=\n"
"</filecontent>"
"</icon>"
+"eog.desktop</launchable>"
"</component>"
"</components>";
@@ -3904,30 +3911,12 @@
"<description><p>Hello</p></description>\n"
"</release>\n"
"</releases>\n"
+ "test.desktop</launchable>\n"
"</component>\n"
"</components>\n", &error);
g_assert_no_error (error);
g_assert (ret);
g_string_free (xml, TRUE);
-
- /* test with legacy options */
- as_store_set_api_version (store, 0.6);
- xml = as_store_to_xml (store, 0);
- g_assert_cmpstr (xml->str, ==,
- ""
- ""
- "<id>test.desktop</id>"
- "<description><p>Hello world</p></description>"
- "<architectures><arch>i386</arch></architectures>"
- "<releases>"
- ""
- "<description><p>Hello</p></description>"
- "</release>"
- "</releases>"
- "</component>"
- "</components>");
- g_string_free (xml, TRUE);
-
g_object_unref (store);
/* load a version 0.6 file to the store */
@@ -3947,6 +3936,7 @@
""
""
"<id>test.desktop</id>"
+ "test.desktop</launchable>"
"</component>"
"</components>");
g_string_free (xml, TRUE);
@@ -3972,6 +3962,7 @@
"</component>"
""
"<id>eclipse.desktop</id>"
+ "eclipse.desktop</launchable>"
"</component>"
"</components>";
g_autoptr(AsStore) store = NULL;
@@ -4054,6 +4045,7 @@
""
"<id>test.desktop</id>"
"<name>Krita</name>"
+ "test.desktop</launchable>"
"</component>");
g_string_free (xml, TRUE);
as_node_unref (root);
@@ -4592,6 +4584,19 @@
{ 0, NULL }
};
struct {
+ guint16 val;
+ const gchar *ver;
+ AsVersionParseFlag flags;
+ } version_from_uint16[] = {
+ { 0x0, "0.0", AS_VERSION_PARSE_FLAG_NONE },
+ { 0xff, "0.255", AS_VERSION_PARSE_FLAG_NONE },
+ { 0xff01, "255.1", AS_VERSION_PARSE_FLAG_NONE },
+ { 0x0, "0.0", AS_VERSION_PARSE_FLAG_USE_BCD },
+ { 0x0110, "1.10", AS_VERSION_PARSE_FLAG_USE_BCD },
+ { 0x9999, "99.99", AS_VERSION_PARSE_FLAG_USE_BCD },
+ { 0, NULL }
+ };
+ struct {
const gchar *old;
const gchar *new;
} version_parse[] = {
@@ -4614,6 +4619,12 @@
version_from_uint32[i].flags);
g_assert_cmpstr (ver, ==, version_from_uint32[i].ver);
}
+ for (i = 0; version_from_uint16[i].ver != NULL; i++) {
+ g_autofree gchar *ver = NULL;
+ ver = as_utils_version_from_uint16 (version_from_uint16[i].val,
+ version_from_uint16[i].flags);
+ g_assert_cmpstr (ver, ==, version_from_uint16[i].ver);
+ }
/* check version parsing */
for (i = 0; version_parse[i].old != NULL; i++) {
@@ -4863,7 +4874,7 @@
"<id>iceweasel.desktop</id>\n"
"<pkgname>iceweasel</pkgname>\n"
"<name>Iceweasel</name>\n"
- "iceweasel.png</icon>\n"
+ "iceweasel.png</icon>\n"
"<keywords>\n"
"<keyword>browser</keyword>\n"
"</keywords>\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-store.c new/appstream-glib-0.7.3/libappstream-glib/as-store.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-store.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-store.c 2017-10-23 17:28:28.000000000 +0200
@@ -1416,6 +1416,7 @@
g_autoptr(AsProfileTask) ptask = NULL;
g_autoptr(AsRefString) icon_path_str = NULL;
g_autoptr(AsRefString) origin_str = NULL;
+ gboolean origin_is_flatpak;
g_return_val_if_fail (AS_IS_STORE (store), FALSE);
@@ -1468,9 +1469,11 @@
}
}
+ origin_is_flatpak = g_strcmp0 (priv->origin, "flatpak") == 0;
+
/* special case flatpak symlinks -- scope:name.xml.gz */
if (origin_app == NULL &&
- g_strcmp0 (priv->origin, "flatpak") == 0 &&
+ origin_is_flatpak &&
source_filename != NULL &&
g_file_test (source_filename, G_FILE_TEST_IS_SYMLINK)) {
g_autofree gchar *source_basename = NULL;
@@ -1497,7 +1500,7 @@
}
/* fallback */
- if (origin_app == NULL) {
+ if (origin_app == NULL && !origin_is_flatpak) {
id_prefix_app = g_strdup (as_app_scope_to_string (scope));
origin_app = g_strdup (priv->origin);
origin_app_icons = g_strdup (priv->origin);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-utils.c new/appstream-glib-0.7.3/libappstream-glib/as-utils.c
--- old/appstream-glib-0.7.2/libappstream-glib/as-utils.c 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-utils.c 2017-10-23 17:28:28.000000000 +0200
@@ -1557,6 +1557,8 @@
(const guint8 *) str, strlen (str), NULL);
}
+#define AS_UTILS_DECODE_BCD(val) ((((val) >> 4) & 0x0f) * 10 + ((val) & 0x0f))
+
/**
* as_utils_version_from_uint32:
* @val: A uint32le version number
@@ -1598,6 +1600,11 @@
gchar *
as_utils_version_from_uint16 (guint16 val, AsVersionParseFlag flags)
{
+ if (flags & AS_VERSION_PARSE_FLAG_USE_BCD) {
+ return g_strdup_printf ("%u.%u",
+ AS_UTILS_DECODE_BCD(val >> 8),
+ AS_UTILS_DECODE_BCD(val));
+ }
return g_strdup_printf ("%u.%u",
(guint) (val >> 8) & 0xff,
(guint) val & 0xff);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/libappstream-glib/as-utils.h new/appstream-glib-0.7.3/libappstream-glib/as-utils.h
--- old/appstream-glib-0.7.2/libappstream-glib/as-utils.h 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/libappstream-glib/as-utils.h 2017-10-23 17:28:28.000000000 +0200
@@ -83,12 +83,14 @@
* AsVersionParseFlag:
* @AS_VERSION_PARSE_FLAG_NONE: No flags set
* @AS_VERSION_PARSE_FLAG_USE_TRIPLET: Use Microsoft-style version numbers
+ * @AS_VERSION_PARSE_FLAG_USE_BCD: Use binary coded decimal notation
*
* The flags used when parsing version numbers.
**/
typedef enum {
AS_VERSION_PARSE_FLAG_NONE = 0,
AS_VERSION_PARSE_FLAG_USE_TRIPLET = 1 << 0,
+ AS_VERSION_PARSE_FLAG_USE_BCD = 1 << 1, /* Since: 0.7.3 */
/*< private >*/
AS_VERSION_PARSE_FLAG_LAST
} AsVersionParseFlag;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/meson.build new/appstream-glib-0.7.3/meson.build
--- old/appstream-glib-0.7.2/meson.build 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/meson.build 2017-10-23 17:28:28.000000000 +0200
@@ -1,5 +1,5 @@
project('appstream-glib', 'c',
- version : '0.7.2',
+ version : '0.7.3',
license : 'LGPL-2.1+',
default_options : ['warning_level=1', 'c_std=c99'],
meson_version : '>=0.37.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/ca.po new/appstream-glib-0.7.3/po/ca.po
--- old/appstream-glib-0.7.2/po/ca.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/ca.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,8 +11,8 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
-"PO-Revision-Date: 2017-02-22 02:11-0500\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
+"PO-Revision-Date: 2017-08-22 05:05-0400\n"
"Last-Translator: Robert Antoni Buj Gelonch \n"
"Language-Team: Catalan (http://www.transifex.com/freedesktop/appstream-glib/language/ca/)\n"
"MIME-Version: 1.0\n"
@@ -434,7 +434,7 @@
#. TRANSLATORS: command description
#: client/as-util.c:4513
msgid "check an installed application"
-msgstr ""
+msgstr "comprova una aplicació instal·lada"
#. TRANSLATORS: command description
#: client/as-util.c:4519
@@ -506,12 +506,12 @@
#. TRANSLATORS: command description
#: client/as-util.c:4597
msgid "Compare version numbers"
-msgstr ""
+msgstr "Compara els números de les versions"
#. TRANSLATORS: command description
#: client/as-util.c:4603
msgid "Test a regular expression"
-msgstr ""
+msgstr "Prova una expressió regular"
#. TRANSLATORS: program name
#: client/as-util.c:4616
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/cs.po new/appstream-glib-0.7.3/po/cs.po
--- old/appstream-glib-0.7.2/po/cs.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/cs.po 2017-10-23 17:28:28.000000000 +0200
@@ -13,7 +13,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-06-26 07:20-0400\n"
"Last-Translator: Daniel Rusek \n"
"Language-Team: Czech (http://www.transifex.com/freedesktop/appstream-glib/language/cs/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/da.po new/appstream-glib-0.7.3/po/da.po
--- old/appstream-glib-0.7.2/po/da.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/da.po 2017-10-23 17:28:28.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 02:59-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Danish (http://www.transifex.com/freedesktop/appstream-glib/language/da/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/de.po new/appstream-glib-0.7.3/po/de.po
--- old/appstream-glib-0.7.2/po/de.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/de.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-09-29 07:16-0400\n"
"Last-Translator: Mario Blättermann \n"
"Language-Team: German (http://www.transifex.com/freedesktop/appstream-glib/language/de/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/en_GB.po new/appstream-glib-0.7.3/po/en_GB.po
--- old/appstream-glib-0.7.2/po/en_GB.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/en_GB.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 02:59-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/freedesktop/appstream-glib/language/en_GB/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/es.po new/appstream-glib-0.7.3/po/es.po
--- old/appstream-glib-0.7.2/po/es.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/es.po 2017-10-23 17:28:28.000000000 +0200
@@ -8,13 +8,14 @@
# Emilio Herrera , 2016. #zanata
# Silvia Sanchez , 2016. #zanata
# William Moreno Reyes , 2016. #zanata
+# Máximo Castañeda Riloba , 2017. #zanata
msgid ""
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
-"PO-Revision-Date: 2016-12-19 07:13-0500\n"
-"Last-Translator: Richard Hughes \n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
+"PO-Revision-Date: 2017-09-12 11:17-0400\n"
+"Last-Translator: Máximo Castañeda Riloba \n"
"Language-Team: Spanish (http://www.transifex.com/freedesktop/appstream-glib/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -434,7 +435,7 @@
#. TRANSLATORS: command description
#: client/as-util.c:4513
msgid "check an installed application"
-msgstr ""
+msgstr "Comprobar una aplicación instalada"
#. TRANSLATORS: command description
#: client/as-util.c:4519
@@ -504,12 +505,12 @@
#. TRANSLATORS: command description
#: client/as-util.c:4597
msgid "Compare version numbers"
-msgstr ""
+msgstr "Compara números de versiones"
#. TRANSLATORS: command description
#: client/as-util.c:4603
msgid "Test a regular expression"
-msgstr ""
+msgstr "Prueba una expresión regular"
#. TRANSLATORS: program name
#: client/as-util.c:4616
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/fi.po new/appstream-glib-0.7.3/po/fi.po
--- old/appstream-glib-0.7.2/po/fi.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/fi.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-03-26 08:23-0400\n"
"Last-Translator: Jiri Grönroos \n"
"Language-Team: Finnish (http://www.transifex.com/freedesktop/appstream-glib/language/fi/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/fr.po new/appstream-glib-0.7.3/po/fr.po
--- old/appstream-glib-0.7.2/po/fr.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/fr.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-04-24 05:43-0400\n"
"Last-Translator: Claude Paroz \n"
"Language-Team: French (http://www.transifex.com/freedesktop/appstream-glib/language/fr/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/gl.po new/appstream-glib-0.7.3/po/gl.po
--- old/appstream-glib-0.7.2/po/gl.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/gl.po 2017-10-23 17:28:28.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 02:59-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Galician (http://www.transifex.com/freedesktop/appstream-glib/language/gl/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/hu.po new/appstream-glib-0.7.3/po/hu.po
--- old/appstream-glib-0.7.2/po/hu.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/hu.po 2017-10-23 17:28:28.000000000 +0200
@@ -13,7 +13,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-07-16 04:07-0400\n"
"Last-Translator: Meskó Balázs \n"
"Language-Team: Hungarian (http://www.transifex.com/freedesktop/appstream-glib/language/hu/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/id.po new/appstream-glib-0.7.3/po/id.po
--- old/appstream-glib-0.7.2/po/id.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/id.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,8 +10,8 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
-"PO-Revision-Date: 2017-02-13 04:52-0500\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
+"PO-Revision-Date: 2017-09-01 05:13-0400\n"
"Last-Translator: Andika Triwidada \n"
"Language-Team: Indonesian (http://www.transifex.com/freedesktop/appstream-glib/language/id/)\n"
"MIME-Version: 1.0\n"
@@ -431,7 +431,7 @@
#. TRANSLATORS: command description
#: client/as-util.c:4513
msgid "check an installed application"
-msgstr ""
+msgstr "memeriksa suatu aplikasi yang terpasang"
#. TRANSLATORS: command description
#: client/as-util.c:4519
@@ -501,12 +501,12 @@
#. TRANSLATORS: command description
#: client/as-util.c:4597
msgid "Compare version numbers"
-msgstr ""
+msgstr "Bandingkan nomor-nomor versi"
#. TRANSLATORS: command description
#: client/as-util.c:4603
msgid "Test a regular expression"
-msgstr ""
+msgstr "Uji suatu ekspresi reguler"
#. TRANSLATORS: program name
#: client/as-util.c:4616
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/it.po new/appstream-glib-0.7.3/po/it.po
--- old/appstream-glib-0.7.2/po/it.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/it.po 2017-10-23 17:28:28.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Italian (http://www.transifex.com/freedesktop/appstream-glib/language/it/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/ko.po new/appstream-glib-0.7.3/po/ko.po
--- old/appstream-glib-0.7.2/po/ko.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/ko.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Korean (http://www.transifex.com/freedesktop/appstream-glib/language/ko/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/pl.po new/appstream-glib-0.7.3/po/pl.po
--- old/appstream-glib-0.7.2/po/pl.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/pl.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-06-22 01:07-0400\n"
"Last-Translator: Piotr Drąg \n"
"Language-Team: Polish (http://www.transifex.com/freedesktop/appstream-glib/language/pl/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/pt.po new/appstream-glib-0.7.3/po/pt.po
--- old/appstream-glib-0.7.2/po/pt.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/pt.po 2017-10-23 17:28:28.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Portuguese (http://www.transifex.com/freedesktop/appstream-glib/language/pt/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/pt_BR.po new/appstream-glib-0.7.3/po/pt_BR.po
--- old/appstream-glib-0.7.2/po/pt_BR.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/pt_BR.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:04-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/freedesktop/appstream-glib/language/pt_BR/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/ru.po new/appstream-glib-0.7.3/po/ru.po
--- old/appstream-glib-0.7.2/po/ru.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/ru.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Russian (http://www.transifex.com/freedesktop/appstream-glib/language/ru/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/sk.po new/appstream-glib-0.7.3/po/sk.po
--- old/appstream-glib-0.7.2/po/sk.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/sk.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Slovak (http://www.transifex.com/freedesktop/appstream-glib/language/sk/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/sl.po new/appstream-glib-0.7.3/po/sl.po
--- old/appstream-glib-0.7.2/po/sl.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/sl.po 2017-10-23 17:28:28.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Slovenian (http://www.transifex.com/freedesktop/appstream-glib/language/sl/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/sr.po new/appstream-glib-0.7.3/po/sr.po
--- old/appstream-glib-0.7.2/po/sr.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/sr.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Serbian (http://www.transifex.com/freedesktop/appstream-glib/language/sr/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/sr@latin.po new/appstream-glib-0.7.3/po/sr@latin.po
--- old/appstream-glib-0.7.2/po/sr@latin.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/sr@latin.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Serbian (Latin) (http://www.transifex.com/freedesktop/appstream-glib/language/sr@latin/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/sv.po new/appstream-glib-0.7.3/po/sv.po
--- old/appstream-glib-0.7.2/po/sv.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/sv.po 2017-10-23 17:28:28.000000000 +0200
@@ -12,7 +12,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-21 15:55+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-08-04 11:27-0400\n"
"Last-Translator: Anders Jonsson \n"
"Language-Team: Swedish (http://www.transifex.com/freedesktop/appstream-glib/language/sv/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/tr.po new/appstream-glib-0.7.3/po/tr.po
--- old/appstream-glib-0.7.2/po/tr.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/tr.po 2017-10-23 17:28:28.000000000 +0200
@@ -10,7 +10,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2016-08-06 03:00-0400\n"
"Last-Translator: Copied by Zanata \n"
"Language-Team: Turkish (http://www.transifex.com/freedesktop/appstream-glib/language/tr/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/uk.po new/appstream-glib-0.7.3/po/uk.po
--- old/appstream-glib-0.7.2/po/uk.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/uk.po 2017-10-23 17:28:28.000000000 +0200
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-06-24 04:06-0400\n"
"Last-Translator: Yuri Chornoivan \n"
"Language-Team: Ukrainian (http://www.transifex.com/freedesktop/appstream-glib/language/uk/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/zh_CN.po new/appstream-glib-0.7.3/po/zh_CN.po
--- old/appstream-glib-0.7.2/po/zh_CN.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/zh_CN.po 2017-10-23 17:28:28.000000000 +0200
@@ -14,7 +14,7 @@
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
"PO-Revision-Date: 2017-07-23 03:30-0400\n"
"Last-Translator: cheng ye <18969068329@163.com>\n"
"Language-Team: Chinese (China) (http://www.transifex.com/freedesktop/appstream-glib/language/zh_CN/)\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.7.2/po/zh_TW.po new/appstream-glib-0.7.3/po/zh_TW.po
--- old/appstream-glib-0.7.2/po/zh_TW.po 2017-08-21 16:58:06.000000000 +0200
+++ new/appstream-glib-0.7.3/po/zh_TW.po 2017-10-23 17:28:28.000000000 +0200
@@ -7,13 +7,14 @@
# Matjaž Mozetič , 2015
# Ding-Yi Chen , 2016. #zanata
# Richard Hughes , 2016. #zanata
+# Cheng-Chia Tseng , 2017. #zanata
msgid ""
msgstr ""
"Project-Id-Version: appstream-glib\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-03 13:59+0100\n"
-"PO-Revision-Date: 2016-08-30 10:11-0400\n"
-"Last-Translator: Ding-Yi Chen \n"
+"POT-Creation-Date: 2017-10-23 16:26+0100\n"
+"PO-Revision-Date: 2017-08-27 11:42-0400\n"
+"Last-Translator: Cheng-Chia Tseng \n"
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/freedesktop/appstream-glib/language/zh_TW/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -302,7 +303,7 @@
#. TRANSLATORS: this is when a device ctrl+c's a watch
#: client/as-util.c:4290
msgid "Cancelled"
-msgstr ""
+msgstr "已取消"
#. TRANSLATORS: this is the --nonet argument
#: client/as-util.c:4342
@@ -352,12 +353,12 @@
#. TRANSLATORS: command description
#: client/as-util.c:4417
msgid "Show all installed AppStream applications"
-msgstr ""
+msgstr "顯示所有安裝的 AppStream 應用程式"
#. TRANSLATORS: command description
#: client/as-util.c:4423
msgid "Search for AppStream applications by category name"
-msgstr ""
+msgstr "依據類別名稱搜尋 AppStream 應用程式"
#. TRANSLATORS: command description
#: client/as-util.c:4429
@@ -432,7 +433,7 @@
#. TRANSLATORS: command description
#: client/as-util.c:4513
msgid "check an installed application"
-msgstr ""
+msgstr "檢查安裝的應用程式"
#. TRANSLATORS: command description
#: client/as-util.c:4519
@@ -442,12 +443,12 @@
#. TRANSLATORS: command description
#: client/as-util.c:4525
msgid "Add a provide to a source file"
-msgstr ""
+msgstr "加入提供者到來源檔中"
#. TRANSLATORS: command description
#: client/as-util.c:4531
msgid "Add a language to a source file"
-msgstr ""
+msgstr "加入語言到來源檔中"
#. TRANSLATORS: command description
#: client/as-util.c:4537
@@ -497,17 +498,17 @@
#. TRANSLATORS: command description
#: client/as-util.c:4591
msgid "Watch AppStream locations for changes"
-msgstr ""
+msgstr "監看 AppStream 位置是否有變動"
#. TRANSLATORS: command description
#: client/as-util.c:4597
msgid "Compare version numbers"
-msgstr ""
+msgstr "比較版本號"
#. TRANSLATORS: command description
#: client/as-util.c:4603
msgid "Test a regular expression"
-msgstr ""
+msgstr "測試常規表述式"
#. TRANSLATORS: program name
#: client/as-util.c:4616