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 --- baobab/data/Makefile.am | 9 ++++-- baobab/data/mate-disk-usage-analyzer.appdata.xml | 36 ---------------------- .../data/mate-disk-usage-analyzer.appdata.xml.in | 36 ++++++++++++++++++++++ gsearchtool/data/Makefile.am | 10 +++++- gsearchtool/data/mate-search-tool.appdata.xml.in | 33 ++++++++++++++++++++ gsearchtool/mate-search-tool.appdata.xml | 33 -------------------- mate-dictionary/data/Makefile.am | 8 ++++- mate-dictionary/data/mate-dictionary.appdata.xml | 32 ------------------- .../data/mate-dictionary.appdata.xml.in | 32 +++++++++++++++++++ mate-screenshot/Makefile.am | 19 +++++++----- mate-screenshot/mate-screenshot.appdata.xml | 27 ---------------- mate-screenshot/mate-screenshot.appdata.xml.in | 27 ++++++++++++++++ po/POTFILES.in | 4 +++ 13 files changed, 167 insertions(+), 139 deletions(-) delete mode 100644 baobab/data/mate-disk-usage-analyzer.appdata.xml create mode 100644 baobab/data/mate-disk-usage-analyzer.appdata.xml.in create mode 100644 gsearchtool/data/mate-search-tool.appdata.xml.in delete mode 100644 gsearchtool/mate-search-tool.appdata.xml delete mode 100644 mate-dictionary/data/mate-dictionary.appdata.xml create mode 100644 mate-dictionary/data/mate-dictionary.appdata.xml.in delete mode 100644 mate-screenshot/mate-screenshot.appdata.xml create mode 100644 mate-screenshot/mate-screenshot.appdata.xml.in diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am index ec28af3a..f9919811 100644 --- a/baobab/data/Makefile.am +++ b/baobab/data/Makefile.am @@ -15,7 +15,10 @@ gsettingsschema_in_files = org.mate.disk-usage-analyzer.gschema.xml.in gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) .PRECIOUS: $(gsettings_SCHEMAS) -@INTLTOOL_XML_NOMERGE_RULE@ +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-disk-usage-analyzer.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) @GSETTINGS_RULES@ @@ -29,9 +32,11 @@ EXTRA_DIST = \ mate-disk-usage-analyzer.desktop.in.in \ $(gsettingsschema_in_files) \ $(convert_DATA) \ + $(appdata_in_files) \ $(man_MANS) CLEANFILES = \ $(baobabapp_in_files) \ $(baobabapp_DATA) \ - $(gsettings_SCHEMAS) + $(gsettings_SCHEMAS) \ + mate-disk-usage-analyzer.appdata.xml diff --git a/baobab/data/mate-disk-usage-analyzer.appdata.xml b/baobab/data/mate-disk-usage-analyzer.appdata.xml deleted file mode 100644 index 3b79ce77..00000000 --- a/baobab/data/mate-disk-usage-analyzer.appdata.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - mate-disk-usage-analyzer.desktop - CC0-1.0 - GPL-2.0+ - Mate Disk Usage Analyzer - A disk usage analyzing tool for MATE Desktop - -

- As its name implies, Disk Usage Analyzer is a graphical utility that you - can use to view and monitor your disk usage and folder structure. It displays - summary information in ring or treemap charts. -

-

- You can perform scans on a file system, your home or any other folder - local - or remote. There is also an option to constantly monitor any external changes - to the home directory and warn the user if a file is added/removed. -

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-disk-usage-analyzer/screens/mate-disk-usage-analyzer_01.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-disk-usage-analyzer/screens/mate-disk-usage-analyzer_02.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/baobab/data/mate-disk-usage-analyzer.appdata.xml.in b/baobab/data/mate-disk-usage-analyzer.appdata.xml.in new file mode 100644 index 00000000..3b79ce77 --- /dev/null +++ b/baobab/data/mate-disk-usage-analyzer.appdata.xml.in @@ -0,0 +1,36 @@ + + + + mate-disk-usage-analyzer.desktop + CC0-1.0 + GPL-2.0+ + Mate Disk Usage Analyzer + A disk usage analyzing tool for MATE Desktop + +

+ As its name implies, Disk Usage Analyzer is a graphical utility that you + can use to view and monitor your disk usage and folder structure. It displays + summary information in ring or treemap charts. +

+

+ You can perform scans on a file system, your home or any other folder - local + or remote. There is also an option to constantly monitor any external changes + to the home directory and warn the user if a file is added/removed. +

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-disk-usage-analyzer/screens/mate-disk-usage-analyzer_01.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-disk-usage-analyzer/screens/mate-disk-usage-analyzer_02.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
diff --git a/gsearchtool/data/Makefile.am b/gsearchtool/data/Makefile.am index 54908b3a..d5a3e9d3 100644 --- a/gsearchtool/data/Makefile.am +++ b/gsearchtool/data/Makefile.am @@ -1,5 +1,13 @@ icondir = $(datadir)/pixmaps/mate-search-tool icon_DATA = thumbnail_frame.png -EXTRA_DIST = $(icon_DATA) +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-search-tool.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) +CLEANFILES = mate-search-tool.appdata.xml + +EXTRA_DIST = \ + $(icon_DATA) \ + $(appdata_in_files) diff --git a/gsearchtool/data/mate-search-tool.appdata.xml.in b/gsearchtool/data/mate-search-tool.appdata.xml.in new file mode 100644 index 00000000..2b4eaeba --- /dev/null +++ b/gsearchtool/data/mate-search-tool.appdata.xml.in @@ -0,0 +1,33 @@ + + + + mate-search-tool.desktop + CC0-1.0 + GPL-2.0+ + Mate Search Tool + A file searching tool for MATE Desktop + +

+ Mate Search Tool is a simple but powerful utility that allows you to + search for files and folders on any mounted file system. Its interface + gives you instant access to a wide variety of parameters for each search, + such as text contained within a file, ownership, date of modification, + file size, folder exclusion, etc.. +

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-search-tool/screens/mate-search-tool_01.png + + + + + https://alexpl.fedorapeople.org/AppData/mate-search-tool/screens/mate-search-tool_02.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
diff --git a/gsearchtool/mate-search-tool.appdata.xml b/gsearchtool/mate-search-tool.appdata.xml deleted file mode 100644 index 2b4eaeba..00000000 --- a/gsearchtool/mate-search-tool.appdata.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - mate-search-tool.desktop - CC0-1.0 - GPL-2.0+ - Mate Search Tool - A file searching tool for MATE Desktop - -

- Mate Search Tool is a simple but powerful utility that allows you to - search for files and folders on any mounted file system. Its interface - gives you instant access to a wide variety of parameters for each search, - such as text contained within a file, ownership, date of modification, - file size, folder exclusion, etc.. -

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-search-tool/screens/mate-search-tool_01.png - - - - - https://alexpl.fedorapeople.org/AppData/mate-search-tool/screens/mate-search-tool_02.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
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 +
diff --git a/mate-screenshot/Makefile.am b/mate-screenshot/Makefile.am index e8e54cad..1fa3cdc7 100644 --- a/mate-screenshot/Makefile.am +++ b/mate-screenshot/Makefile.am @@ -58,12 +58,15 @@ ui_DATA = \ mate-screenshot.ui \ $(NULL) +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-screenshot.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + gsettingsschema_in_files = org.mate.screenshot.gschema.xml.in gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) .PRECIOUS: $(gsettings_SCHEMAS) -@INTLTOOL_XML_NOMERGE_RULE@ - @GSETTINGS_RULES@ convertdir = $(datadir)/MateConf/gsettings @@ -71,17 +74,19 @@ convert_DATA = mate-screenshot.convert EXTRA_DIST = \ $(gsettingsschema_in_files) \ + $(appdata_in_files) \ $(mate_screenshot_in_files) \ $(man_MANS) \ $(ui_DATA) \ - $(convert_DATA) \ + $(convert_DATA) \ $(NULL) CLEANFILES = \ - $(BUILT_SOURCES) \ - $(gsettings_SCHEMAS) \ - $(mate_screenshot_DATA) \ - $(sys_DATA) + $(BUILT_SOURCES) \ + $(gsettings_SCHEMAS) \ + $(mate_screenshot_DATA) \ + $(sys_DATA) \ + mate-screenshot.appdata.xml dist-hook: cd $(distdir) ; rm -f $(CLEANFILES) diff --git a/mate-screenshot/mate-screenshot.appdata.xml b/mate-screenshot/mate-screenshot.appdata.xml deleted file mode 100644 index 62df49e1..00000000 --- a/mate-screenshot/mate-screenshot.appdata.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - mate-screenshot.desktop - CC0-1.0 - GPL-2.0+ - Mate Screenshot - A screenshot utility for MATE Desktop - -

- Mate Screenshot is a simple utility that lets you capture screenshots - of your desktop or of application windows. You can select to copy them - to the system clipboard or save them in Portable Network Graphics (.png) - image format. -

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-screenshot/screens/mate-screenshot_01.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/mate-screenshot/mate-screenshot.appdata.xml.in b/mate-screenshot/mate-screenshot.appdata.xml.in new file mode 100644 index 00000000..62df49e1 --- /dev/null +++ b/mate-screenshot/mate-screenshot.appdata.xml.in @@ -0,0 +1,27 @@ + + + + mate-screenshot.desktop + CC0-1.0 + GPL-2.0+ + Mate Screenshot + A screenshot utility for MATE Desktop + +

+ Mate Screenshot is a simple utility that lets you capture screenshots + of your desktop or of application windows. You can select to copy them + to the system clipboard or save them in Portable Network Graphics (.png) + image format. +

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-screenshot/screens/mate-screenshot_01.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
diff --git a/po/POTFILES.in b/po/POTFILES.in index 94defaa7..aed75496 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -4,6 +4,7 @@ baobab/data/mate-disk-usage-analyzer.desktop.in.in [type: gettext/glade]baobab/data/baobab-dialog-scan-props.ui [type: gettext/glade]baobab/data/baobab-main-window.ui baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in +baobab/data/mate-disk-usage-analyzer.appdata.xml.in baobab/src/baobab.c baobab/src/baobab-chart.c baobab/src/baobab-prefs.c @@ -15,6 +16,7 @@ baobab/src/baobab-ringschart.c baobab/src/callbacks.c mate-dictionary/data/default.desktop.in mate-dictionary/data/mate-dictionary.desktop.in.in +mate-dictionary/data/mate-dictionary.appdata.xml.in mate-dictionary/data/org.mate.dictionary.gschema.xml.in mate-dictionary/data/org.mate.panel.applet.DictionaryAppletFactory.service.in mate-dictionary/data/spanish.desktop.in @@ -43,6 +45,7 @@ mate-dictionary/src/main.c [type: gettext/glade]mate-dictionary/data/mate-dictionary-preferences.ui [type: gettext/glade]mate-dictionary/data/mate-dictionary-source.ui mate-screenshot/mate-screenshot.c +mate-screenshot/mate-screenshot.appdata.xml.in mate-screenshot/mate-screenshot.desktop.in [type: gettext/glade]mate-screenshot/mate-screenshot.ui mate-screenshot/org.mate.screenshot.gschema.xml.in @@ -51,6 +54,7 @@ mate-screenshot/screenshot-save.c mate-screenshot/screenshot-shadow.c mate-screenshot/screenshot-utils.c mate-screenshot/screenshot-xfer.c +gsearchtool/data/mate-search-tool.appdata.xml.in gsearchtool/mate-search-tool.desktop.in gsearchtool/gsearchtool.c gsearchtool/gsearchtool-callbacks.c -- cgit v1.2.1