gaim/www

Good point

2004-01-10, Mark Doliner
157c3f764285
Good point
<?php
require "base.inc.php";
start_html("CVS Information");
start_section("CVS Information");
?>
<p>
CVS is a way of storing and tracking changes in the code between releases. It
always has the latest code and bug fixes, but with releases coming every other week,
most people can wait for the release to get a given fix.
Here's step-by-step instructions for how to check out and build gaim from
CVS. Before you begin, make sure you have libtool, gettext, automake, and
autoconf installed. If you normally install gaim from RPM, make sure you also
have devel packages of glib 2.0 and gtk 2.0 (but glib and gtk 2.2 are recommended)
installed, as well as gcc and gmake. You also need, of course, cvs installed (version 1.11).
</p>
<br />
<b>Step 1. Check out the source</b>
<p>
Run the following commands in a directory that you have write access to (such
as your home directory):
</p>
<p>
<code>
cvs -d ':pserver:anonymous@cvs.sourceforge.net:/cvsroot/gaim' login
</code>
<br />
(Just hit enter for the password)<br />
<code>
cvs -z3 -d ':pserver:anonymous@cvs.sourceforge.net:/cvsroot/gaim'
checkout gaim
</code>
</p>
<p>
You should see it listing all the source files.
</p>
<p>
If you want to use gtk1.2, use the following command instead:
<br />
<code>
cvs -z3 -d ':pserver:anonymous@cvs.sourceforge.net:/cvsroot/gaim' checkout -r gtk1-stable gaim
</code>
<br />
</p>
<br />
<b>Step 2. Build again</b>
<p>
Once you've checked gaim out of CVS, run the follwing commands:
</p>
<p>
<code>cd gaim</code><br />
<code>./autogen.sh</code><br />
</p>
<p>
If you see any errors here, you haven't installed everything you need.
autogen.sh will also run ./configure for you once it's created, if it's
created successfully. If you see any errors related to GLib or GTK, you
haven't installed the devel packages.
</p>
<p>
<code>gmake</code><br />
<code>gmake install</code>
</p>
<br />
<b>Step 3. Update gaim</b>
<p>
When there are changes to gaim's code, you'll want to update your local copy.
You don't have to remove the entire directory that you checked out and redo
the whole thing; instead, from inside the directory, run:
</p>
<p>
<code>cvs update -d</code><br />
<code>gmake</code><br />
<code>gmake install</code><br />
</p>
<p>
The update will merge all the changes into the current files, and then
gmake will rebuild gaim.
</p>
<p>
And that should be everything. Please note you need to use gmake; BSD make
will not work. Also, gmake is installed simply as 'make' on some systems -
if gmake isn't found, use make instead. Please be sure that you are using
the correct version before submitting bug reports - gaim is installed in
/usr/local/bin by default, and you may have an older copy in /usr/bin.
./configure should warn you if that is the case.
</p>
<?php
end_section();
start_section("CVS Mailing List");
?>
<p>
We've also now got a mailing list set up that will notify you when new
commits are made. Join gaim-commits@lists.sourceforge.net by telling us
your email address at
<a href="http://lists.sourceforge.net/lists/listinfo/gaim-commits">http://lists.sourceforge.net/lists/listinfo/gaim-commits</a>. Then you'll know
when to update (and if you're particularly devilish enough, you can set up
a filter that will update and rebuild gaim when it receives such a
message).
</p>
<?php
end_section();
/*
print "<a name=\"nightly\"></a>\n";
start_section("CVS Nightlies");
?>
<p>
If for some reason using CVS as described above is not an option, you may
opt to use the <a href="/gaim-CVS.tar.gz">CVS Nightly source tarball</a>.
It comes complete with a ./configure script just like a normal release, so
you don't need automake, autoconf, or any of the other development tools.
</p>
<p>
An option available for users of Red Hat, Mandrake, and other RPM-based
distributions is the nightly CVS <a href="/gaim-CVS.i386.rpm">gaim RPM</a>.
</p>
<ul>
<li>Nightly source tarball (<a href="http://us.dl.sf.net/gaim/direct_download/gaim-CVS.tar.gz">US Mirror</a>
, <a href="http://eu.dl.sf.net/gaim/direct_download/gaim-CVS.tar.gz">Europe Mirror</a>)</li>
<!-- <li><a href="/gaim-CVS.i386.rpm">Nightly RPM</a> (i386)</li> -->
</ul>
<br />
<a name="nightly-debs"></a>
<p>
If you use Debian, you can use Robot101's nightly Debian packages.
Add the following to your <code>/etc/apt/sources.list</code> and
type <code>apt-get update</code>, <code>apt-get upgrade</code.:
</p>
<p><b>i386:</b></p>
<pre>
deb http://people.debian.org/~robot101/gaim unstable cvs
deb-src http://people.debian.org/~robot101/gaim unstable cvs
</pre>
<?php
end_section();
*/
end_html();
?>