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 B947C3861036 for ; Sat, 16 Jan 2021 06:51:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B947C3861036 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.34]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id D939612362B for ; Sat, 16 Jan 2021 07:50:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1610779859; bh=WXJxLlHftK/AF9JRzo0FLRAP4OEuXkR3ddxNhABQ2/M=; h=From:To:Subject:References:Date:In-Reply-To; b=TG9/FBi1HQCBKov6qXcken2ngsGxcPmJE60O3gJ4dH0ZtA5rSXfuo1ks0eBUT8Pof iguA5rG41WKfeAPKdIAsmc+dxSwGTVO9QkWc/FwCsRawWVZaFvZh9dLqAmovF9HorV H8IfcuZQYKhadMzDf0az5qNTHlwhhaX6HxC+az6k= Received: from Otto (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 7728C141055 for ; Sat, 16 Jan 2021 06:50:59 +0000 (UTC) From: ASSI 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> <87mtxarmsu.fsf@Rainer.invalid> <20210116081623.C2D8.50F79699@gmail.com> Date: Sat, 16 Jan 2021 07:50:52 +0100 In-Reply-To: <20210116081623.C2D8.50F79699@gmail.com> (Lemures Lemniscati via Cygwin-apps's message of "Sat, 16 Jan 2021 08:16:24 +0900") Message-ID: <877dodbcj7.fsf@Otto.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: 1735 X-purgate-ID: 155817::1610779859-00003440-9F195901/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, 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: Sat, 16 Jan 2021 06:51:02 -0000 Lemures Lemniscati via Cygwin-apps writes: > 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. Multi-version installations are not well supported by setup or cygwin yet, but the alternatives anyway only address the question of how to set the default version for the user. For building packages you'd need to specify which version to use each time you build something, so any occurences of plain "lua" (from PATH) would need to be replaced with the expansion of some variable that would be set appropriately when entering pkg_info. > 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. The packages should be named lua53-luarocks and lua54-luarocks (no dot in the version number), like OpenSUSE (they seem to be the only distribution with a multi-version lua and that particular naming scheme you've chosen). A different question is if you really want to package this particular feature. Just like all the other "package managers" that come with a specific language or interpreter I'd expect this one to need (maybe extensive) modifications to work correctly on Cygwin, especially if it ends up building dynamic objects. That's one reason I discourage the use of CPAN on Cygwin, since folks tend to shoot themself into the foot more often than not by using it. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds