pisi depenencies
Michael Pilgermann
KichKasch at gmx.de
Fri Jan 15 08:30:32 CET 2010
Good morning Vinzenz,
I think, I did not fully understand you question - I am noticing that now. It's not about PISI in particular, but more about how I integrated the syncml thing ...??
Well - let me start this way: It was a pain in the ass! Honestly. Libs are really rare - and documentation is even "rarer".
I tried a few of them - ending up with an alpha branch of Conduit (http://live.gnome.org/Conduit). In the sources I found some unstable code for syncing against Syncml (http://git.gnome.org/browse/conduit/tree/conduit/modules/SyncmlModule?h=syncml). I applied some changes and integrated that into PISI (http://github.com/kichkasch/pisi/tree/master/thirdparty/conduit/).
I am still not sure, how you exactly want to integrate with libsyncml ... but I hope, this helps a bit.
As I said: from a Desktop I can sucessfully sync against Syncml-Server (here Mobical) with PISI.
Best
Michael
-------- Original-Nachricht --------
> Datum: Fri, 15 Jan 2010 00:17:12 +0100
> Von: Vinzenz Hersche <hersche at puzzle.ch>
> An: Michael Pilgermann <kichkasch at gmx.de>
> Betreff: Re: pisi depenencies
> hey michael,
>
> i've installed the last version of libsyncml, but it doesn't work (but i
> don't
> know, if qtopia really use syncml..)
>
> the ouput from telnet is this:
>
> skamster at skamster:~$ telnet 192.168.0.203 4245
> Trying 192.168.0.203...
> Connected to 192.168.0.203.
> Escape character is '^]'.
> 220 Qtopia
> 4.4.3;challenge={b7203c47-06bf-4878-9ff5-6afffb2db546};loginname=root;displayname=;protocol=2;system=Qtopia;model=Uncustomized
> Device;hexversion=263171;datasets=calendar contacts tasks
> CALLB QD/QDSync forwardedMessage(QString,QString,QByteArray)
> AAAAHABRAEQALwBRAHQAbwBwAGkAYQA0AFMAeQBuAGMAAAAaAGMAbABpAGUAbgB0AEUAcgByAG8AcgAoACn/////
> Connection closed by foreign host.
> skamster at skamster:~$
>
> i didn't do others testing, but one little thing i've seen.. by
> self-compiling
> librarys the name is libsyncml.so.2, not libsyncml.so.0 ... may this helps
> you
> to make this module more stable?
>
> ah, and it didn't work with the libsyncml in version 4.6 (which was in my
> repo
> ;) )
>
> i will test the rest later.. but thanks for the mail.. :)
>
> vinzenz
>
> -----------------------------------------------
> Michael schrieb am Donnerstag 14 Januar 2010:
> Hi Vinzenz,
>
> in fact, Syncml support is fully implemented in PISI already; however, I
> haven't yet managed to get all the required libs into PISI - that's why
> it's not yet in the release (and commented in the config file).
>
> The file you are asking for is in the repos
> (http://github.com/kichkasch/pisi/blob/master/thirdparty/conduit/SyncmlModule.py)
> already; however, this again will depend on 'pysyncml', which in turn
> depends on syncmllib ...
>
> On my desktop I have successfully used the module already ... hope, I
> (or somebody) can create and apply a recipe for SHR from libsyncml
> (https://libsyncml.opensync.org/) soon ... off we would go then ...
>
> As temporary solution for your desktop:
> 1) Install libsyncml (download sources from link given above) with
> required deps (something with xml and another one)
> 2) Extract the attached archive to '/opt/pisi/thirdparty'
>
>
> 3) give me feedback ;) ... good luck!
>
> Michael
>
>
> On 01/14/2010 05:10 PM, Vinzenz Hersche wrote:
> > hello all,
> >
> > i just want to know if there's a package for python/syncml on
> desktop-pc's..
> > it's because of pisi:
> > skamster at skamster:~$ pisigui
> > Xlib: extension "RANDR" missing on display ":0.0".
> > Configuring
> > Starting synchronization
> > My configuration is:
> > Mode is 0 - calendar
> > In case of conflicts I use the following strategy: Skip
> > Reading configfile: /home/skamster/.pisi/conf
> > ics-module using file /home/skamster/cal.ics
> > Traceback (most recent call last):
> > File "/usr/bin/pisigui", line 296, in startSync
> > source = pisi.importModules(configfolder, config, modulesToLoad,
> > modulesNamesCombined, False)
> > File "/opt/pisi/pisi.py", line 81, in importModules
>
> > exec "from modules import " + modulename + " as module"+i.__str__()
>
> > File "<string>", line 1, in <module>
>
> > File "/opt/pisi/modules/calendar_syncml.py", line 34, in <module>
>
> > import thirdparty.conduit.SyncmlModule as SyncmlModule
> >
> > i found nowhere something about this importet module. but if my idea is
> right
> > (that sync on qtmoko works with syncml) it would be great, because then
> it's
> > possible to sync all calendar- and contact-data betwen pc, web and
> moko.. :)
> >
> > and i use sidux, but it's most time similiar to ubuntu (if someone
> know's
> > where the right package is.. )
> >
> > greets
> >
> > _______________________________________________
> > Openmoko community mailing list
> > community at lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
More information about the community
mailing list