Getting Started/Sources/Anonymous SVN (es)

< Getting Started‎ | Sources
Revision as of 03:20, 12 December 2007 by Tantalo64 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Getting Started/Sources/Anonymous SVN

Esta traducción está incompleta.

Getting KDE Sources Using Anonymous Subversion (SVN)
Tutorial Series   Getting Started
Previous   None
What's Next   Building KDE4
Further Reading   Version Control with Subversion


Para aquellos a los que nos gusta estar a la última, existe una forma sencilla de tener una copia local de los fuentes de KDE actualizada, el SVN anónimo.

Téngase en cuenta que algunas distribuciones Linux ya proporcionan paquetes SVN de KDE, de modo que compilar Qt y KDE a partir del código fuente puede ser completamente innecesario. Véase Getting_Started/Distribution_Packages para instrucciones e información.

SVN Anónimo

Configurar Subversion

En primer lugar, hay que instalar los binarios de subversion (svn) si no están ya instalados. Debería haber un paquete ya preparado para tu sistema operativo. Si no fuera así, puedes descargar y compilar los fuentes de la página de descargas del proyecto svn. Lee el tutorial de Subversion para KDE si tienes interés en conocer Subversion.

La descarga inicial (checkout) de KDE

/trunk/ is where the Qt4-based KDE 4 is being developed. The following is the minimal set of modules you will need to check out to build KDE and KDE software:

svn co svn://
svn co svn://
Only use "svn co" for the initial checkout, you will update your local sources afterwards by using "svn up modulename" or "svn update modulename".

If your firewall doesn't allow access to arbitrary ports, substitute svn:// with svn:// above.

qt-copy is a copy of the latest stable Qt release which works with KDE, put into SVN for convenience. It also contains patches by KDE developers that haven't found their way to Qt yet. They are recommended for those working with KDE from trunk. You can obtain qt-copy by doing:

svn co svn://

If you wish to have a complete copy of the KDE distribution, you can simply check out the entire source tree with one command:

svn co svn://
It is smarter to first use The KDE Source Repository Web Viewer. Use it to choose which modules to download. This way KDE will be quicker to install and try out.

If you want additional software packages you can check out the following modules within trunk/ as well:


So, for example, if you want to check out koffice trunk, you can use

svn co svn://

Descargar el tronco (trunk) usando instantáneas

If you are checking out modules from trunk/ you may be able to save time by using snapshots. Using Subversion trunk snapshots is described at the Subversion snapshots tutorial page.

Descargar KDE 3

If you want to track KDE 3 rather than the bleeding edge, you may retrieve the KDE 3.5 sources using:

svn co svn://
svn co svn://

And if you want the matching qt-copy:

svn co svn://

Descargar versiones específicas

KDE modules are also tagged at each release so that it is possible to get a specific 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 (only needed for KDE 2 and KDE 3) has a different format of tag name, tags/arts/X.Y.Z. For instance to get kdelibs as it was shipped in KDE 3.5.0, do:

svn co svn://

If you then want to update this checkout to KDE 3.5.5, use this command:

svn switch svn://
If you used a /branch/ or /trunk/ path, then there is no need to switch, just run svn update.

WebSVN is a convenient way to check for a tag name.

Recuperar las traducciones

If you are looking for translations and other localizations, check out the appropriate language from the l10n module.

The l10n module is extremely large. Be sure you have lots of time and disk space on hand before checking out the entire l10n module. Most people only check out specific language subdirectories rather than the entire l10n module.

You are now ready to start building KDE! Visit this page for instructions on building trunk or this page for instruction on compiling the last stable release.

Notas de interés

  • is located in Tuebingen, Germany, maintained by Dirk Mueller However, a more local mirror could be faster for you than itself. Current mirrors are, sorted by performance:
    • is located near Nuernberg, Germany, maintained by Martin Eisenhardt
    • also hosts an anonymous SVN mirror, at the University of Nijmegen, Netherlands. Maintained by Adriaan de Groot
    • svn:// is located near Los Angeles, USA and is maintained by Eugeniu Plamadeala. It has the same folder hierarchy as
Be careful when switching between mirrors. SVN remembers the server in the working copy, so to switch you have to run
svn switch --relocate svn:// svn://
in all your checkouts.

If you're interested in setting up a svn mirror, please contact Dirk Mueller.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal