From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id B9BC639878CC for ; Fri, 15 Jan 2021 20:02:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B9BC639878CC Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.33]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 5082B120B3D for ; Fri, 15 Jan 2021 21:02:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1610740955; bh=LBCUug9tIsLAb1t5MVjq5rStWr/Hn7d8BAOFfARjOUY=; h=From:To:Subject:References:Date:In-Reply-To; b=pKhhKp2tv4t8HgALaUMOqvUxItpvXdwr0M84J0s1Brsa1XrTAjjhYjzcKbPTTutQE 9oun5PwFDcy8arl2/i9E1tUumREI13/37A9Q45rNhCrc2Z283AjCQ22AblLPjpisyj B4jqFhCYoY/bBpB4FmGr82pmg0yM5Mcxlj3eqj3U= Received: from Gertrud (p54a0ca05.dip0.t-ipconnect.de [84.160.202.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id CF83714023E for ; Fri, 15 Jan 2021 20:02:34 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH cygport] A patch to add a flag __SKIP_LIST_DEPS_LUA References: <20210115190630.C2D4.50F79699@gmail.com> Date: Fri, 15 Jan 2021 21:02:25 +0100 In-Reply-To: <20210115190630.C2D4.50F79699@gmail.com> (Lemures Lemniscati via Cygwin-apps's message of "Fri, 15 Jan 2021 19:06:32 +0900") Message-ID: <87mtxarmsu.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1285 X-purgate-ID: 155817::1610740954-00005EB2-82B4F6B9/0/0 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Fri, 15 Jan 2021 20:02:39 -0000 Lemures Lemniscati via Cygwin-apps writes: > This is a fixed patch for cygport: > > I'd like to apply alternatives to lua packages to have different > versions of lua being installed. But, in such cases, current > __list_deps() might pick wrong dependencies. > > And, this is a patch to add a flag __SKIP_LIST_DEPS_LUA to skip > __list_deps() detecting depedency on lua, for the time being. Your patch is overshooting your goal I'd think. What you likely want instead is to specify which lua to use in setting up the luapaths variable so that the correct dependencies get extracted. > I think it will do no harm. For a more general facility of suppressing unwanted dependencies see: https://repo.or.cz/cygport/rpm-style.git/commitdiff/83b4df817b81fe39257e59fe882b76ca18a80d7c https://repo.or.cz/cygport/rpm-style.git/commitdiff/d447a7553d93390f7eb3814216640ea6a2afdd4a I needed this specifically for being able to split the perl_base package off perl and switching from manual to automatic generation of the dependency on the perl5_0xy provide. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs