TerraGear: Difference between revisions

Jump to navigation Jump to search
111 bytes removed ,  24 May 2016
Abstracted the SourceForge URLs by using the {{fgmeta url}}, {{terragear clone}}, and {{terragear url}} subtemplates of {{repo link}}.
(Abstracted the SourceForge URLs by using the {{fgmeta url}}, {{terragear clone}}, and {{terragear url}} subtemplates of {{repo link}}.)
Line 14: Line 14:
=== Using the download_and_compile.sh script (Linux distros using apt) ===
=== Using the download_and_compile.sh script (Linux distros using apt) ===
Get the script download_and_compile.sh if you don't already have it. Copy it into a specific directory, no need to be root.
Get the script download_and_compile.sh if you don't already have it. Copy it into a specific directory, no need to be root.
<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"
}}
This will build SIMGEAR (pre-requisite) and TERRAGEAR properly, installing dependencies if necessary and you will be done for the TG compilation part of the process.
This will build SIMGEAR (pre-requisite) and TERRAGEAR properly, installing dependencies if necessary and you will be done for the TG compilation part of the process.


Line 29: Line 30:
=== Source ===
=== Source ===
The source is hold in a [[Git]] repository at SourceForge..
The source is hold in a [[Git]] repository at SourceForge..
<syntaxhighlight lang="bash">
{{#tag: syntaxhighlight |
git clone http://git.code.sf.net/p/flightgear/terragear flightgear-terragear
{{terragear clone|post=flightgear-terragear}}
</syntaxhighlight>
| lang="bash"
}}


you have to use the stable branch called "ws2.0" !
you have to use the stable branch called "ws2.0" !
http://sourceforge.net/p/flightgear/terragear/ci/scenery/ws2.0/~/tree/
{{terragear url|branch=scenery/ws2.0/~}}


== Compilation ==
== Compilation ==

Navigation menu