Commit Graph

56 Commits

Author SHA1 Message Date
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
lat9nq
64bde0a8bf tzdb: Generate remaining nintendo files 2023-06-02 22:45:53 -04:00
toast2903
badfaddec2
Update README.md 2023-05-31 02:14:31 -04:00
toast2903
01e121b6e8
Create README.md 2023-05-31 02:06:01 -04:00
lat9nq
d8b4f6521c Add license info 2023-05-31 01:32:38 -04:00
lat9nq
526b765d8c tzdb: Generate nx time zone files 2023-05-28 01:54:17 -04:00
lat9nq
e2eec38882 main: Fix file creation bug 2023-05-28 01:53:55 -04:00