For those of us that like to stay on the "bleeding edge" there's an easy way to keep a local copy of the KDE sources up-to-date. No more trying to log on to ftp.kde.org to get the latest snapshot. No more wandering aimlessly through mirrors looking for one that's up to date. Just a simple command line operation to get up-to-the-minute source updates. Just use anonymous SVN.
Using anonymous SVN is simple:
- 1. Install the SVN binary. Your distribution should have one. Alternatively you can download and compile it yourself via SVN download page.
- 2. The following is a minimal set of modules you need:
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase
NOTE: Only use "co" for the initial checkout. please update your local sources afterwards by using "svn up modulename".
NOTE: If your firewall doesn't allow access to arbitrary ports, you want to substitute svn://anonsvn.kde.org/ with svn://anonsvn.kde.org:443/ above.
- 3. The various KDE modules have tags so it is possible to get a specifc release of KDE. Most KDE modules have a tag name in the format tags/KDE/X.Y.Z (where X, Y and Z represent the exact version). The arts module has a different format of tag name, tags/arts/X.Y.Z. WebSVN is a convenient way to check for a tag name. For instance to get KDE 3.4's kdelibs, use: svn co svn://anonsvn.kde.org/home/kde/tags/KDE/3.4.0/kdelibs/.
If you then want to update to KDE 3.4.1, use this command: svn switch svn://anonsvn.kde.org/home/kde/tags/KDE/3.4.1/kdelibs.