From 5af4d6a60751530939499d1e3bdffeedd654f114 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 4 Feb 2010 12:52:35 +0000 Subject: gmime: Add from OE.dev with tweaks Signed-off-by: Richard Purdie --- meta-moblin/packages/gmime/gmime/iconv-detect.h | 5 +++++ meta-moblin/packages/gmime/gmime/nodolt.patch | 12 ++++++++++++ meta-moblin/packages/gmime/gmime_2.4.10.bb | 20 ++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 meta-moblin/packages/gmime/gmime/iconv-detect.h create mode 100644 meta-moblin/packages/gmime/gmime/nodolt.patch create mode 100644 meta-moblin/packages/gmime/gmime_2.4.10.bb (limited to 'meta-moblin') 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 000000000..714cb5aa9 --- /dev/null +++ b/meta-moblin/packages/gmime/gmime/iconv-detect.h @@ -0,0 +1,5 @@ +/* This is an auto-generated header, DO NOT EDIT! */ + +#define ICONV_ISO_INT_FORMAT "iso-%u-%u" +#define ICONV_ISO_STR_FORMAT "iso-%u-%s" +#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 000000000..e4d5259c7 --- /dev/null +++ b/meta-moblin/packages/gmime/gmime/nodolt.patch @@ -0,0 +1,12 @@ +Index: gmime-2.4.10/configure.in +=================================================================== +--- gmime-2.4.10.orig/configure.in ++++ gmime-2.4.10/configure.in +@@ -80,7 +80,6 @@ AC_PATH_PROG(TAR, tar, /bin/tar) + + AC_EXEEXT + AC_PROG_LIBTOOL +-DOLT + + AM_MAINTAINER_MODE + 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 000000000..dcec37e20 --- /dev/null +++ b/meta-moblin/packages/gmime/gmime_2.4.10.bb @@ -0,0 +1,20 @@ +LICENSE = "LGPL" +DESCRIPTION = "Runtime libraries for parsing and creating MIME mail" +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "glib-2.0 zlib" + +inherit gnome autotools_stage lib_package binconfig + +SRC_URI += "file://iconv-detect.h \ + file://nodolt.patch;patch=1" + +EXTRA_OECONF += "--disable-mono" + +export ac_cv_have_iconv_detect_h=yes +do_configure_append = "cp ${WORKDIR}/iconv-detect.h ${S}" + +# we do not need GNOME 1 gnome-config support +do_install_append () { + rm -f ${D}${libdir}/gmimeConf.sh +} -- cgit v1.2.3