delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/07/07/07:59:22

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 467BxLWP3667255
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=BEBRYg1y
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A818385828E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1720353560;
bh=apdbFaGEfjNWeKfyGSyTOYkFFMfxIaxNxNuyAkWyw1U=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=BEBRYg1y7YSvmCZsLrEZUXTVuXrhBJiTcco93rSzF2ohen8Yf2tFD/NqnvKiZrc5h
xz48mBNxVijgYKXbmQq9dpqxhi5nCtxGjARXZq2pqs7sFMkEojA2ZPlz09GtGlpTvc
ET7rC4tHNFsPh7ezJDdYuhcb/MIYpcpYK7etoFgo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D12843858CDA
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D12843858CDA
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720353538; cv=none;
b=PTq++qUZTG6zxx/hjbdcTSrmZA4jmOsO3aX2s2fm1KdwQQhb1hH6haSzXQ1+SgFiWBkbenlbqTIoAlD2hQcx6YNM+sZJE1X8EsUGIHwZh7YTs5Y3CZzW68ZKsKmqkvrRppkcS4jRYvE1+wo7DPirIgWkJg72NnlyCxdSrvsqcA0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1720353538; c=relaxed/simple;
bh=ntb1DA1p7bW5nPDsma1lEOJ9GFAXeiqzySpCq1gTz5I=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:From:To;
b=ioz3DynRNcnAKOYDWtRojkYhJjLtYBwCdpnDw14fvViuV2xR5vzqssv3gIXvANhlRE+hCHrtGkgwZPDJLxDeC9ReAo4p9t2lV9R/fuPBJ4Q3bRvtuVUpOsROpJjwgtOXPd9jpFs+A9upkk6gBFd6ygeK8VT5iOIl8XA5arkF8UQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <51279cab-aca9-4f7a-8eac-b55064d60aa2@kircheis.it>
Date: Sun, 7 Jul 2024 13:58:51 +0200
MIME-Version: 1.0
Subject: cygport - get package dependencies
To: cygwin AT cygwin DOT com
References: <07082870-22a4-47a6-8fec-4ef954d181d1 AT kircheis DOT it>
<ff59d014-94ec-490d-980c-538177daf658 AT maxrnd DOT com>
<a61a7379-a470-4bb8-9a93-fef3fa25f2c3 AT kircheis DOT it>
<20240622072242 DOT a4d73ac071285066af58f56a AT nifty DOT ne DOT jp>
<20240622092917 DOT 43a848baf5e90159357efcfb AT nifty DOT ne DOT jp>
<d0ba9f25-f116-4c10-913b-beb835de5653 AT kircheis DOT it>
<20240622171749 DOT 8f5c6212d92f991f3ca9b51f AT nifty DOT ne DOT jp>
<3f395d7a-5930-4b63-baca-03f5c6e506c9 AT kircheis DOT it>
In-Reply-To: <3f395d7a-5930-4b63-baca-03f5c6e506c9@kircheis.it>
X-Rspamd-Queue-Id: 4WH5Pm2sS5z9sbv
X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Federico Kircheis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Federico Kircheis <federico AT kircheis DOT it>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

>> Takashi Yano wrote: 
>> Furthermore, you do not need to add ffmpeg to "REQUIRES" because
>> the cmus package itself does not really depend on ffmpeg package
>> even though it depends libavcodec, libavformat, libavutil and
>> libswresample. 
>>
>>> I was already told once that I probably can leave REQUIRES out.
>>>
>>> Currently I'm using it for setting up a minimal test environment where I
>>> install only the packages listed in REQUIRES.
>>> Can cygport give me that information if I do not write any REQUIRES?
>>> Last time I asked the answer was no, and thus I decided to keep it to
>>> ease testing on my side.
>>
>> Without REQUIRES line, "cygport cmus all" with above patch gives me:
>> ....
>>>>> cmus requires: cygwin libao4 libavcodec61 libavformat61 libavutil59 
>>>>> libcddb2 libcdio18 libcdio_cdda2 libdiscid0 libFLAC12 libiconv2 
>>>>> libmad0 libmodplug1 libmpcdec7 libncursesw10 libopusfile0 libpulse0 
>>>>> libswresample5 libvorbisfile3 libwavpack1
>>
>> I guess this is as you expect (if libav* are free from clang dependency),
>> isn't it?
>>
> 
> Yes, it looks good.
> 
> I'll drop the REQUIRES the next time I'll upload a package then.


Hello, I have a feature request/question for the cygport maintainer (not 
sure how those are normally handled)

cygport reports the required packages, but only after building the 
application.

My workflow is normally the following one:

Setup the cygwin environment for building and testing, download the 
sources, then in an offline environment, build and test.

Since "cygport cmus all" reports the required dependencies only after 
building, I have some difficulties in taking advantage of the listed 
packages...

I could imagine to have a "minimal cygwin environment" for executing 
"cygport cmus enlist-dependencies", and from the output create one 
cygwin environment for building, and one for testing, but if it needs to 
build the application, I do not see how to use it for bootstrapping an 
offline environment.

I could move the REQUIRES from the cygport file to somewhere else and 
use it only myself, but at that point, why not use the REQUIRES?

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019