These are the steps that worked for me on Debian Sarge...
First create a text file (named 'gal2.4-2.4.2-jmc1.patch') with the
following content (note: ensure that lines that any lines that wrapped
around are properly fixed):
=========
--- ./gal2.4-2.4.2/gal/widgets/e-canvas.c~ 2005-08-14 00:09:47.000000000
-0400
+++ ./gal2.4-2.4.2/gal/widgets/e-canvas.c 2005-08-14 00:11:23.000000000
-0400
@@ -1015,7 +1015,7 @@
void e_canvas_hide_tooltip (ECanvas *canvas)
{
- if (canvas->tooltip_window) {
+ if (canvas && canvas->tooltip_window) {
gtk_widget_destroy (canvas->tooltip_window);
canvas->tooltip_window = NULL;
}
=========
Then execute the following commands:
% apt-get source libgal2.4-0
% sudo apt-get build-dep libgal2.4-0
% dpkg-source -x gal2.4_2.4.2-1.dsc
% cd gal2.4-2.4.2
% cat ../gal2.4-2.4.2-jmc1.patch | patch -p1
% dpkg-buildpackage -rfakeroot -b
% sudo dpkg -i ../libgal2.4-0_2.4.2-1_i386.deb
More details on how to build Debian packages are available here:
http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html
If you're running a different distro, try the following steps instead:
1) Download/expand the sources tarball
2) CD into the source tree subdirectory
3) Apply the patch (% cat ../gal2.4-2.4.2-jmc1.patch | patch -p1)
4) Run the configuration build script (% ./configure)
5) Build gal (% make)
6) Save the original gal dynamically loadable library binary (%
mv /usr/lib/libgal-2.4.so.0.0.0 /usr/lib/libgal-2.4.so.0.0.0-orig)
7) Copy the new binary under /usr/lib (%
cp ./.libs/libgal-2.4.so.0.0.0 /usr/lib/.)
Note, you may also want to copy 'libgal-2.4.a' as well
but this may not be a requirement for 'evolution'.
I hope this helps...
Cheers,
Jason
On Sat, 2005-08-13 at 13:10 +0200, [EMAIL PROTECTED] wrote:
> Hi Jason,
>
> Thanks for your answer.
> That sounds correct but how do you apply this patch ?
>
> Thierry CHEN
>
> Selon Jason Chagas <[EMAIL PROTECTED]>:
>
> > >Program received signal SIGSEGV, Segmentation fault.
> > >[Switching to Thread 1094363712 (LWP 9123)]
> > >0x4047517a in e_canvas_hide_tooltip () from /usr/lib/libgal-2.4.so.0
> > >(gdb)
> > >(gdb)
> >
> > I recently ran into a similar problem and applied a fix to 'gal' that
> > worked for me. More details here:
> >
> > http://lists.ximian.com/pipermail/evolution/2005-August/044430.html
> >
> >
> > Jason
> >
_______________________________________________
evolution maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/evolution