From 875f071adb4de4e0693f54bd0a8b1fd780fbc854 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 18 Jun 2019 21:20:27 -0700 Subject: gmime: Add recipe gmime is needed for pidgin-sipe Signed-off-by: Khem Raj --- .../recipes-support/pidgin/gmime/iconv-detect.h | 5 +++++ meta-oe/recipes-support/pidgin/gmime/nodolt.patch | 10 ++++++++++ meta-oe/recipes-support/pidgin/gmime_3.2.3.bb | 23 ++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 meta-oe/recipes-support/pidgin/gmime/iconv-detect.h create mode 100644 meta-oe/recipes-support/pidgin/gmime/nodolt.patch create mode 100644 meta-oe/recipes-support/pidgin/gmime_3.2.3.bb diff --git a/meta-oe/recipes-support/pidgin/gmime/iconv-detect.h b/meta-oe/recipes-support/pidgin/gmime/iconv-detect.h new file mode 100644 index 0000000000..714cb5aa9d --- /dev/null +++ b/meta-oe/recipes-support/pidgin/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-oe/recipes-support/pidgin/gmime/nodolt.patch b/meta-oe/recipes-support/pidgin/gmime/nodolt.patch new file mode 100644 index 0000000000..1f9bdd3041 --- /dev/null +++ b/meta-oe/recipes-support/pidgin/gmime/nodolt.patch @@ -0,0 +1,10 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -150,7 +150,6 @@ AC_EXEEXT + AC_PROG_LIBTOOL + dnl when using libtool 2.x create libtool early, because it's used in configure + m4_ifdef([LT_OUTPUT], [LT_OUTPUT]) +-DOLT + + dnl Checks for header files. + AC_CHECK_HEADERS(sys/mman.h) diff --git a/meta-oe/recipes-support/pidgin/gmime_3.2.3.bb b/meta-oe/recipes-support/pidgin/gmime_3.2.3.bb new file mode 100644 index 0000000000..8c6f0b010a --- /dev/null +++ b/meta-oe/recipes-support/pidgin/gmime_3.2.3.bb @@ -0,0 +1,23 @@ +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" +DESCRIPTION = "Runtime libraries for parsing and creating MIME mail" +SECTION = "libs" +DEPENDS = "glib-2.0 zlib" + +inherit gnome autotools gobject-introspection + +SRC_URI += "file://iconv-detect.h \ + file://nodolt.patch" + +SRC_URI[archive.md5sum] = "69ae21a0b1df966a7d39a9431856ac81" +SRC_URI[archive.sha256sum] = "6a0875eeb552ab447dd54853a68ced62217d863631048737dd97eaa2713e7311" + +EXTRA_OECONF_remove = "--disable-schemas-install" + +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 1.2.3-korg