The DRI project is hosted by SourceForge. The DRI source code, which is a subset of the XFree86 source tree, is kept in a CVS repository there.
The DRI CVS sources may be accessed either anonymously or as a registered SourceForge user. It's recommended that you become a registered SourceForge user so that you may submit non-anonymous bug reports and can participate in the mailing lists.
cd ~ mkdir DRI-CVSYou could put your CVS directory in a different place but we'll use
~/DRI-CVS/
here.
cd ~/DRI-CVS cvs -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri login (hit ENTER when prompted for a password) cvs -z3 -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri co xc
The -z3 flag causes compression to be used in order to reduce the download time.
cd ~ mkdir DRI-CVSYou could put your CVS directory in a different place but we'll use
~/DRI-CVS/
here.
setenv CVS_RSH ssh // if using csh or tcsh export CVS_RSH=ssh // if using sh or bash
cd ~/DRI-CVS cvs -z3 -d:ext:YOURID@cvs.dri.sourceforge.net:/cvsroot/dri co xcReplace
YOURID
with your CVS login name.
You'll be prompted to enter your sourceforge password.
The -z3 flag causes compression to be used in order to reduce the download time.
In the future you'll want to occasionally update your local copy of the DRI source code to get the latest changes. This can be done with:
cd ~/DRI-CVS cvs -z3 update -dA xcThe -d flag causes any new subdirectories to be created and -A causes most recent trunk sources to be fetched, not branch sources.