Modernize appdata file release-2.x.y

Fri, 13 May 2022 00:40:37 -0500

author
Richard Laager <rlaager@pidgin.im>
date
Fri, 13 May 2022 00:40:37 -0500
branch
release-2.x.y
changeset 41367
d060e3ab1f77
parent 41362
a7351d3a2f0a
child 41391
ea52fcc50e50

Modernize appdata file

- Change from <application> to <component>.
- Add a <name>.
- Update the description phrasing of "log into".
- Update the description to drop old networks.
- Add <launchable>
- Merge <screenshot><caption> from default branch
- Merge <url>s from default branch
- Change <updatecontact> to <update_contact>
- Add <translation>
- Add <content_rating>, as suggested by lintian.

Reviewed at https://reviews.imfreedom.org/r/1431/

pidgin/data/pidgin.appdata.xml.in file | annotate | diff | comparison | revisions
--- a/pidgin/data/pidgin.appdata.xml.in	Thu May 12 21:43:43 2022 -0500
+++ b/pidgin/data/pidgin.appdata.xml.in	Fri May 13 00:40:37 2022 -0500
@@ -1,29 +1,46 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
-<!-- Copyright 2014 Pidgin Developers <devel@pidgin.im> -->
+<!-- Copyright 2014-2022 Pidgin Developers <devel@pidgin.im> -->
 
-<application>
-  <id type="desktop">pidgin.desktop</id>
+<component type="desktop-application">
+  <id>pidgin.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0</project_license>
+  <_name>Pidgin</_name>
   <_summary>Instant Messaging Client</_summary>
   <description>
     <_p>
-      Pidgin is a chat program which lets you log in to accounts on multiple
+      Pidgin is a chat program which lets you log into accounts on multiple
       chat networks simultaneously.
     </_p>
     <_p>
-      This means that you can be chatting with friends on AIM, talking to a
-      friend on Google Talk, and sitting in an IRC chat room all at the same
-      time.
+      This means that you can be chatting with friends on XMPP and sitting in
+      an IRC channel at the same time.
     </_p>
   </description>
-  <url type="homepage">https://www.pidgin.im/</url>
+
+  <launchable type="desktop-id">pidgin.desktop</launchable>
+
   <screenshots>
     <screenshot type="default">
       <image>https://old.pidgin.im/shared/img/contact_window.png</image>
-      <_caption>The buddy list showing friends on different networks.</_caption>
+      <_caption>Buddy list showing friends on different networks</_caption>
     </screenshot>
   </screenshots>
-  <updatecontact>devel@pidgin.im</updatecontact>
-</application>
+
+  <url type="homepage">https://pidgin.im/</url>
+  <url type="bugtracker">https://issues.imfreedom.org/issues/PIDGIN</url>
+  <url type="faq">https://pidgin.im/development/faq/</url>
+  <url type="help">https://pidgin.im/help/</url>
+
+  <update_contact>devel@pidgin.im</update_contact>
+
+  <translation type="gettext">pidgin</translation>
+
+  <content_rating type="oars-1.1">
+    <content_attribute id="social-chat">intense</content_attribute>
+    <content_attribute id="social-info">mild</content_attribute>
+    <content_attribute id="social-audio">intense</content_attribute>
+    <content_attribute id="social-contacts">intense</content_attribute>
+  </content_rating>
+</component>

mercurial