Fr/TerraGear: Difference between revisions

Jump to navigation Jump to search
Abstracted the SourceForge URLs by using the {{fgmeta url}}, {{terragear clone}}, and {{terragear clone}}, and added some text missing from the translation.
(Abstracted the SourceForge URLs by using the {{fgmeta url}}, {{terragear clone}}, and {{terragear clone}}, and added some text missing from the translation.)
Line 13: Line 13:
=== Avec le script download_and_compile.sh ===
=== Avec le script download_and_compile.sh ===
Téléchargez le script download_and_compile.sh si vous ne l'avez pas déjà. Copiez-le dans un répertoire particulier, il n'est pas nécessaire d'être root pour l'exécuter.
Téléchargez le script download_and_compile.sh si vous ne l'avez pas déjà. Copiez-le dans un répertoire particulier, il n'est pas nécessaire d'être root pour l'exécuter.
<syntaxhighlight lang="bash">
{{#tag: syntaxhighlight |
wget http://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw
wget {{fgmeta url|view=raw|path=download_and_compile.sh}}
mv download_and_compile.sh?format=raw download_and_compile.sh
mv download_and_compile.sh\?format\=raw download_and_compile.sh
chmod 755 download_and_compile.sh
chmod 755 download_and_compile.sh
./download_and compile.sh SIMGEAR TERRAGEAR
./download_and_compile.sh SIMGEAR TERRAGEAR
</syntaxhighlight>
| lang="bash"
}}
Cela compilera SIMGEAR (pré-requis) et TERRAGEAR, ainsi que leurs dépendances respectives si nécessaire et vous aurez terminé la partie compilation.
Cela compilera SIMGEAR (pré-requis) et TERRAGEAR, ainsi que leurs dépendances respectives si nécessaire et vous aurez terminé la partie compilation.


Line 27: Line 28:
=== Sources ===
=== Sources ===
Les sources sont maintenues dans un dépôt [[Fr/FlightGear_et_Git|git]] de Sourceforge.
Les sources sont maintenues dans un dépôt [[Fr/FlightGear_et_Git|git]] de Sourceforge.
git clone git://git.code.sf.net/p/flightgear/terragear flightgear-terragear
{{#tag: syntaxhighlight |
{{terragear clone|post=flightgear-terragear}}
| lang="bash"
}}
 
Il faut utiliser la branche stable "ws2.0" !
{{terragear url|branch=scenery/ws2.0/~}}


== Compilation ==
== Compilation ==

Navigation menu