File: fix-metadata

package info (click to toggle)
gfm 1.08-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,240 kB
  • sloc: ansic: 2,966; cpp: 255; makefile: 95; xml: 41; sed: 16; sh: 1
file content (54 lines) | stat: -rw-r--r-- 1,816 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: Update xml/desktop data to comply with current standards.
Author: Andreas B. Mundt <andi@debian.org>
Forwarded: no
Last-Update: 2018-05-17

--- a/desktop/gfm.appdata.xml
+++ b/desktop/gfm.appdata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2015 Ben Rosser <rosser.bjr@gmail.com> -->
-<application>
-	<id type="desktop">comical.desktop</id>
+<component type="desktop-application">
+	<id>gfm</id>
 	<metadata_license>CC0-1.0</metadata_license>
 	<project_license>GPL-2.0+</project_license>
 	<name>Group File Manager</name>
@@ -34,8 +34,9 @@
 		</p>
 	</description>
 	<screenshots>
-		<screenshot type="default">http://lpg.ticalc.org/prj_tilp/images/gfm_main_upscaled.png</screenshot>
+		<screenshot type="default">
+			<image>http://lpg.ticalc.org/prj_tilp/images/gfm_main_upscaled.png</image>
+		</screenshot>
 	</screenshots>
 	<url type="homepage">http://lpg.ticalc.org/prj_gfm/</url>
-	<updatecontact>rosser.bjr_at_gmail.com</updatecontact>
-</application>
+</component>
--- a/desktop/Makefile.am
+++ b/desktop/Makefile.am
@@ -1,6 +1,6 @@
 desktopdir = $(datadir)/applications
 pixmapsdir = $(pkgdatadir)/pixmaps
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
 desktop_in_files = gfm.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 appdata_files = gfm.appdata.xml
--- a/desktop/gfm.desktop.in
+++ b/desktop/gfm.desktop.in
@@ -5,10 +5,10 @@
 Comment[fr_FR]=Gestionnaire de fichiers groupés pour calculatrices TI
 GenericName=TI Groups File Manager for TILP
 GenericName[fr_FR]=Gestionnaire de fichiers groupés pour TILP
+Keywords=Texas Instruments;
 Version=1.0
 Type=Application
 Exec=@bindir@/gfm
 Icon=@pixmapsdir@/gfm.png
 Terminal=false
 Categories=Utility;GTK;X-KDE-Utilities-Peripherals;
-MimeType=application/x-tilp;