1
0
Fork 0
fgmeta/python3-flightgear
Florent Rougon 3acff3caba Initial version of rebuild-fgdata-embedded-resources
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.
2017-08-18 13:41:21 +02:00
..
flightgear Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
fg-convert-translation-files Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
fg-new-translations Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
fg-update-translation-files Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
README-l10n.txt Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
rebuild-fgdata-embedded-resources Initial version of rebuild-fgdata-embedded-resources 2017-08-18 13:41:21 +02:00