Building FlightGear - Devuan: Difference between revisions

Jump to navigation Jump to search
m
sfourceforge --> gitlab
(Add new dependency libc-ares.)
m (sfourceforge --> gitlab)
Line 16: Line 16:
'''Dependencies'''
'''Dependencies'''
: If you prefer you might replace <code>libcurl4-openssl-dev</code> by <code>libcurl4-gnutls-dev</code>.
: If you prefer you might replace <code>libcurl4-openssl-dev</code> by <code>libcurl4-gnutls-dev</code>.
: On Debian replace <code>libeudev-dev</code> with <code>libudev-dev</code>.
: For VR support add package <code>libopenxr-dev</code> to the list below.
: For VR support add package <code>libopenxr-dev</code> to the list below.
: [[File:Zeichen_144_icon.png|21px]] During installation development packages of libraries which are going to be compiled ''must not'' be installed. They can safely be re-installed after compilation. Namely these are <code>libc-ares-dev</code>, <code>libplib-dev</code>, <code>libpopenscenegraph-dev</code> and <code>libsimgear-dev</code>.
: [[File:Zeichen_144_icon.png|21px]] During installation development packages of libraries which are going to be compiled ''must not'' be installed. They can safely be re-installed after compilation. Namely these are <code>libc-ares-dev</code>, <code>libplib-dev</code>, <code>libpopenscenegraph-dev</code> and <code>libsimgear-dev</code>.
Line 49: Line 50:
  <nowiki>git clone https://github.com/c-ares/c-ares.git libc-ares.git</nowiki>
  <nowiki>git clone https://github.com/c-ares/c-ares.git libc-ares.git</nowiki>
  cd libc-ares.git
  cd libc-ares.git
  git checkout v1.34
  git checkout v1.34.2
  mkdir -p $FG_SRC_DIR/build-c-ares && cd $FG_SRC_DIR/build-c-ares
  mkdir -p $FG_SRC_DIR/build-c-ares && cd $FG_SRC_DIR/build-c-ares
  cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="$FG_INSTALL_DIR" $FG_SRC_DIR/libc-ares.git
  cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="$FG_INSTALL_DIR" $FG_SRC_DIR/libc-ares.git
Line 91: Line 92:
=== [[SimGear]] ===
=== [[SimGear]] ===
  cd $FG_SRC_DIR
  cd $FG_SRC_DIR
  <nowiki>git clone git://git.code.sf.net/p/flightgear/simgear simgear.git</nowiki>
  <nowiki>git clone https://gitlab.com/flightgear/simgear.git simgear.git</nowiki>
  cd simgear.git
  cd simgear.git
  git checkout $FG_VERSION
  git checkout $FG_VERSION
Line 103: Line 104:
=== [[FGData|FlightGear data]] ===
=== [[FGData|FlightGear data]] ===
  mkdir -p $FG_INSTALL_DIR/share && cd $FG_INSTALL_DIR/share
  mkdir -p $FG_INSTALL_DIR/share && cd $FG_INSTALL_DIR/share
  <nowiki>git clone git://git.code.sf.net/p/flightgear/fgdata fgdata</nowiki>
  <nowiki>git clone https://gitlab.com/flightgear/simgear.git fgdata</nowiki>
  cd fgdata
  cd fgdata
  git checkout $FG_VERSION
  git checkout $FG_VERSION
Line 110: Line 111:
=== FlightGear source ===
=== FlightGear source ===
  cd $FG_SRC_DIR
  cd $FG_SRC_DIR
  <nowiki>git clone git://git.code.sf.net/p/flightgear/flightgear flightgear.git</nowiki>
  <nowiki>git clone https://gitlab.com/flightgear/flightgear.git flightgear.git</nowiki>
  cd flightgear.git
  cd flightgear.git
  git checkout $FG_VERSION
  git checkout $FG_VERSION
406

edits

Navigation menu