3acff3caba
This is a simple Python 3 script to ease rebuilding of FGData embedded resources for FlightGear. It uses fgrcc in conjunction with <FlightGear-repo>/src/EmbeddedResources/FGData-resources.xml and the FGData files mentioned therein to (re)create the FGData-resources.[ch]xx files used in the FlightGear build. The existing files in the FlightGear repository are always overwritten (namely, FGData-resources.[ch]xx in <FlightGear-repo>/src/EmbeddedResources). There are command-line options (--flightgear, --fgdata and --fgrcc) to indicate where the FlightGear and FGData repositories, as well as the fgrcc executable can be found. However, it is most convenient to put these paths once for all in the config file $HOME/.fgmeta/rebuild-fgdata-embedded-resources.json (use 'rebuild-fgdata-embedded-resources --help' to see an example). This way, you can invoke the script without any argument whenever you want to update <FlightGear-repo>/src/EmbeddedResources/FGData-resources.[ch]xx. This script doesn't depend on any module out of the Python standard library (intentionally, in case distributors want to use it to recreate themselves the FGData-resources.[ch]xx files). It should work on Python 3.5 and later versions. |
||
---|---|---|
catalog | ||
changes-in-dat-files/apt.dat | ||
compile-scripts | ||
fgdata@5b4983c716 | ||
fgrun@3fb3be1935 | ||
flightgear@c9eff67409 | ||
getstart@a75fedfc67 | ||
Nasa2FGearthview | ||
python3-flightgear | ||
release_builder | ||
simgear@629e68428f | ||
windows-3rd-party@790648cd69 | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
build_release_linux.sh | ||
build_release_mac.sh | ||
build_release_windows.bat | ||
CMakeLists.txt | ||
create_metar_dat.py | ||
download_and_compile.sh | ||
fgdata_checkers.py | ||
FlightGear.iss | ||
hudson_mac_build_release.sh | ||
hudson_mac_package_release.rb | ||
Info.plist.in | ||
installWinDeps.bat | ||
post_upload.py | ||
version | ||
webhooks.xml |