FreeRDP/docs
2024-09-10 08:31:19 +02:00
..
mingw-example [git] remove .gitignore 2023-11-28 12:14:55 +01:00
Doxyfile update-doxyfile 2024-09-10 08:31:19 +02:00
FreeRDP.vsd
PrintFormatSpecifiers.md ctest for int format specifiers and usage doc 2016-12-16 14:20:30 +01:00
README.android Add wiki link to README files 2023-12-12 19:36:54 +01:00
README.building [docs] update README 2024-05-27 09:05:16 +02:00
README.ios chore: fix typo in doc 2024-05-22 10:31:06 +02:00
README.macOS Add wiki link to README files 2023-12-12 19:36:54 +01:00
README.mingw chore: fix typo in doc 2024-05-22 10:31:06 +02:00
README.timezones [winpr,timezone] update documentation 2024-07-19 14:02:15 +02:00
valgrind.supp
version_detection.md new: add some basic documentation about version dectction 2022-03-07 13:39:49 +01:00
wlog.md wlog: change variable naming and fix documentation 2015-11-10 12:05:23 +01:00

## Timezone related options

* WITH_TIMEZONE_COMPILED   Use compiled in mapping extracted with tzextract (default ON)
* WITH_TIMEZONE_FROM_FILE  Use JSON file mapping generated with tzextract (default OFF)
* WITH_TIMEZONE_ICU        Use ICU to map IANA to windows timezones (default OFF)
* WITH_TIMEZONE_UPDATER    Build the tzextract utility (default OFF)

### Suggested usage

* WITH_TIMEZONE_COMPILED is suggested for single binary builds (aka fully static) binaries that
  can not rely on external files to exist.
* WITH_TIMEZONE_FROM_FILE is suggested for distribution packages as this allows updating timezone
  mappings without a necessary recompile of the FreeRDP binaries. Set WITH_TIMEZONE_COMPILED=OFF
  in such cases as both options can be used in combination. (entries from file taking preference
  over compiled in versions)
* WITH_TIMEZONE_ICU is suggested if the target is already linked against ICU. This eliminates a
  required mapping table generated from WindowsZones.xml. This option is only a fallback if the
  compiled in or loaded from file mappings do not match any.

## Keeping timezone mappings up to date

On an up to date windows machine run the following binary after a build with -DWITH_TIMEZONE_UPDATER=ON (from build directory):

tzextract <path to source>\winpr\libwinpr\timezone

After running the scripts check
 * git clang-format -f to eliminate formatting changes
 * winpr/libwinpr/timezone/WindowsZones.c
for changes.

on any machine run the following script from checkout root:

./scripts/update-windows-zones.py

After running the scripts check
 * git clang-format -f to eliminate formatting changes
 * winpr/libwinpr/timezone/WindowsZones.c
for changes.

Commit if the definitions changed:
1. run `git clang-format -f` on these changed files
2. commit these changes
3. create a pull request at https://github.com/FreeRDP/FreeRDP