Re: Windows tools build

Greg Hellings <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <CAHxvOV+QNhh81SSoeh=KGczbTCajanRgU3gw_75YH1uVQKOVLw@mail.gmail.com>
On Mon, Dec 9, 2024 at 6:44 AM David Haslam <dfhdfh-g/[email protected]> 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 <
> [email protected]> 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: [email protected]
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.