Downloading / Unpacking
+Downloading and Unpacking
+ +Downloading
-Mesa can be downloaded from the - -SourceForge download area. +Primary Mesa download site: +ftp.freedesktop.org (FTP) +or mesa.freedesktop.org +(HTTPS).
-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.
+Starting with the first release of 2017, Mesa's version scheme is
+year-based. Filenames are in the form mesa-Y.N.P.tar.gz
, where
+Y
is the year (two digits), N
is an incremental number
+(starting at 0) and P
is the patch number (0 for the first
+release, 1 for the first patch after that).
-Mesa is available in at least three archive formats:
+When a new release is coming, release candidates (betas) may be found
+in the same directory, and are recognisable by the
+mesa-Y.N.P-rcX.tar.gz
filename.
-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 -+ +
Unpacking
-After unpacking you'll have these directories (and more):
+Mesa releases are available in two formats: .tar.xz
and .tar.gz
.
-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 demos: - -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 ++To unpack the tarball: +
++ tar xf mesa-Y.N.P.tar.xz ++or
++ tar xf mesa-Y.N.P.tar.gz+ +Contents
+-Proceed to compilation and installation +Proceed to the compilation and installation instructions.
-GLUT
+ +Demos, GLUT, and GLU
+ ++A package of SGI's GLU library is available +here +
-Mesa 2.5 and later includes Mark Kilgard's GLUT library (GL Utility Toolkit). -GLUT is built automatically on systems which support it. +A package of Mark Kilgard's GLUT library is available +here
+-The GLUT tests, demos, examples, etc are not included, just the main library. -To obtain the latest complete release of GLUT please visit the -GLUT homepage +The Mesa demos collection is available +here
++In the past, GLUT, GLU and the Mesa demos were released in conjunction with +Mesa releases. But since GLUT, GLU and the demos change infrequently, they +were split off into their own git repositories: + +GLUT, +GLU and +Demos, +
- - +