DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45M8Idnj656714
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=G9r/9qAu
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28B6C382FAF4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1719044318;
	bh=wjKJsN44htm/DNJOgUJIl3TaTH5lKTy5UmglnLuvRpw=;
	h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=G9r/9qAusBTPImUoIPMeOGGAKDqsqYems3QiPOELZgSUfWZPTy02HYIoodnG8rcae
	 Uk1Sk3DO/vDraVsBA2VQkrnsLpUVVNp+oKZ8veZG3Dkn+QC/TjPyu0iGlNHpXWAzBa
	 rBBjVw37UoIfwaHgyKxu31FtLkgn+9er5k0YHlDw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C58E3858C98
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9C58E3858C98
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719044277; cv=none;
 b=RrYOKnBufK88KBc7LZkBm42QgkXrt5bIWfp9zCNnHGmWp1V6jRHaofLgMkTw/Zy+bKkB7JQfWpNPkgfNAPrb5LE8YbOAqZNop4TRnRbQGEpE50r95De+HtyMsRbhaWghYlgo7FHwbcVh6o+lc69Wl7/0u6dGxQJCySO+XBPSM7o=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1719044277; c=relaxed/simple;
 bh=xIfa/oouhyyc0bKiXrnWV9oruSY7vWTg4HJfpwZdB+Q=;
 h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
 b=VhHnZrOsjtHyjlpKBXwrTWVJe3QIHDEKpLVcgV18ukc2OVbyLzBHkYUDj3IrHc1q2Gdr7ifxLaNK4Qa7VDkA/ulWE7gIUqibe81/a3RSzdr9qAQYbmkh8su18wJz/2CTbp8tYyJ/iCy5RE5hBKQomIo0cpLe/lSCpBvejUkFX3I=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Sat, 22 Jun 2024 17:17:49 +0900
To: cygwin@cygwin.com
Subject: Re: Analyze dependencies of a cygwin package
Message-Id: <20240622171749.8f5c6212d92f991f3ca9b51f@nifty.ne.jp>
In-Reply-To: <d0ba9f25-f116-4c10-913b-beb835de5653@kircheis.it>
References: <07082870-22a4-47a6-8fec-4ef954d181d1@kircheis.it>
 <ff59d014-94ec-490d-980c-538177daf658@maxrnd.com>
 <a61a7379-a470-4bb8-9a93-fef3fa25f2c3@kircheis.it>
 <20240622072242.a4d73ac071285066af58f56a@nifty.ne.jp>
 <20240622092917.43a848baf5e90159357efcfb@nifty.ne.jp>
 <d0ba9f25-f116-4c10-913b-beb835de5653@kircheis.it>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
 SPF_HELO_PASS, 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@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin@cygwin.com>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Sat, 22 Jun 2024 07:36:19 +0200
Federico Kircheis wrote:
> ffmpeg, as far as I've could see, on Debian does not seem to depend 
> transitively on clang.

ffmpeg on fedora is built with opencl-enabled.
https://src.fedoraproject.org/rpms/ffmpeg/blob/rawhide/f/ffmpeg.spec#_702

I just followed to it. However, cygwin's OpenCL (ocl-icd) suppourts only
pocl as backend which depends on clang. Therefore, on the second thought,
enabling opencl for ffmpeg has more disadvantages than advantages.

I'll release ffmpeg 7.0.1-2 which disables opencl.

> 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?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

-- 
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
