How to update
-
Get latest database:
git clone https://github.com/pavkam/tzdb ./bin/tz-db cd ./bin/tz-db ./update-compile.sh
-
Copy
TZDB.inc
,Version.inc
andTZDB.pas
from./bin/tz-db/src/TZDBPK
to the./libtz/lib/tz-db
-
Extract latest borders from timezones.shapefile.zip to the
./bin/tz-border
-
Run
shp2pas.cmd
-
Copy
*.pas
files from./bin/pas
to the./libtz/lib/tz-border
-
Open
./libtz/libtz.lpi
with Lazarus -
Fix project Version Info, fix
CVersionInfo
insrc/u_AppMain.pas
and compilelibtz.dll