scons: Unbreak mingw build.
[mesa.git] / docs / download.html
index 78c43bbb5ae3001fe65fabac72e2e29086bcfc79..4e8fc2f02f0cbdf73a0d04f8907d1259be82ac6c 100644 (file)
 
 <TITLE>Getting Mesa</TITLE>
 
-<BODY text="#000000" bgcolor="#55bbff" link="#111188">
+<link rel="stylesheet" type="text/css" href="mesa.css"></head>
 
-<H1>Downloading / Unpacking</H1>
+<BODY>
+
+<H1>Downloading</H1>
 
 <p>
-Mesa can be downloaded from the
-<a href="http://www.sourceforge.net/projects/mesa3d" target="_parent">
-SourceForge download area</A>.
+Primary Mesa download site:
+<a href="ftp://ftp.freedesktop.org/pub/mesa/"
+target="_parent">freedesktop.org</a> (FTP)
 </p>
 
 <p>
-Since version 2.3, Mesa is distributed in two pieces:  main library code
-and demos.  If you're upgrading from a previous version of Mesa or you're not
-interested in the demos you can just download the core Mesa archive file.
+When a new release is coming, release candidates (betas) may be found
+<a href="ftp://ftp.freedesktop.org/pub/mesa/beta/" target="_parent">here</a>.
 </p>
 
+
 <p>
-Mesa is available in at least three archive formats:
+The Mesa package is named MesaLib-x.y.z.{tar.bz2, tar.gz, zip} where x.y.z
+is the version.  There are three types of compressed archives.
 </p>
+<p>
+In the past, there was also MesaGLUT-x.y.z.{tar.bz2, tar.gz, zip} packages which
+contained Mark Kilgard's GLUT library.
+Most Linux distributions include an implementation of GLUT (such as freeglut).
+</p>
+<p>
+In the past, the Mesa demos collection was distributed as
+MesaDemos-x.y.z.{tar.bz2, tar.gz, zip}.
+Now, the
+<a href="ftp://ftp.freedesktop.org/pub/mesa/demos/" target="_parent">
+Mesa demos</a> are distributed separately.
+</p>
+
 
+<H1>Unpacking</H1>
+
+<p>
+To unpack .tar.gz files:
+</p>
 <pre>
-1. GNU zip/tar
-
-       Download MesaLib-X.Y.tar.gz and optionally MesaDemos-X.Y.tar.gz
-       Unpack with:
-               gzcat MesaLib-X.Y.tar.gz | tar xf -
-               gzcat MesaDemos-X.Y.tar.gz | tar xf -
-       or
-               gunzip MesaLib-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
-               gunzip MesaDemos-X.Y.tar.gz ; tar xf MesaLib-X.Y.tar
-       or
-               tar zxf MesaLib-X.Y.tar.gz
-               tar zxf MesaDemos-X.Y.tar.gz
-
-       If you don't have gzcat try zcat instead.
-
-2. Unix compressed/tar
-
-       Download MesaLib-X.Y.tar.Z and optionally MesaDemos-X.Y.tar.Z
-       Unpack with:
-               zcat MesaLib-X.Y.tar.Z | tar xf -
-               zcat MesaDemos-X.Y.tar.Z | tar xf -
-
-3. ZIP format
-
-       Download MesaLib-X.Y.zip and optionally MesaDemos-X.Y.zip
-       Unpack with:
-               unzip MesaLib-X.Y.zip
-               unzip MesaDemos-X.Y.zip
+       tar zxf MesaLib-x.y.z.tar.gz
+</pre>
+or
+<pre>
+       gzcat MesaLib-x.y.z.tar.gz | tar xf -
+</pre>
+or
+<pre>
+       gunzip MesaLib-x.y.z.tar.gz ; tar xf MesaLib-x.y.z.tar
 </pre>
-
 <p>
-After unpacking you'll have these directories (and more):
+To unpack .tar.bz2 files:
 </p>
 <pre>
-Makefile.X11   - "old" top-level Makefile for X11-based systems
-Make-config    - system configurations used by the Makefile.X11
-configure      - the GNU autoconf script
-bin/           - shell scripts for making shared libraries, etc
-include/       - GL header (include) files
-lib/           - client libraries, created during installation
-src/           - source code for the main libGL library
-si-glu/                - SGI Sample Implementation of libGLU
-src-glu/       - old source code for libGLU (obsolete)
-docs/          - documentation
-util/          - handly utility functions
-widgets-mesa/  - Mesa widgets for Xt/Motif (obsolete)
-widgets-sgi/   - SGI OpenGL widgets for Xt/Motif
-
-and if you downloaded and unpacked the MesaDemos.X.Y archive:
-
-src-glut/      - source code for GLUT toolkit
-demos/         - GLUT demos
-xdemos/                - X11 and SVGA demo programs
-samples/       - sample OpenGL programs from SGI
-book/          - example programs from the OpenGL Programming Guide,
-                 converted to GLUT by Mark Kilgard, from GLUT distribution.
-images/                - image files
-
+       bunzip2 -c MesaLib-x.y.z.tar.gz | tar xf -
 </pre>
-
 <p>
-Proceed to <a href="install.html">compilation and installation
-instructions</a>.
+To unpack .zip files:
 </p>
+<pre>
+       unzip MesaLib-x.y.z.zip
+</pre>
 
-<H1>GLUT</H1>
+
+<h1>Contents</h1>
 
 <p>
-Mesa 2.5 and later includes Mark Kilgard's GLUT library (GL Utility Toolkit).
-GLUT is built automatically on systems which support it.
+After unpacking you'll have these files and directories (among others):
 </p>
+<pre>
+Makefile       - top-level Makefile for most systems
+configs/       - makefile parameter files for various systems
+include/       - GL header (include) files
+bin/           - shell scripts for making shared libraries, etc
+docs/          - documentation
+src/           - source code for libraries
+src/mesa       - sources for the main Mesa library and device drivers
+src/gallium     - sources for Gallium and Gallium drivers
+src/glu                - libGLU source code
+src/glx                - sources for building libGL with full GLX and DRI support
+</pre>
+
+If you downloaded and unpacked the MesaGLUT.x.y.z package:
+<pre>
+src/glut       - GLUT library source code
+</pre>
+
 <p>
-The GLUT tests, demos, examples, etc are not included, just the main library.
-To obtain the latest complete release of GLUT please visit the
-<a href="http://www.opengl.org/developers/documentation/glut/index.html"
-target ="_parent">GLUT homepage</a>
+Proceed to the <a href="install.html">compilation and installation
+instructions</a>.
 </p>