Commit b0e1cd43677b9c8de379de53a9334d72426f2a49

Authored by Perry Werneck
1 parent 50762fd0

Playing with appdata.

branding/appdata.xml.in
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 6
7 https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps 7 https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps
8 https://people.freedesktop.org/~hughsient/temp/AppData_WhitePaper.pdf 8 https://people.freedesktop.org/~hughsient/temp/AppData_WhitePaper.pdf
  9 + https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/
9 10
10 --> 11 -->
11 12
@@ -22,7 +23,7 @@ @@ -22,7 +23,7 @@
22 <summary>IBM 3270 Terminal emulator</summary> 23 <summary>IBM 3270 Terminal emulator</summary>
23 <summary xml:lang="pt_BR">Emulador de terminal IBM 3270</summary> 24 <summary xml:lang="pt_BR">Emulador de terminal IBM 3270</summary>
24 25
25 - <developer_name>perry.werneck@gmail.com</developer_name> 26 + <developer_name>Perry Werneck</developer_name>
26 27
27 <description> 28 <description>
28 <p>GTK Based 3270 terminal emulator</p> 29 <p>GTK Based 3270 terminal emulator</p>
branding/launcher.desktop.in
@@ -7,7 +7,7 @@ Name[pt_BR]=Terminal 3270 @@ -7,7 +7,7 @@ Name[pt_BR]=Terminal 3270
7 Comment=IBM 3270 Terminal emulator 7 Comment=IBM 3270 Terminal emulator
8 Comment[pt_BR]=Emulador de terminal IBM 3270 8 Comment[pt_BR]=Emulador de terminal IBM 3270
9 Exec=@PRODUCT_NAME@ %u 9 Exec=@PRODUCT_NAME@ %u
10 -Icon=/usr/share/@PRODUCT_NAME@/icons/@PRODUCT_NAME@.svg 10 +Icon=@APPLICATION_ID@
11 Terminal=false 11 Terminal=false
12 Type=Application 12 Type=Application
13 StartupNotify=true 13 StartupNotify=true
validate-appdata.sh 0 → 100755
@@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
  1 +#!/bin/bash
  2 +./configure
  3 +
  4 +cp branding/appdata.xml /tmp/pw3270.appdata.xml
  5 +appstream-util validate /tmp/pw3270.appdata.xml
  6 +