gmime: Add recipe
PATCH 1/2 gmime: Add recipe
gmime is needed for pidgin-sipe
Signed-off-by Khem Raj <[email protected]>
--- .../pidgin/gmime/iconv-detect.h | 5 ++++ .../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
meta-oe/recipes-support/pidgin/gmime/iconv-detect.h new file +5 -0
@@ -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"
meta-oe/recipes-support/pidgin/gmime/nodolt.patch new file +10 -0
@@ -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)
meta-oe/recipes-support/pidgin/gmime_3.2.3.bb new file +23 -0
@@ -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 +}
Signature · 1 line
2.22.0
PATCH 2/2 pidgin-sipe: Depend on gmime
gmime is used if detected, some build hosts the detection logic fails, make the dependency unconditional to fix build failures when it detects host's gmime install
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-support/pidgin/pidgin-sipe_1.24.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/pidgin/pidgin-sipe_1.24.0.bb +2 -2
@@ -3,7 +3,7 @@ SECTION = "webos/services" LICENSE = "GPLv2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -DEPENDS = "pidgin intltool-native glib-2.0-native" +DEPENDS = "pidgin gmime intltool-native glib-2.0-native" inherit pkgconfig inherit autotools
@@ -19,7 +19,7 @@ PACKAGECONFIG[nss] = "--enable-nss=yes,--enable-nss=no,nss" PACKAGECONFIG[openssl] = "--enable-openssl=yes,--enable-openssl=no,openssl" PACKAGECONFIG[krb5] = "--with-krb5=yes,--with-krb5=no,krb5" #PACKAGECONFIG[voice_and_video] = "--with-vv=yes,--with-vv=no,libnice gstreamer" -PACKAGECONFIG[telepathy] = "--enable-telepathy=yes,--enable-telepathy=no,telepathy-glib gmime" +PACKAGECONFIG[telepathy] = "--enable-telepathy=yes,--enable-telepathy=no,telepathy-glib" #PACKAGECONFIG[gssapi_only] = "--enable-gssapi-only=yes,--enable-gssapi-only=no,krb5" PACKAGECONFIG[debug] = "--enable-debug=yes,--enable-debug=no,valgrind"
Signature · 1 line
2.22.0