It looks to me this is a completely different problem than the patch is
intended to fix. You might want try posting the question to a Debian
mailing list (see http://lists.debian.org/).

Please note, you may also want to
replace /var/cache/apt/archives/libgal2.4-0_2.4.2-1_i386.deb with the
new version or Synaptic will restore the other version every time you
update the system.

Jason

On Mon, 2005-08-15 at 09:47 +0200, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I tried to apply the patch as described by Jason but I end on the same error
> that occured when I tried to uninstall gforge:
> 
> ==========================================================
> Suppression de gforge-ldap-openldap ...
> dpkg : erreur de traitement de gforge-ldap-openldap (--remove) :
>  le sous-processus pre-removal script a retourné une erreur de sortie d'état 5
> Des erreurs ont été rencontrées pendant l'exécution :
>  gforge-ldap-openldap
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> E: Impossible d'activer les dépendances de construction
> ==========================================================
> whitch translated means something like:
> ==========================================================
> gforge-ldap-openldap suppression
> dpkg: gforge-ldap-openldap traitment error (--remove) :
> The sub-process pre-removal script returned an error code 5.
> Errors occured during execution:
>  gforge-ldap-openldap
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> E: Impossible to activate construction's dependancies
> ==========================================================
> 
> # dpkg -P --force-remove-reinstreq forge-ldap-openldap
> gives the same error.
> 
> Regards
> 
> Thierry CHEN
> 
> Selon Jason Chagas <[EMAIL PROTECTED]>:
> 
> > 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
> > > >
> >
> >
> >
> >
> 
> 
-- 
Jason Chagas <[EMAIL PROTECTED]>

_______________________________________________
evolution maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to