[Mono-bugs] [Bug 74486][Wis] New - monodoc does not compile with gtk-sharp-2.0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 7 Apr 2005 12:08:24 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by f@rtfs.org.
http://bugzilla.ximian.com/show_bug.cgi?id=74486
--- shadow/74486 2005-04-07 12:08:24.000000000 -0400
+++ shadow/74486.tmp.10632 2005-04-07 12:08:24.000000000 -0400
@@ -0,0 +1,79 @@
+Bug#: 74486
+Product: Mono: Doctools
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Core
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: f@rtfs.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: monodoc does not compile with gtk-sharp-2.0
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Install gtk-sharp-2.0 (not 1.x)
+2. svn co monodoc
+3. ./autogen.sh
+
+Actual Results:
+complains about not finding gtk-sharp.pc
+
+
+Expected Results:
+
+Work with both gtk-sharp and gtk-sharp-2.0
+
+How often does this happen?
+always
+
+Additional Information:
+
+This diff makes monodoc compile with gtk-sharp-2.0 and works fine.
+But of course breaks gtk-sharp-1.x compatibility :-(
+Don't know enough automake/conf stuff to make it conditional.
+
+Index: browser/Makefile.am
+===================================================================
+--- browser/Makefile.am (revision 42627)
++++ browser/Makefile.am (working copy)
+@@ -60,7 +60,7 @@
+ cs2ecma_sources = \
+ $(srcdir)/cs2ecma.cs
+
+-browser_assemblies = -pkg:gtkhtml-sharp -pkg:glade-sharp
+-r:System.Web.Services
++browser_assemblies = -pkg:gtkhtml-sharp-2.0 -pkg:glade-sharp-2.0
+-r:System.Web.Services
+
+ EXTRA_DIST = \
+ $(monodoc_sources) $(assembler_sources) \
+Index: configure.in
+===================================================================
+--- configure.in (revision 42627)
++++ configure.in (working copy)
+@@ -39,9 +39,10 @@
+ AM_CONDITIONAL(USE_CYGPATH, test x$use_cygpath = xyes)
+
+ if test "x$with_gtk" = "xyes" ; then
++ GTKSHARP_2_REQUIRED_VERSION=1.9.2
+ GTKSHARP_REQUIRED_VERSION=0.91
+ MONO_REQUIRED_VERSION=0.90
+- PKG_CHECK_MODULES(BASE_DEPENDENCIES, gtk-sharp >=
+$GTKSHARP_REQUIRED_VERSION gtkhtml-sharp >= $GTKSHARP_REQUIRED_VERSION
+glade-sharp >= $GTKSHARP_REQUIRED_VERSION mono >= $MONO_REQUIRED_VERSION)
++ PKG_CHECK_MODULES(BASE_DEPENDENCIES, gtk-sharp-2.0 >=
+$GTKSHARP_2_REQUIRED_VERSION gtkhtml-sharp-2.0 >=
+$GTKSHARP_2_REQUIRED_VERSION glade-sharp-2.0 >=
+$GTKSHARP_2_REQUIRED_VERSION mono >= $MONO_REQUIRED_VERSION)
+ fi