[evince/wip/appstream: 2/2] backends: add metainfo files for the backends
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/appstream: 2/2] backends: add metainfo files for the backends
- Date: Mon, 16 Jun 2014 10:51:06 +0000 (UTC)
commit e7a2a647ae9bef80ffbff61c4252d7389c503a63
Author: Igor Gnatenko <i gnatenko brain gmail com>
Date: Mon Jun 16 14:50:09 2014 +0400
backends: add metainfo files for the backends
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=731708
Signed-off-by: Igor Gnatenko <i gnatenko brain gmail com>
backend/comics/Makefile.am | 9 ++++++-
.../comics/evince-comicsdocument.metainfo.xml.in | 23 ++++++++++++++++++++
backend/djvu/Makefile.am | 9 ++++++-
backend/djvu/evince-djvudocument.metainfo.xml.in | 18 +++++++++++++++
backend/dvi/Makefile.am | 9 ++++++-
backend/dvi/evince-dvidocument.metainfo.xml.in | 19 ++++++++++++++++
backend/pdf/Makefile.am | 9 ++++++-
backend/pdf/evince-pdfdocument.metainfo.xml.in | 20 +++++++++++++++++
backend/ps/Makefile.am | 9 ++++++-
backend/ps/evince-psdocument.metainfo.xml.in | 23 ++++++++++++++++++++
backend/tiff/Makefile.am | 9 ++++++-
backend/tiff/evince-tiffdocument.metainfo.xml.in | 16 +++++++++++++
backend/xps/Makefile.am | 9 ++++++-
backend/xps/evince-xpsdocument.metainfo.xml.in | 17 ++++++++++++++
po/POTFILES.in | 7 ++++++
15 files changed, 192 insertions(+), 14 deletions(-)
---
diff --git a/backend/comics/Makefile.am b/backend/comics/Makefile.am
index 6890211..b637269 100644
--- a/backend/comics/Makefile.am
+++ b/backend/comics/Makefile.am
@@ -25,9 +25,14 @@ libcomicsdocument_la_LIBADD = \
backend_in_files = comicsdocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-comicsdocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/comics/evince-comicsdocument.metainfo.xml.in
b/backend/comics/evince-comicsdocument.metainfo.xml.in
new file mode 100644
index 0000000..3f6d725
--- /dev/null
+++ b/backend/comics/evince-comicsdocument.metainfo.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-comicsdocument</id>
+ <extends>evince.desktop</extends>
+ <_name>Comic Books</_name>
+ <_summary>Adds support for reading Comic Books</_summary>
+ <mimetypes>
+ <mimetype>application/x-cbr</mimetype>
+ <mimetype>application/x-cbz</mimetype>
+ <mimetype>application/x-cb7</mimetype>
+ <mimetype>application/x-cbt</mimetype>
+ <mimetype>application/x-ext-cbr</mimetype>
+ <mimetype>application/x-ext-cbz</mimetype>
+ <mimetype>application/x-ext-cb7</mimetype>
+ <mimetype>application/x-ext-cbt</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=backends</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/backend/djvu/Makefile.am b/backend/djvu/Makefile.am
index d0179f9..6256d28 100644
--- a/backend/djvu/Makefile.am
+++ b/backend/djvu/Makefile.am
@@ -31,9 +31,14 @@ libdjvudocument_la_LIBADD = \
backend_in_files = djvudocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-djvudocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/djvu/evince-djvudocument.metainfo.xml.in
b/backend/djvu/evince-djvudocument.metainfo.xml.in
new file mode 100644
index 0000000..add2dd3
--- /dev/null
+++ b/backend/djvu/evince-djvudocument.metainfo.xml.in
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-djvudocument</id>
+ <extends>evince.desktop</extends>
+ <_name>DjVu Documents</_name>
+ <_summary>Adds support for reading DjVu Documents</_summary>
+ <mimetypes>
+ <mimetype>image/vnd.djvu</mimetype>
+ <mimetype>application/x-ext-djv</mimetype>
+ <mimetype>application/x-ext-djvu</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=backends</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am
index eedf921..0b4d683 100644
--- a/backend/dvi/Makefile.am
+++ b/backend/dvi/Makefile.am
@@ -40,9 +40,14 @@ endif
backend_in_files = dvidocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-dvidocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/dvi/evince-dvidocument.metainfo.xml.in b/backend/dvi/evince-dvidocument.metainfo.xml.in
new file mode 100644
index 0000000..d115138
--- /dev/null
+++ b/backend/dvi/evince-dvidocument.metainfo.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-dvidocument</id>
+ <extends>evince.desktop</extends>
+ <_name>Comic Books</_name>
+ <_summary>Adds support for reading DVI Documents</_summary>
+ <mimetypes>
+ <mimetype>application/x-dvi</mimetype>
+ <mimetype>application/x-bzdvi</mimetype>
+ <mimetype>application/x-gzdvi</mimetype>
+ <mimetype>application/x-ext-dvi</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=backends</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/backend/pdf/Makefile.am b/backend/pdf/Makefile.am
index b91939c..e6cb76f 100644
--- a/backend/pdf/Makefile.am
+++ b/backend/pdf/Makefile.am
@@ -27,9 +27,14 @@ libpdfdocument_la_LIBADD = \
backend_in_files = pdfdocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-pdfdocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/pdf/evince-pdfdocument.metainfo.xml.in b/backend/pdf/evince-pdfdocument.metainfo.xml.in
new file mode 100644
index 0000000..c20b588
--- /dev/null
+++ b/backend/pdf/evince-pdfdocument.metainfo.xml.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-pdfdocument</id>
+ <extends>evince.desktop</extends>
+ <_name>PDF Documents</_name>
+ <_summary>Adds support for reading PDF Documents</_summary>
+ <mimetypes>
+ <mimetype>application/pdf</mimetype>
+ <mimetype>application/x-bzpdf</mimetype>
+ <mimetype>application/x-gzpdf</mimetype>
+ <mimetype>application/x-xzpdf</mimetype>
+ <mimetype>application/x-ext-pdf</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=PDF</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am
index 31bb8d7..1ddf9f7 100644
--- a/backend/ps/Makefile.am
+++ b/backend/ps/Makefile.am
@@ -25,9 +25,14 @@ libpsdocument_la_LIBADD = \
backend_in_files = psdocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-psdocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/ps/evince-psdocument.metainfo.xml.in b/backend/ps/evince-psdocument.metainfo.xml.in
new file mode 100644
index 0000000..8dba618
--- /dev/null
+++ b/backend/ps/evince-psdocument.metainfo.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-psdocument</id>
+ <extends>evince.desktop</extends>
+ <_name>PostScript Documents</_name>
+ <_summary>Adds support for reading PostScript Documents</_summary>
+ <mimetypes>
+ <mimetype>application/postscript</mimetype>
+ <mimetype>application/x-bzpostscript</mimetype>
+ <mimetype>application/x-gzpostscript</mimetype>
+ <mimetype>image/x-eps</mimetype>
+ <mimetype>image/x-bzeps</mimetype>
+ <mimetype>image/x-gzeps</mimetype>
+ <mimetype>application/x-ext-ps</mimetype>
+ <mimetype>application/x-ext-eps</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=PS</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/backend/tiff/Makefile.am b/backend/tiff/Makefile.am
index d9bc53f..4f68628 100644
--- a/backend/tiff/Makefile.am
+++ b/backend/tiff/Makefile.am
@@ -26,9 +26,14 @@ libtiffdocument_la_LIBADD = \
backend_in_files = tiffdocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-tiffdocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/tiff/evince-tiffdocument.metainfo.xml.in
b/backend/tiff/evince-tiffdocument.metainfo.xml.in
new file mode 100644
index 0000000..c55c033
--- /dev/null
+++ b/backend/tiff/evince-tiffdocument.metainfo.xml.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-tiffdocument</id>
+ <extends>evince.desktop</extends>
+ <_name>TIFF Documents</_name>
+ <_summary>Adds support for reading TIFF Documents</_summary>
+ <mimetypes>
+ <mimetype>image/tiff</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=backends</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/backend/xps/Makefile.am b/backend/xps/Makefile.am
index c94fb60..210b36a 100644
--- a/backend/xps/Makefile.am
+++ b/backend/xps/Makefile.am
@@ -24,9 +24,14 @@ libxpsdocument_la_LIBADD = \
backend_in_files = xpsdocument.evince-backend.in
backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
-EXTRA_DIST = $(backend_in_files)
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince-xpsdocument.metainfo.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
-CLEANFILES = $(backend_DATA)
+EXTRA_DIST = $(backend_in_files) $(appstream_in_files)
+
+CLEANFILES = $(backend_DATA) $(appstream_DATA)
@EV_INTLTOOL_EVINCE_BACKEND_RULE@
diff --git a/backend/xps/evince-xpsdocument.metainfo.xml.in b/backend/xps/evince-xpsdocument.metainfo.xml.in
new file mode 100644
index 0000000..a10bb32
--- /dev/null
+++ b/backend/xps/evince-xpsdocument.metainfo.xml.in
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<component type="addon">
+ <id>evince-xpsdocument</id>
+ <extends>evince.desktop</extends>
+ <_name>XPS Documents</_name>
+ <_summary>Adds support for reading XPS Documents</_summary>
+ <mimetypes>
+ <mimetype>application/oxps</mimetype>
+ <mimetype>application/vnd.ms-xpsdocument</mimetype>
+ </mimetypes>
+ <url type="homepage">https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=evince&component=backends</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index fff1af1..e0adf4d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,17 +3,24 @@
[encoding: UTF-8]
backend/comics/comics-document.c
[type: gettext/ini]backend/comics/comicsdocument.evince-backend.in
+backend/comics/evince-comicsdocument.metainfo.xml.in
backend/djvu/djvu-document.c
[type: gettext/ini]backend/djvu/djvudocument.evince-backend.in
+backend/djvu/evince-djvudocument.metainfo.xml.in
backend/dvi/dvi-document.c
[type: gettext/ini]backend/dvi/dvidocument.evince-backend.in
+backend/dvi/evince-dvidocument.metainfo.xml.in
backend/pdf/ev-poppler.cc
[type: gettext/ini]backend/pdf/pdfdocument.evince-backend.in
+backend/pdf/evince-pdfdocument.metainfo.xml.in
backend/ps/ev-spectre.c
[type: gettext/ini]backend/ps/psdocument.evince-backend.in
+backend/ps/evince-psdocument.metainfo.xml.in
backend/tiff/tiff-document.c
[type: gettext/ini]backend/tiff/tiffdocument.evince-backend.in
+backend/tiff/evince-tiffdocument.metainfo.xml.in
[type: gettext/ini]backend/xps/xpsdocument.evince-backend.in
+backend/xps/evince-xpsdocument.metainfo.xml.in
data/evince.desktop.in.in
data/evince.appdata.xml.in
data/evince-previewer.desktop.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]