From 77bbd2b161f22e3c4880bdcb5bf0b4d3e1fc4d3a Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 9 Nov 2014 22:57:55 +0100 Subject: appdata: Add autotool bits for appdata --- data/Makefile.am | 16 ++++++++++++++-- data/atril.appdata.xml | 44 -------------------------------------------- data/atril.appdata.xml.in | 44 ++++++++++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 4 files changed, 59 insertions(+), 46 deletions(-) delete mode 100644 data/atril.appdata.xml create mode 100644 data/atril.appdata.xml.in diff --git a/data/Makefile.am b/data/Makefile.am index 8abf0bd9..5e5473a3 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -47,6 +47,14 @@ $(service_DATA): $(service_in_files) Makefile $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ endif +# +# App data file +# +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = atril.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + # # GSettings schema # @@ -56,14 +64,14 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) .PRECIOUS: $(gsettings_SCHEMAS) -@INTLTOOL_XML_NOMERGE_RULE@ - # include the appropriate makefile rules for schema handling @GSETTINGS_RULES@ gsettingsconvertdir = $(datadir)/MateConf/gsettings gsettingsconvert_DATA = atril.convert + + # # GTK icon cache # @@ -90,6 +98,7 @@ update-icon-cache: EXTRA_DIST = \ $(ui_DATA) \ $(DESKTOP_IN_FILES) \ + $(appdata_in_files) \ $(gsettingsschema_in_files) \ org.mate.atril.Daemon.service.in \ $(man_MANS) \ @@ -101,6 +110,9 @@ EXTRA_DIST = \ # Clean up properly # +CLEANFILES = \ + atril.appdata.xml + DISTCLEANFILES = \ $(DESKTOP_FILES) \ $(gsettings_SCHEMAS) \ diff --git a/data/atril.appdata.xml b/data/atril.appdata.xml deleted file mode 100644 index 73ec303c..00000000 --- a/data/atril.appdata.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - atril.desktop - CC0-1.0 - GPL-2.0+ - Atril Document Viewer - A Document Viewer for the MATE desktop environment - -

- Atril is a simple multi-page document viewer. It can display and - print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI, - XPS and Portable Document Format (PDF) files, as well as comic book - archive files. When supported by the document, it also allows - searching for text, copying text to the clipboard, hypertext navigation - and table-of-contents bookmarks. -

-

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

-
- - - - https://alexpl.fedorapeople.org/AppData/atril/screens/atril_01.png - - - - - https://alexpl.fedorapeople.org/AppData/atril/screens/atril_02.png - - - - - https://alexpl.fedorapeople.org/AppData/atril/screens/atril_03.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/data/atril.appdata.xml.in b/data/atril.appdata.xml.in new file mode 100644 index 00000000..73ec303c --- /dev/null +++ b/data/atril.appdata.xml.in @@ -0,0 +1,44 @@ + + + + atril.desktop + CC0-1.0 + GPL-2.0+ + Atril Document Viewer + A Document Viewer for the MATE desktop environment + +

+ Atril is a simple multi-page document viewer. It can display and + print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI, + XPS and Portable Document Format (PDF) files, as well as comic book + archive files. When supported by the document, it also allows + searching for text, copying text to the clipboard, hypertext navigation + and table-of-contents bookmarks. +

+

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

+
+ + + + https://alexpl.fedorapeople.org/AppData/atril/screens/atril_01.png + + + + + https://alexpl.fedorapeople.org/AppData/atril/screens/atril_02.png + + + + + https://alexpl.fedorapeople.org/AppData/atril/screens/atril_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 4f55dc6a..29dec83b 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -22,6 +22,7 @@ cut-n-paste/smclient/eggsmclient.c cut-n-paste/toolbar-editor/egg-editable-toolbar.c cut-n-paste/toolbar-editor/egg-toolbar-editor.c cut-n-paste/zoom-control/ephy-zoom.h +data/atril.appdata.xml.in data/atril.desktop.in.in data/org.mate.Atril.gschema.xml.in previewer/ev-previewer.c -- cgit v1.2.1