Skip to content

Commit

Permalink
Convert AppData file to AppStream (Bug #14037)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Miranda committed Jun 6, 2018
1 parent b539951 commit 92baba0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ core
*.desktop.in
*.service
*.policy
thunar.appdata.xml
org.xfce.thunar.appdata.xml
gtk-doc.make
ThunarBulkRename
Thunar.spec
Expand Down
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
# .appdata
#
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdatadir = $(datadir)/metainfo
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = thunar.appdata.xml.in
appdata_in_files = org.xfce.thunar.appdata.xml.in

servicedir = $(datadir)/dbus-1/services
service_in_files = org.xfce.FileManager.service.in org.xfce.Thunar.service.in
Expand Down
14 changes: 11 additions & 3 deletions thunar.appdata.xml.in → org.xfce.thunar.appdata.xml.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Ryan Lerch <rlerch@redhat.com> -->

<application>
<id type="desktop">Thunar.desktop</id>
<component type="desktop-application">
<id type="desktop">org.xfce.Thunar</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<name>Thunar</name>
<summary>File Browser</summary>
<description>
<_p>
Expand All @@ -20,5 +22,11 @@
<screenshot type="default">http://docs.xfce.org/_media/xfce/thunar/file-manager-window.png</screenshot>
</screenshots>

<categories>
<category>System</category>
</categories>

<project_group>Xfce</project_group>
<updatecontact>xfce4-dev@xfce.org</updatecontact>
</application>
<translation type="gettext">Thunar</translation>
</component>
2 changes: 1 addition & 1 deletion po/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ Thunar.desktop.in.in
Thunar-bulk-rename.desktop.in.in
Thunar-folder-handler.desktop.in.in
thunar/thunar-settings.desktop.in
thunar.appdata.xml.in
org.xfce.thunar.appdata.xml.in
org.xfce.thunar.policy.in.in

0 comments on commit 92baba0

Please sign in to comment.