Getting GNUmed source from CVS
Your system should be ready to run GNUmed if it meets the following
requirements. What
you need to install now is GNUmed itself. You need a program
called cvs. CVS is program that helps programmers manage
source code in a so called repository. Mac OS does not ship with cvs
pre-installed but it is included in the optional Xcode installer on
the Mac OS Install DVD. Please check if you have cvs installed.
Open a shell and type
cvs --version
The output should somewhat look like this.
./cvs --version
Concurrent Versions System (CVS) 1.12.9 (client/server)
Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS
This means you have a command line cvs client installed.
Now you need to get the GNUmed source code from CVS. This is
called a checkout. It means you check out a copy of the
source code from the CVS repository (master tree).
Note that installing a copy of the CVS tree isn't intended to be
available system-wide. In fact, the client has been
programmed to refuse to run under root and should be installed under
the directory of the user that is to use it e.g.
/home/userLogin/ with a suggested path:
projects/gm-cvs-head/
You have at least three options to actually get GNUmed from CVS:
- Use your favorite CVS GUI client (e.g. Eclipse).
- Use a shell script which makes use of the commandline cvs client:
- Type the commands into a shell yourself.
- make a directory on your computer you want the source to go in and change into it
- follow these instructions for modulename =
gnumed (omit the <>), taken from Savannah:
Anonymous CVS Access
This project's CVS repository can be checked out through anonymous CVS over SSH
with the following instruction set. The module you wish to check out must be
specified as the modulename. When prompted for a password for anoncvs, simply
press the Enter key.
Software repository :
export CVS_RSH="ssh"
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnumed co gnumed
You should now have a directory called gnumed in the
directory you called the commands from, either via shell
script, graphical user interface or command line.
Assuming you have already taken care of the dependencies as linked above, you should be "good to go". Proceed to
StartingGnumed.
Anyone who is new to the project should first download anonymously, as this will save registration hassles and has no downside until you would become a more frequent contributor. In the meantime, any patches people would like to contribute will still be gratefully received. Patches should be against either the pretty-much-latest CVS or else the latest released version and emailed to Karsten.
Registration as a developer will require authorization by an already-registered person. You must also have successfully activated a public ssh key as elaborated at
Savannah.
Once you have registered, you can run the shell script
get-gnumed-user.sh instead of
get-gnumed-anon.sh or, if you prefer to type in the command yourself, follow the instructions at Savannah under the "Project member" section of the page.
Assuming you have already taken care of the dependencies as linked above, you should be "good to go". Proceed to
StartingGnumed.