[maemo-developers] [maemo-developers] SyncML for 770: SyncEvolution compiles and runs, but does not find address book

From: Onne Gorter onne.gorter at nokia.com
Date: Thu Aug 31 12:05:44 EEST 2006
On 2006 Aug 10, at 22:45 , ext Patrick Ohly wrote:

> Hi all,

Hi,

>
> my 0.4 pre 1 snapshot [1] of SyncEvolution [2] compiles fine with the
> evolution-data-server and libebook provided with the standard
> Maemo_Dev_Platform_v2.0_armel-rootstrap.tgz.tar. The resulting ARMEL
> binary also runs on the 770 with official 2.0 OS, but it does not find
> the system addressbook.
>
> The only change that I made for the 770 is adding a configure  
> option to
> suppress the usage of libecal (--disable-ecal), so the code which
> searches for address books is the same as on the desktop:
>
>     ESourceList *sources = NULL;
>     if (!e_book_get_addressbooks(&sources, NULL)) {
>         throw runtime_error("unable to access address books");
>     }
>
>     EvolutionSyncSource::sources result;
>
>     for (GSList *g = e_source_list_peek_groups (sources); g; g = g- 
> >next) {
>         ESourceGroup *group = E_SOURCE_GROUP (g->data);
>         for (GSList *s = e_source_group_peek_sources (group); s; s  
> = s->next) {
>             ESource *source = E_SOURCE (s->data);
>             result.push_back( EvolutionSyncSource::source 
> ( e_source_peek_name(source),
>                                                             
> e_source_get_uri(source) ) );
>         }
>     }
>     return result;
>
> Is this something which should work with the Maemo port of the  
> Evolution
> libraries?

Not sure, we do have a 770 specific patch to the openedhand sources  
to change the default system addressbook to .osso-abook/db/ 
addressbook.db, and a patch to remove a bunch of dead code we never use

If you use `e_book_new_system_addressbook` it works nicely, maybe we  
broke the `e_book_get_addressbooks` functionality, but I don't assume  
we did ...

I do know you can get open-sync running

but for the real 770 sources of evolution-data-server, please check  
the subversion repository of
http://garage.maemo.org/projects/eds
in `debian/patches` there are a few specific for the 770

thanx,
- Onne


>
> [1] http://sourceforge.net/project/showfiles.php? 
> group_id=146288&package_id=161067&release_id=437512
> [2] http://www.estamos.de/projects/SyncML/
> -- 
> Bye, Patrick Ohly
> --  
> Patrick.Ohly at gmx.de
> http://www.estamos.de/
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list