internationalise plugin appdata files
authorPaul <paul@claws-mail.org>
Fri, 13 Jun 2014 11:21:24 +0000 (12:21 +0100)
committerPaul <paul@claws-mail.org>
Fri, 13 Jun 2014 11:21:24 +0000 (12:21 +0100)
56 files changed:
po/POTFILES.in
src/plugins/acpi_notifier/Makefile.am
src/plugins/acpi_notifier/claws-mail-acpi_notifier.metainfo.xml.in [moved from src/plugins/acpi_notifier/claws-mail-acpi_notifier.metainfo.xml with 71% similarity]
src/plugins/address_keeper/Makefile.am
src/plugins/address_keeper/claws-mail-address_keeper.metainfo.xml.in [moved from src/plugins/address_keeper/claws-mail-address_keeper.metainfo.xml with 67% similarity]
src/plugins/archive/Makefile.am
src/plugins/archive/claws-mail-archive.metainfo.xml.in [moved from src/plugins/archive/claws-mail-archive.metainfo.xml with 70% similarity]
src/plugins/att_remover/Makefile.am
src/plugins/att_remover/claws-mail-att_remover.metainfo.xml.in [moved from src/plugins/att_remover/claws-mail-att_remover.metainfo.xml with 71% similarity]
src/plugins/attachwarner/Makefile.am
src/plugins/attachwarner/claws-mail-attachwarner.metainfo.xml.in [moved from src/plugins/attachwarner/claws-mail-attachwarner.metainfo.xml with 66% similarity]
src/plugins/bogofilter/Makefile.am
src/plugins/bogofilter/claws-mail-bogofilter.metainfo.xml.in [moved from src/plugins/bogofilter/claws-mail-bogofilter.metainfo.xml with 65% similarity]
src/plugins/bsfilter/claws-mail-bsfilter.metainfo.xml.in [moved from src/plugins/bsfilter/claws-mail-bsfilter.metainfo.xml with 64% similarity]
src/plugins/clamd/Makefile.am
src/plugins/clamd/claws-mail-clamd.metainfo.xml.in [moved from src/plugins/clamd/claws-mail-clamd.metainfo.xml with 64% similarity]
src/plugins/fancy/Makefile.am
src/plugins/fancy/claws-mail-fancy.metainfo.xml.in [moved from src/plugins/fancy/claws-mail-fancy.metainfo.xml with 70% similarity]
src/plugins/fetchinfo/Makefile.am
src/plugins/fetchinfo/claws-mail-fetchinfo.metainfo.xml.in [moved from src/plugins/fetchinfo/claws-mail-fetchinfo.metainfo.xml with 64% similarity]
src/plugins/gdata/Makefile.am
src/plugins/gdata/claws-mail-gdata.metainfo.xml.in [moved from src/plugins/gdata/claws-mail-gdata.metainfo.xml with 70% similarity]
src/plugins/geolocation/Makefile.am
src/plugins/geolocation/claws-mail-geolocation.metainfo.xml.in [moved from src/plugins/geolocation/claws-mail-geolocation.metainfo.xml with 72% similarity]
src/plugins/libravatar/Makefile.am
src/plugins/libravatar/claws-mail-libravatar.metainfo.xml.in [moved from src/plugins/libravatar/claws-mail-libravatar.metainfo.xml with 65% similarity]
src/plugins/mailmbox/Makefile.am
src/plugins/mailmbox/claws-mail-mailmbox.metainfo.xml.in [moved from src/plugins/mailmbox/claws-mail-mailmbox.metainfo.xml with 70% similarity]
src/plugins/newmail/Makefile.am
src/plugins/newmail/claws-mail-newmail.metainfo.xml.in [moved from src/plugins/newmail/claws-mail-newmail.metainfo.xml with 66% similarity]
src/plugins/notification/Makefile.am
src/plugins/notification/claws-mail-notification.metainfo.xml.in [moved from src/plugins/notification/claws-mail-notification.metainfo.xml with 69% similarity]
src/plugins/pdf_viewer/Makefile.am
src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml.in [moved from src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml with 65% similarity]
src/plugins/perl/Makefile.am
src/plugins/perl/claws-mail-perl.metainfo.xml.in [moved from src/plugins/perl/claws-mail-perl.metainfo.xml with 68% similarity]
src/plugins/pgpcore/Makefile.am
src/plugins/pgpcore/claws-mail-pgpcore.metainfo.xml.in [new file with mode: 0644]
src/plugins/pgpinline/Makefile.am
src/plugins/pgpinline/claws-mail-pgpinline.metainfo.xml.in [moved from src/plugins/pgpinline/claws-mail-pgpinline.metainfo.xml with 70% similarity]
src/plugins/pgpmime/Makefile.am
src/plugins/pgpmime/claws-mail-pgpmime.metainfo.xml.in [moved from src/plugins/pgpmime/claws-mail-pgpmime.metainfo.xml with 70% similarity]
src/plugins/python/Makefile.am
src/plugins/python/claws-mail-python.metainfo.xml.in [moved from src/plugins/python/claws-mail-python.metainfo.xml with 65% similarity]
src/plugins/rssyl/Makefile.am
src/plugins/rssyl/claws-mail-rssyl.metainfo.xml.in [moved from src/plugins/rssyl/claws-mail-rssyl.metainfo.xml with 72% similarity]
src/plugins/smime/Makefile.am
src/plugins/smime/claws-mail-smime.metainfo.xml.in [moved from src/plugins/smime/claws-mail-smime.metainfo.xml with 70% similarity]
src/plugins/spam_report/Makefile.am
src/plugins/spam_report/claws-mail-spam_report.metainfo.xml.in [moved from src/plugins/spam_report/claws-mail-spam_report.metainfo.xml with 72% similarity]
src/plugins/spamassassin/Makefile.am
src/plugins/spamassassin/claws-mail-spamassasin.metainfo.xml.in [moved from src/plugins/spamassassin/claws-mail-spamassasin.metainfo.xml with 65% similarity]
src/plugins/tnef_parse/Makefile.am
src/plugins/tnef_parse/claws-mail-tnef_parse.metainfo.xml.in [moved from src/plugins/tnef_parse/claws-mail-tnef_parse.metainfo.xml with 71% similarity]
src/plugins/vcalendar/Makefile.am
src/plugins/vcalendar/claws-mail-vcalendar.metainfo.xml.in [moved from src/plugins/vcalendar/claws-mail-vcalendar.metainfo.xml with 65% similarity]

index f87844a..3fc673c 100644 (file)
@@ -88,37 +88,53 @@ src/mimeview.c
 src/news.c
 src/news_gtk.c
 src/plugins/acpi_notifier/acpi_notifier.c
+src/plugins/acpi_notifier/claws-mail-acpi_notifier.metainfo.xml.in
 src/plugins/address_keeper/address_keeper.c
 src/plugins/address_keeper/address_keeper.h
 src/plugins/address_keeper/address_keeper_prefs.c
+src/plugins/address_keeper/claws-mail-address_keeper.metainfo.xml.in
 src/plugins/archive/archiver.c
 src/plugins/archive/archiver_gtk.c
 src/plugins/archive/archiver_prefs.c
+src/plugins/archive/claws-mail-archive.metainfo.xml.in
+src/plugins/att_remover/att_remover.c
+src/plugins/att_remover/claws-mail-att_remover.metainfo.xml.in
 src/plugins/attachwarner/attachwarner.c
 src/plugins/attachwarner/attachwarner_prefs.c
-src/plugins/att_remover/att_remover.c
+src/plugins/attachwarner/claws-mail-attachwarner.metainfo.xml.in
 src/plugins/bogofilter/bogofilter.c
 src/plugins/bogofilter/bogofilter_gtk.c
+src/plugins/bogofilter/claws-mail-bogofilter.metainfo.xml.in
 src/plugins/bsfilter/bsfilter.c
 src/plugins/bsfilter/bsfilter_gtk.c
+src/plugins/bsfilter/claws-mail-acpi_notifier.metainfo.xml.in
 src/plugins/clamd/clamav_plugin.c
 src/plugins/clamd/clamav_plugin_gtk.c
+src/plugins/clamd/claws-mail-clamd.metainfo.xml.in
 src/plugins/clamd/libclamd/clamd-plugin.c
 src/plugins/demo/demo.c
+src/plugins/fancy/claws-mail-fancy.metainfo.xml.in
 src/plugins/fancy/fancy_prefs.c
 src/plugins/fancy/fancy_viewer.c
+src/plugins/fetchinfo/claws-mail-fetchinfo.metainfo.xml.in
 src/plugins/fetchinfo/fetchinfo_plugin.c
 src/plugins/fetchinfo/fetchinfo_plugin_gtk.c
+src/plugins/gdata/claws-mail-gdata.metainfo.xml.in
 src/plugins/gdata/cm_gdata_contacts.c
 src/plugins/gdata/cm_gdata_prefs.c
 src/plugins/gdata/gdata_plugin.c
+src/plugins/geolocation/claws-mail-geolocation.metainfo.xml.in
 src/plugins/geolocation/geolocation_plugin.c
+src/plugins/libravatar/claws-mail-libravatar.metainfo.xml.in
 src/plugins/libravatar/libravatar.c
 src/plugins/libravatar/libravatar_prefs.c
+src/plugins/mailmbox/claws-mail-mailmbox.metainfo.xml.in
 src/plugins/mailmbox/mailmbox_folder.c
 src/plugins/mailmbox/plugin.c
 src/plugins/mailmbox/plugin_gtk.c
+src/plugins/newmail/claws-mail-newmail.metainfo.xml.in
 src/plugins/newmail/newmail.c
+src/plugins/notification/claws-mail-notification.metainfo.xml.in
 src/plugins/notification/notification_banner.c
 src/plugins/notification/notification_foldercheck.c
 src/plugins/notification/notification_lcdproc.c
@@ -126,21 +142,28 @@ src/plugins/notification/notification_plugin.c
 src/plugins/notification/notification_popup.c
 src/plugins/notification/notification_prefs.c
 src/plugins/notification/notification_trayicon.c
+src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml.in
 src/plugins/pdf_viewer/poppler_viewer.c
+src/plugins/perl/claws-mail-perl.metainfo.xml.in
 src/plugins/perl/perl_gtk.c
 src/plugins/pgpcore/autocompletion.c
+src/plugins/pgpcore/claws-mail-pgpcore.metainfo.xml.in
 src/plugins/pgpcore/passphrase.c
 src/plugins/pgpcore/pgp_viewer.c
 src/plugins/pgpcore/plugin.c
 src/plugins/pgpcore/prefs_gpg.c
 src/plugins/pgpcore/select-keys.c
 src/plugins/pgpcore/sgpgme.c
+src/plugins/pgpinline/claws-mail-pgpinline.metainfo.xml.in
 src/plugins/pgpinline/pgpinline.c
 src/plugins/pgpinline/plugin.c
+src/plugins/pgpmime/claws-mail-pgpmime.metainfo.xml.in
 src/plugins/pgpmime/pgpmime.c
 src/plugins/pgpmime/plugin.c
+src/plugins/python/claws-mail-python.metainfo.xml.in
 src/plugins/python/composewindowtype.c
 src/plugins/python/python_plugin.c
+src/plugins/rssyl/claws-mail-rssyl.metainfo.xml.in
 src/plugins/rssyl/feed.c
 src/plugins/rssyl/feed.h
 src/plugins/rssyl/plugin.c
@@ -149,13 +172,18 @@ src/plugins/rssyl/rssyl_cb_menu.c
 src/plugins/rssyl/rssyl_gtk.c
 src/plugins/rssyl/rssyl.h
 src/plugins/rssyl/rssyl_prefs.c
+src/plugins/smime/claws-mail-smime.metainfo.xml.in
 src/plugins/smime/plugin.c
 src/plugins/smime/smime.c
-src/plugins/spamassassin/spamassassin.c
-src/plugins/spamassassin/spamassassin_gtk.c
+src/plugins/spam_report/claws-mail-spam_report.metainfo.xml.in
 src/plugins/spam_report/spam_report.c
 src/plugins/spam_report/spam_report_prefs.c
+src/plugins/spamassassin/claws-mail-spamassasin.metainfo.xml.in
+src/plugins/spamassassin/spamassassin.c
+src/plugins/spamassassin/spamassassin_gtk.c
+src/plugins/tnef_parse/claws-mail-tnef_parse.metainfo.xml.in
 src/plugins/tnef_parse/tnef_parse.c
+src/plugins/vcalendar/claws-mail-vcalendar.metainfo.xml.in
 src/plugins/vcalendar/common-views.c
 src/plugins/vcalendar/day-view.c
 src/plugins/vcalendar/month-view.c
index 9595978..706a203 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-acpi_notifier.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-acpi_notifier.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-acpi_notifier</id>
 <extends>claws-mail.desktop</extends>
 <name>AcpiNotifier</name>
-<summary>Enables mail notification via LEDs on some laptops</summary>
+<_summary>Enables mail notification via LEDs on some laptops</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=acpinotifier</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 32e51fa..54fbb32 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-address_keeper.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-address_keeper.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-address_keeper</id>
 <extends>claws-mail.desktop</extends>
 <name>AddressKeeper</name>
-<summary>Allows saving outgoing addresses to a designated folder in the address book</summary>
+<_summary>Allows saving outgoing addresses to a designated folder in the address book</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index a76a589..6752e67 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 #
-appdata_files = claws-mail-archive.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-archive.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-archive</id>
 <extends>claws-mail.desktop</extends>
 <name>Mail Archiver</name>
-<summary>Allows to make tars or zips of old folders</summary>
+<_summary>Allows to make tars or zips of old folders</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 39ab4f5..5609912 100644 (file)
@@ -2,10 +2,12 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-att_remover.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-att_remover.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-att_remover</id>
 <extends>claws-mail.desktop</extends>
 <name>AttRemover</name>
-<summary>Lets you remove attachments from emails</summary>
+<_summary>Lets you remove attachments from emails</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 29b0076..317a3b2 100644 (file)
@@ -2,10 +2,11 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-attachwarner.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-attachwarner.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-attachwarner</id>
 <extends>claws-mail.desktop</extends>
 <name>AttachWarner</name>
-<summary>Warns when a message mentioning an attachment in the message body without attaching any files</summary>
+<_summary>Warns when a message mentioning an attachment in the message body without attaching any files</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=attachwarner</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 9419d08..9d01cde 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-bogofilter.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_files = claws-mail-bogofilter.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-bogofilter</id>
 <extends>claws-mail.desktop</extends>
 <name>Bogofilter</name>
-<summary>Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using Bogofilter</summary>
+<_summary>Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using Bogofilter</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=bogofilter</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-bsfilter</id>
 <extends>claws-mail.desktop</extends>
 <name>BSfilter</name>
-<summary>Check all messages that are received from an IMAP, LOCAL or POP account for spam using Bsfilter</summary>
+<_summary>Check all messages that are received from an IMAP, LOCAL or POP account for spam using Bsfilter</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 29a6b36..d38d37f 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-clamd.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-clamd.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 SUBDIRS = libclamd
 plugindir = $(pkglibdir)/plugins
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-clamd</id>
 <extends>claws-mail.desktop</extends>
 <name>Clamd</name>
-<summary>Scans all messages that are received from an IMAP, LOCAL or POP account using clamd (Clam AV)</summary>
+<_summary>Scans all messages that are received from an IMAP, LOCAL or POP account using clamd (Clam AV)</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index be21805..96389cf 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-fancy.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-fancy.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-fancy</id>
 <extends>claws-mail.desktop</extends>
 <name>Fancy</name>
-<summary>Renders HTML e-mail using the WebKit library</summary>
+<_summary>Renders HTML e-mail using the WebKit library</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 20b4c89..cba9e53 100644 (file)
@@ -2,9 +2,11 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-fetchinfo.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-fetchinfo.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
 
 if OS_WIN32
 
@@ -79,4 +81,4 @@ fetchinfo_la_CPPFLAGS = \
        $(GLIB_CFLAGS) \
        $(GTK_CFLAGS)
 
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-fetchinfo</id>
 <extends>claws-mail.desktop</extends>
 <name>Fetchinfo</name>
-<summary>Inserts headers containing: UIDL, Claws' account name, POP server, user ID and retrieval time</summary>
+<_summary>Inserts headers containing: UIDL, Claws' account name, POP server, user ID and retrieval time</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 30bac6e..4632af5 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-gdata.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-gdata.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-gdata</id>
 <extends>claws-mail.desktop</extends>
 <name>GData</name>
-<summary>Provides an interface to Google services</summary>
+<_summary>Provides an interface to Google services</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index db13f21..47ffab5 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-geolocation.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-geolocation.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-geolocation</id>
 <extends>claws-mail.desktop</extends>
 <name>GeoLocation</name>
-<summary>Provides GeoLocation functionality</summary>
+<_summary>Provides GeoLocation functionality</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index e8fbbe4..19d38ed 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-libravatar.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-libravatar.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-libravatar</id>
 <extends>claws-mail.desktop</extends>
 <name>Libravatar</name>
-<summary>Displays libravatar/gravatar profiles' images or a dynamically generated or predefined alternative</summary>
+<_summary>Displays libravatar/gravatar profiles' images or a dynamically generated or predefined alternative</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=libravatar</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 423fa2f..20608bc 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-mailmbox.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-mailmbox.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-mailmbox</id>
 <extends>claws-mail.desktop</extends>
 <name>mailMBOX</name>
-<summary>Direct support for mailboxes in mbox format</summary>
+<_summary>Direct support for mailboxes in mbox format</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 36b183d..8d363c0 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-newmail.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-newmail.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-newmail</id>
 <extends>claws-mail.desktop</extends>
 <name>NewMail</name>
-<summary>Writes a msg header summary to a log file on arrival of new mail after sorting</summary>
+<_summary>Writes a msg header summary to a log file on arrival of new mail after sorting</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 4521a81..d7d1d34 100644 (file)
@@ -2,9 +2,11 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-notification.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-notification.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
 
 if BUILD_HOTKEYS
 hotkey_lib = libcmnpgtkhotkey.la
@@ -15,7 +17,7 @@ hotkey_lib_path =
 endif
 
 SUBDIRS=gtkhotkey
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 CFLAGS += "-Wall"
 
 IFLAGS = \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-notification</id>
 <extends>claws-mail.desktop</extends>
 <name>Notification</name>
-<summary>Provides various ways to notify the user of new and unread email</summary>
+<_summary>Provides various ways to notify the user of new and unread email</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=notification</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 275e7fc..44ab32f 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-pdf_viewer.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-pdf_viewer.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 plugindir = $(pkglibdir)/plugins
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-pdf_viewer</id>
 <extends>claws-mail.desktop</extends>
 <name>PDF Viewer</name>
-<summary>Enables the viewing of PDF and PostScript attachments using the Poppler library and GhostScript</summary>
+<_summary>Enables the viewing of PDF and PostScript attachments using the Poppler library and GhostScript</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=pdf_viewer</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 7d92785..bee013d 100644 (file)
@@ -2,9 +2,11 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-perl.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-perl.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
 
 SUBDIRS = tools
 
@@ -34,5 +36,5 @@ perl_la_CPPFLAGS = \
        $(GTK_CFLAGS) \
        $(PERL_CFLAGS)
 
-EXTRA_DIST = cm_perl.pod $(appdata_files)
+EXTRA_DIST = cm_perl.pod $(appdata_in_files)
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-perl</id>
 <extends>claws-mail.desktop</extends>
 <name>Perl</name>
-<summary>Allowing the use of full Perl power in email filters</summary>
+<_summary>Allowing the use of full Perl power in email filters</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 50abc80..a3a51d1 100644 (file)
@@ -2,7 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-EXTRA_DIST = version.rc plugin.def claws.def
+appdata_in_files = claws-mail-pgpcore.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = version.rc plugin.def claws.def $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
diff --git a/src/plugins/pgpcore/claws-mail-pgpcore.metainfo.xml.in b/src/plugins/pgpcore/claws-mail-pgpcore.metainfo.xml.in
new file mode 100644 (file)
index 0000000..bcfc65b
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 the Claws Mail team -->
+<component type="addon">
+<id>claws-mail-pgpcore</id>
+<extends>claws-mail.desktop</extends>
+<name>PGP/Core</name>
+<_summary>Handles core PGP functions and is a dependency of both the PGP/Inline and PGP/MIME plugins.</_summary>
+<url type="homepage">http://claws-mail.org/plugin.php?plugin=gpg</url>
+<metadata_license>CC0-1.0</metadata_license>
+<project_license>GPL-3.0+</project_license>
+<updatecontact>devel@lists.claws-mail.org</updatecontact>
+</component>
index a471d53..17a0278 100644 (file)
@@ -2,11 +2,14 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-pgpinline.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-pgpinline.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
 EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def pgpinline.deps \
-                                                $(appdata_files)
+       $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-pgpinline</id>
 <extends>claws-mail.desktop</extends>
 <name>PGP/Inline</name>
-<summary>Handles PGP/Inline signed and/or encrypted mails</summary>
+<_summary>Handles PGP/Inline signed and/or encrypted mails</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=gpg</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 124c682..22358bd 100644 (file)
@@ -2,11 +2,14 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-pgpmime.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-pgpmime.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
 EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def pgpmime.deps \
-                                                $(appdata_files)
+       $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-pgpmime</id>
 <extends>claws-mail.desktop</extends>
 <name>PGP/MIME</name>
-<summary>Handles PGP/MIME signed and/or encrypted mails</summary>
+<_summary>Handles PGP/MIME signed and/or encrypted mails</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=gpg</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 87513f9..800e899 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-python.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = $(appdata_files)
+appdata_in_files = claws-mail-python.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
 
 SUBDIRS = examples
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-python</id>
 <extends>claws-mail.desktop</extends>
 <name>Python</name>
-<summary>Offers a Python scripting. Code can be entered into an embedded Python console or stored</summary>
+<_summary>Offers a Python scripting. Code can be entered into an embedded Python console or stored</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=python</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 1c4a44e..7ca8a74 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-rssyl.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-rssyl.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-rssyl</id>
 <extends>claws-mail.desktop</extends>
 <name>RSSyl</name>
-<summary>Read your RSS favourite newsfeeds</summary>
+<_summary>Read your RSS favourite newsfeeds</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=rssyl</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index fe3661e..2b7a2a9 100644 (file)
@@ -2,11 +2,14 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-smime.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-smime.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
 EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def smime.deps \
-                                                $(appdata_files)
+       $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-smime</id>
 <extends>claws-mail.desktop</extends>
 <name>S/MIME</name>
-<summary>Handles S/MIME signed and/or encrypted mails</summary>
+<_summary>Handles S/MIME signed and/or encrypted mails</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index c2ec35e..923f105 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-spam_report.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-spam_report.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-spam_report</id>
 <extends>claws-mail.desktop</extends>
 <name>SpamReport</name>
-<summary>Reports spam to various places</summary>
+<_summary>Reports spam to various places</_summary>
 <url type="homepage">http://claws-mail.org/plugins.php</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 6d3996b..cbb56c8 100644 (file)
@@ -2,9 +2,11 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-spamassasin.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-spamassasin.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
 
 plugindir = $(pkglibdir)/plugins
 
@@ -38,4 +40,4 @@ spamassassin_la_CPPFLAGS = \
        $(GLIB_CFLAGS) \
        $(GTK_CFLAGS)
 
-EXTRA_DIST = README $(appdata_files)
+EXTRA_DIST = README $(appdata_in_files)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-spamassasin</id>
 <extends>claws-mail.desktop</extends>
 <name>SpamAssasin</name>
-<summary>Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using SpamAssassin</summary>
+<_summary>Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using SpamAssassin</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=spamassasin</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index f1897fc..40fe3fe 100644 (file)
@@ -2,10 +2,13 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-tnef_parse.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+appdata_in_files = claws-mail-tnef_parse.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 if OS_WIN32
 
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-tnef_parse</id>
 <extends>claws-mail.desktop</extends>
 <name>TNEF parse</name>
-<summary>Enables reading application/ms-tnef attachments</summary>
+<_summary>Enables reading application/ms-tnef attachments</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=tnef_parser</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>
index 759ef6f..b978ebf 100644 (file)
@@ -2,12 +2,14 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
-appdata_files = claws-mail-vcalendar.metainfo.xml
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_files)
+appdata_in_files = claws-mail-vcalendar.metainfo.xml.in
+appdatadir=$(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
 
 SUBDIRS = libical
-EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
 
 IFLAGS = \
        -I$(top_srcdir)/src \
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<!-- Copyright 2014 the Claws Mail team and Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
 <component type="addon">
 <id>claws-mail-vcalendar</id>
 <extends>claws-mail.desktop</extends>
 <name>vCalendar</name>
-<summary>Enables vCalendar message handling and handles webCal subscriptions. Provides a calendar import</summary>
+<_summary>Enables vCalendar message handling and handles webCal subscriptions. Provides a calendar import</_summary>
 <url type="homepage">http://claws-mail.org/plugin.php?plugin=vcalendar</url>
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-3.0+</project_license>