diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail')
8 files changed, 267 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb new file mode 100644 index 000000000..938af2ef7 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb @@ -0,0 +1,56 @@ +SECTION = "x11/network" +SUMMARY = "Mail user agent" +DEPENDS = "gtk+ libetpan openssl aspell curl libgcrypt" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=e059bde2972c1790af786f3e86bac22e" + +PNBLACKLIST[claws-mail] ?= "depends on blacklisted libetpan" + +inherit autotools pkgconfig gettext + +# translation patch: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1774 +SRC_URI = "\ + ${SOURCEFORGE_MIRROR}/project/claws-mail/Claws%20Mail/${PV}/claws-mail-${PV}.tar.bz2;name=archive " +SRC_URI[archive.md5sum] = "4c5ac7b21f0ed17d0f6404124c2229a4" +SRC_URI[archive.sha256sum] = "ed70975a5056b3ffc4fe6e977f0d9606febc1499763c090241b029a73ff24e65" + +do_configure_append() { + cd ${S}/po ; for PO in *.po ; do MO=`echo $PO | sed s/\\.po//`.gmo ; if ! test -f $MO ; then msgfmt $PO -o $MO ; fi ; done; cd ${B} +} + +PACKAGECONFIG ??= "startup-notification dbus" +PACKAGECONFIG[enchant] = "--enable-enchant,--disable-enchant,enchant" +PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" +PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus dbus-glib" +PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" + +# FIXME: maemo builds may want --enable-maemo +# FIXME: some platforms may want --enable-generic-umpc +EXTRA_OECONF = " \ + --disable-manual \ + --disable-crash-dialog \ + --disable-jpilot \ + --disable-trayicon-plugin \ + --disable-spamassassin-plugin \ + --disable-bogofilter-plugin \ + --disable-pgpcore-plugin \ + --disable-pgpmime-plugin \ + --disable-pgpinline-plugin \ + --disable-dillo-viewer-plugin \ + --disable-valgrind \ +" + +# Remove enchant references: +do_install_prepend() { + sed -i -e 's:${STAGING_INCDIR}:${includedir}:g;s:${STAGING_LIBDIR}:${libdir}:g' claws-mail.pc +} + +# Work-around broken GPE icon lookup: +do_install_append() { + rm -r ${D}${datadir}/icons + install -d ${D}${datadir}/pixmaps + install -m 0644 ${S}/claws-mail.png ${D}${datadir}/pixmaps/ + sed -i 's/Icon=[^.]*$/&.png/' ${D}${datadir}/applications/claws-mail.desktop +} + +RSUGGESTS_${PN} = "claws-plugin-gtkhtml2-viewer claws-plugin-mailmbox claws-plugin-rssyl" diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch new file mode 100644 index 000000000..222a79602 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch @@ -0,0 +1,52 @@ +Index: gtkhtml2_viewer-0.31/configure.ac +=================================================================== +--- gtkhtml2_viewer-0.31.orig/configure.ac 2011-08-27 08:08:55.000000000 +0000 ++++ gtkhtml2_viewer-0.31/configure.ac 2014-07-18 07:28:42.769518618 +0000 +@@ -1,33 +1,27 @@ + AC_PREREQ(2.60) +-AC_INIT(src/gtkhtml2_viewer.c) ++ ++dnl plugin version ++m4_define([plugin_major_version],[0]) ++m4_define([plugin_minor_version],[31]) ++m4_define([plugin_micro_version],[0]) ++m4_define([plugin_version], [plugin_major_version.plugin_minor_version.plugin_micro_version]) ++ ++AC_INIT(gtkhml2_viewer, plugin_version) ++AC_CONFIG_SRCDIR(src/gtkhtml2_viewer.c) + AC_CONFIG_AUX_DIR(config) + AM_MAINTAINER_MODE + + PACKAGE=gtkhtml2_viewer + +-dnl plugin version +-MAJOR_VERSION=0 +-MINOR_VERSION=31 +-MICRO_VERSION=0 ++MAJOR_VERSION=plugin_major_version ++MINOR_VERSION=plugin_minor_version ++MICRO_VERSION=plugin_micro_version + EXTRA_VERSION=0 +- +-if test \( $EXTRA_VERSION -eq 0 \); then +- if test \( $MICRO_VERSION -eq 0 \); then +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION} +- else +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} +- fi +-else +- if test \( $MICRO_VERSION -eq 0 \); then +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION}cvs${EXTRA_VERSION} +- else +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION} +- fi +-fi ++VERSION=plugin_version + + AC_CANONICAL_SYSTEM + +-AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) ++AM_INIT_AUTOMAKE([foreign no-define]) + AC_CONFIG_HEADERS(config.h) + AC_DEFINE_UNQUOTED(PLUGINVERSION, "$VERSION", [plugin version]) + diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb new file mode 100644 index 000000000..c25257344 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb @@ -0,0 +1,24 @@ +SECTION = "x11/network" +SUMMARY = "Mail user agent plugins" +DEPENDS = "claws-mail gtkhtml2 curl" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=977f04a8048c04684e521c06e2844a94" + +PNBLACKLIST[claws-plugin-gtkhtml2-viewer] ?= "depends on blacklisted claws-mail" + +PR = "r1" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/gtkhtml2_viewer-${PV}.tar.gz \ + file://configure.patch" +SRC_URI[md5sum] = "a6c9dfa6f969ccd844796a5724b52167" +SRC_URI[sha256sum] = "4d41f6d961efaac0f51705e5052bac732bc0bdafee2ef2082a9cf9d89f183ae5" + +inherit autotools pkgconfig gettext + +S = "${WORKDIR}/gtkhtml2_viewer-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" +FILES_${PN}-dbg += "${libdir}/claws-mail/plugins/.debug" +FILES_${PN}-dev += "${libdir}/claws-mail/plugins/*.la" +FILES_${PN}-staticdev = "${libdir}/claws-mail/plugins/*.a" + diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb new file mode 100644 index 000000000..b1321775a --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb @@ -0,0 +1,20 @@ +SECTION = "x11/network" +SUMMARY = "Mail user agent plugins" +DEPENDS = "claws-mail" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +PNBLACKLIST[claws-plugin-mailmbox] ?= "depends on blacklisted claws-mail" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/mailmbox-${PV}.tar.gz" +SRC_URI[md5sum] = "7f72c68e6e1a8768f1247f455fd20b62" +SRC_URI[sha256sum] = "633f7835261c88a0aa06de38553ac935a1799a7128120963a7fa87ace01dac18" + +inherit autotools pkgconfig + +S = "${WORKDIR}/mailmbox-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" +FILES_${PN}-dbg += "${libdir}/claws-mail/plugins/.debug" +FILES_${PN}-dev += "${libdir}/claws-mail/plugins/*.la" +FILES_${PN}-staticdev = "${libdir}/claws-mail/plugins/*.a" diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch new file mode 100644 index 000000000..a7a38f30c --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch @@ -0,0 +1,53 @@ +Index: rssyl-0.34/configure.ac +=================================================================== +--- rssyl-0.34.orig/configure.ac 2014-07-18 07:37:28.981532959 +0000 ++++ rssyl-0.34/configure.ac 2014-07-18 07:39:45.881536690 +0000 +@@ -1,5 +1,13 @@ ++ ++dnl plugin version ++m4_define([plugin_major_version],[0]) ++m4_define([plugin_minor_version],[34]) ++m4_define([plugin_micro_version],[0]) ++m4_define([plugin_version], [plugin_major_version.plugin_minor_version.plugin_micro_version]) ++ + AC_PREREQ(2.60) +-AC_INIT(src/plugin.c) ++AC_INIT(rssyl, plugin_version) ++AC_CONFIG_SRCDIR(src/plugin.c) + AC_CONFIG_AUX_DIR(config) + AM_MAINTAINER_MODE + AC_CONFIG_HEADERS(config.h) +@@ -7,28 +15,15 @@ + PACKAGE=rssyl + + dnl plugin version +-MAJOR_VERSION=0 +-MINOR_VERSION=34 +-MICRO_VERSION=0 ++MAJOR_VERSION=plugin_major_version ++MINOR_VERSION=plugin_minor_version ++MICRO_VERSION=plugin_micro_version + EXTRA_VERSION=0 +- +-if test \( $EXTRA_VERSION -eq 0 \); then +- if test \( $MICRO_VERSION -eq 0 \); then +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION} +- else +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} +- fi +-else +- if test \( $MICRO_VERSION -eq 0 \); then +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION}cvs${EXTRA_VERSION} +- else +- VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION} +- fi +-fi ++VERSION=plugin_version + + AC_CANONICAL_SYSTEM + +-AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) ++AM_INIT_AUTOMAKE([foreign no-define]) + AC_DEFINE_UNQUOTED(PLUGINVERSION, "$VERSION", [plugin version]) + + AC_PROG_CC diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb new file mode 100644 index 000000000..7da460c4d --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb @@ -0,0 +1,20 @@ +SECTION = "x11/network" +SUMMARY = "Mail user agent plugins" +DEPENDS = "claws-mail libxml2 curl glib-2.0 gtk+" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0c2348e0a084e573f0220f5e45d8097e" + +PNBLACKLIST[claws-plugin-rssyl] ?= "depends on blacklisted claws-mail" + +SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/rssyl-${PV}.tar.gz \ + file://configure.patch" +SRC_URI[md5sum] = "49b45608e8d160b3625d3d50016ec2ca" +SRC_URI[sha256sum] = "2e96a1cd6a1a5bb7f86cd2eb48f6e174665957fafe1f3b1e8361aac3bb967f79" +inherit autotools pkgconfig gettext + +S = "${WORKDIR}/rssyl-${PV}" + +FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" +FILES_${PN}-dbg += "${libdir}/claws-mail/plugins/.debug" +FILES_${PN}-dev += "${libdir}/claws-mail/plugins/*.la" +FILES_${PN}-staticdev = "${libdir}/claws-mail/plugins/*.a" diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/sylpheed/glib-2.32.patch b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/sylpheed/glib-2.32.patch new file mode 100644 index 000000000..1520e578a --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/sylpheed/glib-2.32.patch @@ -0,0 +1,11 @@ +--- sylpheed-2.7.1.orig/libsylph/defs.h 2009-06-10 09:55:46.000000000 +0200 ++++ sylpheed-2.7.1/libsylph/defs.h 2012-05-06 08:28:27.514746256 +0200 +@@ -24,8 +24,6 @@ + # include "config.h" + #endif + +-#include <glibconfig.h> +- + #ifdef G_OS_WIN32 + # include <glib/gwin32.h> + #endif diff --git a/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/sylpheed_2.7.1.bb b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/sylpheed_2.7.1.bb new file mode 100644 index 000000000..304b654fb --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-sato/claws-mail/sylpheed_2.7.1.bb @@ -0,0 +1,31 @@ +SECTION = "x11/network" +SUMMARY = "Mail user agent" +DEPENDS = "gtk+ gpgme gnutls" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4 \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" + +PR = "r2" + +SRC_URI = "http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-${PV}.tar.bz2 \ + file://glib-2.32.patch \ +" +SRC_URI[md5sum] = "1f470525c1fbe53253813a0978c18228" +SRC_URI[sha256sum] = "8bb6457db4e2eea1877b487d9ac8513546372db9a6a2e4271d11229f4af84e23" + +FILES_${PN} += "${datadir}/pixmaps ${datadir}/applications" +FILES_${PN}-doc += "${datadir}" + +EXTRA_OECONF = "--disable-ssl" + +CFLAGS += "-D_GNU_SOURCE" + +do_configure_prepend() { + mkdir -p m4 + for i in $(find ${S} -name "Makefile.am") ; do + sed -i s:'-I$(includedir)'::g $i + done +} + +inherit autotools pkgconfig + |