From 3161a675e518d9e3d21859c417c38255d5c60b51 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 29 Aug 2015 14:25:12 +0200 Subject: appdata: Add autotool bits --- data/Makefile.am | 14 ++++++++++++-- data/mate-calc.appdata.xml | 41 ----------------------------------------- data/mate-calc.appdata.xml.in | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 43 deletions(-) delete mode 100644 data/mate-calc.appdata.xml create mode 100644 data/mate-calc.appdata.xml.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index d8a4671..6592162 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -6,8 +6,12 @@ ui_DATA = \ buttons-financial.ui \ buttons-programming.ui +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-calc.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + gsettings_SCHEMAS = org.mate.calc.gschema.xml -@INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ Utilitiesdir = $(datadir)/applications @@ -17,9 +21,15 @@ Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop) man1_MANS = mate-calc.1 mate-calc-cmd.1 -EXTRA_DIST = $(ui_DATA) org.mate.calc.gschema.xml.in mate-calc.desktop.in $(man1_MANS) +EXTRA_DIST = \ + $(ui_DATA) \ + org.mate.calc.gschema.xml.in \ + mate-calc.desktop.in \ + $(appdata_in_files) \ + $(man1_MANS) DISTCLEANFILES = \ Makefile.in \ mate-calc.desktop \ + $(appdata_DATA) \ $(gsettings_SCHEMAS) diff --git a/data/mate-calc.appdata.xml b/data/mate-calc.appdata.xml deleted file mode 100644 index 13c634f..0000000 --- a/data/mate-calc.appdata.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - mate-calc.desktop - CC0-1.0 - GPL-2.0+ - MATE Calc - MATE Desktop calculator - -

- MATE Calc is a powerful graphical calculator with financial, - logical and scientific modes. It uses a multiple precision package - to do its arithmetic to give a high degree of accuracy. -

-

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

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-calc/screens/mate-calc_01.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-calc/screens/mate-calc_02.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-calc/screens/mate-calc_03.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/data/mate-calc.appdata.xml.in b/data/mate-calc.appdata.xml.in new file mode 100644 index 0000000..13c634f --- /dev/null +++ b/data/mate-calc.appdata.xml.in @@ -0,0 +1,41 @@ + + + + mate-calc.desktop + CC0-1.0 + GPL-2.0+ + MATE Calc + MATE Desktop calculator + +

+ MATE Calc is a powerful graphical calculator with financial, + logical and scientific modes. It uses a multiple precision package + to do its arithmetic to give a high degree of accuracy. +

+

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

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-calc/screens/mate-calc_01.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-calc/screens/mate-calc_02.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-calc/screens/mate-calc_03.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
-- cgit v1.2.1