Re: [Evolution-hackers] libeshell.so not installed for evolution's make install

2007-08-18 Thread Andre Klapper
hi,

Am Samstag, den 18.08.2007, 02:49 -0400 schrieb Jawaad Ahmad:
 Everything worked fine until I tried to run sudo make install for
 evolution itself. It looks like libeshell.so was not installed
 to /opt/evo/lib/evolution2.12, causing a link error when
 libevolution-test.so is built.

workaround: configure with --enable-test-component=no

the test component is broken, i had the same issue here, though
http://bugzilla.gnome.org/show_bug.cgi?id=444289 has been fixed it's
still impossible to install the test component for me.
does anyone of the evohackers actually set --enable-test-component=yes ?

andre

-- 
 mailto:[EMAIL PROTECTED] | failed
 http://www.iomc.de/


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] libeshell.so not installed for evolution's make install

2007-08-18 Thread Matthew Barnes
On Sat, 2007-08-18 at 13:19 +0200, Andre Klapper wrote:
 the test component is broken, i had the same issue here, though
 http://bugzilla.gnome.org/show_bug.cgi?id=444289 has been fixed it's
 still impossible to install the test component for me.
 does anyone of the evohackers actually set --enable-test-component=yes ?

We should add --enable-test-component to DISTCHECK_CONFIGURE_FLAGS so
this kind of thing gets caught by make distcheck before we ship a new
release (... right?).

Matthew Barnes

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


[Evolution-hackers] Terrible hack to allow read-only access to secure Google Calendars

2007-08-18 Thread Benjamin Kahn
So I've created a horrible, ugly patch which makes Evolution able to
display the Google Calendars.  The problem is that you may want to view
your calendar without using the private URL.  (For example, the hosted
version of the Google Calendar will only deliver the ics file if you
have authenticated.)  But Evolution doesn't know how to authenticate to
Google.

The attached patch adds the ability to store an authentication token in
GConf which seem not to expire.

In other words, you apply this patch to evolution-data-server, run the
commands that follow, and you'll have READ ONLY access to your Google
Calendar that only updates every 30 minutes or so.  Yes, it's just as
fun and easy to use as it sounds.

First, run:

curl -D - https://www.google.com/accounts/ClientLogin -d 
accountType=HOSTED_OR_GOOGLE -d Email='||username||%40||domain||' -d 
Passwd='||password||' -d service=cl -d source=evolution-testing-0.0.0

You'll need to replace ||username||, ||domain||, and ||password|| to
match your email username (domain will likely be google.com) and google
password.

This command will return three lines.  The third line will start with
auth=.  

Then call:

gconftool-2 --type string -s /apps/evolution/calendar/gauth ||authstring||

You'll need to replace ||authstring|| with the 180+ character string
returned by the previous command.

You should only have to do the above once.  Or whenever the auth string
expires which seems to be very rare, if at all.

Then quit Evolution and kill the data server with this command:

evolution --force-shutdown

Start evolution after applying the attached patch.

Go to the calendar component and add:


webcal://www.google.com/calendar/ical/||username||@||domain||/private/full.ics

as a web calendar.  You'll need to replace ||username|| with your email
username and ||domain|| with your email domain, usually gmail.com.
You'll need to check Use Secure Connection and I recommend
that you cache the calendar locally.

Anyway, there are some problems:

  * Seriously, it's an ugly patch
  * You have to recompile evolution-data-server
  * Adding an auth token to GConf?!  What are you, nuts?
  * Evolution may not be able to understand the appointments set by
Google's calendar
  * The calendar only updates every once in a while
  * You can't edit the calendar in Evolution

Probably other problems.  :)  I don't recommend this be applied to
Evolution, but I do think it might be an interesting jumping off point
for someone else.  For the moment, it solves my problem.  

I'm not subscribed to e-h, so please include me in any replies.

--- evolution-data-server-1.10.2/calendar/backends/http/e-cal-backend-http.c	2007-04-09 08:43:00.0 -0400
+++ evolution-data-server-1.10.2-gmail/calendar/backends/http/e-cal-backend-http.c	2007-08-17 16:31:26.0 -0400
@@ -381,6 +381,7 @@
 {
 	ECalBackendHttpPrivate *priv;
 	SoupMessage *soup_message;
+	GConfClient *conf_client;
 
 	priv = cbhttp-priv;
 
@@ -396,14 +397,14 @@
 
 	priv-is_loading = TRUE;
 
+	conf_client = gconf_client_get_default ();
+
 	/* create the Soup session if not already created */
 	if (!priv-soup_session) {
-		GConfClient *conf_client;
 
 		priv-soup_session = soup_session_async_new ();
 
 		/* set the HTTP proxy, if configuration is set to do so */
-		conf_client = gconf_client_get_default ();
 		if (gconf_client_get_bool (conf_client, /system/http_proxy/use_http_proxy, NULL)) {
 			char *server, *proxy_uri;
 			int port;
@@ -454,6 +455,24 @@
 	soup_message = soup_message_new (SOUP_METHOD_GET, priv-uri);
 	soup_message_add_header (soup_message-request_headers, User-Agent,
  Evolution/ VERSION);
+
+	if (strstr (priv-uri, google.com/calendar)) {
+		char *auth;
+
+		auth = gconf_client_get_string (conf_client,
+		/apps/evolution/calendar/gauth, NULL);
+		if (auth) {
+			char *auth_header = g_strdup_printf (GoogleLogin auth=%s, auth);
+			
+			soup_message_add_header (soup_message-request_headers, 
+		 Authorization,
+		 auth_header);
+
+			g_free (auth_header);
+			g_free (auth);
+		}
+	}
+
 	soup_message_set_flags (soup_message, SOUP_MESSAGE_NO_REDIRECT);
 
 	soup_session_queue_message (priv-soup_session, soup_message,
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] adding an Instant Messenger to evolution to offer it to openoffice

2007-08-18 Thread Michael Schmidt
Hello

I want to request to add an instant messenger to sylpheed mail client.
there is a serverless one out here:
http://sourceforge.net/forum/forum.php?forum_id=618174

Please can you add it, so that online and offline communication meet
under one gui?

That done, we could offer it to open office as a component:

http://sourceforge.net/forum/forum.php?thread_id=1753227forum_id=618174

Which gui language is evulution for windows using?
How long would it take to integrate the IM core into the gui of evolution?

Thanks for a short feedback.
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] libeshell.so not installed for evolution's make install

2007-08-18 Thread Matthew Barnes
On Sat, 2007-08-18 at 02:49 -0400, Jawaad Ahmad wrote:
 This let me get past the problem, but I wonder if there's a problem with
 the Makefile (generated from Makefile.am, if I understand correctly). Is
 there some way to confirm that this is the problem? If so, how am I
 supposed to report it to the correct group?

It looks like Automake is getting the installation order wrong, and if
my understanding of Automake is correct, there is no guaranteed way to
dictate the installation order for a case like this where you have
multiple inter-dependent libraries in the same build directory.

I think the cleanest solution is to split the test component into a
separate directory (shell/test perhaps).  I tried this locally and it
seems to work fine.  I've attached a patch to demonstrate.

To test this for yourself, apply the attached patch and then move the
following files into the shell/test directory:

   shell/evolution-test-component.c
   shell/evolution-test-component.h
   shell/GNOME_Evolution_Test.server.in.in

Matthew Barnes
Index: shell/test/Makefile.am
===
--- shell/test/Makefile.am	(revision 0)
+++ shell/test/Makefile.am	(revision 0)
@@ -0,0 +1,35 @@
+component_LTLIBRARIES = libevolution-test.la
+
+INCLUDES =	\
+	-I$(top_srcdir)/shell			\
+	-I$(top_srcdir)/widgets/misc		\
+	-I$(top_builddir)/shell			\
+	-DG_LOG_DOMAIN=\evolution-test\	\
+	$(EVOLUTION_TEST_CFLAGS)
+
+libevolution_test_la_SOURCES =			\
+	evolution-test-component.c		\
+	evolution-test-component.h
+
+libevolution_test_la_LIBADD =			\
+	$(top_builddir)/shell/libeshell.la	\
+	$(EVOLUTION_TEST_LIBS)
+
+libevolution_test_la_LDFLAGS =			\
+	-avoid-version -module $(NO_UNDEFINED)
+
+testserver_in_files = GNOME_Evolution_Test.server.in.in
+testserver_DATA = $(testserver_in_files:.server.in.in=.server)
+testserverdir = $(serverdir)
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
+
+BUILT_SOURCES = $(testserver_DATA)
+CLEANFILES = $(BUILT_SOURCES)
+
+EXTRA_DIST =	\
+	$(testserver_in_files)			\
+	GNOME_Evolution_Test.server.in.in
+
+dist-hook:
+	cd $(distdir); rm -f $(BUILD_SOURCES)
Index: shell/Makefile.am
===
--- shell/Makefile.am	(revision 34032)
+++ shell/Makefile.am	(working copy)
@@ -1,3 +1,7 @@
+if ENABLE_TEST_COMPONENT
+SUBDIRS = . test
+endif
+
 INCLUDES =			\
 	-I$(top_srcdir)/widgets	\
 	-I$(top_srcdir)/widgets/misc\
@@ -17,8 +21,7 @@ INCLUDES =			\
 	-DLIBDIR=\$(datadir)\\
 	-DG_LOG_DOMAIN=\evolution-shell\			\
 	$(TZDIALOG_CFLAGS)	\
-	$(SHELL_CFLAGS)		\
-	$(EVOLUTION_TEST_CFLAGS)
+	$(SHELL_CFLAGS)
 
 noinst_PROGRAMS = evolution
 
@@ -157,29 +160,6 @@ evolution_LDADD =			\
 	$(TZDIALOG_LIBS)		\
 	$(SHELL_LIBS)
 
-# Test component
-
-if ENABLE_TEST_COMPONENT
-component_LTLIBRARIES = libevolution-test.la
-endif
-
-libevolution_test_la_SOURCES =		\
-	$(IDL_GENERATED)		\
-	evolution-test-component.c	\
-	evolution-test-component.h
-
-libevolution_test_la_LIBADD = 		\
-	libeshell.la			\
-	$(EVOLUTION_TEST_LIBS)
-
-libevolution_test_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED)
-
-if ENABLE_TEST_COMPONENT
-testserver_in_files = GNOME_Evolution_Test.server.in.in
-testserver_DATA = $(testserver_in_files:.server.in.in=.server)
-testserverdir = $(serverdir)
-endif
-
 # Misc stuff
 
 server_in_files = GNOME_Evolution_Shell.server.in.in
@@ -223,7 +203,7 @@ install-data-local:
 	fi
 endif
 
-install-evolution:
+install-evolution: $(install-privsolibLTLIBRARIES)
 	$(mkinstalldirs) $(DESTDIR)$(bindir)
 	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) evolution$(EXEEXT) $(DESTDIR)$(bindir)/evolution$(EXEEXT)
 
@@ -256,7 +236,6 @@ MARSHAL_GENERATED = e-shell-marshal.c e-
 EXTRA_DIST = 	\
 	$(IDLS)	\
 	$(server_in_files)			\
-	GNOME_Evolution_Test.server.in.in	\
 	shell.error.xml\
 	$(glade_DATA)\
 	$(schema_in_files)			\
@@ -278,7 +257,7 @@ evolution.pure: evolution
 
 endif
 
-BUILT_SOURCES = $(IDL_GENERATED) $(MARSHAL_GENERATED) $(server_DATA) $(testserver_DATA) $(DATASERVER_IDL_GENERATED) $(error_DATA)
+BUILT_SOURCES = $(IDL_GENERATED) $(MARSHAL_GENERATED) $(server_DATA) $(DATASERVER_IDL_GENERATED) $(error_DATA)
 CLEANFILES = $(BUILT_SOURCES)
 
 DISTCLEANFILES = $(schema_DATA)
Index: configure.in
===
--- configure.in	(revision 34032)
+++ configure.in	(working copy)
@@ -1896,6 +1896,7 @@ help/quickref/sv/Makefile
 help/quickref/sq/Makefile
 shell/Makefile
 shell/evolution-nognome
+shell/test/Makefile
 ui/Makefile
 views/Makefile
 views/addressbook/Makefile
Index: Makefile.am
===
--- Makefile.am	(revision 34032)
+++ Makefile.am	(working copy)
@@ -62,7 +62,9 @@ DISTCLEANFILES = 		\
 
 # Scrollkeeper must be disabled for distcheck to work because
 # distcheck uses a custom prefix.  See GNOME bug #354357.
-DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper

[Evolution-hackers] can't configure evolution as of rev 34033 due to ?

2007-08-18 Thread Tobias Mueller
Hi folks,

I desperately try to build evolution but even the configure fails.
Please see the following transcript:


 *** Checking out evolution *** [1/1]
 
 svn update .
 Uhelp/es/es.po
 Updated to revision 34033.
 *** Configuring evolution *** [1/1]
 
 ./autogen.sh --prefix /opt/gnome2 --libdir '${exec_prefix}/lib64'  
 --disable-static --disable-scrollkeeper --disable-gtk-doc --with-openldap=yes 
 --enable-nntp=yes --enable-ipv6=yes --enable-test-component=yes 
 --enable-nss=yes --enable-smime=yes --enable-plugins=all
 /opt/gnome2/bin/gnome-autogen.sh
 checking for autoconf = 2.53...
   testing autoconf2.50... not found.
   testing autoconf... found 2.60
 checking for automake = 1.6...
   testing automake-1.10... found 1.10
 checking for libtool = 1.4.3...
   testing libtoolize... found 1.5.22
 checking for glib-gettext = 2.2.0...
   testing glib-gettextize... /opt/gnome2/bin/glib-gettextize: line 74: echo: 
 write error: Broken pipe
 /opt/gnome2/bin/glib-gettextize: line 75: echo: write error: Broken pipe
 found 2.14.1
 checking for intltool = 0.25...
   testing intltoolize... found 0.36.1
 checking for pkg-config = 0.14.0...
   testing pkg-config... found 0.21
 checking for gnome-doc-utils = 0.4.2...
   testing gnome-doc-prepare... found 0.11.1
 Checking for required M4 macros...
 Checking for forbidden M4 macros...
 Processing ./configure.in
 Running libtoolize...
 Running glib-gettextize... Ignore non-fatal messages.
 Copying file mkinstalldirs
 Copying file po/Makefile.in.in
 
 Please add the files
   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
   progtest.m4
 from the /aclocal directory to your autoconf macro directory
 or directly to your aclocal.m4 file.
 You will also need config.guess and config.sub, which you can get from
 ftp://ftp.gnu.org/pub/gnu/config/.
 
 Running intltoolize...
 Running gnome-doc-prepare...
 You should update your 'aclocal.m4' by running aclocal.
 Running aclocal-1.10...
 /opt/gnome2/share/aclocal/audiofile.m4:12: warning: underquoted definition of 
 AM_PATH_AUDIOFILE
 /opt/gnome2/share/aclocal/audiofile.m4:12:   run info '(automake)Extending 
 aclocal'
 /opt/gnome2/share/aclocal/audiofile.m4:12:   or see 
 http://sources.redhat.com/automake/automake.html#Extending-aclocal
 configure.in:102: warning: AC_ARG_PROGRAM invoked multiple times
 Running autoconf...
 configure.in:102: warning: AC_ARG_PROGRAM invoked multiple times
 Running autoheader...
 configure.in:102: warning: AC_ARG_PROGRAM invoked multiple times
 Running automake-1.10...
 configure.in:102: warning: AC_ARG_PROGRAM invoked multiple times
 data/Makefile.am:4: `%'-style pattern rules are a GNU make extension
 data/Makefile.am:12: `%'-style pattern rules are a GNU make extension
 gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in 
 AM_CONDITIONAL
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:133: ENABLE_SK does not appear in AM_CONDITIONAL
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:182: ENABLE_SK does not appear in AM_CONDITIONAL
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:74: if $(DOC_H_FILE: non-POSIX variable name
 gnome-doc-utils.make:74: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:77: if $(DOC_H_FILE: non-POSIX variable name
 gnome-doc-utils.make:77: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:110: if $(DOC_USER_FORMATS: non-POSIX variable name
 gnome-doc-utils.make:110: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:115: if $(filter environment,$(origin LINGUAS: non-POSIX 
 variable name
 gnome-doc-utils.make:115: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:115: filter $(LINGUAS: non-POSIX variable name
 gnome-doc-utils.make:115: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:144: shell xmllint --format $(2: non-POSIX variable name
 gnome-doc-utils.make:144: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:144: notdir $(patsubst %/$(notdir $(2: non-POSIX 
 variable name
 gnome-doc-utils.make:144: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:144: if $(_ENABLE_SK: non-POSIX variable name
 gnome-doc-utils.make:144: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:160: if $(DOC_MODULE: non-POSIX variable name
 gnome-doc-utils.make:160: (probably a GNU make extension)
 help/Makefile.am:3:   `gnome-doc-utils.make' included from here
 gnome-doc-utils.make:160: wildcard 

Re: [Evolution-hackers] EvOOolution-Communicator [was: adding an Instant Messenger to evolution to offer it to openoffice]

2007-08-18 Thread Andre Klapper
ahoj,

Am Sonntag, den 19.08.2007, 01:46 +0200 schrieb Michael Schmidt:
 So two ideas come here:
 (1) open office needs definately an email client and maybe an IM client.

...and a kitchensink. in short: no, it does not. it perhaps just needs
improved integration.

 Retroshare is a cool Instant Messenger and Evolution is a cool Email client 
 too.
 Both could merge

no. ever tried to merge totally different codebases? hey, just take a
look how kde does it and copy the code, eh?

  and the atempt for this mail is, to bring both to
 OpenOffice as a new Component.

oh my god. if you have hundreds of developers with you and want to spend
another three years like the netscape 4 - 6 rewrite, please go ahead.
and lose any market share in that time. 

 Would be nice to hear, that there is a (technical) way to port
 Evolution to Windows 

evolution IS available for windows.

andre

-- 
 mailto:[EMAIL PROTECTED] | failed
 http://www.iomc.de/


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] EvOOolution-Communicator [was: adding an Instant Messenger to evolution to offer it to openoffice]

2007-08-18 Thread Andre Klapper
Am Sonntag, den 19.08.2007, 02:44 +0200 schrieb Michael Schmidt:
 hey, Fine, thats why it is of interest. So you need only to bring the
 RS core library to 5 frames (login/create account / friendslist,
 personal chat, filebrowse, options for router)  in the gui of linux
 and win.

evolution is NOT only available on linux and win.

 Why has EvOOolution Communicator not a QT-crossplatform Gui?

i don't know of EvOOolution Communicator, please ask the authors.

with regard to evolution itself: patches are accepted if they have a
reasonable goal. good luck.
full stop.

andre

-- 
 mailto:[EMAIL PROTECTED] | failed
 http://www.iomc.de/


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] EvOOolution-Communicator [was: adding an Instant Messenger to evolution to offer it to openoffice]

2007-08-18 Thread Michael Schmidt
On 8/19/07, Andre Klapper [EMAIL PROTECTED] wrote:

 evolution IS available for windows.


hey, Fine, thats why it is of interest. So you need only to bring the
RS core library to 5 frames (login/create account / friendslist,
personal chat, filebrowse, options for router)  in the gui of linux
and win.

if you have hundreds of developers with you and want to spend
 another three years like the netscape 4 - 6 rewrite, please go ahead.
 and lose any market share in that time.

Did not know, that evolution has any market share, yes, i wrote the
mail for an initiative, as OOo got 50 chinese developer starting soon
to code, there is a good start, if the mail-messenger client for OOo
would be a basic integration, they could take over..

And no, I did not merge code base, this is the request for it, but as
you two times said, that it is not needed and too much work, the third
reply may be different :-)

Why has EvOOolution Communicator not a QT-crossplatform Gui?

Kind regards.
Mike
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] EvOOolution-Communicator [was: adding an Instant Messenger to evolution to offer it to openoffice]

2007-08-18 Thread Michael Schmidt
On 8/19/07, Andre Klapper [EMAIL PROTECTED] wrote:
  hey, Fine, thats why it is of interest. So you need only to bring the
  RS core library to 5 frames (login/create account / friendslist,
  personal chat, filebrowse, options for router)  in the gui of linux
  and win.

 evolution is NOT only available on linux and win.

  Why has EvOOolution Communicator not a QT-crossplatform Gui?


sic!


 i don't know of Ev-OOo-lution Communicator, please ask the authors.


OOo = OpenOffice.org

 with regard to evolution itself: patches are accepted if they have a
 reasonable goal. good luck.
 full stop.

 andre

Best luck to you too.. the goal is, to bring evolution to OpenOffice,
but with IM.

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