On 2024-02-11 04:46, Bruno Haible wrote:
The first question is how to include tzdata in gnulib.
- AFAICS, the main data file (without comments) is tzdata.zi and is about
100 KB large. It can be upgraded simply by copying the newest tzdata.zi
from a newer tzdata distribution. Including such a file in gnulib would
be OK (re copyright, number of files, total size), right?
No problem with copyright; the file is in the public domain.
- Whereas including all files from /usr/share/zoneinfo is probably not
acceptable (> 1300 files, ca. 6 MB total size).
That can be automatically generated from tzdata.zi, by using zic, the
source code of which is also in the public domain. This is common in
GNU/Linux systems. If memory serves Android uses another approach: a
single binary file indexed by timezone name.