[Monodevelop-patches-list] r1188 - trunk/md-website

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Mar 18 14:54:02 EST 2004


Author: kevinb
Date: 2004-03-18 14:54:02 -0500 (Thu, 18 Mar 2004)
New Revision: 1188

Modified:
   trunk/md-website/styles.css
   trunk/md-website/tutorial.aspx
Log:
Redid the formatting of the tutorial


Modified: trunk/md-website/styles.css
===================================================================
--- trunk/md-website/styles.css	2004-03-18 01:34:35 UTC (rev 1187)
+++ trunk/md-website/styles.css	2004-03-18 19:54:02 UTC (rev 1188)
@@ -95,7 +95,7 @@
  padding: 3px;
  background-color: black;
  color: #00FF00;
- width: 80%;
- margin: auto;
- line-height: 1.1em;
+ width: 100%;
+ margin: 3px;
+ line-height: 1.2em;
 }
\ No newline at end of file

Modified: trunk/md-website/tutorial.aspx
===================================================================
--- trunk/md-website/tutorial.aspx	2004-03-18 01:34:35 UTC (rev 1187)
+++ trunk/md-website/tutorial.aspx	2004-03-18 19:54:02 UTC (rev 1188)
@@ -21,12 +21,14 @@
          <li>Download the <a href="ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz">ICU 2.8 tarball</a>.</li>
 	 <li>Unpack and install the tarball by typing:
 	    
-	    <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">tar -xzf icu-2.8.tgz
+<pre class="code">
+tar -xzf icu-2.8.tgz
 cd icu/source
 chmod +x runConfigureICU configure install-sh
 ./runConfigureICU LinuxRedHat --disable-64bit-libs
 make
-make install</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+make install
+</pre>
 	 </li>
       </ul>
       <p>If you have any difficulties installing ICU, refer to <a href="http://oss.software.ibm.com/cvs/icu/~checkout~/icu/readme.html?tag=release-2-8">icu/readme.html</a>.</p>
@@ -34,29 +36,35 @@
       <b>2. <a href="http://www.gnome.org/projects/ORBit2/">ORBit2 2.8.3</a></b>
 
       <p>Although newer versions of ORBit <i>may</i> work, they have been known to produce non-fatal crashes when MonoDevelop exits. If in doubt, <a href="http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.8/ORBit2-2.8.3.tar.gz">download ORBit 2.8.3</a>. Once you have ORBit2 downloaded, install it with:
-	 <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">tar -xzf ORBit2-2.8.3.tar.gz
+
+<pre class="code">
+tar -xzf ORBit2-2.8.3.tar.gz
 cd ORBit2-2.8.3
 ./configure
 make
-make install</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+make install
+</pre>
 
 
       <b>3. <a href="http://www.mozilla.org/unix/gtk-embedding.html">gtkmozembed</a></b>
       <p>gtkmozembed can generally be found as (or in) a package for your OS. For example:<br />
-          * Debian: `mozilla-dev'<br />
-          * RedHat: `mozilla-devel'<br />
-	  * FreeBSD: `mozilla-gtkmozembed'<br /><br />
+          <ul><li>Debian: `mozilla-dev'</li>
+          <li>RedHat: `mozilla-devel'</li>
+	  <li>FreeBSD: `mozilla-gtkmozembed'</li></ul>
       I have yet to find an official tarball for gtkmozembed, but I haven't looked very hard. If you know of one, please <a href="mailto:steve at citygroup.ca">let me know</a>.
       </p>
 
 
       <b>4. <a href="http://gtksourceview.sourceforge.net/">GtkSourceView 0.7</a></b>
       <p>GtkSourceView is a widget for displaying sourcecode (imagine that). Since MonoDevelop uses gtksourcevew-sharp, and this is only a wrapper, we must first install GtkSourceView. You may download a binary package for your distribution if it provides version 0.7 or higher. Otherwise, download the <a href="http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/0.7/gtksourceview-0.7.0.tar.gz">official tarball (0.7)</a>. Then install:</p>
-      <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">tar -xzf gtksourceview-0.7.0.tar.gz
+
+<pre class="code">
+tar -xzf gtksourceview-0.7.0.tar.gz
 cd gtksourceview-0.7.0
 ./configure --prefix=`pkg-config --variable=prefix ORBit-2.0`
 make
-make install</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+make install
+</pre>
 
 
       <b>5. <a href="http://www.go-mono.com/download.html">Mono 0.30.1</a>, gtk-sharp, gtksourceview-sharp</b>
@@ -65,24 +73,33 @@
 
       <ul>
          <li>Download the latest cvs copies of mono, mcs, gtk-sharp, and gtksourceview-sharp:
-         <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">export CVSROOT=:pserver:anonymous at anoncvs.go-mono.com:/mono
+
+<pre class="code">
+export CVSROOT=:pserver:anonymous at anoncvs.go-mono.com:/mono
 cvs login
-cvs -z3 co mcs mono gtk-sharp gtksourceview-sharp</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+cvs -z3 co mcs mono gtk-sharp gtksourceview-sharp
+</pre>
          </li>
 	
          <li>Before compiling: Make sure you have`<tt>$PREFIX/lib</tt>' (usually `<tt>/usr/local/lib</tt>') in /etc/ld.so.conf. If you do not, add it with the following:
-	 <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">su
+
+<pre class="code">
+su
 echo "/usr/local/lib" &gt;&gt; /etc/ld.so.conf
 /sbin/ldconfig
-</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+</pre>
          
 	 <li>Similarly, check to make sure you have PKG_CONFIG_PATH set properly. It can be set with:
-	 <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
-</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+
+<pre class="code">
+export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
+</pre>
 	 </li>
 
          <li>You can then compile mono and gtk-sharp using the following:
-         <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">cd mono
+
+<pre class="code">
+cd mono
 ./autogen.sh --prefix=/usr/local
 make fullbuild
 
@@ -95,7 +112,8 @@
 ./autogen.sh --prefix=/usr/local
 make
 make install
-</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+</pre>
+
          <p>If the above instructions do not properly compile mono, please refer to the mono documentation. Troubleshooting will be added to this document at a later date.</p>
          </li>
       </ul>
@@ -106,13 +124,15 @@
 
       <div class="headlinebar">Installing MonoDevelop</div>      
       <p>Next on the agenda is building MonoDevelop. Download the latest tarball from <a href="http://devservices.go-mono.com/MonoDevelop/">http://devservices.go-mono.com/MonoDevelop/</a>. Extract and build it using:</p>
-      <pre class="console" xmlns="http://www.w3.org/1999/xhtml"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#999999">export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
+
+<pre class="code">      
+export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
 tar -xjf MonoDevelop-rXXXX.tar.bz2
 cd MonoDevelop-rXXXX
 ./autogen.sh --prefix=/usr/local
 make
 make run &amp;
-</td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#555555"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre>
+</pre>
 
       <p>At this point, you have the choice of either `<tt>make install</tt>' or (preferrably) '<tt>make run</tt>'. Since there is a good chance you'll download a new copy of MonoDevelop tomorrow, we recommend using `<tt>make run</tt>' for now. :)</p>
 
@@ -130,7 +150,8 @@
 	 <li>Open `Main.cs' and `MyWindow.cs' from the file browser on the left. If you do not see the appropriate list of files, click the `.' in the directory browser.<br />
 	 <div align="center"><a href="images/tutorial/tutorial2.png" target="_blank"><img src="images/tutorial/tutorial2sm.png" /></a></div><br /></li>
 	 <li>Modify `MyWindow.cs' to look like the following file:<br />
-<table cellpadding="5" border="0" xmlns="http://www.w3.org/1999/xhtml"><tr><td valign="top"><pre class="code"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr><td bgcolor="#c0c0c0"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#c0c0c0"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#c0c0c0"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"></td><td width="100%" bgcolor="#efefef"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#efefef"><pre>using System;
+
+<pre class="code">
 using Gtk;
 using GtkSharp;
 
@@ -165,7 +186,7 @@
 		Application.Quit ();
 	}
 }
-</pre></td></tr></table></td></tr></table></td><td bgcolor="#999999"><img src="/images/empty.png" width="1" height="1" /></td></tr><tr><td bgcolor="#c0c0c0"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#c0c0c0"><img src="/images/empty.png" width="1" height="1" /></td><td bgcolor="#c0c0c0"><img src="/images/empty.png" width="1" height="1" /></td></tr></table></td></tr></table></pre></td><td valign="top"><img src="source-id:5:xhtml:html/en/gnome/bindings/gtk-sharp/base.png" border="0" /></td></tr></table>
+</pre>
       </li>
       <li>Compile the program from within MonoDevelop using the "build" icon (3rd button from the right) in the toolbar:
       <div align="center"><img src="images/tutorial/tutorial3sm.png" /></div><br /></li>




More information about the Monodevelop-patches-list mailing list