Subject: Add more fields to AppStream metadata
From: Peter Oliver <[email-masked]>
To: [email-masked]
Date: Wed, 30 Oct 2024 22:22:10 +0000 (GMT)
List-Id: <debbugs-submit.debbugs.gnu.org>

Attached is a patch to add more data to emacs.metainfo.xml, based on the specification at https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-filespec

-- 
Peter Oliver

From 1f3f7290955900842582f5c0afceba8bcf18066f Mon Sep 17 00:00:00 2001
From: Peter Oliver <[email-masked]>
Date: Wed, 30 Oct 2024 22:15:59 +0000
Subject: [PATCH] Add more fields to AppStream metadata

* etc/emacs.metainfo.xml: Populate the vcs-browser and contribute URLs,
as well as the branding colour.
---
 etc/emacs.metainfo.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/etc/emacs.metainfo.xml b/etc/emacs.metainfo.xml
index 80bbd690217..7e97df926be 100644
--- a/etc/emacs.metainfo.xml
+++ b/etc/emacs.metainfo.xml
@@ -33,6 +33,8 @@
  <url type="help">https://www.gnu.org/software/emacs/documentation.html</url>
  <url type="donation">https://my.fsf.org/donate/</url>
  <url type="contact">https://lists.gnu.org/mailman/listinfo/emacs-devel/</url>
+ <url type="vcs-browser">https://git.savannah.gnu.org/cgit/emacs.git</url>
+ <url type="contribute">https://www.gnu.org/software/emacs/manual/html_node/emacs/Contributing.html</url>
  <launchable type="desktop-id">emacs.desktop</launchable>
  <launchable type="service">emacs.service</launchable>
  <project_group>GNU</project_group>
@@ -45,4 +47,7 @@
   </screenshot>
  </screenshots>
  <update_contact>emacs-devel_AT_gnu.org</update_contact>
+ <branding>
+   <color type="primary">#7f5ab6</color>
+ </branding>
 </component>
-- 
2.47.0