Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 0115852f109f25c54fc4688f23760855 > files > 291

lesstif-devel-0.95.2-2.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!-- $Id: cvs.html,v 1.28 2004/06/05 19:18:57 dannybackx Exp $ -->
<!-- BEGINNING of header -->
<html>
<head>
   <META NAME="AUTHOR"      CONTENT="LessTif Core Team">
   <META NAME="COPYRIGHT"   CONTENT="LessTif Core Team">
   <META NAME="DESCRIPTION" CONTENT="LessTif CVS repository">
   <META NAME="KEYWORDS"    CONTENT="LessTif, CVS, Repository, Sources">

   <title>CVS access to LessTif</title>
</head>
  
<body bgcolor="#ffffff" text="#000000">


<H1 ALIGN=CENTER>
LessTif CVS repository
</H1>

CVS, the
<A HREF="http://cvshome.org">Concurrent Versions System</A>,
is a widely used, <EM>free</EM> source code-control system.
The LessTif sources are maintained using this powerful tool.


<H2 ALIGN=CENTER>
Who should use it?
</H2>

<p>
Most people should use <b>stable</b> LessTif releases.
People with specific problems that have just been fixed should
use the most recent version of the source, straight from the CVS repository.
If you want to use CVS, keep reading this text.
If not, you might want to go to the
<a href="download.html">download page</a>.
We need people to test the current sources, so if you are up to it, go ahead!
<BR>
It is however a good idea to subscribe to our
<A HREF="lists.html"><CODE>lesstif-commits</CODE> mailinglist</A>
to stay informed what's actually going on.


<H2 ALIGN=CENTER>
Retrieving sources from CVS
</H2>

As of August 2000 (just after the 0.91.6 release), the LessTif sources have been moved to
<A HREF="http://sourceforge.net">SourceForge</A>.
<A HREF="http://sourceforge.net/cvs/?group_id=8596">Instructions from SourceForge</A>
on accessing CVS (anonymous access) are available.
<p>
To access CVS, first set the environment variable <CODE>CVSROOT</CODE>
to <CODE>:pserver:anonymous@cvs.sourceforge.net:/cvsroot/lesstif</CODE>.
How you do this depends on your shell. If you use the bourne shell (bash and 
its descendants) you can type 
<PRE>
export CVSROOT=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/lesstif
</PRE>
If you use csh, you will have to use the <tt>setenv</tt> command.
After that, you have to login to CVS. You do this by typing <tt>cvs login</tt>.
When prompted, just hit Enter (an empty password).
After that, you can type
<tt>cvs -z5 checkout lesstif</tt>
to retrieve the sources for the first time.
<p>
You can also browse the CVS repository using your favourite web
browser. This is obviously not useful for downloading the complete
source tree. It is just a convenient way to use CVS's versioning mechanism
to figure out exactly what has changed recently in specific files.
Or just retrieve a few specific sources themselves.
The <STRONG>browsable CVS</STRONG> is at
<A HREF="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/lesstif/lesstif">http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/lesstif/lesstif</A>.


<H2 ALIGN=CENTER>
Building from CVS sources
</H2>

<p>
To build LessTif from a CVS checkout you will also need <b>libtool</b>,
<b>automake</b> and <b>autoconf</b>.
<BR>
For further informtaion please refer to our
<A HREF="INSTALL.html"><STRONG>installation instructions</STRONG></A>.


<H2 ALIGN=CENTER>
Misc CVS issues
</H2>

Here we collect some helpful suggestions for using the CVS repository.
You don't need to read it if you're a "CVS professional" and are familiar with
all its numerous commandline options.

<UL>

<LI>
Once you have a checked out CVS distribution,
<tt>cvs update</tt> will get you up to date.  However, when a directory is
added, like the recent addition of lib/Xlt, <tt>cvs update</tt> alone is not
sufficient.  You should periodically run <tt>cvs update -d</tt> from the
top of the tree to get any new directories and their contents.
<BR>
On the other hand the LessTif CVS repository carries some old, empty 
directories. You can get rid of them by using the <CODE>-P</CODE> option when
updating.
<BR>
So the best choice is therefore to run
<BR>
<CODE>cvs update -d -P</CODE>
<BR>

<LI>
To set the default options for CVS you can create a
<CODE>~/.cvsrc</CODE>. Here's an example:
<PRE>
diff -u
update -P -d
cvs -q -z9
</PRE>

<LI>
Sometimes you might checkout not the current version, but an older one,
e.g. from a given date (<CODE>-D</CODE> option).
However some people forget that CVS remembers these settings ("sticky bit") 
and won't update to the current level unless indicated to so. 
Specifying the current date will only help once, better remove the sticky bits by the 
<CODE>-A</CODE> option.

</UL>
<P>

<!-- ++++++++++++++++++++++ Generic HTML footer +++++++++++++++++++++++++++ -->

<HR>
<address>                                                                              
  <a href="http://validator.w3.org/check/referer"><img                                 
     src="images/vh32.jpg" height=31 width=88                      
     align=right border=0 alt="Valid HTML 3.2!"></a>                                   
  <a href="feedback.html">Feedback</a><br>
  <SMALL>
  Last modified on $Date: 2004/06/05 19:18:57 $
 </SMALL>
</address>

</BODY>
</HTML>