[Mesa-dev] [PATCH demos 1/3] index.html: upgrade from legacy html to HTML 4.01 strict

Brian Paul brianp at vmware.com
Thu Aug 30 07:21:33 PDT 2012


On 08/30/2012 07:48 AM, Andreas Boll wrote:
> ---
>   index.html |   95 ++++++++++++++++++++++++++++++++---------------------------
>   1 files changed, 51 insertions(+), 44 deletions(-)
>
> diff --git a/index.html b/index.html
> index abdf1eb..e88b61b 100644
> --- a/index.html
> +++ b/index.html
> @@ -1,11 +1,17 @@
> -<HTML>
> -<TITLE>Mesa Demos Distribution</TITLE>
> -<STYLE TYPE="text/css">
> -  PRE {background-color: #cccccc}
> -</STYLE>
> -<BODY>
> -
> -<H1>Introduction</H1>
> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
> +<html lang="en">
> +<head>
> +<meta http-equiv="content-type" content="text/html; charset=utf-8">
> +<title>Mesa Demos Distribution</title>
> +<style type="text/css">
> +<!--
> +    pre { background: #cccccc; }
> +	-->
> +</style>
> +</head>
> +<body>
> +
> +<h1>Introduction</h1>
>   <p>
>   The Mesa Demos package contains a large number of OpenGL demonstration
>   and test programs.
> @@ -24,7 +30,7 @@ not just Mesa.
>   </p>
>
>
> -<H1>FTP site</H1>
> +<h1>FTP site</h1>
>
>   <p>
>   The latest version of the Mesa demos can be found on the
> @@ -34,23 +40,24 @@ site.
>
>
>
> -<H1>Git Repository</H1>
> +<h1>Git Repository</h1>
>
>   <p>
>   The Mesa demos git repository can be obtained with:
> +</p>
>   <pre>
>   git clone git://anongit.freedesktop.org/git/mesa/demos
>   </pre>
>
> +<p>
>   Or, if you're a developer:
> +</p>
>   <pre>
>   git clone git+ssh://USERNAME@git.freedesktop.org/git/mesa/demos
>   </pre>
>
> -</p>
> -
>
> -<H1>Building</H1>
> +<h1>Building</h1>
>
>   <p>
>   The Mesa demos can be built with autoconf or<a href="http://www.cmake.org/">CMake</a>.
> @@ -81,7 +88,7 @@ apt-get install libglew-dev freeglut3-dev
>
>
>
> -<H2>Autoconf</H2>
> +<h2>Autoconf</h2>
>
>   <p>
>   Run<b>./configure --help</b>  to see the options available for building
> @@ -94,13 +101,13 @@ Otherwise, just run<b>./configure ; make</b>  to build the demos.
>
>
>
> -<H2>CMake</H2>
> +<h2>CMake</h2>
>
>   <p>
>   See the<a href="http://www.cmake.org/cmake/help/documentation.html">CMake documentation</a>  for more information about CMake.
>   </p>
>
> -<H3>Unix</H3>
> +<h3>Unix</h3>
>
>   <p>
>   Run:
> @@ -110,19 +117,19 @@ cmake .
>   make
>   </pre>
>
> -<H3>MSVC</H3>
> +<h3>MSVC</h3>
>
>   <ul>
> -<li>Start the CMake GUI.
> -<li>Specify where this source is and where to build the binaries.
> -<li>Click<i>Configure</i>.
> -<li>Specify where GLEW and GLUT headers and libraries are; specifically via the
> -<b>GLEW_INCLUDE_DIR</b>,<b>GLEW_glew_LIBRARY</b>,<b>GLUT_INCLUDE_DIR</b>, and<b>GLUT_glut_LIBRARY</b>  variables.
> -<li>Click<i>Generate</i>.
> -<li>Open the generated<b>mesademos.sln</b>  Visual Studio solution file and build the target<b>ALL</b>.
> +<li>Start the CMake GUI.</li>
> +<li>Specify where this source is and where to build the binaries.</li>
> +<li>Click<i>Configure</i>.</li>
> +<li>Specify where GLEW and GLUT headers and libraries are; specifically via the
> +<b>GLEW_INCLUDE_DIR</b>,<b>GLEW_glew_LIBRARY</b>,<b>GLUT_INCLUDE_DIR</b>, and<b>GLUT_glut_LIBRARY</b>  variables.</li>
> +<li>Click<i>Generate</i>.</li>
> +<li>Open the generated<b>mesademos.sln</b>  Visual Studio solution file and build the target<b>ALL</b>.
>   </ul>
>
> -<H3>MinGW cross-compilation</H3>
> +<h3>MinGW cross-compilation</h3>
>
>   <p>
>   Create a<b>Toolchain.cmake</b>  file containing:
> @@ -172,31 +179,31 @@ Read<a href="http://www.vtk.org/Wiki/CmakeMingw">this</a>  for more information
>   </p>
>
>
> -<H1>The Demos</H1>
> +<h1>The Demos</h1>
>
>   <p>
>   Look in the<b>src/</b>  directory for these sub-directories, among others:
>   </p>
>   <ul>
> -<li>demos - the original Mesa demos, such as gears, gloss, etc.
> -<li>redbook - the OpenGL Programming Guide demos
> -<li>samples- original SGI OpenGL demos
> -<li>glsl - OpenGL Shading Language demos
> -<li>gs - Geometry shader demos
> -<li>xdemos - GLX-based demos
> -<li>egl - EGL-based demos
> -<li>wgl - WGL-based demos
> -<li>fp - fragment program tests
> -<li>vp - vertex program tests
> -<li>data - data files used by the demos
> -<li>perf - performance tests
> -<li>tests - assorted test programs
> -<li>objviewer - program to view .obj modes with a skybox
> +<li>demos - the original Mesa demos, such as gears, gloss, etc.</li>
> +<li>redbook - the OpenGL Programming Guide demos</li>
> +<li>samples- original SGI OpenGL demos</li>
> +<li>glsl - OpenGL Shading Language demos</li>
> +<li>gs - Geometry shader demos</li>
> +<li>xdemos - GLX-based demos</li>
> +<li>egl - EGL-based demos</li>
> +<li>wgl - WGL-based demos</li>
> +<li>fp - fragment program tests</li>
> +<li>vp - vertex program tests</li>
> +<li>data - data files used by the demos</li>
> +<li>perf - performance tests</li>
> +<li>tests - assorted test programs</li>
> +<li>objviewer - program to view .obj modes with a skybox</li>
>   </ul>
>
>
>
> -<H1>Getting Help</H1>
> +<h1>Getting Help</h1>
>
>   <p>
>   If you have trouble building or using the Mesa demos, you can post
> @@ -211,7 +218,7 @@ Mesa dev</a>  mailing list.
>   </p>
>
>
> -<H1>Reporting Bugs</H1>
> +<h1>Reporting Bugs</h1>
>
>   <p>
>   Bugs in the demos can be reported to the
> @@ -221,5 +228,5 @@ Choose Component="Demos" in the drop-down list.
>   </p>
>
>
> -</BODY>
> -</HTML>
> +</body>
> +</html>

Reviewed-by: Brian Paul <brianp at vmware.com>

Do you need me to commit these for you?

-Brian


More information about the mesa-dev mailing list