From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10119 invoked by alias); 9 Nov 2017 14:27:36 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 10101 invoked by uid 89); 9 Nov 2017 14:27:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=complement, urgent, Hx-spam-relays-external:ESMTPA, HContent-Transfer-Encoding:8bit X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Nov 2017 14:27:34 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BB106214DF for ; Thu, 9 Nov 2017 09:27:32 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Thu, 09 Nov 2017 09:27:32 -0500 X-ME-Sender: Received: from [192.168.1.102] (host86-162-230-154.range86-162.btcentralplus.com [86.162.230.154]) by mail.messagingengine.com (Postfix) with ESMTPA id 6CE5624990 for ; Thu, 9 Nov 2017 09:27:32 -0500 (EST) Subject: Re: [RFC] calm, setup: per-version requires To: cygwin-apps@cygwin.com References: <87375tmb55.fsf@Rainer.invalid> From: Jon Turney Message-ID: Date: Thu, 09 Nov 2017 14:27:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87375tmb55.fsf@Rainer.invalid> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2017-11/txt/msg00033.txt.bz2 On 05/11/2017 07:34, Achim Gratz wrote: > With the possibility of having more than three versions in setup.ini and > per-version hint files, the need for per-version requires is getting > more urgent. Currently the requires from the corresponding hint files Since it's been needed since ~2000, it could hardly be less urgent :) > get merged, which leads to abominations like these (from mosh): > > requires: … libprotobuf13 libprotobuf14 libprotobuf8 … > > I suggest that the current requires: line is kept to contain the > intersection of all hint files and an additional requires: line in each > version group lists the relative complement of the corresponding hint > file and the non-versioned requires: line. It may be necessary to Yeah, I guess we could generate requires: line in each version section now, and this might work with current setup. I don't think this did anything useful prior to [1] being fixed. [1] https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;a=commitdiff;h=78e4c7d7c8be4698d362d204aacfe701f6503359;hp=60b4f6caa5c0bcadaf304620a31e37f77f56b9bf > rename the requires: token to something else in order to ease parsing, > maybe something like requires+: to show that these are in addition to > the usual requires: line? The libsolv branch implements per-version '[dD]epends:' headers as per [2] (which may also contain a version relation) [2] https://sourceware.org/cygwin-apps/setup.ini.html