Bug 104027

Summary: meanwhile support not compatible with latest meanwhile (>= v0.4) library
Product: [Applications] kopete Reporter: Rex Dieter <rdieter>
Component: Lotus Sametime PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In:
Attachments: start at porting sametime plugin to meanwhile 0.4
Patch that fixes build system and uses correct headers
Patch that fixes the build system and uses the correct headers
Build failures using latest patch

Description Rex Dieter 2005-04-16 18:39:15 UTC
Version:           0.10 (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) 
OS:                Linux

meanwhile protocol support seems to be (source) compatible only with meanwhile library version 0.3.  It appears header filenames have changed to have prefix mw_ in meanwhile-0.4.0.  However, naively renaming all references from
#include <meanwhile/...>
to 
#include <meanwhile/mw_...>
doesn't work either.  (I get undefined struct mwSession errors).
Comment 1 Nick Brown 2005-05-23 19:49:56 UTC
Created attachment 11166 [details]
start at porting sametime plugin to meanwhile 0.4

I tried the same naive approach of renaming the headers, but ran up against the
meanwhile session API changes.
I also fixed the build system to use KDE_PKG_CHECK_MODULES as meanwhile 0.4
ships with a sane pkg-config file. This change seem to work well.
Anyhow, I've attached the patch, perhaps someone with more knowledge of
meanwhile library can build upon it.
Comment 2 Nick Brown 2005-06-01 17:47:09 UTC
Created attachment 11286 [details]
Patch that fixes build system and uses correct headers

Fix a m4 escaping issue with last patch.
Comment 3 Nick Brown 2005-06-24 17:50:25 UTC
Created attachment 11569 [details]
Patch that fixes the build system and uses the correct headers

Updated for changes in configure.in.in made my other components.
Comment 4 Nick Brown 2005-06-24 17:55:25 UTC
Created attachment 11570 [details]
Build failures using latest patch

There seems to have been a significant change in the way sessions are handled
in meanwhile 0.4
Comment 5 Nedim Cholich 2005-06-30 22:20:26 UTC
Can this bug have higher priority then "normal" please? The whole protocol is not working!
Comment 6 Rex Dieter 2005-06-30 22:25:01 UTC
Nedim, "the whole protocol is not working" isn't completely true.  You just need to compile against meanwhile-0.3.1.
Comment 7 Jeremy Kerr 2005-07-01 00:47:56 UTC
I have been working on support for libmeanwhile-0.4.2. I'll post it to kopete-devel after a few cleanups (ie, a day or two).
Comment 8 Nick Brown 2005-07-04 00:17:25 UTC
SVN commit 431226
Comment 9 Nedim Cholich 2005-07-09 18:40:38 UTC
Many thanks!

When is this going to be merged into 3.4.1 > ?
Comment 10 Matt Rogers 2005-07-09 18:48:05 UTC
It won't. Next release it'll be in is KDE 3.5 (Kopete 0.11)