On Tue, Jun 18, 2019 at 3:43 AM Martin Jansa <[email protected]> wrote: > > > It seems we need to bring in recipe for gmime for this to work. This is > > already in master > > sipe-mime.c shown in the error is built only with SIPE_MIME_GMIME > > src/core/Makefile.am: > if SIPE_MIME_GMIME > noinst_LTLIBRARIES += libsipe_core_mime.la > libsipe_core_mime_la_SOURCES = sipe-mime.c > libsipe_core_mime_la_CFLAGS = $(libsipe_core_la_CFLAGS) $(GMIME_CFLAGS) > endif > > And that gets enabled only when pkg-config finds gmime-3.0 in gmime-2.6: > configure.ac: > dnl check for gmime > PKG_CHECK_MODULES(GMIME, [gmime-3.0 >= 3.0.0], > [ac_have_gmime=yes], > [PKG_CHECK_MODULES(GMIME, [gmime-2.6 >= 2.6.0], > [ac_have_gmime=yes], > [ac_have_gmime=no]) > ]) > AM_CONDITIONAL(SIPE_MIME_GMIME, [test "x$ac_have_gmime" = xyes]) > AS_IF([test "x$ac_have_gmime" = xyes], > [AC_DEFINE(HAVE_GMIME, 1, [Define if gmime should be used in sipe.])]) > > which it really shouldn't as there isn't anything which should pull it into > RSS. > > There is some old gmime recipe in meta-guacamayo: > https://github.com/Guacamayo/meta-guacamayo/commit/cc3e1020cb696a6a4227b18009e99b137059b0a4#diff-2de762e26fa1d5e913b81b43a4b5c92c
I have written an updated one for 3.x, will post soon, > > but still this shouldn't be needed as long as you don't enable telepathy > PACKAGECONFIG in pidgin-sipe. I don't know how to reproduce this locally, > sipe-mime.c build isn't mentioned at all in my log.do_compile files (and > PKG_CHECK_MODULES seems to work correctly - not to detect gmime from the > host). > > It would be great if you could share log.do_configure/config.log from the > build where it was failing. > thanks for looking into it, so you need to have gmime-2.6 installed on your build host for this error to trigger it seems to be looking into build host's sysroot. > Cheers, > > > > > > On Tue, Jun 18, 2019 at 9:12 AM Martin Jansa <[email protected]> wrote: >> >> I've rebuilt it on 4 different hosts with qemux86-64/glibc. >> >> And also with musl locally (first gobject-introspection was failing because >> of qemu-native segfaults, so I've disabled that with DISTRO_FEATURES_remove >> = "gobject-introspection-data") and then pidgin-sipe built fine again. >> >> Is it always failing for you reliably or was is random failure just in one >> build? >> >> Cheers, >> >> On Fri, Jun 14, 2019 at 11:34 PM Martin Jansa <[email protected]> wrote: >>> >>> It builds fine for me with qemux86-64 with glibc. >>> >>> I'll check what's going on. >>> >>> Thanks >>> >>> On Fri, Jun 14, 2019 at 8:10 PM Khem Raj <[email protected]> wrote: >>>> >>>> Hi Martin >>>> >>>> I noticed this error on qemux86-64 >>>> >>>> https://errors.yoctoproject.org/Errors/Details/248480/ >>>> >>>> It seems we need to bring in recipe for gmime for this to work. This >>>> is already in master >>>> so can you work on fixing this? >>>> >>>> On Thu, May 23, 2019 at 4:55 AM Martin Jansa <[email protected]> >>>> wrote: >>>> > >>>> > * import from luneos to make pidgin here in meta-oe a bit more useful >>>> > >>>> > Signed-off-by: Martin Jansa <[email protected]> >>>> > --- >>>> > .../pidgin/funyahoo-plusplus_git.bb | 25 ++++++++++++++ >>>> > meta-oe/recipes-support/pidgin/icyque_git.bb | 27 +++++++++++++++ >>>> > .../pidgin/pidgin-sipe_1.24.0.bb | 34 +++++++++++++++++++ >>>> > .../pidgin/purple-skypeweb_git.bb | 26 ++++++++++++++ >>>> > 4 files changed, 112 insertions(+) >>>> > create mode 100644 >>>> > meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb >>>> > create mode 100644 meta-oe/recipes-support/pidgin/icyque_git.bb >>>> > create mode 100644 meta-oe/recipes-support/pidgin/pidgin-sipe_1.24.0.bb >>>> > create mode 100644 meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb >>>> > >>>> > diff --git a/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb >>>> > b/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb >>>> > new file mode 100644 >>>> > index 0000000000..3a437659e7 >>>> > --- /dev/null >>>> > +++ b/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb >>>> > @@ -0,0 +1,25 @@ >>>> > +SUMMARY = "Protocol plugin for New Yahoo (2016) for Adium, Pidgin, >>>> > Miranda and Telepathy IM Framework" >>>> > +SECTION = "webos/services" >>>> > +LICENSE = "GPLv3.0" >>>> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d" >>>> > + >>>> > +DEPENDS = "pidgin json-glib glib-2.0" >>>> > + >>>> > +inherit pkgconfig >>>> > + >>>> > +SRC_URI = >>>> > "git://github.com/EionRobb/funyahoo-plusplus;branch=master;protocol=git" >>>> > +SRCREV = "fbbd9c591100aa00a0487738ec7b6acd3d924b3f" >>>> > + >>>> > +S = "${WORKDIR}/git" >>>> > + >>>> > +do_compile() { >>>> > + oe_runmake CC="${CC}" CXX="${CXX}" >>>> > EXTRA_INCLUDES="${TARGET_CFLAGS}" AR="${AR}"; >>>> > +} >>>> > + >>>> > +do_install() { >>>> > + oe_runmake DESTDIR="${D}" install; >>>> > +} >>>> > + >>>> > +FILES_${PN} += " \ >>>> > + ${libdir} \ >>>> > +" >>>> > diff --git a/meta-oe/recipes-support/pidgin/icyque_git.bb >>>> > b/meta-oe/recipes-support/pidgin/icyque_git.bb >>>> > new file mode 100644 >>>> > index 0000000000..0f32dc3a39 >>>> > --- /dev/null >>>> > +++ b/meta-oe/recipes-support/pidgin/icyque_git.bb >>>> > @@ -0,0 +1,27 @@ >>>> > +SUMMARY = "WIM Protocol plugin for ICQ for Adium, Pidgin, Miranda and >>>> > Telepathy IM Framework" >>>> > +SECTION = "webos/services" >>>> > +LICENSE = "GPLv3.0" >>>> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" >>>> > + >>>> > +DEPENDS = "pidgin json-glib" >>>> > + >>>> > +PV = "0.1+gitr${SRCPV}" >>>> > + >>>> > +inherit pkgconfig >>>> > + >>>> > +SRC_URI = "git://github.com/EionRobb/icyque" >>>> > +SRCREV = "513fc162d5d1a201c2b044e2b42941436d1069d5" >>>> > + >>>> > +S = "${WORKDIR}/git" >>>> > + >>>> > +do_compile() { >>>> > + oe_runmake; >>>> > +} >>>> > + >>>> > +do_install() { >>>> > + oe_runmake DESTDIR="${D}" install; >>>> > +} >>>> > + >>>> > +FILES_${PN} += " \ >>>> > + ${libdir} \ >>>> > +" >>>> > diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.24.0.bb >>>> > b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.24.0.bb >>>> > new file mode 100644 >>>> > index 0000000000..beae281a30 >>>> > --- /dev/null >>>> > +++ b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.24.0.bb >>>> > @@ -0,0 +1,34 @@ >>>> > +SUMMARY = "Protocol plugin for Office 365/Lync/OCS for Adium, Pidgin, >>>> > Miranda and Telepathy IM Framework" >>>> > +SECTION = "webos/services" >>>> > +LICENSE = "GPLv2.0" >>>> > +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" >>>> > + >>>> > +DEPENDS = "pidgin intltool-native glib-2.0-native" >>>> > + >>>> > +inherit pkgconfig >>>> > +inherit autotools >>>> > + >>>> > +SRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \ >>>> > +" >>>> > + >>>> > +SRC_URI[md5sum] = "b91106d28c235b347a63dcb676f7b66a" >>>> > +SRC_URI[sha256sum] = >>>> > "958803722b23d869131f76bd90df9da19116d4ca5a873e5253371479b7390f43" >>>> > + >>>> > +PACKAGECONFIG ??= "nss krb5" >>>> > +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[gssapi_only] = >>>> > "--enable-gssapi-only=yes,--enable-gssapi-only=no,krb5" >>>> > +PACKAGECONFIG[debug] = "--enable-debug=yes,--enable-debug=no,valgrind" >>>> > + >>>> > +FILES_${PN}-dev += " \ >>>> > + ${libdir}/purple-2/*.la \ >>>> > +" >>>> > + >>>> > +FILES_${PN} += " \ >>>> > + ${libdir}/purple-2/libsipe.so \ >>>> > + ${datadir}/appdata \ >>>> > + ${datadir}/metainfo \ >>>> > +" >>>> > diff --git a/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb >>>> > b/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb >>>> > new file mode 100644 >>>> > index 0000000000..092e6059b8 >>>> > --- /dev/null >>>> > +++ b/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb >>>> > @@ -0,0 +1,26 @@ >>>> > +SUMMARY = "Skype protocol plug-in for libpurple" >>>> > +SECTION = "webos/services" >>>> > +LICENSE = "GPLv3" >>>> > +LIC_FILES_CHKSUM = >>>> > "file://skypeweb/gpl3.txt;md5=d90260d32cef39f3c8d6c0f05d3adb8e" >>>> > + >>>> > +DEPENDS = "pidgin json-glib glib-2.0 zlib" >>>> > + >>>> > +inherit pkgconfig >>>> > + >>>> > +SRC_URI = >>>> > "git://github.com/EionRobb/skype4pidgin;branch=master;protocol=git" >>>> > +SRCREV = "14f1b69b6292bbdc98cca484b050ec8359394c4e" >>>> > + >>>> > +S = "${WORKDIR}/git" >>>> > +PV = "1.5+git${SRCPV}" >>>> > + >>>> > +do_compile() { >>>> > + oe_runmake -C skypeweb; >>>> > +} >>>> > + >>>> > +do_install() { >>>> > + oe_runmake -C skypeweb DESTDIR="${D}" install; >>>> > +} >>>> > + >>>> > +FILES_${PN} += " \ >>>> > + ${libdir} \ >>>> > +" >>>> > -- >>>> > 2.17.1 >>>> > >>>> > -- >>>> > _______________________________________________ >>>> > Openembedded-devel mailing list >>>> > [email protected] >>>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
