Commit Graph

72 Commits

Author SHA1 Message Date
Theodore Ni
dd3624849e
tzdata: fix build on darwin
Version 2022f doesn't build on Darwin because its detection of whether
getrandom is available doesn't work. This has been fixed upstream, and
we can pull in the patches.
2022-11-03 17:49:00 -07:00
ajs124
7d5f5e1f2a tzdata: 2022e -> 2022f
https://mm.icann.org/pipermail/tz-announce/2022-October/000075.html
2022-10-29 16:54:28 +02:00
Vladimír Čunát
6fdfb88f08
Merge #193972: tzdata: enable cross-compilation for Windows
...into staging
2022-10-13 22:50:06 +02:00
ajs124
8a2b098a1b tzdata: 2022d -> 2022e
https://mm.icann.org/pipermail/tz-announce/2022-October/000074.html
2022-10-11 22:55:09 +02:00
Nicolas Benes
1654dc831c tzdata: enable cross-compilation for Windows
* Additional make flags are needed since some functions do not exist
    or have different names or parameters on Windows.

  * When compiling for Windows, GCC implicitly adds a `.exe` suffix to
    the output file name. A patch is needed for the `install` target
    to locate and install the correct files.

  * The tzdata Makefile contains `zic` and `ZIC` variables. The former
    refers to the path of the program to execute, while the latter
    invokes the former with additional arguments (it is defined as
    `ZIC=$(zic) $(ZFLAGS)`, `ZFLAGS` is normally empty).

    Previously, `ZIC` was overridden, potentially loosing `ZFLAGS`
    arguments. This commit changes it to override `zic` instead.

  * The `zic` program is built and installed as part of the package and
    also executed during the build to translate time-related files. When
    cross-compiling it means that two executables need to be compiled:
    one to get installed and run on the host platform, and another to
    run on the build platform. Instead of renaming files and building a
    temporary executable for the build platform, this commit references
    the build platform's `tzdata.bin` package and runs its `zic`
    program.
2022-10-01 21:55:18 +02:00
ajs124
ee73d3a942 tzdata: 2022c -> 2022d
https://mm.icann.org/pipermail/tz-announce/2022-September/000073.html
2022-09-24 14:18:36 +02:00
zowoq
913ea47f6b tzdata: 2022b -> 2022c
https://mm.icann.org/pipermail/tz-announce/2022-August/000072.html
2022-08-16 15:17:53 +02:00
ajs124
46f98c157d tzdata: 2022a -> 2022b
https://mm.icann.org/pipermail/tz-announce/2022-August/000071.html
2022-08-13 11:41:58 +02:00
Nicolas Benes
1dad933e18 tzdata: 2021e -> 2022a 2022-03-17 10:52:51 +01:00
Vladimír Čunát
32d8acf3b3
Merge #151247: tzdata: fix for darwin sandbox (into staging) 2022-02-22 12:00:02 +01:00
Sergei Trofimovich
f394545b13
tzdata: 2021c -> 2021e (#151446) 2021-12-25 16:54:42 -05:00
Dmitry Kalinkin
ccdaaa0788
tzdata: fix for darwin sandbox 2021-12-18 19:08:43 -05:00
ajs124
d014e1c7e5 tzdata: add myself as maintainer 2021-10-02 01:34:47 +02:00
ajs124
1143d2ca24 tzdata: 2021b -> 2021c 2021-10-02 01:20:12 +02:00
ajs124
ec96691d78 tzdata: 2021a -> 2021b 2021-09-26 23:48:26 +02:00
Martin Weinelt
99b4d189e2
tzdata: add licenses
https://github.com/eggert/tz/blob/main/LICENSE
2021-06-04 04:21:05 +02:00
Martin Weinelt
5b485337cf
tzdata: 2020f -> 2021a 2021-06-04 04:21:05 +02:00
Alexander Vieth
a65208ca8e tzdata: use nativePrefix for zic-native
would not be able to run the install phase for a cross compile otherwise
2021-02-22 19:59:06 -05:00
Ben Siraphob
223f25cf4a treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
ajs124
4e70a418c7 tzdata: 2020c -> 2020f 2020-12-29 21:41:01 +01:00
Robert Hensing
d328ba130b tzdata: Revert to the "fat" "bloated" format
The timezone dumps have switched to a "slim" format since 2020b.
This has broken various packages, including
 - go 1.4 (used for bootstrapping)
 - haskellPackages.tz
 - libical

The "fat" format can still be generated, as this commit shows.
It seems to create files that are *mostly* the slim versions with
some more data attached.
2020-11-06 14:48:28 +01:00
Vladimír Čunát
89023c38fc
Recover the complicated situation after my bad merge
I made a mistake merge.  Reverting it in c778945806 undid the state
on master, but now I realize it crippled the git merge mechanism.
As the merge contained a mix of commits from `master..staging-next`
and other commits from `staging-next..staging`, it got the
`staging-next` branch into a state that was difficult to recover.

I reconstructed the "desired" state of staging-next tree by:
 - checking out the last commit of the problematic range: 4effe769e2
 - `git rebase -i --preserve-merges a8a018ddc0` - dropping the mistaken
   merge commit and its revert from that range (while keeping
   reapplication from 4effe769e2)
 - merging the last unaffected staging-next commit (803ca85c20)
 - fortunately no other commits have been pushed to staging-next yet
 - applying a diff on staging-next to get it into that state
2020-10-26 09:01:04 +01:00
Vladimír Čunát
c778945806
Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
I'm sorry; I didn't notice it contained staging commits.

This reverts commit 17f5305b6c, reversing
changes made to a8a018ddc0.
2020-10-25 09:41:51 +01:00
ajs124
8904ce243a tzdata: 2019c -> 2020c 2020-10-20 21:09:28 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz
525c54c7ef tzdata: 2019b -> 2019c
https://github.com/eggert/tz/blob/2019c/NEWS
2019-11-24 10:04:17 +01:00
Averell Dalton
d8be742844 tzdata: 2019a -> 2019b 2019-08-31 12:43:34 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Andreas Rammhold
2397bdad82
tzdata: 2018g -> 2019a 2019-03-27 09:07:00 +01:00
Franz Pletz
7c25174154 tzdata: 2018e -> 2018g
Notable changes:
  - Morocco switched to permanent +01 on 2018-10-27
  - Volgograd moved from +03 to +04 on 2018-10-28
  - Fiji ends DST 2019-01-13, not 2019-01-20
  - Most of Chile changes DST dates, effective 2019-04-06

tzdata: fetch over https
2018-12-05 22:17:18 +01:00
John Ericson
ee4b56edd3 Merge remote-tracking branch 'upstream/master' into staging 2018-05-11 14:36:08 -04:00
Franz Pletz
9d0202faa1
tzdata: 2017c -> 2018e
Notable changes:

  - North Korea switches back to +09 on 2018-05-05.
2018-05-11 18:23:40 +02:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Shea Levy
942855c8bd
tzdata: Fix cross-compilation 2018-02-28 15:01:33 -05:00
Daiderd Jordan
6c39c9cbfa
tzdata: use addEnvHooks 2018-01-07 21:26:22 +01:00
Orivej Desh
c13de40f04 tzdata: export TZDIR for dependent packages
https://github.com/NixOS/nix/issues/1709
2017-12-01 17:17:30 +00:00
Orivej Desh
9d2bd32b79 tzdata: avoid symlink loop "./posix" -> ".."
Fixes #31560
2017-11-23 05:12:03 +00:00
Franz Pletz
bfd57788b6
tzdata; 2016j -> 2017c
Notable recent changes:

 - Northern Cyprus resumed EU rules starting 2017-10-29.
 - Namibia will switch from +01 with DST to +02 all year, affecting
   UT offsets starting 2018-04-01.
 - Sudan will switch from +03 to +02 on 2017-11-01.
 - Tonga will not observe DST on 2017-11-05.
 - Turks & Caicos will switch from -04 all year to -05 with US DST,
   affecting UT offset starting 2018-11-04.
2017-11-01 23:03:35 +01:00
Tuomas Tynkkynen
9158944b44 tzdata: Fix man directory 2017-08-11 21:32:54 +03:00
Vladimír Čunát
5ac7da9376
tzdata: 2016f -> 2016j 2016-12-28 19:15:18 +01:00
rexim
b9a6ba4e8f tzdata: 2016e -> 2016f 2016-08-08 23:44:28 +06:00
Tobias Geerinckx-Rice
9f996d6406
tzdata: 2016d -> 2016e 2016-06-14 18:27:57 +02:00
Tobias Geerinckx-Rice
5a5012a7cd
tzdata: 2016c -> 2016d 2016-04-18 19:12:34 +02:00
Vladimír Čunát
056b5a1a5f tzdata: fixup after merging master
also rename lib output to dev - it contains a header and a static lib.
2016-04-02 16:26:32 +02:00
Vladimír Čunát
ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Arseniy Seroka
fba952024f tzdata: 2016a -> 2016b 2016-03-19 00:23:45 +03:00
Tobias Geerinckx-Rice
1c9d5306fb tzdata: 2015g -> 2016a 2016-03-16 21:10:20 +01:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Tobias Geerinckx-Rice
0e5458edac tzdata: 2015f -> 2015g
(cherry picked from commit 18b3295970)
2015-10-02 14:17:22 +02:00