From 62ef06fb0ff90f567367207c4238ed92a965e4b3 Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 10 Nov 2014 00:13:36 +0100 Subject: appdata: Add autotool bits for appdata --- mate-dictionary/data/Makefile.am | 8 +++++- mate-dictionary/data/mate-dictionary.appdata.xml | 32 ---------------------- .../data/mate-dictionary.appdata.xml.in | 32 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 33 deletions(-) delete mode 100644 mate-dictionary/data/mate-dictionary.appdata.xml create mode 100644 mate-dictionary/data/mate-dictionary.appdata.xml.in (limited to 'mate-dictionary') diff --git a/mate-dictionary/data/Makefile.am b/mate-dictionary/data/Makefile.am index 51c78991..f3ec7bad 100644 --- a/mate-dictionary/data/Makefile.am +++ b/mate-dictionary/data/Makefile.am @@ -57,9 +57,13 @@ ui_DATA += dictionary-applet-menu.xml endif # BUILD_GDICT_APPLET +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-dictionary.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + gsettingsschema_in_files = org.mate.dictionary.gschema.xml.in gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) -@INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ convertdir = $(datadir)/MateConf/gsettings @@ -72,6 +76,7 @@ EXTRA_DIST = \ $(dictsource_in_files) \ $(man_MANS) \ $(gsettingsschema_in_files) \ + $(appdata_in_files) \ $(builder_DATA) \ $(ui_DATA) \ $(convert_DATA) \ @@ -85,4 +90,5 @@ CLEANFILES = \ $(gdictapp_in_files) \ $(gdictapp_DATA) \ $(gsettings_SCHEMAS) \ + mate-dictionary.appdata.xml \ $(NULL) diff --git a/mate-dictionary/data/mate-dictionary.appdata.xml b/mate-dictionary/data/mate-dictionary.appdata.xml deleted file mode 100644 index 969fb30e..00000000 --- a/mate-dictionary/data/mate-dictionary.appdata.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - mate-dictionary.desktop - CC0-1.0 - GPL-2.0+ - Mate Dictionary - A dictionary for MATE Desktop - -

- Mate Dictionary allows you to look up words in on-line dictionaries. - It comes preconfigured with a list of Dict servers (RFC 2229), to which - you can add your own sources, while you can select specific servers - for a specific query. -

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-dictionary/screens/mate-dictionary_01.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-dictionary/screens/mate-dictionary_02.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/mate-dictionary/data/mate-dictionary.appdata.xml.in b/mate-dictionary/data/mate-dictionary.appdata.xml.in new file mode 100644 index 00000000..969fb30e --- /dev/null +++ b/mate-dictionary/data/mate-dictionary.appdata.xml.in @@ -0,0 +1,32 @@ + + + + mate-dictionary.desktop + CC0-1.0 + GPL-2.0+ + Mate Dictionary + A dictionary for MATE Desktop + +

+ Mate Dictionary allows you to look up words in on-line dictionaries. + It comes preconfigured with a list of Dict servers (RFC 2229), to which + you can add your own sources, while you can select specific servers + for a specific query. +

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-dictionary/screens/mate-dictionary_01.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-dictionary/screens/mate-dictionary_02.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
-- cgit v1.2.1