[Mono-devel-list] Beta1 preview.

Peter Johanson latexer at gentoo.org
Mon May 3 23:04:41 EDT 2004


On Mon, May 03, 2004 at 10:33:38PM -0400, Miguel de Icaza wrote:
> Hello,
> Ah, this is a good observation, I ran into this on the MacOS X as well,
> but I did not look into the issue like you did.
> 
> The problem is that the versions are in fact hardcoded for each version
> of GtkHTML.  Do you have any suggestions on how to pick those versions
> in an OS independent fashion?

well, attached is a slightly better version that can handle newer
libgtkhtml-3.0 versions that have the .4 .so suffix. Still don't know
the exact version where the change happened, so that value in the patch
will need to be updated to reflect reality. I know that 3.0.10 at least
has the .4 suffix. This OS agnostic enough for ya? (not up-to-date on
OSX silliness)


-pete

> 
> Miguel
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 

-- 
Peter Johanson
<latexer at gentoo.org>

Key ID = 0x6EFA3917
Key fingerprint = A90A 2518 57B1 9D20 9B71  A2FF 8649 439B 6EFA 3917
-------------- next part --------------
--- configure.in.orig	2004-05-03 19:34:13.000000000 -0400
+++ configure.in	2004-05-03 23:01:02.083775312 -0400
@@ -155,10 +155,16 @@
 PKG_CHECK_MODULES(RSVG_DEPENDENCIES, librsvg-2.0 >= $RSVG_REQUIRED_VERSION, enable_rsvg=yes, enable_rsvg=no)
 
 GTKHTML_REQUIRED_VERSION=3.0
+GTKHTML_NEW_SO_SUFFIX_VERSION=3.0.10
 PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.0 >= $GTKHTML_REQUIRED_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no)
 if test "x$enable_gtkhtml" = "xyes"; then
 	GTKHTML_VERSION=3.0
 	GTKHTML_SOVERSION=2
+	PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.0 >= $GTKHTML_NEW_SO_SUFFIX_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no)
+	if test "x$enable_gtkhtml" = "xyes"; then
+		GTKHTML_VERSION=3.0
+		GTKHTML_SOVERSION=4
+	fi
 else
 	PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.1 >= $GTKHTML_REQUIRED_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no)
 	if test "x$enable_gtkhtml" = "xyes"; then
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040503/640d6386/attachment.bin 


More information about the Mono-devel-list mailing list