[Evolution-hackers] Can't find installed BookFactories

2009-08-31 Thread Saint yeyo
hello, ross,

I am still confuse at how to get libeboot function to work, you said if
encounter the message 'Can't find installed BookFactories'  maybe my
evolution-data-server or ORBit/Bonobo installation is broken, but I was
tried reinstall all of eds and bonobo such as libbonobo* , eds* , liborbit*,
but the problem not be solved.

and more, I am confuse at what is ebook, what is source, what is factory,
what is view,
 the uri should like "~/some_dir/file_name.vcf" or
"~/.evolution/address/local/system/addressbook.db" ?

libbonobo2-0 2.24.1-1 Bonobo CORBA interfaces library
liborbit21:2.14.17-0.1libraries for ORBit2 - a CORBA ORB
eds with 2.26.1-0ubuntu2

thnaks,
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Can't find installed BookFactories

2009-08-25 Thread Saint yeyo
hello,

when I tried libebook function such as : e_book_new,
e_book_new_default_addressbook, e_book_new_system_addressbook to init a
EBook, but all of them gave a error message:
WARNING **: Can't find installed BookFactories

1.
  EBook *n_ebook = e_book_new_system_addressbook (NULL);

2.
  vcf_file = "xxx.vcf";  // a exported vcard file from evolution
directly
  ESource *s_source = e_source_new_with_absolute_uri(vcf_file, dirname);
  EBook *n_ebook = e_book_new (s_source, NULL);

3.
  EBook *n_ebook = e_book_new_default_addressbook (NULL);

4.
 const char *uri = "~/.evolution/addressbook/local/system";
 EBook *n_ebook = e_book_new_from_uri  (uri, NULL);
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] how to generate addressbook.db

2009-08-24 Thread Saint yeyo
hello all,

I wrote a code, that I called two function 'e_book_backend_file_load_source'
and 'e_book_backend_file_create_contact
then successful generate 'addressbook.db' and 'addressbook.db.summary' base
on a exported vcard file,

then I tried copy the 2 generated addressbook.db into
~/.evolution/addressbook/local/system, then run evolution, click  contact,
but it told me can't load the file, I guess there are some different between
my generate one with standard evolution generate, so, could you teach me how
to generate standard addressbook.db file? I feel I mostly close my target, I
will very appreciate for your help.

thanks a lot
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] why I cannot generate addressbook.db.summary

2009-08-19 Thread Saint yeyo
hello,

I was tried to use 'e_book_backend_summary_new',
'e_book_backend_summary_touch', 'e_book_backend_summary_add_contact',
'e_book_backend_summary_is_up_to_date'...
they are working successful, but have not generate addressbook.db.summary,
how can I do?
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Error loading address book

2009-08-17 Thread Saint yeyo
hello,

I am very appreciate for your help, base on your help I made a
'addressbook.db' file from a vcard file, then I moved the addressbook.db
which generated by myself to already existenced directory
~/.evolution/addressbook/local/system/, but I got error message while I
opened evolution to watch the contact, said: "

Error loading address book.
This address book cannot be opened.  Please check that the path
/home/yeyo/.evolution/addressbook/local/system exists and that permissions
are set to access it.
Detailed error message: Other error "

I don't know what's the difference between evolution's addressbook.db and my
generate addressbook.db
how can I do that evolution load my generate addressbook.db file

by the way what does 'factory' and 'view' used to be?
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Error loading address book

2009-08-17 Thread Saint yeyo
hello,

I am very appreciate for your help, base on your help I made a
'addressbook.db' file from a vcard file, then I moved the addressbook.db
which generated by myself to already existenced directory
~/.evolution/addressbook/local/system/, but I got error message while I
opened evolution to watch the contact, said: "

Error loading address book.
This address book cannot be opened.  Please check that the path
/home/yeyo/.evolution/addressbook/local/system exists and that permissions
are set to access it.
Detailed error message: Other error "

I don't know what's the difference between evolution's addressbook.db and my
generate addressbook.db
how can I do that evolution load my generate addressbook.db file

by the way what does 'factory' and 'view' used to be?
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] how to use e_contact_new_from_vcard function

2009-08-13 Thread Saint yeyo
hello,

while I used function 'e_contact_new_from_vcard (vcf_file) ' based on a
exported vcard file, but it's told me:

(Test_db_do:26548): libebook-WARNING **: vcard began without a BEGIN:VCARD


(Test_db_do:26548): libebook-WARNING **: vcard ended without END:VCARD

I am sure the vcard file is standard vcf file.

how can I make a contact from a vcard file? my target is build
'addressbook.db' from a given vcard file, I wanna know which function should
I use, and what's the order to call them.

thanks your help.
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution-hackers Digest, Vol 49, Issue 8

2009-08-12 Thread Saint yeyo
On Wed, Aug 12, 2009 at 8:00 PM, wrote:

> Send Evolution-hackers mailing list submissions to
>evolution-hackers@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>http://mail.gnome.org/mailman/listinfo/evolution-hackers
> or, via email, send a message with subject or body 'help' to
>evolution-hackers-requ...@gnome.org
>
> You can reach the person managing the list at
>evolution-hackers-ow...@gnome.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Evolution-hackers digest..."
>
>
> Today's Topics:
>
>   1.  Evolution branched for GNOME 2.28 (Chenthill)
>   2. Re:  Evolution branched for GNOME 2.28 (Thomas Mittelstaedt)
>   3. Re:  Evolution branched for GNOME 2.28 (Bharath Acharya)
>   4.  how to initialize bf->priv->file_db (Saint yeyo)
>   5. Re:  go-evolution.org (Gilles Dartiguelongue)
>   6. Re:  how to initialize bf->priv->file_db (Milan Crha)
>
>
> --
>
> Message: 1
> Date: Tue, 11 Aug 2009 20:20:38 +0530
> From: Chenthill 
> Subject: [Evolution-hackers] Evolution branched for GNOME 2.28
> To: evolution-hackers@gnome.org, gnome-i...@gnome.org,
>desktop-devel-l...@gnome.org, gnome-doc-l...@gnome.org,
>release-t...@gnome.org
> Message-ID: <1250002238.25155.741.ca...@linux-adcj>
> Content-Type: text/plain
>
> Hi,
>  We have made a early branching for evolution for GNOME 2.28. We have
> been discussing on this in the past and to have the context, please go
> through the following threads,
>
> http://mail.gnome.org/archives/evolution-hackers/2009-August/msg8.html
> and
> http://mail.gnome.org/archives/release-team/2009-June/msg00018.html
>
> The following modules have been branched,
> gtkhtml, evolution-data-server, evolution and evolution-exchange. The
> branch is gnome-2-28.
>
> Only critical fixes will be made for evolution-2.28. By critical fixes,
> I mean blockers and important bugs identified as must-fix by module
> maintainers. All freezes would apply for gnome-2-28 branch. Please note
> that these patches needs to be committed to master and gnome-2-28
> branch.
>
> The kill-bonobo-branch and eds-dbus-port will be merged into master. So
> it means master will not have any freezes. Most of the active work will
> be going on master branch to get it usable for evolution 2.29.1.
>
> Once the branches are merged to trunk, we would be replying back to this
> thread mentioning the same.
>
> We have made a rough road-map for Evolution 3.0 -
> http://www.go-evolution.org/Evo3.0  which will be discussed and modified
> further.
>
> We will also be discussing over some pending tasks from Evolution 2.28
> and include the ones which are possible for
> http://www.go-evolution.org/Evo2.28 .
>
>
> Thanks, Chenthill.
>
>
> --
>
> Message: 2
> Date: Wed, 12 Aug 2009 04:03:08 +0200
> From: Thomas Mittelstaedt 
> Subject: Re: [Evolution-hackers] Evolution branched for GNOME 2.28
> To: Chenthill 
> Cc: evolution-hackers@gnome.org
> Message-ID: <1250042588.4426.1.ca...@linux1>
> Content-Type: text/plain
>
> git branch -r does not list gnome-2-28 for the evolution project, and a
> merge failed, of course. For evolution-data-server and gtkhtml, it
> worked.
>
> Am Dienstag, den 11.08.2009, 20:20 +0530 schrieb Chenthill:
> > Hi,
> >   We have made a early branching for evolution for GNOME 2.28. We have
> > been discussing on this in the past and to have the context, please go
> > through the following threads,
> >
> >
> http://mail.gnome.org/archives/evolution-hackers/2009-August/msg8.html
> > and
> > http://mail.gnome.org/archives/release-team/2009-June/msg00018.html
> >
> > The following modules have been branched,
> > gtkhtml, evolution-data-server, evolution and evolution-exchange. The
> > branch is gnome-2-28.
> >
> > Only critical fixes will be made for evolution-2.28. By critical fixes,
> > I mean blockers and important bugs identified as must-fix by module
> > maintainers. All freezes would apply for gnome-2-28 branch. Please note
> > that these patches needs to be committed to master and gnome-2-28
> > branch.
> >
> > The kill-bonobo-branch and eds-dbus-port will be merged into master. So
> > it means master will not have any freezes. Most of the active work will
> > be going on master branch to get it usable for evolution 2.29.1.
> >
> > Once the branches are merged to trunk, we would be replying back to this
> > thread me

[Evolution-hackers] how to initialize bf->priv->file_db

2009-08-12 Thread Saint yeyo
hello,

how to initialize 'bf->priv->file_db'? because db = bf->priv->file_db, but
with NULL value always segmentation fault return,  I tried bf->priv->file_db
= malloc(sizeof(DB)); but error said incomplete type, how can I do?
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] how to use EDS API

2009-08-06 Thread Saint yeyo
hello,

I wanna use EDS to handle address book, such as add a new address book from
backend, I have watch 'eds architeture', it's not too clear, I dont know how
to use it, is there some examples?

I need you help, thank you.
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers