900248b32c
- Update openSUSE-appstream-process: + Do not include -failed.xml.gz: people complain about the additional ~ 100KB zypp downloads on a repodata refresh at 'no value for them'. The failed.xml.gz is not needed for regular operations, but was a great help for packagers to find out why their app was vetoed. They will need to find different ways to get this info. + Rename appdata-screenshots.tar to appdata-screenshots-$HASH.tar to help mirrorbrain offload this file to mirrors. - Add appstream-glib-lang.patch: Add -lang package as a dependency in order to properly detect translations. - Update to version 0.6.2: + New Features: - Add a hash function specifically designed for unique-ids. - Add AS_BUNDLE_KIND_CABINET. - Remove the inf parsing from appstream-glib. + Bugfixes: - Check if icon name is unset before checking the prefix. - Do not merge all LangPack entries. - Do not require an icon from LOCALIZATION kind. - Do not use the deprecated GNOME_COMPILE_WARNINGS. - Do not use the prefix check when parsing YAML. - Fix gcc shift warnings on 32 bit platforms. - Ignore system datadirs that are actually per-user. - Invalidate the unique-id if any of the parts are changed. - Make upgrade check for SPDX license string. - Pay attention to errors from libyaml (gh#hughsie/appstream-glib#129). OBS-URL: https://build.opensuse.org/request/show/425614 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=80
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From bbc53c914bcb04970b1b34079783d541f71c65a8 Mon Sep 17 00:00:00 2001
|
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
Date: Mon, 5 Sep 2016 15:06:19 +0200
|
|
Subject: [PATCH] Add -lang package as a dependency in order to properly detect
|
|
translations
|
|
|
|
In openSUSE, the -lang package is 'only' recommended, so that users CAN save the
|
|
space if they don't need them (and using bundles there is also a method to only install
|
|
one language instead of all supported ones).
|
|
|
|
Unfortunately, with this technique, gnome-software keeps on pretending that no application
|
|
is localized in openSUSE.
|
|
---
|
|
libappstream-builder/asb-package-rpm.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/libappstream-builder/asb-package-rpm.c b/libappstream-builder/asb-package-rpm.c
|
|
index ef80584..3937535 100644
|
|
--- a/libappstream-builder/asb-package-rpm.c
|
|
+++ b/libappstream-builder/asb-package-rpm.c
|
|
@@ -333,6 +333,10 @@ asb_package_rpm_ensure_deps (AsbPackage *pkg, GError **error)
|
|
*tmp = '\0';
|
|
asb_package_add_dep (pkg, dep_no_qual);
|
|
}
|
|
+ /* Add the corresponding -lang package as a dependency */
|
|
+ tmp = g_strconcat (asb_package_get_name (pkg), "-lang", NULL);
|
|
+ asb_package_add_dep (pkg, tmp);
|
|
+ g_free (tmp);
|
|
out:
|
|
rpmtdFreeData (td);
|
|
rpmtdFree (td);
|
|
--
|
|
2.9.3
|
|
|