From 903865df3d570360daef4418b3b890d476ef5bb7 Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 10 Nov 2014 11:49:05 +0100 Subject: appdata: Add autotool bits for appdata --- Makefile.am | 8 ++++++++ mate-system-monitor.appdata.xml | 41 -------------------------------------- mate-system-monitor.appdata.xml.in | 41 ++++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 4 files changed, 50 insertions(+), 41 deletions(-) delete mode 100644 mate-system-monitor.appdata.xml create mode 100644 mate-system-monitor.appdata.xml.in diff --git a/Makefile.am b/Makefile.am index 44436ec..30083f9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,9 +6,15 @@ man_MANS = mate-system-monitor.1 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-system-monitor.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + EXTRA_DIST = \ autogen.sh \ $(man_MANS) \ + $(appdata_in_files) \ mate-system-monitor.desktop.in \ intltool-extract.in \ intltool-merge.in \ @@ -23,6 +29,8 @@ Applications_DATA = $(Applications_in_files:.desktop.in=.desktop) distuninstallcheck_listfiles = find . -type f -print | grep -v 'scrollkeeper' +CLEANFILES = mate-system-monitor.appdata.xml + DISTCLEANFILES = \ intltool-extract \ intltool-merge \ diff --git a/mate-system-monitor.appdata.xml b/mate-system-monitor.appdata.xml deleted file mode 100644 index efa0f9a..0000000 --- a/mate-system-monitor.appdata.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - mate-system-monitor.desktop - CC0-1.0 - GPL-2.0+ - Mate System Monitor - A Process and resource monitor for MATE Desktop - -

- Mate System Monitor allows to graphically view and manipulate the running - processes on your system. It also provides an overview of available resources, - such as CPU and memory. -

-

- Mate System Monitor is a fork of GNOME System Monitor and part of the MATE - Desktop Environment. If you would like to know more about MATE and System Monitor, - please visit the project's home page. -

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-system-monitor/screens/mate-system-monitor_01.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-system-monitor/screens/mate-system-monitor_02.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-system-monitor/screens/mate-system-monitor_03.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/mate-system-monitor.appdata.xml.in b/mate-system-monitor.appdata.xml.in new file mode 100644 index 0000000..efa0f9a --- /dev/null +++ b/mate-system-monitor.appdata.xml.in @@ -0,0 +1,41 @@ + + + + mate-system-monitor.desktop + CC0-1.0 + GPL-2.0+ + Mate System Monitor + A Process and resource monitor for MATE Desktop + +

+ Mate System Monitor allows to graphically view and manipulate the running + processes on your system. It also provides an overview of available resources, + such as CPU and memory. +

+

+ Mate System Monitor is a fork of GNOME System Monitor and part of the MATE + Desktop Environment. If you would like to know more about MATE and System Monitor, + please visit the project's home page. +

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-system-monitor/screens/mate-system-monitor_01.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-system-monitor/screens/mate-system-monitor_02.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-system-monitor/screens/mate-system-monitor_03.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
diff --git a/po/POTFILES.in b/po/POTFILES.in index 9436b0c..9a02f20 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,6 +1,7 @@ [encoding: UTF-8] # List of source files containing translatable strings. # Please keep this file sorted alphabetically. +mate-system-monitor.appdata.xml.in mate-system-monitor.desktop.in.in src/argv.cpp src/argv.h -- cgit v1.2.1