Re: [Evolution-hackers] Compile Evolution Mail as .so file with API for other GUI on ARM device

2012-01-31 Thread Michal G.
Hi,

I tried to compile EDS with my SDK and unfortunately I did not success.
I run
autogen.sh --host=arm-oe-linux-gnueabi --enable-gtk-doc-html=no
--enable-goa=no --enable-nntp=no --disable-glibtest --disable-weather
and during checking of configuration following errors about missing
libraries occurs
- gtk+-3.0
- gmodule-2.0
- gconf-2.0
- libxml 2.0
- libsoup-2.4
- libgdata
- gio
- libdb
- and some other stuff related to NSS and NSPR.

I removed all those checking from configuration.ac to be able to generate
Makefile.
Some of those libraries could be added to my system, but not all (for
instance gtk+).
Do you think that I will be able to compile EDS without gtk+?

BTW, does 3.6 cycle should be release around September of 2012 or later?

Michal

On Tue, Jan 31, 2012 at 10:46 AM, Srinivasa Ragavan wrote:

> On Tue, Jan 31, 2012 at 3:00 PM, Michal G. 
> wrote:
> > Hi,
> >
> > Nice to meet the author of Anjal :)
> >
> > I went through code and Wiki yesterday and I am starting to understand
> just
> > a little piece of very high architecture.
> > I will try to compile EDS with my SDK for my ARM device. But first I
> need to
> > familiarize with build process.
> >
> > As I understand within EDS there is mail engine - this Camel library
> which I
> > could use and link dynamically with my GUI.
> > Do you know if there is simple example that shows how to send email
> message?
>
> Camel is just the mail access/storage library. I meant
> libemail-engine.so in evolution/ project, which runs mails accounts,
> checks for mails etc.
>
> >
> > Probably better way will be to use your e-mail-factory. Then I will be
> able
> > to split GUI and Mail engine on two different processes.
> > Will your e-mail factory be an official part of Evolution soon?
>
> e-mail-factory should be in eds in 3.6 cycle, but that depends on how
> much effort I get to merge evolution to use the mail daemon.
>
> >
> > I do not understand why you advice me to checkout branch of evolution. I
> > thought that all data engines (mail and calendar) are covered by EDS.
>
> e-mail-factory needs libemail-engine, which is in evolution. Evolution
> needs EDS.
>
> > And when I compile it I will be able to connect it with my GUI. It could
> be
> > done over DBUS if I have two processes or just dynamic linking to GUI.
> > Do I think correctly?
>
> You GUI should speak over dbus to the daemon (which is a process by
> itself) to fetch/access mails.
>
> >
> > Could you say, point me a document that describe how EDS store mails and
> > calendar data. Is it some own database in file or some other mechanism?
>
> I don't remember any doc for this, what ever you find could be
> obsolete in some form I fear.
>
> -Srini
>
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Compile Evolution Mail as .so file with API for other GUI on ARM device

2012-01-31 Thread Srinivasa Ragavan
On Tue, Jan 31, 2012 at 3:00 PM, Michal G.  wrote:
> Hi,
>
> Nice to meet the author of Anjal :)
>
> I went through code and Wiki yesterday and I am starting to understand just
> a little piece of very high architecture.
> I will try to compile EDS with my SDK for my ARM device. But first I need to
> familiarize with build process.
>
> As I understand within EDS there is mail engine - this Camel library which I
> could use and link dynamically with my GUI.
> Do you know if there is simple example that shows how to send email message?

Camel is just the mail access/storage library. I meant
libemail-engine.so in evolution/ project, which runs mails accounts,
checks for mails etc.

>
> Probably better way will be to use your e-mail-factory. Then I will be able
> to split GUI and Mail engine on two different processes.
> Will your e-mail factory be an official part of Evolution soon?

e-mail-factory should be in eds in 3.6 cycle, but that depends on how
much effort I get to merge evolution to use the mail daemon.

>
> I do not understand why you advice me to checkout branch of evolution. I
> thought that all data engines (mail and calendar) are covered by EDS.

e-mail-factory needs libemail-engine, which is in evolution. Evolution
needs EDS.

> And when I compile it I will be able to connect it with my GUI. It could be
> done over DBUS if I have two processes or just dynamic linking to GUI.
> Do I think correctly?

You GUI should speak over dbus to the daemon (which is a process by
itself) to fetch/access mails.

>
> Could you say, point me a document that describe how EDS store mails and
> calendar data. Is it some own database in file or some other mechanism?

I don't remember any doc for this, what ever you find could be
obsolete in some form I fear.

-Srini
>
> Michal
>
>
>
> On Mon, Jan 30, 2012 at 3:37 PM, Srinivasa Ragavan 
> wrote:
>>
>> Hi
>>
>> On Mon, Jan 30, 2012 at 6:27 PM, Michal G. 
>> wrote:
>> > Hi,
>> >
>> > Thank you for answer.
>> >
>> > Yes. I'm looking for mail engine that will be able to communicate for
>> > instance over DBUS which some UI.
>> > My device does not uses X.org, GTK and Cairo.
>> > It future, I would also append my software with Calendar functionality.
>>
>> Calendar is already in EDS available over DBUS.
>>
>> >
>> > I choosed to work with Evolution because I saw similar email client
>> > called
>> > Anjal that utilize Evolution but has own UI.
>>
>> I was the author of Anjal. It was build with Gtk/Cairo on top of
>> libevolution-mail. Now after mbarnes's awesome library breaks, I broke
>> mail engine to a independent library that can reside in EDS (in the
>> future) which I currently server over DBUS.
>>
>> You must checkout master branch of eds and evolution.
>> https://github.com/sragavan/e-mail-factory is the dbus engine that Im
>> working on, which is still under development. Some apis are fun and
>> still not up to the mark. But you can use them and it works fine.
>>
>> -Srini.
>>
>> >
>> > Could you tell me from which git should I clone
>> > - http://git.gnome.org/browse/evolution-data-server
>> > - http://git.gnome.org/browse/evolution
>> >
>> > And could you tell where to start, or what should I read some to
>> > - build mail engine library (http://mad-scientist.us/evolution.html -
>> > should
>> > I follow this process)
>> > - API of DBUS
>> >
>> > Michal
>> >
>> >
>> > On Sat, Jan 28, 2012 at 7:35 AM, Srinivasa Ragavan 
>> > wrote:
>> >>
>> >> Hi Michal,
>> >>
>> >> On Fri, Jan 27, 2012 at 5:27 PM, Michal G. 
>> >> wrote:
>> >> > Hi,
>> >> >
>> >> > I've been investigating a possibility of Evolution Mail
>> >> > cross-compilation
>> >> > for Linux X-less device (ARM) and use it as dynamic library that will
>> >> > provide me possibility to expose API that could be utilize by HMI
>> >> > layer.
>> >> >
>> >> > 1)    Is it possible to compile Evolution Mail without any user
>> >> > interface
>> >> > (pure –headless)? Or how much work would that require?
>> >> > 2)    Does Evolution architecture allows doing such split – mail
>> >> > supporting
>> >> > functionality and GUI?
>> >> > 3)    Is it possible to eliminate all unnecessary libs and resources?
>> >> > They’re using valuable device resources and may cause compilation
>> >> > problems.
>> >> > 4)    If I’m about hacking the build process to my needs (removing
>> >> > dependencies) where should I start?
>> >>
>> >> IIUC you want to use the engine of evolution, but not the UI. If so,
>> >> I've been working on a mail daemon which has all the mail logic built
>> >> in and exposes mail (basic) interface over dbus. If you aren't
>> >> interested in that, you can look at libemail-engine.so which is a new
>> >> library that I added a week ago in master which provides most of what
>> >> you are looking at except the UI.
>> >>
>> >> -Srini
>> >>
>> >> >
>> >> > Best regards,
>> >> > Michal Guzieniuk
>> >> >
>> >> >
>> >> > ___
>> >> > evolution-hackers mailing list
>> >> > 

Re: [Evolution-hackers] Compile Evolution Mail as .so file with API for other GUI on ARM device

2012-01-31 Thread Michal G.
Hi,

Nice to meet the author of Anjal :)

I went through code and Wiki yesterday and I am starting to understand just
a little piece of very high architecture.
I will try to compile EDS with my SDK for my ARM device. But first I need
to familiarize with build process.

As I understand within EDS there is mail engine - this Camel library which
I could use and link dynamically with my GUI.
Do you know if there is simple example that shows how to send email message?

Probably better way will be to use your e-mail-factory. Then I will be able
to split GUI and Mail engine on two different processes.
Will your e-mail factory be an official part of Evolution soon?

I do not understand why you advice me to checkout branch of evolution. I
thought that all data engines (mail and calendar) are covered by EDS.
And when I compile it I will be able to connect it with my GUI. It could be
done over DBUS if I have two processes or just dynamic linking to GUI.
Do I think correctly?

Could you say, point me a document that describe how EDS store mails and
calendar data. Is it some own database in file or some other mechanism?

Michal


On Mon, Jan 30, 2012 at 3:37 PM, Srinivasa Ragavan wrote:

> Hi
>
> On Mon, Jan 30, 2012 at 6:27 PM, Michal G. 
> wrote:
> > Hi,
> >
> > Thank you for answer.
> >
> > Yes. I'm looking for mail engine that will be able to communicate for
> > instance over DBUS which some UI.
> > My device does not uses X.org, GTK and Cairo.
> > It future, I would also append my software with Calendar functionality.
>
> Calendar is already in EDS available over DBUS.
>
> >
> > I choosed to work with Evolution because I saw similar email client
> called
> > Anjal that utilize Evolution but has own UI.
>
> I was the author of Anjal. It was build with Gtk/Cairo on top of
> libevolution-mail. Now after mbarnes's awesome library breaks, I broke
> mail engine to a independent library that can reside in EDS (in the
> future) which I currently server over DBUS.
>
> You must checkout master branch of eds and evolution.
> https://github.com/sragavan/e-mail-factory is the dbus engine that Im
> working on, which is still under development. Some apis are fun and
> still not up to the mark. But you can use them and it works fine.
>
> -Srini.
>
> >
> > Could you tell me from which git should I clone
> > - http://git.gnome.org/browse/evolution-data-server
> > - http://git.gnome.org/browse/evolution
> >
> > And could you tell where to start, or what should I read some to
> > - build mail engine library (http://mad-scientist.us/evolution.html -
> should
> > I follow this process)
> > - API of DBUS
> >
> > Michal
> >
> >
> > On Sat, Jan 28, 2012 at 7:35 AM, Srinivasa Ragavan 
> > wrote:
> >>
> >> Hi Michal,
> >>
> >> On Fri, Jan 27, 2012 at 5:27 PM, Michal G. 
> >> wrote:
> >> > Hi,
> >> >
> >> > I've been investigating a possibility of Evolution Mail
> >> > cross-compilation
> >> > for Linux X-less device (ARM) and use it as dynamic library that will
> >> > provide me possibility to expose API that could be utilize by HMI
> layer.
> >> >
> >> > 1)Is it possible to compile Evolution Mail without any user
> >> > interface
> >> > (pure –headless)? Or how much work would that require?
> >> > 2)Does Evolution architecture allows doing such split – mail
> >> > supporting
> >> > functionality and GUI?
> >> > 3)Is it possible to eliminate all unnecessary libs and resources?
> >> > They’re using valuable device resources and may cause compilation
> >> > problems.
> >> > 4)If I’m about hacking the build process to my needs (removing
> >> > dependencies) where should I start?
> >>
> >> IIUC you want to use the engine of evolution, but not the UI. If so,
> >> I've been working on a mail daemon which has all the mail logic built
> >> in and exposes mail (basic) interface over dbus. If you aren't
> >> interested in that, you can look at libemail-engine.so which is a new
> >> library that I added a week ago in master which provides most of what
> >> you are looking at except the UI.
> >>
> >> -Srini
> >>
> >> >
> >> > Best regards,
> >> > Michal Guzieniuk
> >> >
> >> >
> >> > ___
> >> > evolution-hackers mailing list
> >> > evolution-hackers@gnome.org
> >> > To change your list options or unsubscribe, visit ...
> >> > http://mail.gnome.org/mailman/listinfo/evolution-hackers
> >> >
> >
> >
>
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Questions about evolution-data-server-3.3.4 source code compile

2012-01-31 Thread Li, Cici X
Hi, all

After download evolution-data-server-3.3.4-1.1.src.rpm & install it, I tried to 
compile it:
Based existed Makefile.am & configure.ac, I run the command:
aclocal (aclocal -I m4)
autoconf
autoheader
automake
Have Installed some packages during compile.

And my problems during compile are
1. after automake, no Makefile.in created, and without errors during automake, 
below is tail info of automake
...
tests/libecal/Makefile.am:5:   its definition is in aclocal's search 
path.
tests/libecal/client/Makefile.am:1: Libtool library used but `LIBTOOL' 
is undefined
tests/libecal/client/Makefile.am:1:   The usual way to define `LIBTOOL' 
is to add `AC_PROG_LIBTOOL'
tests/libecal/client/Makefile.am:1:   to `configure.ac' and run 
`aclocal' and `autoconf' again.
tests/libecal/client/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in 
`configure.ac', make sure
tests/libecal/client/Makefile.am:1:   its definition is in aclocal's 
search path.
[cici@localhost evolution-data-server-3.3.4]$ ls

anyone have met this problem? How to fix it?

2. Is above compile method correct? And do we have auto script or other tools 
to auto compile?

Besides, I have compiled evolution-data-server-2.32.3 source code successfully, 
and haven't met this error.

Thanks
cici
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers