Hello all,

I've now finally added the sofia-glib bindings [4], from telepathy-sip [2], to sofia-sip. The code is now in the darcs tree [3], but I'll next start the work on merging it to the main CVS tree.

Note that this is the very first version, and the actual nua_glib.h interface might (or might not, time will tell), see some major changes. For example, I'm not yet 100% sure about the function/object naming, which is a bit different than in other current sofia-sip modules. But for now, there are not major changes to the telepathy-sip code, so it should be straightforward to update telepathy code to use nua_glib.h.

And then - how does this change impact you. Here's the list for...

o Users of Sofia-SIP clients:
- This update is not binary compatible with libsofia-sip-ua.
  Apps using the glib event loop integration [1] will fail to start with
  the new library.
- But compiling the app again (./configure && make && make install) will
  make the app work again (update to a newer version of the app is _not_
 required).

o Developers of Sofia-SIP clients:
- ACTION NEEDED: if you are using [1] in your app, you must
  update your configure.ac (or whatever) to check for
  PKG_CHECK_MODULES(SOFIA_SIP_UA_GLIB, sofia-sip-ua-glib >= 1.11.6) ;
  1.11.7 is a transitional release where sofia-sip-ua brings in
  all the libs, but 1.11.9 onwards, you have to separately ask
  for sofia-sip-ua-glib if you want to use [1] or the new glib
  bindings .. so update asap to avoid breakage
- if you don't use su_root_source_create [1] in your app,
  no actions are needed

In sofsip-cli (which uses [1]), I've added the following configure.ac check:

--cut--
PKG_CHECK_MODULES(SOFIA_SIP_UA_GLIB, sofia-sip-ua-glib >= 1.11.6,,
   AC_MSG_WARN([the sofia-sip version found might be too old]))
--cut--

This will work with 1.11.6 and older, the transitional releases 1.11.7 and 1.11.8, as well as with the 1.11.9 release when sofia-sip-ua-glib has to be checked for separately.

[1] sofia-sip/su_source.h and the su_root_source_create() function
    provide a way to integrate sofia-sip's eventloop to that
    of glib's
[2] http://telepathy.freedesktop.org/
[3] http://dev-126.openlaboratory.net/repos/sofia-sip/
[4] 
https://sourceforge.net/tracker/index.php?func=detail&aid=1412694&group_id=143636&atid=756079

--
 under work: Sofia-SIP at http://sofia-sip.sf.net


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to