[arch-commits] Commit in appstream-generator/trunk (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Oct 15 20:03:48 UTC 2016
Date: Saturday, October 15, 2016 @ 20:03:48
Author: arojas
Revision: 192319
Also demote icon errors to warnings (FS#51264)
Modified:
appstream-generator/trunk/PKGBUILD
appstream-generator/trunk/metainfo-no-summary-warning.patch
-----------------------------------+
PKGBUILD | 4 ++--
metainfo-no-summary-warning.patch | 28 +++++++++++++++++++++++++++-
2 files changed, 29 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-15 19:33:05 UTC (rev 192318)
+++ PKGBUILD 2016-10-15 20:03:48 UTC (rev 192319)
@@ -3,7 +3,7 @@
pkgname=appstream-generator
pkgver=0.6.0
-pkgrel=2
+pkgrel=3
pkgdesc="A fast AppStream metadata generator"
arch=(i686 x86_64)
url="https://github.com/ximion/appstream-generator"
@@ -12,7 +12,7 @@
makedepends=(dmd meson ninja mustache-d curl)
source=("https://github.com/ximion/appstream-generator/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz" metainfo-no-summary-warning.patch)
sha256sums=('68f538f2163004b8e2171c694233af401c2cd47a9ea1472265753a48b20600e3'
- 'ca060c10da22acaf572c78917b7a9587fa989757bfed26f468280ce1f078dc81')
+ '78ca3d7417024f1bb4d29b9b1629dd02169d706cb069ff1b18e146aefb8c62ca')
prepare() {
mkdir -p build
Modified: metainfo-no-summary-warning.patch
===================================================================
--- metainfo-no-summary-warning.patch 2016-10-15 19:33:05 UTC (rev 192318)
+++ metainfo-no-summary-warning.patch 2016-10-15 20:03:48 UTC (rev 192319)
@@ -1,5 +1,31 @@
--- appstream-generator-0.6.0/data/asgen-hints.json.orig 2016-10-15 21:12:11.009366464 +0200
-+++ appstream-generator-0.6.0/data/asgen-hints.json 2016-10-15 21:12:31.606032759 +0200
++++ appstream-generator-0.6.0/data/asgen-hints.json 2016-10-15 21:50:30.559324994 +0200
+@@ -24,7 +24,7 @@
+
+ "icon-format-unsupported": {
+ "text": "Icon file '{{icon_fname}}' uses an unsupported image file format.",
+- "severity": "error"
++ "severity": "warning"
+ },
+
+ "icon-not-found": {
+@@ -37,14 +37,14 @@
+ "To make the icon easier to find, place it in <code>/usr/share/icons/hicolor/<size>/apps</code> and ensure the <code>Icon=</code> value",
+ "of the .desktop file is set correctly."
+ ],
+- "severity": "error"
++ "severity": "warning"
+ },
+
+ "gui-app-without-icon": {
+ "text": [ "The component is a GUI application (application which has a .desktop file for the XDG menu and <code>Type=Application</code>),",
+ "but we could not find a matching icon for this application."
+ ],
+- "severity": "error"
++ "severity": "warning"
+ },
+
+ "pkg-extract-error": {
@@ -140,7 +140,7 @@
"has a <code>Comment=</code> field set.<br/>",
"More information can be found in the <a href=\"http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html\">Desktop Entry specification</a>",
More information about the arch-commits
mailing list