Re: [Evolution] New version of the Evo SVN Makefile - patch for Debian Etch



On Di, 2007-10-02 at 18:42 -0400, Paul Smith wrote: 
Anyway, if you want a simple way to build Evo from SVN without
rebuilding all of Gnome (as with GARNOME), give it a whirl!

        http://mad-scientist.us/evolution.html

Thanks a lot for this, I found it very useful. It did not quite do what
I needed (building on Debian Etch), so I patched it (attached): 
      * I don't need evolution-exchange and evolution-webcal, so I added
        the possibility to remove packages and enable flags from
        PACKAGES via local.mk: IGNORE_PACKAGES, IGNORE_FEATURES 
      * Added package check for debian-etch, reusing the rules for
        Ubuntu: distro := debian-etch in local.mk 
      * Etch's gtk+-2.0 and intltool are not recent enough for 2.12. I
        compiled them separately first and pointed with PKG_CONFIG_PATH,
        LD_LIBRARY_PATH (otherwise configure check for glib fails!) and
        PATH towards that installation (my local.mk is attached). The
        Makefile had to be changed to preserve these values. 
      * I don't have root priviliges on the SyncEvolution nightly test
        machine, so I needed a way to disable sudo. 
      * Added "export BONOBO_ACTIVATION_PATH=$prefix/lib/bonobo/servers"
        to evolution-svn to pick the right components for 2.12.1 
      * gnome-doc-utils was needed. I suspect it also needs to be added
        to ubuntu-PREREQS.

I have successfully built Evolution 2.12.1 with these modifications on
my desktop and without root priviliges on the SyncEvolution nightly test
machine.

One big warning! After starting Evolution 2.12.1 once and (after killing
all of its processes) restarting Evolution 2.6.3 from Debian Etch the
latter crashed reproducibly with: 
(evolution-2.6:19361): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(evolution-2.6:19361): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE 
(instance)' failed
(evolution-2.6:19361): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to 
`ESourceGroup'
(evolution-2.6:19361): e-data-server-CRITICAL **: e_source_group_peek_name: assertion `E_IS_SOURCE_GROUP 
(group)' failed

After restoring .gconf and .gconfd from a backup (= kill gconfd, copy
whole directory hierarchy) it worked again. I did not investigate in
more detail, but I saw that 2.12.1 had modified the source definitions
in .gconf/%gconf-tree.xml.

So unless precautions are taken, updating from 2.6.3 to 2.12.1 is a
one-way street!

-- 
Bye, Patrick Ohly
--  
Patrick Ohly gmx de
http://www.estamos.de/

Attachment: local.mk
Description: Text document

Attachment: Makefile-debian.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]