From 65b79057b96e621de1bbd7b9c81cdbcee6bfa5b1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 22 Nov 2004 17:49:15 +0000 Subject: misc updates --- docs/devinfo.html | 56 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 19 deletions(-) (limited to 'docs/devinfo.html') diff --git a/docs/devinfo.html b/docs/devinfo.html index e1761be223..498b713e5c 100644 --- a/docs/devinfo.html +++ b/docs/devinfo.html @@ -39,7 +39,7 @@ To add a new GL extension to Mesa you have to do at least the following. extension is rather large, try to implement it in a new source file.
  • - If hew extension adds new GL state, the functions in get.c, enable.c + If the new extension adds new GL state, the functions in get.c, enable.c and attrib.c will most likely require new code.
  • @@ -94,7 +94,7 @@ Constants and macros are ALL_UPPERCASE, with _ between words

    -Global vars not allowed. +Global variables are not allowed.

    @@ -109,31 +109,22 @@ Function name examples: -

    Writing a Device Driver

    - -

    -XXX to do -

    - - -

    Making a New Mesa Release

    These are the instructions for making a new Mesa release.

    +

    Get latest source files

    -Be sure to do a "cvs update -d ." in the Mesa directory to -get all the latest files. +Use "cvs update -dAP " to get the latest Mesa files from CVS.

    -

    -Update the version definitions in src/mesa/main/version.h -

    +

    Verify and update version info

    Create/edit the docs/RELNOTES-X.Y file to document what's new in the release. +Add the new RELNOTES-X.Y file to relnotes.html. Update the docs/VERSIONS file too.

    @@ -142,15 +133,33 @@ Edit configs/default and change the MESA_MAJOR, MESA_MINOR and MESA_TINY version numbers.

    +

    +Make sure the values in src/mesa/main/version.h is correct. +

    +

    Edit the top-level Makefile and verify that DIRECTORY, LIB_NAME and DEMO_NAME are correct.

    +

    +Update the docs/news.html file and docs/contents.html files. +

    + +

    +Check in all updates to CVS. +

    + +

    +Tag the CVS files with the release name (in the form mesa_X_Y). +

    + + +

    Make the tarballs

    Make a symbolic link from $(DIRECTORY) to 'Mesa'. For example, -ln -s Mesa Mesa-6.3 This is needed in order to make a correct -tar file in the next step. +ln -s Mesa Mesa-6.3 +This is needed in order to make a correct tar file in the next step.

    @@ -159,17 +168,26 @@ Make the distribution files. From inside the Mesa directory: make tarballs +

    +After the tarballs are created, the md5 checksums for the files will +be computed. +Add them to the docs/news.html file. +

    +

    Copy the distribution files to a temporary directory, unpack them, compile everything, and run some demos to be sure everything works.

    +

    Update the website and announce the release

    -Upload the *.tar.gz and *.zip files to ftp.mesa3d.org +Follow the directions on SourceForge for creating a new "release" and +uploading the tarballs.

    -Update the web site. +Update the web site by copying the docs/ directory's files to +/home/users/b/br/brianp/mesa-www/htdocs/

    -- cgit v1.2.3