Package: edac-utils
Version: 0.18+git16-g8fdc1d4-1
Tags: patch
User:
pere@hungry.com
Usertags: appstream-modalias
Due to a mistake on my part, the current AppStream metadata XML do not validate, causing the content to be ignored and not show up for isenkram
to use.
These are the issues reported:
% appstreamcli validate-tree debian/edac-utils
com.github.grondo.edac-utils.metainfo.xml
I: com.github.grondo.edac-utils:3: cid-contains-hyphen com.github.grondo.edac-utils
I: com.github.grondo.edac-utils:7: summary-first-word-not-capitalized
E: com.github.grondo.edac-utils:~: desktop-app-launchable-missing
I: com.github.grondo.edac-utils:~: content-rating-missing
✘ Validation failed: errors: 1, infos: 3, pedantic: 2
%
Sorry, the error is from my mistake. The following patch should fix it,
in addition to the first info issue:
--- a/debian/patches/1000-appstream-metainfo.patch
+++ b/debian/patches/1000-appstream-metainfo.patch
@@ -11,22 +11,22 @@ Last-Update: 2024-07-19
ACLOCAL_AMFLAGS = -I config
CONFIG_STATUS_DEPENDENCIES = META
EXTRA_DIST = AUTHORS COPYING DISCLAIMER \
-+ com.github.grondo.edac-utils.metainfo.xml \ ++ com.github.grondo.edac_utils.metainfo.xml \
INSTALL NEWS README edac-utils.spec META
SUBDIRS = src
-+dist_metainfo_DATA = com.github.grondo.edac-utils.metainfo.xml ++dist_metainfo_DATA = com.github.grondo.edac_utils.metainfo.xml
+metainfodir = $(datarootdir)/metainfo
+
distclean-local:
-rm -fr autm4te*.cache autoscan.* aclocal.m4
-rm -fr $(META_NAME)-*
--- /dev/null
-+++ b/com.github.grondo.edac-utils.metainfo.xml
++++ b/com.github.grondo.edac_utils.metainfo.xml
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding