* [gentoo-commits] gentoo-x86 commit in dev-util/mono-tools/files: mono-tools-1.2.6-html-renderer-fixes.patch
@ 2007-12-30 21:06 Saleem Abdulrasool (compnerd)
0 siblings, 0 replies; only message in thread
From: Saleem Abdulrasool (compnerd) @ 2007-12-30 21:06 UTC (permalink / raw
To: gentoo-commits
compnerd 07/12/30 21:06:54
Added: mono-tools-1.2.6-html-renderer-fixes.patch
Log:
add missing patch (bug #203771)
(Portage version: 2.1.4_rc11)
Revision Changes Path
1.1 dev-util/mono-tools/files/mono-tools-1.2.6-html-renderer-fixes.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mono-tools/files/mono-tools-1.2.6-html-renderer-fixes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mono-tools/files/mono-tools-1.2.6-html-renderer-fixes.patch?rev=1.1&content-type=text/plain
Index: mono-tools-1.2.6-html-renderer-fixes.patch
===================================================================
--- configure.in.orig 2007-12-19 22:32:57.000000000 -0800
+++ configure.in 2007-12-19 23:10:42.000000000 -0800
@@ -42,30 +42,41 @@
AC_SUBST(GTK_SHARP_LIBS)
-PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
-if test "x$enable_gtkhtml" = "xyes"; then
-GTKHTMLDLLCOPY=`pkg-config --variable=Libraries gtkhtml-sharp-3.14`
-CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"
-else
-PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0, enable_gtkhtml=yes, enable_gtkhtml=no)
-CSHARP_FLAGS=
-GTKHTMLDLLCOPY=
+dnl PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
+dnl if test "x$enable_gtkhtml" = "xyes"; then
+dnl GTKHTMLDLLCOPY=`pkg-config --variable=Libraries gtkhtml-sharp-3.14`
+dnl CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"
+dnl else
+AC_ARG_ENABLE(gtkhtml,
+ AC_HELP_STRING([--enable-gtkhtml], [Use GTKHTML Browser]),,
+ enable_gtkhtml=yes)
+
+if test "x$enable_gtkhtml" = "xyes" ; then
+ PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0)
+
+ AC_SUBST(GTKHTML_SHARP_LIBS)
+ AC_SUBST(GTKHTMLDLLCOPY)
+ AC_SUBST(CSHARP_FLAGS)
fi
-AC_SUBST(GTKHTML_SHARP_LIBS)
-AC_SUBST(GTKHTMLDLLCOPY)
-AC_SUBST(CSHARP_FLAGS)
-AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
+dnl fi
-PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0, enable_gecko=yes, enable_gecko=no)
-AC_SUBST(GECKO_SHARP_LIBS)
-AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
+AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
-if test "x$enable_gecko" = "xyes"; then
- # get the mozilla home directory
- MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
- AC_SUBST(MOZILLA_HOME)
+AC_ARG_ENABLE(mozilla,
+ AC_HELP_STRING([--enable-mozilla], [Use Gecko Browser]),,
+ enable_gecko=yes)
+
+if test "x$enable_gecko"= "xyes" ; then
+ PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0)
+
+ AC_SUBST(GECKO_SHARP_LIBS)
+
+ # get the mozilla home directory
+ MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
+ AC_SUBST(MOZILLA_HOME)
fi
+AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
if test "x$enable_gtkhtml$enable_gecko" = "xnono" ; then
AC_MSG_ERROR([no HTML display found. You need either gtkhtml or gecko])
--- docbrowser/monodoc.in.orig 2007-12-19 23:12:15.000000000 -0800
+++ docbrowser/monodoc.in 2007-12-19 23:15:03.000000000 -0800
@@ -85,8 +85,10 @@
MOZILLA_HOME=$MOZILLA_FIVE_HOME
elif [ $(which mozilla 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
-elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
- MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
+elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_LIBDIR= "$(which firefox)" > /dev/null ; then
+ MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d '=' -f 2)
+elif [ $(which seamonkey 2> /dev/null) ] && grep MOZILLA_LIBDIR= "$(which seamonkey)" > /dev/null ; then
+ MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which seamonkey) | cut -d '=' -f 2)
fi
if [ -n $LD_LIBRARY_PATH ]; then
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-30 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-30 21:06 [gentoo-commits] gentoo-x86 commit in dev-util/mono-tools/files: mono-tools-1.2.6-html-renderer-fixes.patch Saleem Abdulrasool (compnerd)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox