From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) by sourceware.org (Postfix) with ESMTPS id 2A111384A87E for ; Wed, 15 Jul 2020 01:43:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2A111384A87E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id vWRxjYRLTFXePvWRyjiBZ7; Tue, 14 Jul 2020 19:43:10 -0600 X-Authority-Analysis: v=2.3 cv=ePaIcEh1 c=1 sm=1 tr=0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=zpYP0240YvQ5G0lZY0EA:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin-apps@cygwin.com Subject: Re: About the opam package To: cygwin-apps@cygwin.com References: <20200714231733.B9644306005F@mailuser.nyi.internal> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software Message-ID: <3ff918f7-c8b4-66e3-dd4b-5c2b0e539ba3@SystematicSw.ab.ca> Date: Tue, 14 Jul 2020 19:43:09 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200714231733.B9644306005F@mailuser.nyi.internal> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfAsEYp+kDLdM4Viu5CtQMca23KPlEVwntAwH77s2ahAOk+aB6eerAVko6VC9/rWbQKbyHfnKcbnr5ccQDJ5ja+Q1AnVRHn4hVL9QZSymKyOt1W1l+Fbb T9KffRfT2srfMmIVy3DcbSuFz/j0Ee3mePTGKbGNfH01ZNlGOkBrSg4aD8pMyaWVqhLvwpe943bHxzZU/KwiOd/I4rVNbNSyN5E= X-Spam-Status: No, score=-8.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_BL, RCVD_IN_MSPIKE_L3, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2020 01:43:13 -0000 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.]