From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id 01FD23857832 for ; Fri, 15 Jan 2021 23:16:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 01FD23857832 Received: by mail-pl1-x636.google.com with SMTP id x18so5479378pln.6 for ; Fri, 15 Jan 2021 15:16:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=rEKvQPIdtERvJwmBcew1mwp7IPCSKhI2Jxv5+TsRciM=; b=OSZ/2R3eAQpLIObi1NDM8N+l5QRGZjvVTzrbgXyvu2MwQf62UuMUOQmcCEtIxHVv4R MkH07YV+0my9BAQ2HRpdxgHRB+4bW6CIIpKoIa5iG6KX2LcH8iCoDIzBqiRu94kaFr3e EwyFQsV0s+CN8YAP0EFj6oPbMjtJ5Z+XeKfQqybe2K1ji9C+Jmk2NsTiOkvI9eQczX8X mUxk7lLjxGQfm9qmicfIPVTg1D4ZWrRb5WkMQT1S4X52+o6+dgu2mEx7aAbMxV9UUWF1 fIla+M8sZUjpELuzRTI0+IXILlhD9E5ATxnrQSN6dXWKfK1Cu+rtYpsBAGg4Sfkhqy2c 1LrQ== X-Gm-Message-State: AOAM53093oW2A07peVOEZVotAvYYMdRv25X6YlgdDeayT4aharskyPW/ tLPw5S61ZDUTKnrhzW01FTL+kl6nxBQ= X-Google-Smtp-Source: ABdhPJxjFs0Jtbefz5DkekXkE2GbV0ED6HOeP4OmINbMTHl2fGdWUI0DyzD5wX9Iv0HaOTLXLG1PjA== X-Received: by 2002:a17:90b:3892:: with SMTP id mu18mr13086999pjb.143.1610752585667; Fri, 15 Jan 2021 15:16:25 -0800 (PST) Received: from [192.168.3.11] ([2400:2411:aa20:4300:f160:85e4:eeb:ed5e]) by smtp.gmail.com with ESMTPSA id t206sm8849081pgb.84.2021.01.15.15.16.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2021 15:16:24 -0800 (PST) Date: Sat, 16 Jan 2021 08:16:24 +0900 From: Lemures Lemniscati To: cygwin-apps@cygwin.com Subject: Re: [PATCH cygport] A patch to add a flag __SKIP_LIST_DEPS_LUA In-Reply-To: <87mtxarmsu.fsf@Rainer.invalid> References: <20210115190630.C2D4.50F79699@gmail.com> <87mtxarmsu.fsf@Rainer.invalid> Message-Id: <20210116081623.C2D8.50F79699@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.75.02 [ja] X-Antivirus: Avast (VPS 210115-4, 2021/01/16), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, 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 23:16:28 -0000 On Fri, 15 Jan 2021 21:02:25 +0100, Achim Gratz > 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. Thank you, Achim. I think it is what I'm longing for. And it works. What I'd like to do is to have both lua5.3 and lua5.4 be installed, and alternatives make a symbolic link to lua5.3 or lua5.4 (new packages lua5.3-5.3.6-1 and lua5.4-5.4.2-1 which I try packaging. And I'm trying to package luarocks for lua5.3 and lua5.4 (lua5.3-luarocks and lua5.4-luarocks) by a single cygport file. Regards, Lem