[evolution-patches] [patch] GtkHtml 3.0.9 requires gal >= 1.99.1



Gerardo Marin told me in
 http://bugzilla.ximian.com/show_bug.cgi?id=49929
to forward the following patch to this list:

I got the following compile error when trying to compile GtkHtml 3.0.9 
with gal2-0-0.0.7:

<--  snip  -->

...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/local/include 
-DORBIT2=1
-D_REENTRANT -I/usr/local/include/libgnomeui-2.0
-I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0
-I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2
-I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/gnome-vfs-2.0 
-I/usr/local/lib/gnome-vfs-2.0/include
-I/usr/local/include/bonobo-activation-2.0 
-I/usr/local/include/pango-1.0
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/X11R6/include -I/usr/local/include/libxml2
-I/usr/local/include/libgnomeprint-2.2
-I/usr/local/include/libgnomeprintui-2.2 
-I/usr/local/include/libglade-2.0
-I/usr/local/include/gal-2-0 -I/usr/local/include/soup-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-DG_LOG_DOMAIN=\"gtkhtml\" -DSRCDIR=\".\" -DPREFIX=\"/usr/local\"
-DICONDIR=\"/usr/local/share/gtkhtml-3.0/icons\" 
-DGTK_DISABLE_DEPRECATED=1
-DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1
-DGNOME_DISABLE_DEPRECATED=1 -O2 -mcpu=v8 -c gtkhtml-properties.c
-Wp,-MD,.deps/gtkhtml-properties.TPlo  -fPIC -DPIC -o
.libs/gtkhtml-properties.lo
gtkhtml-properties.c:27: gal/util/e-iconv.h: No such file or directory
gmake[2]: *** [gtkhtml-properties.lo] Error 1
gmake[2]: Leaving directory `/aux/adrian/build/gtkhtml-3.0.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/aux/adrian/build/gtkhtml-3.0.9'
gmake: *** [all] Error 2

<--  snip  -->

According to the gal Changelog e-iconv.h is installed since gal 1.99.1 .

The fix is simple:

--- configure.in.old	2003-10-20 00:07:50.000000000 +0200
+++ configure.in	2003-10-20 00:08:14.000000000 +0200
@@ -56,7 +56,7 @@
 AC_SUBST(GAIL_LIBS)
 AC_SUBST(GAIL_MODULES)
 
-GTKHTML_MODULES="libgnomeui-2.0 >= 1.112.1 libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >= 2.2.1 libglade-2.0 >= 2.0.0 gal-2.0 >= 0.0.2"
+GTKHTML_MODULES="libgnomeui-2.0 >= 1.112.1 libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >= 2.2.1 libglade-2.0 >= 2.0.0 gal-2.0 >= 1.99.1"
 PKG_CHECK_MODULES(GTKHTML, $GTKHTML_MODULES)
 AC_SUBST(GTKHTML_CFLAGS)
 AC_SUBST(GTKHTML_LIBS)
--- README.old	2003-10-21 15:35:38.000000000 +0200
+++ README	2003-10-21 15:36:17.000000000 +0200
@@ -35,8 +35,8 @@
 ------------
 
 In order to compile GtkHTML, you need gdk-pixbuf 0.8.0 (or later),
-Bonobo 0.32 (or later), gnome-print 0.25 (or later) and GAL 0.7 (or
-later).
+Bonobo 0.32 (or later), gnome-print 0.25 (or later) and GAL 1.99.1
+(or later).
 
 Optionally you may want to install GConf 1.0.7 (or later).
 



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




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