[Evolution-hackers] GtkHTML fails to build on case-insensitive file system



I have a big favor to ask of the GtkHTML maintainers:

GtkHTML currently does not build on case-insensitive file systems, like
MacOS X' HFS (which is the default file system on that platform).

To correct this, gtkhtml/components/html-editor/spell.[ch] must be moved
to something like gtkhtml/components/html-editor/spelling.[ch] so as not
to conflict with the generated Spell.[ch] files.

In addition, for this to work, the changes outlined in the attached
patch must be made.

JPR: If approved, this requires CVS surgery.

There are surprisingly few problems with building GNOME on HFS - I think
this is one out of two problems I've run into due to case-insensitivity.

-- 
Hans Petter Jansson | <hpj novell com>
Evolution Developer | http://hp.cl.no/
Index: components/html-editor/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/Makefile.am,v
retrieving revision 1.101
diff -u -p -r1.101 Makefile.am
--- components/html-editor/Makefile.am	15 Oct 2004 08:28:39 -0000	1.101
+++ components/html-editor/Makefile.am	31 Jan 2005 07:02:55 -0000
@@ -100,8 +100,8 @@ libgnome_gtkhtml_editor_la_SOURCES =		\
 	rule.h					\
 	search.c				\
 	search.h				\
-	spell.c					\
-	spell.h					\
+	spelling.c				\
+	spelling.h				\
 	table.c					\
 	table.h					\
 	template.c				\
Index: components/html-editor/editor-control-factory.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/editor-control-factory.c,v
retrieving revision 1.144
diff -u -p -r1.144 editor-control-factory.c
--- components/html-editor/editor-control-factory.c	19 Nov 2004 10:19:52 -0000	1.144
+++ components/html-editor/editor-control-factory.c	31 Jan 2005 07:02:56 -0000
@@ -70,7 +70,7 @@
 #include "text.h"
 #include "paragraph.h"
 #include "body.h"
-#include "spell.h"
+#include "spelling.h"
 #include "html-stream-mem.h"
 
 #include "gtkhtmldebug.h"


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