[sword-devel] Windows tools build

Greg Hellings greg.hellings at gmail.com
Mon Dec 9 11:44:16 EST 2024


On Mon, Dec 9, 2024 at 6:44 AM David Haslam <dfhdfh at protonmail.com> wrote:

> Hi Greg,
>
> It's unfortunate that all the files within the .tar have Modified Date =
> 1970-01-01 00:00
>

Alaas, this is a side effect of using Nix. Nix uses a purely functional
programming paradigm to define build results. Therefore, outputs must be
completely deterministic based only on their inputs. Part of that includes
having a deterministic Modified Date on the files, as basing that date on
the current run date of the build would result in a different output every
step.

I can spend some time looking at making the date an input parameter, but it
might not be so simple.


> cf. That displays as blank in the Modified Date column of Windows File
> Explorer!
>

Strange that Windows doesn't properly handle Unix timestamp 0.


>
> NB. I've only inspected the download. I've not tried to use any of them.
>

Thanks for giving them a look! I appreciate the report.

--Greg

>
> Best regards,
>
> David
>
> Sent with Proton Mail <https://proton.me/mail/home> secure email.
>
> On Friday, October 18th, 2024 at 8:36 PM, Greg Hellings <
> greg.hellings at gmail.com> wrote:
>
> SWORD fam:
>
> I've been working my way towards a new and more convenient way to build
> SWORD utils for Windows. You can read about the journey and how it's
> *almost* complete over on my blog:
> https://thehellings.com/posts/sword-cross-20241018/. There is also a
> link, there, to download the binary.
>
> It's a build of the latest release 1.9.0 rather than SVN head. Once I get
> the last few libraries working in the native upstream, I will put together
> a way to build SVN head. It's not difficult, I'm just focusing at the
> moment on enabling the cross build.
>
> Those of you on Windows, if you could give them a spin, I would appreciate
> it. I verified that they're at least able to execute on my local system,
> but I don't have any real use for them on that machine to do any extensive
> testing. Although they might not be the very latest versions of the tools,
> themselves, they do come with the latest versions of the dependency
> libraries like libcurl and especially ICU.
>
> --Greg
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20241209/5614eb9f/attachment.htm>


More information about the sword-devel mailing list