summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-18 08:10:59 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2014-07-22 00:01:53 +0200
commit7488dcc1fe1ad4289aaeaf5fd18a28eff84cf0a8 (patch)
tree3cd8641859bb20f7616eca7e9684b308d09d38bb
parent4c5bd5793c0ea9bd786069fd1022e8769740d40e (diff)
downloadmeta-openembedded-7488dcc1fe1ad4289aaeaf5fd18a28eff84cf0a8.tar.gz
claws-plugin-rssyl: Use "foreign" automake strictness and autotools-brokensep
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl/configure.patch53
-rw-r--r--meta-oe/recipes-sato/claws-mail/claws-plugin-rssyl_0.34.bb3
2 files changed, 55 insertions, 1 deletions
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 @@
1Index: 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
index f441c9893..cdc465c21 100644
--- 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
@@ -4,7 +4,8 @@ DEPENDS = "claws-mail libxml2 curl glib-2.0 gtk+"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0c2348e0a084e573f0220f5e45d8097e" 5LIC_FILES_CHKSUM = "file://COPYING;md5=0c2348e0a084e573f0220f5e45d8097e"
6 6
7SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/rssyl-${PV}.tar.gz" 7SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/rssyl-${PV}.tar.gz \
8 file://configure.patch"
8SRC_URI[md5sum] = "49b45608e8d160b3625d3d50016ec2ca" 9SRC_URI[md5sum] = "49b45608e8d160b3625d3d50016ec2ca"
9SRC_URI[sha256sum] = "2e96a1cd6a1a5bb7f86cd2eb48f6e174665957fafe1f3b1e8361aac3bb967f79" 10SRC_URI[sha256sum] = "2e96a1cd6a1a5bb7f86cd2eb48f6e174665957fafe1f3b1e8361aac3bb967f79"
10inherit autotools pkgconfig gettext 11inherit autotools pkgconfig gettext