Fedora Packages and Compiling: Difference between revisions

Jump to navigation Jump to search
Simplify markup for 'git clone' commands thanks to the 'simgear clone', 'flightgear clone', 'fgdata clone' and 'fgmeta clone' templates (the only missing one is for FG's fork of openscenegraph at GitLab; AFAIK, there is no such template for it)
(Fix typo in $PATH lines)
(Simplify markup for 'git clone' commands thanks to the 'simgear clone', 'flightgear clone', 'fgdata clone' and 'fgmeta clone' templates (the only missing one is for FG's fork of openscenegraph at GitLab; AFAIK, there is no such template for it))
Line 82: Line 82:


For 2024.1, we clone a single branch of the repository to have a similar configuration as with the tar files.
For 2024.1, we clone a single branch of the repository to have a similar configuration as with the tar files.
  git clone --single-branch --branch release/2024.1 {{simgear source
  {{simgear clone | opt = --single-branch --branch release/2024.1 | post = simgear}}
  | type = git
  {{flightgear clone | opt = --single-branch --branch release/2024.1 | post = flightgear}}
  | full = 1
  {{fgdata clone | opt = --single-branch --branch release/2024.1 | post = fgdata}}
  }} simgear
  git clone --single-branch --branch release/2024.1 {{flightgear source
  | type = git
  | full = 1
  }} flightgear
  git clone --single-branch --branch release/2024.1 {{fgdata source
  | type = git
  | full = 1
  }} fgdata


==== Building 2024.1 ====
==== Building 2024.1 ====
Line 127: Line 118:
====Use the git repository ====
====Use the git repository ====
  git clone https://gitlab.com/flightgear/openscenegraph.git openscenegraph
  git clone https://gitlab.com/flightgear/openscenegraph.git openscenegraph
  git clone https://gitlab.com/flightgear/simgear.git simgear
  {{simgear clone | post = simgear}}
  git clone https://gitlab.com/flightgear/flightgear.git flightgear
  {{flightgear clone | post = flightgear}}
  git clone https://gitlab.com/flightgear/fgdata.git fgdata
  {{fgdata clone | post = fgdata}}


====Building 2024.2====
====Building 2024.2====
Line 168: Line 159:
  mkdir $HOME/fg2024
  mkdir $HOME/fg2024
  cd $HOME/fg2024
  cd $HOME/fg2024
  git clone {{fgmeta source
  {{fgmeta clone | post = fgmeta}}
  | type = git
  | full = 1
  }} fgmeta
  fgmeta/download_and_compile.sh -p n FGFS
  fgmeta/download_and_compile.sh -p n FGFS
The ''-p n'' arg tells the script to NOT use ''apt'' to check, update, or fetch packages. Once the required packages are loaded from the Fedora repositories normal dnf upgrade commands will update the needed packages along with the rest of your system.
The ''-p n'' arg tells the script to NOT use ''apt'' to check, update, or fetch packages. Once the required packages are loaded from the Fedora repositories normal dnf upgrade commands will update the needed packages along with the rest of your system.
512

edits

Navigation menu