Bug 104027 - meanwhile support not compatible with latest meanwhile (>= v0.4) library
Summary: meanwhile support not compatible with latest meanwhile (>= v0.4) library
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Lotus Sametime Plugin (show other bugs)
Version: SVN
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 18:39 UTC by Rex Dieter
Modified: 2005-07-09 18:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
start at porting sametime plugin to meanwhile 0.4 (4.96 KB, patch)
2005-05-23 19:49 UTC, Nick Brown
Details
Patch that fixes build system and uses correct headers (4.96 KB, patch)
2005-06-01 17:47 UTC, Nick Brown
Details
Patch that fixes the build system and uses the correct headers (5.23 KB, patch)
2005-06-24 17:50 UTC, Nick Brown
Details
Build failures using latest patch (26.86 KB, text/plain)
2005-06-24 17:55 UTC, Nick Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
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)