From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 5A8573858D28 for ; Thu, 4 May 2023 03:17:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A8573858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id uGB5ppRRiLAoIuPTApyehw; Thu, 04 May 2023 03:17:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1683170244; bh=etr7D+4sjpjmoUz4V3hFQw4sS5jTmc/SZdDQqv/AA9I=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=gJySU06mygzJKtgi1L5zlxC+S7uOcD68DrFFLGoWyowSnoPh20PUyTRwvDPNDE34C ZkFGNbphXaeDKixQQ8tLW3LilBrSkZOp54v/+ZGt6DJdUQhNLa4Ml/WnLWrcrJ8KtI TXPaKQOJbjHowgwZ1nLRCq7rsVYxQyReQ+vcD3Z4MFvoJgIhDUWfH1pV+oGW4XryEO vzDj9abxFJkGhjwY1OqGvRp9rgk4Mb/p+BeRyhTDSG7EagFROFrHUXYG/Qr0d6S8AV 1Dk3JsW6VRRRzADyyZRIaE03/75/anQ0aS5E8UaGUET6ehSLMmjhT35EpoEkXGoUm8 fAhWHMwRC5t7w== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id uPT9pPQq6HFsOuPT9pF81e; Thu, 04 May 2023 03:17:24 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=645323c4 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=yg7sRK4eRPmudRgsk5gA:9 a=QEXdDO2ut3YA:10 a=A2oD8VjvArAA:10 a=IRs87zxJa3QA:10 a=FnocWzzIuVcA:10 a=a6TX0UhaiCoA:10 a=nEuVRzdp4BIA:10 a=shxRsd77FGl8R-jylCoZ:22 a=sRI3_1zDfAgwuvI8zelB:22 Message-ID: <7c36d093-036d-a797-26ac-a8db84c3819b@Shaw.ca> Date: Wed, 3 May 2023 21:17:23 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Reply-To: cygwin-apps@cygwin.com Subject: Re: how to contribute a noarch utility without porting Icon, Noweb, and Cygport Content-Language: en-CA To: cygwin-apps@cygwin.com References: Cc: metaed@newjersey.metaed.com From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfC9jcPSTQ6yECC+vxcGLbKv09M/GZxv/Do3ebIndnHoLNtZeP6WH9K2oAubxB8QG79+ZFXoBfR41cAfQNw2T9Inn4fnCaQN6YcPlwLOieAICn8o0frEe ziB2j47kH1FzmGUkXColIaJgHvawm/wi6roDgKXiKx23bWUOwqRnSRY4TwWHQEFEIJzIdkaZm3BtiHzY9UOp7nYd17xlD1YI3mvCbbIgijqV3of7WPyEwZsN X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-05-03 15:06, metaed wrote: > I want to contribute a Cygwin port of my utility program "dtt". It is an > architecture-independent executable written in Perl 5 plus a man page. It comes > with supplementary docs in /usr/share/doc, including the complete source. The only known dtt out there seems to be an R package in CRAN for Discrete Trigonometric Transforms from another author. So you might want to consider renaming your package to avoid any potential conflicts with CRAN if that was offered for Cygwin. You would have to meet the criteria under: https://cygwin.com/packaging-contributors-guide.html#submitting and that nowadays requires a cygport build, producing valid "src" and "binary" packages meeting Cygwin standards including valid hint files, plus debuginfo packages if relevant, any Cygwin perl module and script requirements, and running checks to validate or verify the build. You should provide at least the description of your package, with all required metadata, links to your sources and scripts, and why it would be a useful addition to Cygwin. If available for Slack, links to slackbuilds, slack-desc, and info would help. > The package is built from source using the Noweb litprog tool, which also > requires the Icon programming language. Porting these to Cygwin could be a huge > undertaking. It would be much simpler for me to cross-compile, for lack of a > better term, where those tools are ported already -- namely, Slackware. > Instead of porting Cygport to Slackware, again it would be much simpler for me > to create the "binary" tarball and .hint file, a la > , and upload manually to > the noarch tree, a la . > Is this an objectionable approach? Some developers and maintainers use Fedora with Cygwin cross-compilers to build Cygwin and packages using cygport, which is a package of Bash scripts. Unfortunately, there is little info about how to run Cygwin tools in a Linux environment. Cygwin cooperates with and runs under Wine, so you could use that rather than Windows. You would be providing the upstream sources, so you could provide the original and intermediate sources, with suitable cygport build. You might also consider porting noweb3 to run under Cygwin lua, and provide that plus your package, with any adaptations required to build, install, check, and run them under Cygwin. Using cygport is not very different from using any other distro packaging tools, being based on Gentoo portage, with cygport files providing definitions, and function overrides if required, similar to Slack slackbuilds, Gentoo ebuilds, Fedora specs, Debian control/rules, etc. Check out what is required for a Perl package in a similar category at: https://cygwin.com/cgit/cygwin-packages/?q=perl -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry