summaryrefslogtreecommitdiff
path: root/meta-moblin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-02-04 12:52:35 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-02-04 12:52:35 +0000
commit5af4d6a60751530939499d1e3bdffeedd654f114 (patch)
tree8ce43333a4d69051ad05366c631f8da7bcf7af27 /meta-moblin
parent893bc3e8f2c87b3e8863f4fc2d88da07ea10dfb7 (diff)
downloadopenembedded-core-5af4d6a60751530939499d1e3bdffeedd654f114.tar.gz
openembedded-core-5af4d6a60751530939499d1e3bdffeedd654f114.tar.bz2
openembedded-core-5af4d6a60751530939499d1e3bdffeedd654f114.tar.xz
openembedded-core-5af4d6a60751530939499d1e3bdffeedd654f114.zip
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.h5
-rw-r--r--meta-moblin/packages/gmime/gmime/nodolt.patch12
-rw-r--r--meta-moblin/packages/gmime/gmime_2.4.10.bb20
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 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
+}