[Ktutorial-commits] SF.net SVN: ktutorial:[390] trunk/web-src/pages/download.xml
Status: Alpha
Brought to you by:
danxuliu
From: <dan...@us...> - 2012-12-07 11:45:51
|
Revision: 390 http://ktutorial.svn.sourceforge.net/ktutorial/?rev=390&view=rev Author: danxuliu Date: 2012-12-07 11:45:42 +0000 (Fri, 07 Dec 2012) Log Message: ----------- Update download page with Git instructions instead of SVN instructions. Modified Paths: -------------- trunk/web-src/pages/download.xml Modified: trunk/web-src/pages/download.xml =================================================================== --- trunk/web-src/pages/download.xml 2012-12-07 10:43:32 UTC (rev 389) +++ trunk/web-src/pages/download.xml 2012-12-07 11:45:42 UTC (rev 390) @@ -10,7 +10,7 @@ <ul> <li><a href="#releases">Releases</a></li> - <li><a href="#svnDownload">Downloading from <acronym title="Subversion">SVN</acronym></a></li> + <li><a href="#gitDownload">Downloading from Git</a></li> <li><a href="#build">Building</a></li> </ul> @@ -21,27 +21,28 @@ <p>You can also see the <a href="http://sourceforge.net/projects/ktutorial/files/ktutorial-0.5.1/README/view" title="KTutorial 0.5.1 release notes">release notes</a>, which list the changes from the previous release.</p> <p>See below for build instructions, in <a href="#build" title="Build instructions">building section</a>.</p> - <p>If you do know what you are doing ;) , you can also checkout KTutorial sources from <acronym title="Subversion">SVN</acronym> repository. Go on reading to know how to do it.</p> + <p>If you do know what you are doing ;) , you can also checkout KTutorial sources from Git repository. Go on reading to know how to do it.</p> <div class="h2Rounded"> - <h2><a id="svnDownload" class="anchorLink">Downloading from <acronym title="Subversion">SVN</acronym></a></h2> + <h2><a id="gitDownload" class="anchorLink">Downloading from Git</a></h2> </div> - <p>In order to download the sourcecode from <acronym title="Subversion">SVN</acronym>, you'll need a <acronym title="Subversion">SVN</acronym> client.</p> + <p>In order to download the sourcecode from Git, you'll need a Git client. If you just want to browse the repository from your web browser without downloading it, please see the <a href="https://projects.kde.org/projects/playground/libs/ktutorial/repository" title="KTutorial Repository in KDE Projects">KDE Projects page for KTutorial</a>.</p> <p>You can check out the sourcecode anonymously in this way:</p> <ul> - <li>Via SVN: <strong>svn checkout https://ktutorial.svn.sourceforge.net/svnroot/ktutorial/trunk/ktutorial</strong></li> + <li>Via Git: <strong>git clone git://anongit.kde.org/ktutorial</strong></li> </ul> <p>That command, typed in a terminal, will create a subdirectory named <em>ktutorial</em> in the directory it was executed, and it will download in the <em>ktutorial</em> subdirectory the sourcecode.</p> + <p>Note that the translations are not included when the sources are downloaded from Git (although they are when downloading a release package). To get the translations in this case you must <a href="http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE%27s_l10n_Module" title="Building KDE's l10n Module article in TechBase">build KDE's l10n module</a>.</p> <div class="h2Rounded"> <h2><a id="build" class="anchorLink">Building</a></h2> </div> - <p>In order to build KTutorial, it doesn't matter if you downloaded it from a release or from <acronym title="Subversion">SVN</acronym>.</p> + <p>In order to build KTutorial, it doesn't matter if you downloaded it from a release or from Git.</p> <p>You will need <a href="http://www.cmake.org" title="CMake project web">CMake</a>, and Qt >= 4.6 and KDE 4 kdelibs development packages installed in your system. It can be built like any other KDE 4 library or application.</p> <p>Create a <em>build</em> subdirectory in <em>ktutorial</em> directory, and change to it. Now, in a terminal, just run <strong>cmake ../ && make</strong> and it will configure and build KTutorial in the <em>build</em> directory. Once built, execute <strong>make install</strong> and you are done (you will likely need to change to root user, as default KDE installation is usually only root writable).</p> <p>If you want to specify a prefix to install KTutorial to, instead of using KDE default installation directory, call CMake using the parameter <strong>-DCMAKE_INSTALL_PREFIX=/installation/prefix</strong>. For debugging purposes, use <strong>-DCMAKE_BUILD_TYPE=debugfull</strong>. If you want to prevent some directory to be built (for example, the one for the test application), use <strong>BUILD_ktutorial-test-app=NO</strong>. To automatically build the unit tests when the project is built, use <strong>-DKDE4_BUILD_TESTS=ON</strong>.</p> <p>If you intend to run the unit tests you may find this little trick valuable: <a href="http://ktutorial.wordpress.com/2012/12/06/preventing-graphical-automated-tests-from-interrupting-you/" title="Preventing graphical automated tests from interrupting you article in KTutorial project blog">Preventing graphical automated tests from interrupting you</a>.</p> - <p class="lastUpdated">Last updated: 2012-12-06</p> + <p class="lastUpdated">Last updated: 2012-12-07</p> </page:content> </page> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |