Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-13 Thread Milan Crha
On Sat, 2010-09-11 at 03:45 +0200, Thomas Mittelstaedt wrote:
  Finally, I got evolution 2.31 to run, but the restoration of ics files
  from my 2.28 version is a problem. The memo (notes) ics-files are
  somehow not recognized, even if they are set correctly in the gconf
  keys. 
  
 
 I tried the restoration using the installed version 2.30, having made
 sure, that services in /usr/lib are called instead of the ones of 2.31
 in /opt/evo, and the app would restore memo ics files correctly, plus
 tasks and calendars.
 Then I tried to use this new .evolution directory with 2.31, having
 switched to the right services again and 2.31 doesn't show data for
 those memos, even though the list items in the left pane show up, but
 no entries.

Hi,
actual master, 2.31.92 very soon, doesn't use ~/.evolution, but XDG
folders for its data. Everything is migrated on the first run, when
~/.evolution exists, but those XDG folders/files not. (It tries it every
start, and complains on console). For your file backends were changed
protocol from file:// to local:, thus the gconf key differs.

Because you run 2.30 after 2.31, then I suppose you've duplicated
On This Computer/Personal sources in calendar/task/memo/addressbook.

Also see release notes at:
http://mail.gnome.org/archives/ftp-release-list/2010-August/msg00023.html
Bye,
Milan

___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-13 Thread Thomas Mittelstaedt
Am Montag, den 13.09.2010, 08:36 +0200 schrieb Milan Crha:
 On Sat, 2010-09-11 at 03:45 +0200, Thomas Mittelstaedt wrote:
   Finally, I got evolution 2.31 to run, but the restoration of ics files
   from my 2.28 version is a problem. The memo (notes) ics-files are
   somehow not recognized, even if they are set correctly in the gconf
   keys. 
   
  
  I tried the restoration using the installed version 2.30, having made
  sure, that services in /usr/lib are called instead of the ones of 2.31
  in /opt/evo, and the app would restore memo ics files correctly, plus
  tasks and calendars.
  Then I tried to use this new .evolution directory with 2.31, having
  switched to the right services again and 2.31 doesn't show data for
  those memos, even though the list items in the left pane show up, but
  no entries.
 
   Hi,
 actual master, 2.31.92 very soon, doesn't use ~/.evolution, but XDG
 folders for its data. Everything is migrated on the first run, when
 ~/.evolution exists, but those XDG folders/files not. (It tries it every
 start, and complains on console). For your file backends were changed
 protocol from file:// to local:, thus the gconf key differs.
 
 Because you run 2.30 after 2.31, then I suppose you've duplicated
 On This Computer/Personal sources in calendar/task/memo/addressbook.
 
 Also see release notes at:
 http://mail.gnome.org/archives/ftp-release-list/2010-August/msg00023.html
   Bye,
   Milan
 

Thank you, Milan. That was the problem.
 

-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-10 Thread Thomas Mittelstaedt
Am Freitag, den 10.09.2010, 06:30 +0200 schrieb Thomas Mittelstaedt:
 Am Montag, den 06.09.2010, 08:18 +0200 schrieb Milan Crha:
  On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
   .libs/libebook_1_2_la-e-book.o: In function
   `e_book_new_default_addressbook':
   /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
undefined reference to `e_source_list_peek_default_source'
  
  Hi,
  I suppose you do not have latest master sources of the
  evolution-data-server. The missing function is part of
  libedataserver/e-source-list.c and it links to libedataserver-1.2.la,
  which I see it used in the Makefile.am in addressbook/libebook. The
  function was added just recently.
  Bye,
  Milan
  
  ___
  evolution-hackers mailing list
  evolution-hackers@gnome.org
  To change your list options or unsubscribe, visit ...
  http://mail.gnome.org/mailman/listinfo/evolution-hackers
 
 
 Indeed I did not have the latest sources even though I switched branches
 via 
  git branch master
 followed by a 
 git pull origing master
 
 I probably misread the message saying something like ... your tree is
 ahead by xxx commits. 
 A 
 git reset --hard origin/master
 fixed it.
 
 But still, evolution-data-server/addressbook/libebook does not install:
 
 make[1]: Verlasse Verzeichnis
 '/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
 t...@ubuntu:~/src/evolution/obj/evolution-data-server/addressbook/libebook$ 
 make install
 make  install-am
 make[1]: Betrete Verzeichnis
 '/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
 make[2]: Betrete Verzeichnis
 '/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
 test -z /opt/evo/lib || /bin/mkdir -p /opt/evo/lib
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c
 libebook-1.2.la '/opt/evo/lib'
 libtool: install: warning: relinking `libebook-1.2.la'
 libtool: install:
 (cd /home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook; 
 /bin/bash /home/tom/src/evolution/obj/evolution-data-server/libtool  --silent 
 --tag CC --mode=relink ccache gcc -g -version-info 13:1:3 -Wl,--no-undefined 
 -o libebook-1.2.la -rpath /opt/evo/lib libebook_1_2_la-e-book-marshal.lo 
 libebook_1_2_la-e-address-western.lo libebook_1_2_la-e-book-query.lo 
 libebook_1_2_la-e-book-view.lo libebook_1_2_la-e-book.lo 
 libebook_1_2_la-e-contact.lo libebook_1_2_la-e-destination.lo 
 libebook_1_2_la-e-name-western.lo libebook_1_2_la-e-vcard.lo 
 ../../addressbook/libegdbus/libegdbus-book.la ../../camel/libcamel-1.2.la 
 ../../libedataserver/libedataserver-1.2.la -pthread -lgio-2.0 -lgobject-2.0 
 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lgconf-2 -lglib-2.0 -pthread 
 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnss3 
 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lsqlite3 
 -lz )
 .libs/libebook_1_2_la-e-book.o: In function
 `e_book_new_default_addressbook':
 /home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
  undefined reference to `e_source_list_peek_default_source'
 collect2: ld returned 1 exit status
 libtool: install: error: relink `libebook-1.2.la' with the above command
 before installing it
 make[2]: *** [install-libLTLIBRARIES] Fehler 1
 make[2]: Verlasse Verzeichnis
 '/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
 make[1]: *** [install-am] Fehler 2
 make[1]: Verlasse Verzeichnis
 '/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
 
 Looking at the installed libraries, nm tells me that the function indeed
 is undefined:
 t...@ubuntu:~/src/evolution/obj/evolution-data-server/addressbook/libebook$ 
 nm /opt/evo/lib/libebook-1.2.so /opt/evo/lib/libedataserver-1.2.so |grep 
 peek_def
  U e_source_list_peek_default_source
 00015eed T e_source_list_peek_default_source
 
 But there are more functions like e_source_list... which are undefined
 according to nm, but about which the linker does not complain.
 
 
 -- 
 thomas
 
 
 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 http://mail.gnome.org/mailman/listinfo/evolution-hackers


I think, it's the -no-undefined linker flag that's causing problems on
my ubuntu maverick box:
diff --git a/configure.ac b/configure.ac
index 0df5bdc..f4fd0ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,7 +199,8 @@ dnl -Wstrict-aliasing=2
 AM_CPPFLAGS=$WARNING_FLAGS -fno-strict-aliasing
 AC_SUBST(AM_CPPFLAGS)
 
-LDFLAGS=$LDFLAGS -Wl,--no-undefined
+dnl LDFLAGS=$LDFLAGS -Wl,--no-undefined
+LDFLAGS=$LDFLAGS
 
 dnl **
 dnl Initialize maintainer mode


___

Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-10 Thread Thomas Mittelstaedt
Am Freitag, den 10.09.2010, 09:36 +0200 schrieb Thomas Mittelstaedt:
 Am Freitag, den 10.09.2010, 06:30 +0200 schrieb Thomas Mittelstaedt:
  Am Montag, den 06.09.2010, 08:18 +0200 schrieb Milan Crha:
   On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
.libs/libebook_1_2_la-e-book.o: In function
`e_book_new_default_addressbook':
/home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
 undefined reference to `e_source_list_peek_default_source'
   
 Hi,
   I suppose you do not have latest master sources of the
   evolution-data-server. The missing function is part of
   libedataserver/e-source-list.c and it links to libedataserver-1.2.la,
   which I see it used in the Makefile.am in addressbook/libebook. The
   function was added just recently.

Well, resolved it finally. The problem was the existing 2.30
installation on maverick. There was a libedataserverso in /usr/lib.
Using -L/opt/evo/lib for autogen.sh
solved that problem:

 PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/  CC='ccache gcc' CFLAGS=-g
LDFLAGS=-L/opt/evo/lib   bash  ../../evolution/autogen.sh
--prefix='/opt/evo' --disable-deprecated-warning-flags 

Then some test...-files failed to compile. I had to do the following:


diff --git a/calendar/backends/file/Makefile.am
b/calendar/backends/file/Makefile.am
index c672157..b2e2fdf 100644
--- a/calendar/backends/file/Makefile.am
+++ b/calendar/backends/file/Makefile.am
@@ -44,6 +44,9 @@ test_interval_searches_LDADD = \
 
 test_interval_searches_CPPFLAGS = \
$(AM_CPPFLAGS)  \
+   -I$(top_srcdir) \
+   -I$(top_builddir)   \
+   -I$(top_srcdir)/calendar\
-I$(top_builddir)/calendar  \
$(EVOLUTION_CALENDAR_CFLAGS)\
-DTEST_QUERY_RESULT=1
diff --git a/calendar/libedata-cal/Makefile.am
b/calendar/libedata-cal/Makefile.am
index f88e24e..182d68d 100644
--- a/calendar/libedata-cal/Makefile.am
+++ b/calendar/libedata-cal/Makefile.am
@@ -121,12 +121,15 @@ e_calendar_factory_LDADD =
\
 test_e_sexp_SOURCES = e-cal-backend-sexp.c e-cal-backend-sexp.h
 test_e_sexp_CPPFLAGS = \
$(AM_CPPFLAGS)  \
+   -I$(top_srcdir) \
-I$(top_srcdir)/calendar\
-I$(top_builddir)/calendar  \
$(EVOLUTION_CALENDAR_CFLAGS)\
-DTESTER=1
 
-test_e_sexp_LDADD = libedata-cal-1.2.la $(E_DATA_SERVER_LIBS)
+test_e_sexp_LDADD = libedata-cal-1.2.la \
+   $(top_builddir)/libedataserver/libedataserver-1.2.la
+###$(E_DATA_SERVER_LIBS)
 
 test_intervaltree_SOURCES = test-intervaltree.c
e-cal-backend-intervaltree.c
 
===

Finally, I got evolution 2.31 to run, but the restoration of ics files
from my 2.28 version is a problem. The memo (notes) ics-files are
somehow not recognized, even if they are set correctly in the gconf
keys. 

-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-10 Thread Thomas Mittelstaedt
Am Samstag, den 11.09.2010, 02:30 +0200 schrieb Thomas Mittelstaedt:
 Am Freitag, den 10.09.2010, 09:36 +0200 schrieb Thomas Mittelstaedt:
  Am Freitag, den 10.09.2010, 06:30 +0200 schrieb Thomas Mittelstaedt:
   Am Montag, den 06.09.2010, 08:18 +0200 schrieb Milan Crha:
On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
 .libs/libebook_1_2_la-e-book.o: In function
 `e_book_new_default_addressbook':
 /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
  undefined reference to `e_source_list_peek_default_source'

...
 
 Finally, I got evolution 2.31 to run, but the restoration of ics files
 from my 2.28 version is a problem. The memo (notes) ics-files are
 somehow not recognized, even if they are set correctly in the gconf
 keys. 
 

I tried the restoration using the installed version 2.30, having made
sure, that services in /usr/lib are called instead of the ones of 2.31
in /opt/evo, and the app would restore memo ics files correctly, plus
tasks and calendars.
Then I tried to use this new .evolution directory with 2.31, having
switched to the right services again and 2.31 doesn't show data for
those memos, even though the list items in the left pane show up, but
no entries.


-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-09 Thread Thomas Mittelstaedt
Am Dienstag, den 07.09.2010, 07:06 -0400 schrieb Matthew Barnes:
 On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
  More errors trying to compile gtkhtml:
 
 Use ./configure --disable-deprecated-warning-flags to work around the
 GdkGC errors.  GTK+ deprecated GdkGC very late in the GNOME development
 cycle and we're not going to deal with it this close to a stable
 release.
 
 Passing this option won't be necessary once the version becomes 2.32.
 It's enabled by default for unstable versions, disabled by default for
 stable versions.
 
 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

Thank you, that worked to build gtkhtml. Some oddity about autogen.sh,
though:

I usually executed autogen.sh from base_dir/obj/gtkhtml via

PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/  CC='ccache gcc' CFLAGS=-g
bash  ./autogen.sh  --prefix='/opt/evo'
--disable-deprecated-warning-flags 

But autogen.sh would not do its job, i.e. regenerating the configure
script. So, it called the existing ../../gtkhtml/configure which was
old. I had to go to the source directory, execute autogen.sh from 
there and interrupt it after it called configure, since this is supposed
be done from the object directory.
 
-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-09 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 08:18 +0200 schrieb Milan Crha:
 On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
  .libs/libebook_1_2_la-e-book.o: In function
  `e_book_new_default_addressbook':
  /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
   undefined reference to `e_source_list_peek_default_source'
 
   Hi,
 I suppose you do not have latest master sources of the
 evolution-data-server. The missing function is part of
 libedataserver/e-source-list.c and it links to libedataserver-1.2.la,
 which I see it used in the Makefile.am in addressbook/libebook. The
 function was added just recently.
   Bye,
   Milan
 
 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 http://mail.gnome.org/mailman/listinfo/evolution-hackers


Indeed I did not have the latest sources even though I switched branches
via 
 git branch master
followed by a 
git pull origing master

I probably misread the message saying something like ... your tree is
ahead by xxx commits. 
A 
git reset --hard origin/master
fixed it.

But still, evolution-data-server/addressbook/libebook does not install:

make[1]: Verlasse Verzeichnis
'/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
t...@ubuntu:~/src/evolution/obj/evolution-data-server/addressbook/libebook$ 
make install
make  install-am
make[1]: Betrete Verzeichnis
'/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
make[2]: Betrete Verzeichnis
'/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
test -z /opt/evo/lib || /bin/mkdir -p /opt/evo/lib
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c
libebook-1.2.la '/opt/evo/lib'
libtool: install: warning: relinking `libebook-1.2.la'
libtool: install:
(cd /home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook; 
/bin/bash /home/tom/src/evolution/obj/evolution-data-server/libtool  --silent 
--tag CC --mode=relink ccache gcc -g -version-info 13:1:3 -Wl,--no-undefined -o 
libebook-1.2.la -rpath /opt/evo/lib libebook_1_2_la-e-book-marshal.lo 
libebook_1_2_la-e-address-western.lo libebook_1_2_la-e-book-query.lo 
libebook_1_2_la-e-book-view.lo libebook_1_2_la-e-book.lo 
libebook_1_2_la-e-contact.lo libebook_1_2_la-e-destination.lo 
libebook_1_2_la-e-name-western.lo libebook_1_2_la-e-vcard.lo 
../../addressbook/libegdbus/libegdbus-book.la ../../camel/libcamel-1.2.la 
../../libedataserver/libedataserver-1.2.la -pthread -lgio-2.0 -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lgconf-2 -lglib-2.0 -pthread -lgio-2.0 
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnss3 -lnssutil3 
-lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lsqlite3 -lz )
.libs/libebook_1_2_la-e-book.o: In function
`e_book_new_default_addressbook':
/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
 undefined reference to `e_source_list_peek_default_source'
collect2: ld returned 1 exit status
libtool: install: error: relink `libebook-1.2.la' with the above command
before installing it
make[2]: *** [install-libLTLIBRARIES] Fehler 1
make[2]: Verlasse Verzeichnis
'/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'
make[1]: *** [install-am] Fehler 2
make[1]: Verlasse Verzeichnis
'/home/tom/src/evolution/obj/evolution-data-server/addressbook/libebook'

Looking at the installed libraries, nm tells me that the function indeed
is undefined:
t...@ubuntu:~/src/evolution/obj/evolution-data-server/addressbook/libebook$ nm 
/opt/evo/lib/libebook-1.2.so /opt/evo/lib/libedataserver-1.2.so |grep peek_def
 U e_source_list_peek_default_source
00015eed T e_source_list_peek_default_source

But there are more functions like e_source_list... which are undefined
according to nm, but about which the linker does not complain.


-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-07 Thread Milan Crha
On Mon, 2010-09-06 at 23:27 +0200, Thomas Mittelstaedt wrote:
 Am Montag, den 06.09.2010, 23:20 +0200 schrieb Thomas Mittelstaedt:
I downloaded and built gtk 2.9, the latest from the gtk website, and
installed it into /opt/evo, where I try to build evolution.

Hi,
well, 2.9x is a development version of gtk3. Try the latest
non-development version, like 2.20 from:
http://www.gtk.org/download-linux.html

I just pulled the latest sources from master, the gtkhtml configuration
script tells me, that it's using gtk2:
Configuration:
GTK+ package:   gtk+-2.0

Still the same compilation error.

It might mean it's using your system gtk+. I gave you a commit link at
the first reply, which contains that -DGDK_DISABLE_DEPRECATED removal,
so you probably do not have latest master checkout for some reason, I
guess. Seeing the code, isn't it possible that the makefile checkouts
gnome-2-30 branch instead of the master branch? I ask because the above
mentioned configure.ac change doesn't seem to be part of gnome-2-30
branch.

Using master is a good idea, especially in this stage (few weeks before
release), thus it'll have more testing, which is always good.

With respect of compiling without the Paul's makefile, I do not use the
makefile myself, so I do not know what it does or doesn't, but that one
also checks for dependencies within the configure stage, so you can try
to configure the checkout yourself and see what it'll claim about, if
anything.
Bye,
Milan

___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-07 Thread Matthew Barnes
On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
 More errors trying to compile gtkhtml:

Use ./configure --disable-deprecated-warning-flags to work around the
GdkGC errors.  GTK+ deprecated GdkGC very late in the GNOME development
cycle and we're not going to deal with it this close to a stable
release.

Passing this option won't be necessary once the version becomes 2.32.
It's enabled by default for unstable versions, disabled by default for
stable versions.

___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Milan Crha
On Sat, 2010-09-04 at 05:30 +0200, Thomas Mittelstaedt wrote:
 .libs/libebook_1_2_la-e-book.o: In function
 `e_book_new_default_addressbook':
 /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
  undefined reference to `e_source_list_peek_default_source'

Hi,
I suppose you do not have latest master sources of the
evolution-data-server. The missing function is part of
libedataserver/e-source-list.c and it links to libedataserver-1.2.la,
which I see it used in the Makefile.am in addressbook/libebook. The
function was added just recently.
Bye,
Milan

___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Milan Crha
On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
 More errors trying to compile gtkhtml:
 
 Making all in gtkhtml
 make[2]: Entering directory
 `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
   CC htmlengine-edit-cursor.lo
 ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
 ‘draw_cursor_rectangle’:
 ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
 declaration of function ‘gdk_gc_new’
 ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
 extern declaration of ‘gdk_gc_new’
 ...

Hi,
is it with gtk3 or gtk2? The gtk3 isn't supported fully. The other
option, even with gtk2, I think, is that might be similar to your eds
issue, you might not have latest git master sources, because this commit
seems to be relevant to your issue:
http://git.gnome.org/browse/gtkhtml/commit/?id=e118a01dfefa589ce83fe43b13c5eb2732a0fcfb
Bye,
Milan

___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
 On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
  More errors trying to compile gtkhtml:
  
  Making all in gtkhtml
  make[2]: Entering directory
  `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
CC htmlengine-edit-cursor.lo
  ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
  ‘draw_cursor_rectangle’:
  ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
  declaration of function ‘gdk_gc_new’
  ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
  extern declaration of ‘gdk_gc_new’
  ...
 
   Hi,
 is it with gtk3 or gtk2? The gtk3 isn't supported fully.

I downloaded and built gtk 2.9, the latest from the gtk website, and
installed it into /opt/evo, where I try to build evolution.
I used Paul Smith's Makefile, which at some point in the configuration
demanded gtk3.

I just pulled the latest sources from master, the gtkhtml configuration
script tells me, that it's using gtk2:
Configuration:
GTK+ package:   gtk+-2.0

Still the same compilation error.




-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 22:17 +0200 schrieb Thomas Mittelstaedt:
 Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
  On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
   More errors trying to compile gtkhtml:
   
   Making all in gtkhtml
   make[2]: Entering directory
   `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
 CC htmlengine-edit-cursor.lo
   ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
   ‘draw_cursor_rectangle’:
   ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
   declaration of function ‘gdk_gc_new’
   ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
   extern declaration of ‘gdk_gc_new’
   ...
  
  Hi,
  is it with gtk3 or gtk2? The gtk3 isn't supported fully.
 
 I downloaded and built gtk 2.9, the latest from the gtk website, and
 installed it into /opt/evo, where I try to build evolution.
 I used Paul Smith's Makefile, which at some point in the configuration
 demanded gtk3.
 
 I just pulled the latest sources from master, the gtkhtml configuration
 script tells me, that it's using gtk2:
 Configuration:
   GTK+ package:   gtk+-2.0
 
 Still the same compilation error.
 
 
 
 

Can you point me to some URL with instructions on how to build the 
latest evolution source apart from Paul Smith's page?
What dependencies need to be installed? Should I rather not build
the latest master source, but some tagged version?

-- 
thomas


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 22:32 +0200 schrieb Thomas Mittelstaedt:
 Am Montag, den 06.09.2010, 22:17 +0200 schrieb Thomas Mittelstaedt:
  Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
   On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
More errors trying to compile gtkhtml:

Making all in gtkhtml
make[2]: Entering directory
`/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
  CC htmlengine-edit-cursor.lo
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
‘draw_cursor_rectangle’:
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
declaration of function ‘gdk_gc_new’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
extern declaration of ‘gdk_gc_new’
...
   
 Hi,
   is it with gtk3 or gtk2? The gtk3 isn't supported fully.
  
  I downloaded and built gtk 2.9, the latest from the gtk website, and
  installed it into /opt/evo, where I try to build evolution.
  I used Paul Smith's Makefile, which at some point in the configuration
  demanded gtk3.
  
  I just pulled the latest sources from master, the gtkhtml configuration
  script tells me, that it's using gtk2:
  Configuration:
  GTK+ package:   gtk+-2.0
  
  Still the same compilation error.
  
  
  
  
 
 Can you point me to some URL with instructions on how to build the 
 latest evolution source apart from Paul Smith's page?
 What dependencies need to be installed? Should I rather not build
 the latest master source, but some tagged version?
 

Found the following:
http://ubuntuforums.org/showthread.php?t=1557826


 Re: error: implicit declaration of function ‘gdk_gc_new’ 

 I found that the file was already using gdk/gdk.h.
 
 I sovled the problem by removing:
 
 -GDK_DISABLE_DEPRECATED
 
 from configure.ac
 
 Re: error: implicit declaration of function ‘gdk_gc_new’ 



 are you using the development or stable version of gtk?
 
 gdk_gc_new has not been deprecated in stable, so your change should
 not have had effect.
 Don't know about unstable.
 
 And even if, instead of enabling deprecated functions you should fix
 the code to not use them



___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 23:20 +0200 schrieb Thomas Mittelstaedt:
 Am Montag, den 06.09.2010, 22:32 +0200 schrieb Thomas Mittelstaedt:
  Am Montag, den 06.09.2010, 22:17 +0200 schrieb Thomas Mittelstaedt:
   Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
 More errors trying to compile gtkhtml:
 
 Making all in gtkhtml
 make[2]: Entering directory
 `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
   CC htmlengine-edit-cursor.lo
 ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
 ‘draw_cursor_rectangle’:
 ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
 declaration of function ‘gdk_gc_new’
 ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
 extern declaration of ‘gdk_gc_new’
 ...

Hi,
is it with gtk3 or gtk2? The gtk3 isn't supported fully.
   
   I downloaded and built gtk 2.9, the latest from the gtk website, and
   installed it into /opt/evo, where I try to build evolution.
   I used Paul Smith's Makefile, which at some point in the configuration
   demanded gtk3.
   
   I just pulled the latest sources from master, the gtkhtml configuration
   script tells me, that it's using gtk2:
   Configuration:
 GTK+ package:   gtk+-2.0
   
   Still the same compilation error.
   
   
   
   
  
  Can you point me to some URL with instructions on how to build the 
  latest evolution source apart from Paul Smith's page?
  What dependencies need to be installed? Should I rather not build
  the latest master source, but some tagged version?
  
 
 Found the following:
 http://ubuntuforums.org/showthread.php?t=1557826
 
 
  Re: error: implicit declaration of function ‘gdk_gc_new’ 
 
  I found that the file was already using gdk/gdk.h.
  
  I sovled the problem by removing:
  
  -GDK_DISABLE_DEPRECATED
  
  from configure.ac
  
  Re: error: implicit declaration of function ‘gdk_gc_new’ 
 
 
 
  are you using the development or stable version of gtk?
  
  gdk_gc_new has not been deprecated in stable, so your change should
  not have had effect.
  Don't know about unstable.
  
  And even if, instead of enabling deprecated functions you should fix
  the code to not use them
 
 

Also this one: https://bugzilla.gnome.org/show_bug.cgi?id=626605


___
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] Can't build evolution-data-server master on ubuntu maverick

2010-09-04 Thread Thomas Mittelstaedt
More errors trying to compile gtkhtml:

Making all in gtkhtml
make[2]: Entering directory
`/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
  CC htmlengine-edit-cursor.lo
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
‘draw_cursor_rectangle’:
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
declaration of function ‘gdk_gc_new’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
extern declaration of ‘gdk_gc_new’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning:
assignment makes pointer from integer without a cast
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:131: error: implicit
declaration of function ‘gdk_rgb_find_color’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:131: warning: nested
extern declaration of ‘gdk_rgb_find_color’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:132: error: implicit
declaration of function ‘gdk_gc_set_foreground’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:132: warning: nested
extern declaration of ‘gdk_gc_set_foreground’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:135: error: implicit
declaration of function ‘gdk_gc_set_background’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:135: warning: nested
extern declaration of ‘gdk_gc_set_background’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:136: error: implicit
declaration of function ‘gdk_gc_set_line_attributes’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:136: warning: nested
extern declaration of ‘gdk_gc_set_line_attributes’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:137: error: implicit
declaration of function ‘gdk_gc_set_dashes’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:137: warning: nested
extern declaration of ‘gdk_gc_set_dashes’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:138: error: implicit
declaration of function ‘gdk_draw_rectangle’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:138: warning: nested
extern declaration of ‘gdk_draw_rectangle’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
‘html_engine_draw_cursor_in_area’:
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:344: error: implicit
declaration of function ‘gdk_draw_line’
../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:344: warning: nested
extern declaration of ‘gdk_draw_line’
make[2]: *** [htmlengine-edit-cursor.lo] Error 1
make[2]: Leaving directory
`/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'


Am Samstag, den 04.09.2010, 05:30 +0200 schrieb Thomas Mittelstaedt:
 Hey, experts,
 
 Just installed a fresh ubuntu maverick and try to build the master tree
 with Paul Smith's makefile. Unfortunately, it won't link. 
 What do I miss?
 
 tuxdis...@ubuntu-desktop:~/src/evolution/obj/evolution-data-server/addressbook/libebook$
  ls
 e-book-marshal.c  libebook_1_2_la-e-book-marshal.lo
 libebook_1_2_la-e-name-western.lo
 e-book-marshal.h  libebook_1_2_la-e-book-query.lo
 libebook_1_2_la-e-vcard.lo
 libebook-1.2.la   libebook_1_2_la-e-book-view.lo
 libebook-1.2.pc
 libebook_1_2_la-e-address-western.lo  libebook_1_2_la-e-contact.lo
 libebook.pc
 libebook_1_2_la-e-book.lo libebook_1_2_la-e-destination.lo
 Makefile
 tuxdis...@ubuntu-desktop:~/src/evolution/obj/evolution-data-server/addressbook/libebook$
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c   
 libebook-1.2.la '/opt/evo/lib'
 libtool: install: warning: relinking `libebook-1.2.la'
 libtool: install:
 (cd 
 /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook; 
 /bin/bash /home/tuxdistro/src/evolution/obj/evolution-data-server/libtool  
 --silent --tag CC --mode=relink ccache gcc -g -version-info 13:1:3 
 -Wl,--no-undefined -o libebook-1.2.la -rpath /opt/evo/lib 
 libebook_1_2_la-e-book-marshal.lo libebook_1_2_la-e-address-western.lo 
 libebook_1_2_la-e-book-query.lo libebook_1_2_la-e-book-view.lo 
 libebook_1_2_la-e-book.lo libebook_1_2_la-e-contact.lo 
 libebook_1_2_la-e-destination.lo libebook_1_2_la-e-name-western.lo 
 libebook_1_2_la-e-vcard.lo ../../addressbook/libegdbus/libegdbus-book.la 
 ../../camel/libcamel-1.2.la ../../libedataserver/libedataserver-1.2.la 
 -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 
 -lgconf-2 -lglib-2.0 -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 
 -lgthread-2.0 -lrt -lglib-2.0 -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 
 -lplc4 -lnspr4 -lpthread -ldl -lsqlite3 -lz -L/usr/lib -lkrb5 -lk5crypto 
 -lcom_err -lgssapi_krb
  5 )
 .libs/libebook_1_2_la-e-book.o: In function
 `e_book_new_default_addressbook':
 /home/tuxdistro/src/evolution/obj/evolution-data-server/addressbook/libebook/../../../../evolution-data-server/addressbook/libebook/e-book.c:3329:
  undefined reference to `e_source_list_peek_default_source'
 collect2: ld returned 1 exit status
 libtool: install: error: relink `libebook-1.2.la' with the above command
 before installing it