Re: [ITA] ocaml-bigarray-compat 1.1.0, ocaml-ctypes 0.23.0 [ITP] ocaml-csexp 1.5.2

2025-05-13 Thread William Hu via Cygwin-apps
ASSI via Cygwin-apps writes: > > > src_install() { > > cd ${S} > > ocaml_dune_install > > # temporary workaround to remove absolute paths in dune-package > > cd ${D}/usr/lib/ocaml/bigarray-compat > > sed -E -i 's|/cygdrive/d/a/scallywag/.*/([^/]+)|\1|g' dune-package > > } > > > That sed invocati

[ITA] ocaml-bigarray-compat 1.1.0, ocaml-ctypes 0.23.0 [ITP] ocaml-csexp 1.5.2

2025-05-11 Thread William Hu via Cygwin-apps
These should be the final ITAs needed to build the LLVM OCaml bindings - after these are packaged the bindings should hopefully be ready to be attempted. The bindings depend on ctypes which depends on bigarray-compat and dune-configurator, which in turn depends on csexp (S expression parsing li

[ITA] ocaml-dune 3.18.1

2025-04-23 Thread William Hu via Cygwin-apps
See attached. Also pushed a build to the playground branch. Thanks. ocaml-dune.cygport Description: Binary data

Re: [ITA] ocaml-integers

2025-04-20 Thread William Hu via Cygwin-apps
On Saturday, April 19th, 2025 at 5:53 AM, Marco Atzeri via Cygwin-apps wrote: > On 26/03/2025 13:00, William Hu via Cygwin-apps wrote: > > > Hi All, > > > > Depended on by a number of other ocaml packages. Before you try to build, > > note that the raw upstream

[ITA] ocaml-integers

2025-03-26 Thread William Hu via Cygwin-apps
Hi All, Depended on by a number of other ocaml packages. Before you try to build, note that the raw upstream source depends on ocaml-stdlib-shims which I requested to package in a separate email. Cygport attached. Separately, if I'm thinking of adopting a number of packages, would it be better

[ITP] ocaml-stdlib-shims

2025-03-26 Thread William Hu via Cygwin-apps
Depended on by a number of other ocaml packages (cf. https://sourceware.org/pipermail/cygwin-apps/2023-August/043106.html). Gentoo version: https://packages.gentoo.org/packages/dev-ml/stdlib-shims Cygport attached. Thanks, William ocaml-stdlib-shims.cygport Description: Binary data

[ITP] python-sphinx-copybutton 0.5.2

2024-01-17 Thread William Hu via Cygwin-apps
I'd like to package sphinx-copybutton, which adds a copy button to code blocks in sphinx documentation. It is MIT licensed and already exists in Fedora: Ubuntu: and more: <

Re: [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust

2023-09-05 Thread William Hu via Cygwin-apps
On Wednesday, August 30th, 2023, ASSI wrote: > NOt immediately, but it makes me wonder if there's other such leakage. > I have not found a (text) file that stores this information in the > installed package, so it seems that the information is compiled in > someplace. After some digging I believe

Re: [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust

2023-08-30 Thread William Hu via Cygwin-apps
On Tuesday, August 29th, 2023 at 10:18 PM, William Hu wrote: > src_test: > 1. I believe "make ocamltest" does not run the testsuite; AFAIU, it builds the > auxiliary testing software instead. So far the only ways I know of to run the > testsuite are either "make tests" or cd'ing into the testsuite

Re: [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust

2023-08-29 Thread William Hu via Cygwin-apps
Hi All, Re OCaml compilers: I should be able to package OCaml 4.14.1 (and hopefully an alpha version of 5.1.0 as well) for Cygwin in the coming weeks. OCaml 5.0.0 temporarily dropped Cygwin support so the Cygwin versions will of course skip that release. On Saturday, August 26th, 2023 at 3:40

Re: Cygport Bug: "find: No such file" Errors When Packaging

2022-10-02 Thread William Hu via Cygwin-apps
Hi Jon, > This change is probably safe and does what you say, but it looks like it > could potentially misbehave when ${mldir} doesn't exist, but > ${D}/${mldir} does (a situation which probably can't occur, as it > doesn't seem to make sense to build ocaml libraries when ocaml isn't > installed?)

Re: Cygport Bug: "find: No such file" Errors When Packaging

2022-09-17 Thread William Hu via Cygwin-apps
Hi Jon, > I think just dropping ${mldir} would prevent cygport from detecting the > dependencies of an ocaml library (other ocaml libraries, or ocaml > itself?), but the second alternative sounds acceptable. > > Patches welcome, as always :) Thanks for the insight! Patch attached :) William cy

Cygport Bug: "find: No such file" Errors When Packaging

2022-09-15 Thread William Hu via Cygwin-apps
Hello, I think I've found a (relatively innocuous) bug in cygport. It can be reproduced by compiling the OCaml package without having OCaml installed (which doesn't sound like an unreasonable thing to try; it'd be odd if OCaml depended on itself). This results in many unattractive errors at th

Re: [ITA] ocaml 4.14.0

2022-08-06 Thread William Hu via Cygwin-apps
Hi Jon, > > Thanks for working on this. > > Please accept this literally priceless gold star for adopting this package Thank you very much for the valuable and shiny award! I've also pushed the cygport and corresponding patches to the git repository. William

Re: [ITA] ocaml 4.14.0

2022-07-23 Thread William Hu via Cygwin-apps
> > Yeah, that seems plausible, but I'm not clear why we are seeing > different behaviour... > After a long period of poking around for differences, I think I found the error - I had the `noacl` option activated in /etc/fstab which was preventing chmod and executable bits from working properly.

Re: [ITA] ocaml 4.14.0

2022-07-17 Thread William Hu via Cygwin-apps
> I added 'ocaml' to your authorized packages. > > Please go ahead and upload (perhaps as a test release?) when you are ready. > > Please see [1] for how to upload packages and push to the packaging git > repository. > > [1] https://cygwin.com/packages.html > Great, thank you so much for the help

RE: [ITA] ocaml 4.14.0

2022-07-14 Thread William Hu via Cygwin-apps
Hi David, > I think this down to neglect - the PIC/shared versions of the runtime were > contributed for a specific purpose and aren't properly maintained/tested > AFAICT. > > I'm not sure that libcamlrun_shared can ever have worked on Cygwin, at least > certainly not since OCaml 3.11 (which is

RE: [ITA] ocaml 4.14.0

2022-07-13 Thread William Hu via Cygwin-apps
Hi David, > What were the missing symbols? With the OCaml 4.10 package, I hit problems > with this: > > echo 'print_endline "hello, world"' > hello.ml > > ocamlc -custom -runtime-variant _shared -o hello.exe hello.ml > > I think that may be an issue upstream (libasmrun_shared.so IIRC is broken on

Re: [ITA] ocaml 4.14.0

2022-07-12 Thread William Hu via Cygwin-apps
exe suffixes breaks the compiler. Is there a way to prevent cygport from adding it? 4) Thanks for the catch. Added --enable-ocamltest to the cygport. William --- Original Message --- On Tuesday, July 5th, 2022 at 3:44 PM, Jon Turney wrote: > On 05/07/2022 01:42, William

SSH KEY

2022-07-04 Thread William Hu via Cygwin-apps
Name: William Hu BEGIN SSH2 PUBLIC KEY C3NzaC1lZDI1NTE5ILjC07iHhF8oGsNIWwreTtroTq3oN9ZjQxAoJVDLNplG END SSH2 PUBLIC KEY

Re: [ITA] ocaml 4.14.0

2022-07-04 Thread William Hu via Cygwin-apps
Hi Jon, Oops, sorry about that. The patch and updated cygport are now attached. Sending SSH key shortly. Thanks, William --- Original Message --- On Monday, July 4th, 2022 at 1:03 PM, Jon Turney wrote: > On 04/07/2022 03:03, William Hu via Cygwin-apps wrote: > > > Hell

[ITA] ocaml 4.14.0

2022-07-03 Thread William Hu via Cygwin-apps
Hello, I noticed that the ocaml source package is currently unmaintained and the most recent package version is 4.10.0, so I'd like to adopt the packages under it (specifically, ocaml, ocaml-compiler-libs, ocaml-runtime, ocaml-doc, ocaml-ocamldoc, and ocaml-source). Attached is a cygport file t