toast2903
9792969023
Merge pull request #18 from lat9nq/asan-1
...
main: Resolve memory leak
2024-02-10 17:27:31 -05:00
lat9nq
f479989903
main: Resolve memory leak
...
I forgot to free the file buffer once I was done with it.
Delete it and avoid a memory leak.
2024-02-10 17:23:47 -05:00
toast2903
80994fc409
Merge pull request #17 from lat9nq/custom_tzdb
...
cmake: Add option to specify custom zoneinfo
2024-01-31 14:07:27 -05:00
lat9nq
9231fff8c9
cmake: Allow specifying TZDB2NX_VERSION without other requirements
...
I was worried the version and custom zoneinfo dir were tied together, but it's fine. We can override the version whenever we want.
2024-01-19 21:19:40 -05:00
lat9nq
e77461733b
cmake: Add comment to directory check
...
In review, this if statement was questioned as being a directory existence check in fact it is checking the value of the variable itself.
2024-01-18 20:38:26 -05:00
lat9nq
d35fcb2558
cmake: Add user specifiable version variable
...
Previously it was still using the submodule's version.
2024-01-18 20:33:04 -05:00
lat9nq
76de8f4115
cmake: Add option to specify custom zoneinfo
...
Enables developers to use a different zoneinfo source than the included submodule.
2024-01-17 16:16:04 -05:00
lat9nq
14733f4575
cmake: Use git clone instead of file copy
...
Preserves (enough) git repository data for configuration to work without error.
2024-01-17 16:12:17 -05:00
lat9nq
b5dc9ac015
cmake: Check program existence with CMake standards
2024-01-17 15:49:35 -05:00
toast2903
404d390045
Merge pull request #15 from lat9nq/apple-2
...
CMake: Find and require intl
2024-01-09 17:25:30 -05:00
lat9nq
1e82342033
CMake: Find and require intl
...
It's not guaranteed for Apple systems to have this library installed, apparently, so check for it.
2024-01-09 17:22:53 -05:00
toast2903
f6680093bc
Merge pull request #13 from lat9nq/no_gettext
...
CMake: Disable gettext
2023-11-29 15:26:56 -05:00
lat9nq
55ffd1ef80
github: Append platform name to archive
...
Also uses capital R instead of little R in cp command, for Apple.
2023-11-29 15:24:00 -05:00
lat9nq
5fbfd0bb68
github: Check both macos and ubuntu
2023-11-29 15:18:05 -05:00
lat9nq
84dd8dd351
CMake: Link against intl
...
Fixes compile issue with Apple.
2023-11-29 15:06:47 -05:00
toast2903
0d17dd066d
Merge pull request #12 from lat9nq/subdir-fix
...
generate_binary_list: Fix recursive sub dirs
2023-10-11 16:36:46 -04:00
lat9nq
735363404b
generate_binary_list: Fix recursive sub dirs
2023-10-11 16:34:27 -04:00
toast2903
c636ed91ca
Merge pull request #11 from lat9nq/2022g
...
externals/tz: Update to 2022g+
2023-10-11 16:03:25 -04:00
lat9nq
433e737857
externals/tz: Update to 2022g+
...
Checkout a commit beyond 2022g. 2022g itself does not compile, but a downstream
commit allows us to compile and achieve parity with 17.0.0's time zone data.
2023-10-11 16:00:12 -04:00
toast2903
212afa2394
Merge pull request #10 from comex/copysrc
...
Don't pollute the source directory with binaries
2023-06-25 17:17:02 -04:00
comex
d7150e9daf
Don't pollute the source directory with binaries
...
tz's makefile can only build in-tree. It *installs* to a different
directory (specified by `DESTDIR`), but the build artifacts are left in
the source tree, including `zic.o`, `zic`, etc. This is disruptive to
CMake builds which are usually out-of-tree. To work around this, copy
the whole source tree to a path under `CMAKE_CURRENT_BINARY_DIR`, and
build it from there. It's a tiny project so the cost of copying is not
significant.
2023-06-25 13:38:15 -07:00
lat9nq
10cde7fe1b
readme: Specify where and what licenses apply
2023-06-23 19:04:07 -04:00
toast2903
25b0d508a8
Merge pull request #9 from lat9nq/pure-cmake
...
general: Use pure CMake in place of shell scripts
2023-06-23 18:53:22 -04:00
lat9nq
cba24ea9a8
generate_binary_list: Specify full path
...
Otherwise has the convoluted DIR DIR arguments.
2023-06-23 18:50:09 -04:00
lat9nq
6415df918b
cmake: Move list directory for general access
2023-06-23 18:17:23 -04:00
lat9nq
7c1fc8b9ad
tzdb: Use pure cmake to generate binaryList.txt
2023-06-23 18:11:24 -04:00
lat9nq
e5a9681b37
tz: Use pure CMake to list TZif files
2023-06-23 17:34:35 -04:00
toast2903
73fcec9bda
Merge pull request #8 from jbeich/bsd
...
Unbreak build on FreeBSD
2023-06-23 17:33:18 -04:00
Jan Beich
c3700819a6
cmake: use date -r on more BSDs
...
- macOS `date` is based on FreeBSD while `-r` is from historical BSD
- GNU `date` may not be installed or installed as `gdate`
2023-06-23 21:29:48 +00:00
Jan Beich
6ca7f92b0e
Switch to POSIX sh for scripts
...
- GNU `bash` may not be installed or installed outside of /bin
- *.sh only use `==` from Bash, so /bin/sh is enough
2023-06-23 21:29:48 +00:00
toast2903
8c272f21d1
Merge pull request #7 from lat9nq/actually-build-it
...
workflows: Build x80e target
2023-06-19 15:21:18 -04:00
toast2903
20bc0acb16
workflows: Build x80e target
...
x80e was removed from the `all` target and was no longer building. Workflows should be specifying what target to build, anyway.
2023-06-19 15:18:51 -04:00
toast2903
b2ab6aca9d
Merge pull request #6 from Termynat0r/main
...
macOS fix for commit #394741
2023-06-19 15:14:47 -04:00
Termynat0r
d1dd9ad8e4
macOS fix for commit #394741
...
Fix for commit #394741 , which broke macOS building because the macOS date takes slightly different arguments
2023-06-19 16:40:52 +02:00
toast2903
34df65eff2
Merge pull request #5 from lat9nq/generator
...
cmake: Use generator expression to target binary
2023-06-16 04:11:38 -04:00
lat9nq
03c56aa26c
cmake: Remove x80e from all target
2023-06-16 04:10:28 -04:00
lat9nq
3bcb7f0ed3
cmake: Reduce number of targets
...
All of these files can be generated from one target
2023-06-16 04:10:14 -04:00
lat9nq
38c6fddfc3
cmake: Fix dependencies
...
Now the files won't be built repeatedly each time it's called.
2023-06-16 04:00:50 -04:00
lat9nq
0b28ddb5a6
cmake: Use generator expression to target binary
2023-06-16 03:23:48 -04:00
lat9nq
35ced3c4bf
license: Re-license to MIT
2023-06-16 02:21:30 -04:00
toast2903
82959cb27b
Merge pull request #4 from lat9nq/submodule
...
general: Submodule time zone data
2023-06-16 02:07:25 -04:00
lat9nq
d394741906
cmake: Get version info from git
2023-06-16 02:04:50 -04:00
lat9nq
9a8dba8d76
gh/workflow: Propagate dir across other uses
2023-06-16 01:27:31 -04:00
lat9nq
31063d1881
github/workflows: Enable submodules
2023-06-16 01:24:04 -04:00
lat9nq
8fc053bc57
github/workflows: Update version dir
2023-06-16 01:17:19 -04:00
lat9nq
467e965659
general: Use a submodule of eggert/tz
2023-06-16 01:16:02 -04:00
toast2903
2beb8c93d2
Merge pull request #1 from lat9nq/named_archive
...
workflows: Name the binary archive
2023-06-02 23:00:02 -04:00
toast2903
ed0d331b72
workflows: Name the binary archive
2023-06-02 22:58:25 -04:00
toast2903
d4edba3a5a
Create build.yml
2023-06-02 22:51:30 -04:00
lat9nq
526f823010
Merge branch 'main' of https://github.com/lat9nq/tzdb_to_nx
2023-06-02 22:46:20 -04:00