summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer/configure.patch52
-rw-r--r--meta-oe/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.31.bb3
2 files changed, 54 insertions, 1 deletions
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 @@
1Index: 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
index f203cc002..9adfd2806 100644
--- 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
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=977f04a8048c04684e521c06e2844a94"
6 6
7PR = "r1" 7PR = "r1"
8 8
9SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/gtkhtml2_viewer-${PV}.tar.gz" 9SRC_URI = "http://www.claws-mail.org/downloads/plugins_obsolete/gtkhtml2_viewer-${PV}.tar.gz \
10 file://configure.patch"
10SRC_URI[md5sum] = "a6c9dfa6f969ccd844796a5724b52167" 11SRC_URI[md5sum] = "a6c9dfa6f969ccd844796a5724b52167"
11SRC_URI[sha256sum] = "4d41f6d961efaac0f51705e5052bac732bc0bdafee2ef2082a9cf9d89f183ae5" 12SRC_URI[sha256sum] = "4d41f6d961efaac0f51705e5052bac732bc0bdafee2ef2082a9cf9d89f183ae5"
12 13