From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-apps@cygwin.com
Subject: Re: About the opam package
Date: Tue, 14 Jul 2020 19:43:09 -0600 [thread overview]
Message-ID: <3ff918f7-c8b4-66e3-dd4b-5c2b0e539ba3@SystematicSw.ab.ca> (raw)
In-Reply-To: <20200714231733.B9644306005F@mailuser.nyi.internal>
On 2020-07-14 17:17, Sora Morimoto wrote:
> Hi everyone. I am a developer involved in the development of the OCaml ecosystem.
> First of all, I am not yet used to using a mailing list as a method of
> communication. I believe I have done enough research before coming here, but I
> apologize in advance if I make any mistakes.
> Now, I wanted to help with the maintenance of the opam package for Cygwin,
> but after reading the documentation I still do not know what to do.
> Specifically, I do not even know where the build script source is, and where
> to send the patch.
> Can someone please teach me?
Using the Cygwin Setup program, install:
* cygport package
- standard method for building and maintaining packages for the Cygwin
distribution
- similar to Gentoo Portage but not compatible with it
- Setup will auto-install all required build tools which are its dependencies
* any ocaml-... packages you need
* Opam
* possibly Opam-installer
and check the Install sources checkbox on that/those latter.
The sources are normally installed under /usr/src/ IIRC.
To rebuild a package build using cygport, cd into the /usr/src/$PKG (replace by
actual package name - use tab completion if your shell supports that) directory,
check the $PKG.cygport file to see if there are any extra build dependencies you
need to install before proceeding (REQUIRES are *runtime* dependencies
auto-installed by Setup when a package is installed).
To rebuild a cygport package (to check your setup includes all the tools and
libraries needed before making any changes) just run:
$ cygport $PKG.cygport download all test
which will download the upstream sources, build and create an installable Cygwin
package, and run any tests included in the package.
For more information about cygport run:
$ cygstart /usr/share/doc/cygport/html/manual/index.html
to open the manual in your default browser, or check out ocaml related entries:
$ cygstart /usr/share/doc/cygport/html/manual/masterindex.html#O
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
next prev parent reply other threads:[~2020-07-15 1:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 23:17 Sora Morimoto
2020-07-15 1:43 ` Brian Inglis [this message]
2020-07-15 2:56 ` Sora Morimoto
2020-07-15 2:25 ` Andy Li
2020-07-15 2:52 ` Sora Morimoto
2020-07-17 13:08 ` Jon Turney
2020-07-19 8:44 ` Andy Li
2020-07-21 15:06 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ff918f7-c8b4-66e3-dd4b-5c2b0e539ba3@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).