[evolution] Add metainfo.xml files for bogofilter and spamassassin plugins



commit 446a23d752114a79397a1c5bd0369483f3b8dcc1
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 8 11:30:53 2014 +0200

    Add metainfo.xml files for bogofilter and spamassassin plugins
    
    These are useful for GNOME Software, to show the plugins as an addon
    for the Evolution. Packagers can decide what to do with the file,
    either they can add it into the respective subpackage or they can
    just ignore (remove) the files, if they do not build special packages
    for these plugins.

 modules/bogofilter/Makefile.am                     |   10 ++++++++++
 .../evolution-bogofilter.metainfo.xml.in           |   12 ++++++++++++
 modules/spamassassin/Makefile.am                   |   10 ++++++++++
 .../evolution-spamassassin.metainfo.xml.in         |   12 ++++++++++++
 po/POTFILES.in                                     |    2 ++
 5 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/modules/bogofilter/Makefile.am b/modules/bogofilter/Makefile.am
index 37ae00c..a5373db 100644
--- a/modules/bogofilter/Makefile.am
+++ b/modules/bogofilter/Makefile.am
@@ -22,4 +22,14 @@ module_bogofilter_la_LIBADD = \
 module_bogofilter_la_LDFLAGS = \
        -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS)
 
+ INTLTOOL_XML_NOMERGE_RULE@
+metainfodir = $(datadir)/appdata
+metainfo_in_files = evolution-bogofilter.metainfo.xml.in
+metainfo_files = $(metainfo_in_files:.xml.in=.xml)
+dist_metainfo_DATA = $(metainfo_files)
+
+EXTRA_DIST = $(metainfo_in_files)
+
+DISTCLEANFILES = $(metainfo_files)
+
 -include $(top_srcdir)/git.mk
diff --git a/modules/bogofilter/evolution-bogofilter.metainfo.xml.in 
b/modules/bogofilter/evolution-bogofilter.metainfo.xml.in
new file mode 100644
index 0000000..4be6762
--- /dev/null
+++ b/modules/bogofilter/evolution-bogofilter.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Evolution Team <evolution-hackers gnome org> -->
+<component type="addon">
+       <id>evolution-bogofilter</id>
+       <extends>evolution.desktop</extends>
+       <_name>Bogofilter</_name>
+       <_summary>Junk filter using Bogofilter</_summary>
+       <url type="homepage">https://live.gnome.org/Apps/Evolution</url>
+       <metadata_license>CC0-1.0</metadata_license>
+       <project_license>LGPL</project_license>
+       <updatecontact>evolution-hackers_at_gnome.org</updatecontact>
+</component>
diff --git a/modules/spamassassin/Makefile.am b/modules/spamassassin/Makefile.am
index ae5c32d..cc4a8ae 100644
--- a/modules/spamassassin/Makefile.am
+++ b/modules/spamassassin/Makefile.am
@@ -24,4 +24,14 @@ module_spamassassin_la_LIBADD = \
 module_spamassassin_la_LDFLAGS = \
        -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS)
 
+ INTLTOOL_XML_NOMERGE_RULE@
+metainfodir = $(datadir)/appdata
+metainfo_in_files = evolution-spamassassin.metainfo.xml.in
+metainfo_files = $(metainfo_in_files:.xml.in=.xml)
+dist_metainfo_DATA = $(metainfo_files)
+
+EXTRA_DIST = $(metainfo_in_files)
+
+DISTCLEANFILES = $(metainfo_files)
+
 -include $(top_srcdir)/git.mk
diff --git a/modules/spamassassin/evolution-spamassassin.metainfo.xml.in 
b/modules/spamassassin/evolution-spamassassin.metainfo.xml.in
new file mode 100644
index 0000000..4717d65
--- /dev/null
+++ b/modules/spamassassin/evolution-spamassassin.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Evolution Team <evolution-hackers gnome org> -->
+<component type="addon">
+       <id>evolution-spamassassin</id>
+       <extends>evolution.desktop</extends>
+       <_name>SpamAssassin</_name>
+       <_summary>Junk filter using SpamAssassin</_summary>
+       <url type="homepage">https://live.gnome.org/Apps/Evolution</url>
+       <metadata_license>CC0-1.0</metadata_license>
+       <project_license>LGPL</project_license>
+       <updatecontact>evolution-hackers_at_gnome.org</updatecontact>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 02cd46f..201c937 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -402,6 +402,7 @@ modules/backup-restore/evolution-backup-restore.c
 modules/backup-restore/evolution-backup-tool.c
 modules/backup-restore/org-gnome-backup-restore.error.xml
 modules/bogofilter/evolution-bogofilter.c
+modules/bogofilter/evolution-bogofilter.metainfo.xml.in
 modules/book-config-google/evolution-book-config-google.c
 modules/book-config-ldap/evolution-book-config-ldap.c
 modules/book-config-webdav/evolution-book-config-webdav.c
@@ -471,6 +472,7 @@ modules/prefer-plain/e-mail-parser-prefer-plain.c
 modules/prefer-plain/plugin/config-ui.c
 modules/prefer-plain/plugin/org-gnome-prefer-plain.eplug.xml
 modules/spamassassin/evolution-spamassassin.c
+modules/spamassassin/evolution-spamassassin.metainfo.xml.in
 modules/startup-wizard/e-mail-config-import-page.c
 modules/startup-wizard/e-mail-config-import-progress-page.c
 modules/startup-wizard/e-startup-assistant.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]