diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-04 12:52:35 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-04 12:52:35 +0000 |
commit | 5af4d6a60751530939499d1e3bdffeedd654f114 (patch) | |
tree | 8ce43333a4d69051ad05366c631f8da7bcf7af27 /meta-moblin | |
parent | 893bc3e8f2c87b3e8863f4fc2d88da07ea10dfb7 (diff) | |
download | poky-5af4d6a60751530939499d1e3bdffeedd654f114.tar.gz |
gmime: Add from OE.dev with tweaks
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin')
-rw-r--r-- | meta-moblin/packages/gmime/gmime/iconv-detect.h | 5 | ||||
-rw-r--r-- | meta-moblin/packages/gmime/gmime/nodolt.patch | 12 | ||||
-rw-r--r-- | meta-moblin/packages/gmime/gmime_2.4.10.bb | 20 |
3 files changed, 37 insertions, 0 deletions
diff --git a/meta-moblin/packages/gmime/gmime/iconv-detect.h b/meta-moblin/packages/gmime/gmime/iconv-detect.h new file mode 100644 index 0000000000..714cb5aa9d --- /dev/null +++ b/meta-moblin/packages/gmime/gmime/iconv-detect.h | |||
@@ -0,0 +1,5 @@ | |||
1 | /* This is an auto-generated header, DO NOT EDIT! */ | ||
2 | |||
3 | #define ICONV_ISO_INT_FORMAT "iso-%u-%u" | ||
4 | #define ICONV_ISO_STR_FORMAT "iso-%u-%s" | ||
5 | #define ICONV_10646 "iso-10646" | ||
diff --git a/meta-moblin/packages/gmime/gmime/nodolt.patch b/meta-moblin/packages/gmime/gmime/nodolt.patch new file mode 100644 index 0000000000..e4d5259c7b --- /dev/null +++ b/meta-moblin/packages/gmime/gmime/nodolt.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: gmime-2.4.10/configure.in | ||
2 | =================================================================== | ||
3 | --- gmime-2.4.10.orig/configure.in | ||
4 | +++ gmime-2.4.10/configure.in | ||
5 | @@ -80,7 +80,6 @@ AC_PATH_PROG(TAR, tar, /bin/tar) | ||
6 | |||
7 | AC_EXEEXT | ||
8 | AC_PROG_LIBTOOL | ||
9 | -DOLT | ||
10 | |||
11 | AM_MAINTAINER_MODE | ||
12 | |||
diff --git a/meta-moblin/packages/gmime/gmime_2.4.10.bb b/meta-moblin/packages/gmime/gmime_2.4.10.bb new file mode 100644 index 0000000000..dcec37e20e --- /dev/null +++ b/meta-moblin/packages/gmime/gmime_2.4.10.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DESCRIPTION = "Runtime libraries for parsing and creating MIME mail" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "optional" | ||
5 | DEPENDS = "glib-2.0 zlib" | ||
6 | |||
7 | inherit gnome autotools_stage lib_package binconfig | ||
8 | |||
9 | SRC_URI += "file://iconv-detect.h \ | ||
10 | file://nodolt.patch;patch=1" | ||
11 | |||
12 | EXTRA_OECONF += "--disable-mono" | ||
13 | |||
14 | export ac_cv_have_iconv_detect_h=yes | ||
15 | do_configure_append = "cp ${WORKDIR}/iconv-detect.h ${S}" | ||
16 | |||
17 | # we do not need GNOME 1 gnome-config support | ||
18 | do_install_append () { | ||
19 | rm -f ${D}${libdir}/gmimeConf.sh | ||
20 | } | ||