diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-sato | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-sato')
8 files changed, 268 insertions, 0 deletions
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb b/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb new file mode 100644 index 000000000..1f61c39e3 --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | SECTION = "x11/network" | ||
2 | SUMMARY = "Mail user agent" | ||
3 | DEPENDS = "gtk+ libetpan openssl aspell curl libgcrypt" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e059bde2972c1790af786f3e86bac22e" | ||
6 | |||
7 | |||
8 | inherit autotools pkgconfig gettext | ||
9 | |||
10 | # translation patch: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1774 | ||
11 | SRC_URI = "\ | ||
12 | ${SOURCEFORGE_MIRROR}/project/claws-mail/Claws%20Mail/${PV}/claws-mail-${PV}.tar.bz2;name=archive " | ||
13 | SRC_URI[archive.md5sum] = "4c5ac7b21f0ed17d0f6404124c2229a4" | ||
14 | SRC_URI[archive.sha256sum] = "ed70975a5056b3ffc4fe6e977f0d9606febc1499763c090241b029a73ff24e65" | ||
15 | |||
16 | do_configure_append() { | ||
17 | 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} | ||
18 | } | ||
19 | |||
20 | PACKAGECONFIG ??= "startup-notification dbus" | ||
21 | PACKAGECONFIG[enchant] = "--enable-enchant,--disable-enchant,enchant" | ||
22 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" | ||
23 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus dbus-glib" | ||
24 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" | ||
25 | |||
26 | # FIXME: maemo builds may want --enable-maemo | ||
27 | # FIXME: some platforms may want --enable-generic-umpc | ||
28 | EXTRA_OECONF = " \ | ||
29 | --disable-manual \ | ||
30 | --disable-crash-dialog \ | ||
31 | --disable-jpilot \ | ||
32 | --disable-trayicon-plugin \ | ||
33 | --disable-spamassassin-plugin \ | ||
34 | --disable-bogofilter-plugin \ | ||
35 | --disable-pgpcore-plugin \ | ||
36 | --disable-pgpmime-plugin \ | ||
37 | --disable-pgpinline-plugin \ | ||
38 | --disable-dillo-viewer-plugin \ | ||
39 | --disable-valgrind \ | ||
40 | " | ||
41 | |||
42 | # Remove enchant references: | ||
43 | do_install_prepend() { | ||
44 | sed -i -e 's:${STAGING_INCDIR}:${includedir}:g;s:${STAGING_LIBDIR}:${libdir}:g' claws-mail.pc | ||
45 | } | ||
46 | |||
47 | # Work-around broken GPE icon lookup: | ||
48 | do_install_append() { | ||
49 | rm -r ${D}${datadir}/icons | ||
50 | install -d ${D}${datadir}/pixmaps | ||
51 | install -m 0644 ${S}/claws-mail.png ${D}${datadir}/pixmaps/ | ||
52 | sed -i 's/Icon=[^.]*$/&.png/' ${D}${datadir}/applications/claws-mail.desktop | ||
53 | } | ||
54 | |||
55 | RSUGGESTS_${PN} = "claws-plugin-gtkhtml2-viewer claws-plugin-mailmbox claws-plugin-rssyl" | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch b/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch new file mode 100644 index 000000000..222a79602 --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | Index: gtkhtml2_viewer-0.31/configure.ac | ||
2 | =================================================================== | ||
3 | --- gtkhtml2_viewer-0.31.orig/configure.ac 2011-08-27 08:08:55.000000000 +0000 | ||
4 | +++ gtkhtml2_viewer-0.31/configure.ac 2014-07-18 07:28:42.769518618 +0000 | ||
5 | @@ -1,33 +1,27 @@ | ||
6 | AC_PREREQ(2.60) | ||
7 | -AC_INIT(src/gtkhtml2_viewer.c) | ||
8 | + | ||
9 | +dnl plugin version | ||
10 | +m4_define([plugin_major_version],[0]) | ||
11 | +m4_define([plugin_minor_version],[31]) | ||
12 | +m4_define([plugin_micro_version],[0]) | ||
13 | +m4_define([plugin_version], [plugin_major_version.plugin_minor_version.plugin_micro_version]) | ||
14 | + | ||
15 | +AC_INIT(gtkhml2_viewer, plugin_version) | ||
16 | +AC_CONFIG_SRCDIR(src/gtkhtml2_viewer.c) | ||
17 | AC_CONFIG_AUX_DIR(config) | ||
18 | AM_MAINTAINER_MODE | ||
19 | |||
20 | PACKAGE=gtkhtml2_viewer | ||
21 | |||
22 | -dnl plugin version | ||
23 | -MAJOR_VERSION=0 | ||
24 | -MINOR_VERSION=31 | ||
25 | -MICRO_VERSION=0 | ||
26 | +MAJOR_VERSION=plugin_major_version | ||
27 | +MINOR_VERSION=plugin_minor_version | ||
28 | +MICRO_VERSION=plugin_micro_version | ||
29 | EXTRA_VERSION=0 | ||
30 | - | ||
31 | -if test \( $EXTRA_VERSION -eq 0 \); then | ||
32 | - if test \( $MICRO_VERSION -eq 0 \); then | ||
33 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION} | ||
34 | - else | ||
35 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} | ||
36 | - fi | ||
37 | -else | ||
38 | - if test \( $MICRO_VERSION -eq 0 \); then | ||
39 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}cvs${EXTRA_VERSION} | ||
40 | - else | ||
41 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION} | ||
42 | - fi | ||
43 | -fi | ||
44 | +VERSION=plugin_version | ||
45 | |||
46 | AC_CANONICAL_SYSTEM | ||
47 | |||
48 | -AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) | ||
49 | +AM_INIT_AUTOMAKE([foreign no-define]) | ||
50 | AC_CONFIG_HEADERS(config.h) | ||
51 | AC_DEFINE_UNQUOTED(PLUGINVERSION, "$VERSION", [plugin version]) | ||
52 | |||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb b/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb new file mode 100644 index 000000000..9adfd2806 --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SECTION = "x11/network" | ||
2 | SUMMARY = "Mail user agent plugins" | ||
3 | DEPENDS = "claws-mail gtkhtml2 curl" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=977f04a8048c04684e521c06e2844a94" | ||
6 | |||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/gtkhtml2_viewer-${PV}.tar.gz \ | ||
10 | file://configure.patch" | ||
11 | SRC_URI[md5sum] = "a6c9dfa6f969ccd844796a5724b52167" | ||
12 | SRC_URI[sha256sum] = "4d41f6d961efaac0f51705e5052bac732bc0bdafee2ef2082a9cf9d89f183ae5" | ||
13 | |||
14 | inherit autotools pkgconfig gettext | ||
15 | |||
16 | S = "${WORKDIR}/gtkhtml2_viewer-${PV}" | ||
17 | |||
18 | FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" | ||
19 | FILES_${PN}-dbg += "${libdir}/claws-mail/plugins/.debug" | ||
20 | FILES_${PN}-dev += "${libdir}/claws-mail/plugins/*.la" | ||
21 | FILES_${PN}-staticdev = "${libdir}/claws-mail/plugins/*.a" | ||
22 | |||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb b/meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb new file mode 100644 index 000000000..a4717dc00 --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-plugin-mailmbox_1.15.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SECTION = "x11/network" | ||
2 | SUMMARY = "Mail user agent plugins" | ||
3 | DEPENDS = "claws-mail" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
6 | |||
7 | SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/mailmbox-${PV}.tar.gz" | ||
8 | SRC_URI[md5sum] = "7f72c68e6e1a8768f1247f455fd20b62" | ||
9 | SRC_URI[sha256sum] = "633f7835261c88a0aa06de38553ac935a1799a7128120963a7fa87ace01dac18" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | S = "${WORKDIR}/mailmbox-${PV}" | ||
14 | |||
15 | FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" | ||
16 | FILES_${PN}-dbg += "${libdir}/claws-mail/plugins/.debug" | ||
17 | FILES_${PN}-dev += "${libdir}/claws-mail/plugins/*.la" | ||
18 | FILES_${PN}-staticdev = "${libdir}/claws-mail/plugins/*.a" | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch b/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch new file mode 100644 index 000000000..a7a38f30c --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | Index: rssyl-0.34/configure.ac | ||
2 | =================================================================== | ||
3 | --- rssyl-0.34.orig/configure.ac 2014-07-18 07:37:28.981532959 +0000 | ||
4 | +++ rssyl-0.34/configure.ac 2014-07-18 07:39:45.881536690 +0000 | ||
5 | @@ -1,5 +1,13 @@ | ||
6 | + | ||
7 | +dnl plugin version | ||
8 | +m4_define([plugin_major_version],[0]) | ||
9 | +m4_define([plugin_minor_version],[34]) | ||
10 | +m4_define([plugin_micro_version],[0]) | ||
11 | +m4_define([plugin_version], [plugin_major_version.plugin_minor_version.plugin_micro_version]) | ||
12 | + | ||
13 | AC_PREREQ(2.60) | ||
14 | -AC_INIT(src/plugin.c) | ||
15 | +AC_INIT(rssyl, plugin_version) | ||
16 | +AC_CONFIG_SRCDIR(src/plugin.c) | ||
17 | AC_CONFIG_AUX_DIR(config) | ||
18 | AM_MAINTAINER_MODE | ||
19 | AC_CONFIG_HEADERS(config.h) | ||
20 | @@ -7,28 +15,15 @@ | ||
21 | PACKAGE=rssyl | ||
22 | |||
23 | dnl plugin version | ||
24 | -MAJOR_VERSION=0 | ||
25 | -MINOR_VERSION=34 | ||
26 | -MICRO_VERSION=0 | ||
27 | +MAJOR_VERSION=plugin_major_version | ||
28 | +MINOR_VERSION=plugin_minor_version | ||
29 | +MICRO_VERSION=plugin_micro_version | ||
30 | EXTRA_VERSION=0 | ||
31 | - | ||
32 | -if test \( $EXTRA_VERSION -eq 0 \); then | ||
33 | - if test \( $MICRO_VERSION -eq 0 \); then | ||
34 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION} | ||
35 | - else | ||
36 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} | ||
37 | - fi | ||
38 | -else | ||
39 | - if test \( $MICRO_VERSION -eq 0 \); then | ||
40 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}cvs${EXTRA_VERSION} | ||
41 | - else | ||
42 | - VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION} | ||
43 | - fi | ||
44 | -fi | ||
45 | +VERSION=plugin_version | ||
46 | |||
47 | AC_CANONICAL_SYSTEM | ||
48 | |||
49 | -AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) | ||
50 | +AM_INIT_AUTOMAKE([foreign no-define]) | ||
51 | AC_DEFINE_UNQUOTED(PLUGINVERSION, "$VERSION", [plugin version]) | ||
52 | |||
53 | AC_PROG_CC | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb b/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb new file mode 100644 index 000000000..cdc465c21 --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SECTION = "x11/network" | ||
2 | SUMMARY = "Mail user agent plugins" | ||
3 | DEPENDS = "claws-mail libxml2 curl glib-2.0 gtk+" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c2348e0a084e573f0220f5e45d8097e" | ||
6 | |||
7 | SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/rssyl-${PV}.tar.gz \ | ||
8 | file://configure.patch" | ||
9 | SRC_URI[md5sum] = "49b45608e8d160b3625d3d50016ec2ca" | ||
10 | SRC_URI[sha256sum] = "2e96a1cd6a1a5bb7f86cd2eb48f6e174665957fafe1f3b1e8361aac3bb967f79" | ||
11 | inherit autotools pkgconfig gettext | ||
12 | |||
13 | S = "${WORKDIR}/rssyl-${PV}" | ||
14 | |||
15 | FILES_${PN} = "${libdir}/claws-mail/plugins/*.so" | ||
16 | FILES_${PN}-dbg += "${libdir}/claws-mail/plugins/.debug" | ||
17 | FILES_${PN}-dev += "${libdir}/claws-mail/plugins/*.la" | ||
18 | FILES_${PN}-staticdev = "${libdir}/claws-mail/plugins/*.a" | ||
diff --git a/meta-oe/recipes-sato/claws-mail/sylpheed/glib-2.32.patch b/meta-oe/recipes-sato/claws-mail/sylpheed/glib-2.32.patch new file mode 100644 index 000000000..1520e578a --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/sylpheed/glib-2.32.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- sylpheed-2.7.1.orig/libsylph/defs.h 2009-06-10 09:55:46.000000000 +0200 | ||
2 | +++ sylpheed-2.7.1/libsylph/defs.h 2012-05-06 08:28:27.514746256 +0200 | ||
3 | @@ -24,8 +24,6 @@ | ||
4 | # include "config.h" | ||
5 | #endif | ||
6 | |||
7 | -#include <glibconfig.h> | ||
8 | - | ||
9 | #ifdef G_OS_WIN32 | ||
10 | # include <glib/gwin32.h> | ||
11 | #endif | ||
diff --git a/meta-oe/recipes-sato/claws-mail/sylpheed_2.7.1.bb b/meta-oe/recipes-sato/claws-mail/sylpheed_2.7.1.bb new file mode 100644 index 000000000..1b010a5b6 --- /dev/null +++ b/meta-oe/recipes-sato/claws-mail/sylpheed_2.7.1.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SECTION = "x11/network" | ||
2 | SUMMARY = "Mail user agent" | ||
3 | DEPENDS = "gtk+ gpgme gnutls" | ||
4 | LICENSE = "GPLv2 & LGPLv2.1" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4 \ | ||
6 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
7 | |||
8 | PR = "r2" | ||
9 | |||
10 | PNBLACKLIST[sylpheed] ?= "BROKEN: Doesn't work with B!=S" | ||
11 | |||
12 | SRC_URI = "http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-${PV}.tar.bz2 \ | ||
13 | file://glib-2.32.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "1f470525c1fbe53253813a0978c18228" | ||
16 | SRC_URI[sha256sum] = "8bb6457db4e2eea1877b487d9ac8513546372db9a6a2e4271d11229f4af84e23" | ||
17 | |||
18 | FILES_${PN} += "${datadir}/pixmaps ${datadir}/applications" | ||
19 | FILES_${PN}-doc += "${datadir}" | ||
20 | |||
21 | EXTRA_OECONF = "--disable-ssl --enable-gnutls" | ||
22 | |||
23 | CFLAGS += "-D_GNU_SOURCE" | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | mkdir -p m4 | ||
27 | for i in $(find ${S} -name "Makefile.am") ; do | ||
28 | sed -i s:'-I$(includedir)'::g $i | ||
29 | done | ||
30 | } | ||
31 | |||
32 | inherit autotools pkgconfig | ||
33 | |||
34 | do_install_append() { | ||
35 | install -d ${D}${datadir}/applications | ||
36 | install -m 0644 sylpheed.desktop ${D}${datadir}/applications/ | ||
37 | install -d ${D}${datadir}/pixmaps | ||
38 | install -m 0644 sylpheed.png ${D}${datadir}/pixmaps/ | ||
39 | } | ||