("Inizio Checkout KDE") |
(Tre "Tips") |
||
| Line 32: | Line 32: | ||
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase | svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase | ||
| − | {{tip| | + | {{tip|Usa "'''svn co'''" soltanto per il controllo iniziale, in seguito potrai aggiornare i tuoi sorgenti locali tramite "'''svn up''' ''nome_del_modulo''" o "'''svn update''' ''nome_del_modulo''".}} |
| − | {{tip| | + | {{tip|Se il tuo firewall non permette accessi da porte arbitrarie, sostituisci '''svn://anonsvn.kde.org/''' con '''svn://websvn.kde.org:443/'''.}} |
| − | {{tip| | + | {{tip|Il modulo kdebase ha una dipendenza esterna: occorre usare svn:externals. Al momento, il problema è che la proprietà esterna è impostata con un percorso assoluto che punta a anonsvn. Per chi si trova dietro un firewall, questo è un problema. Puoi cambiare la proprietà per il tuo spazio personale usando questi due comandi: |
cs KDE | cs KDE | ||
svn propset svn:externals "lib svn://websvn.kde.org:443/home/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib" kdebase/workspace/kwin/clients/oxygen | svn propset svn:externals "lib svn://websvn.kde.org:443/home/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib" kdebase/workspace/kwin/clients/oxygen | ||
| − | + | In questo modo la proprietà esterna controllerà i files addizionali nel repository websvn.}} | |
Contents |
Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
| Warning |
|---|
| Questa traduzione è incompleta. |
| Tutorial Series | Getting Started |
| Previous | None |
| What's Next | Building KDE4 |
| Further Reading | Version Control with Subversion |
Per coloro tra di noi a cui piace stare sulla cresta dell'onda, esiste un metodo semplice per mantenere in locale una copia aggiornata di KDE: l'SVN anonimo.
Si premetta che alcune distibuzioni Linux procurano già pacchetti SVN di KDE, quindi compilare QT e KDE dai sorgenti potrebbe non essere affatto necessario per te! Si veda Getting_Started/Distribution_Packages per informazioni e istruzioni.
Primo, installare svn da pacchetti binari se questo non è già presente nel tuo sistema (il tuo sistema operativo dovrebbe avere pacchetti precompilati disponibili). Alternativamente, puoi scaricarlo e compilarlo da solo tramite la pagina di download del progetto svn. Leggi il tutorial di Subversion per KDE se ti interessa conoscere Subversion.
/trunk/ è la cartella in cui viene sviluppato KDE 4 basato sulle Qt4. Ciò che segue è l'insieme minimo di moduli di cui hai bisogno per compilare KDE e i programmi di KDE:
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase
| Tip |
|---|
| Usa "svn co" soltanto per il controllo iniziale, in seguito potrai aggiornare i tuoi sorgenti locali tramite "svn up nome_del_modulo" o "svn update nome_del_modulo". |
| Tip |
|---|
| Se il tuo firewall non permette accessi da porte arbitrarie, sostituisci svn://anonsvn.kde.org/ con svn://websvn.kde.org:443/. |
| Tip |
|---|
Il modulo kdebase ha una dipendenza esterna: occorre usare svn:externals. Al momento, il problema è che la proprietà esterna è impostata con un percorso assoluto che punta a anonsvn. Per chi si trova dietro un firewall, questo è un problema. Puoi cambiare la proprietà per il tuo spazio personale usando questi due comandi:
cs KDE svn propset svn:externals "lib svn://websvn.kde.org:443/home/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib" kdebase/workspace/kwin/clients/oxygenIn questo modo la proprietà esterna controllerà i files addizionali nel repository websvn. |
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://anonsvn.kde.org/home/kde/trunk/qt-copy
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://anonsvn.kde.org/home/kde/trunk/KDE
| Note |
|---|
| 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:
koffice extragear playground kdereview
So, for example, if you want to check out koffice trunk, you can use
svn co svn://anonsvn.kde.org/home/kde/trunk/koffice
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.
If you want to track KDE 3 rather than the bleeding edge, you may retrieve the KDE 3.5 sources using:
svn co svn://anonsvn.kde.org/home/kde/branches/arts/1.5/arts svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/
And if you want the matching qt-copy:
svn co svn://anonsvn.kde.org/home/kde/branches/qt/3.3/qt-copy
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://anonsvn.kde.org/home/kde/tags/KDE/3.5.0/kdelibs/
If you then want to update this checkout to KDE 3.5.5, use this command:
svn switch svn://anonsvn.kde.org/home/kde/tags/KDE/3.5.5/kdelibs
| Tip |
|---|
| If you used a /branch/ or /trunk/ path, then there is no need to switch, just run svn update. |
If you are looking for translations and other localizations, check out the appropriate language from the l10n module.
| Warning |
|---|
| 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.
svn switch --relocate svn://anonsvn.kde.org/ svn://kde.mneisen.org/
If you're interested in setting up a svn mirror, please contact Dirk Mueller.