From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-86845-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B7B2D138334
	for <garchives@archives.gentoo.org>; Sun, 24 Mar 2019 18:46:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AA4C8E0AB2;
	Sun, 24 Mar 2019 18:46:11 +0000 (UTC)
Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 583AAE0970
	for <gentoo-dev@lists.gentoo.org>; Sun, 24 Mar 2019 18:46:11 +0000 (UTC)
Received: by mail-ot1-x32d.google.com with SMTP id c16so6124915otn.4
        for <gentoo-dev@lists.gentoo.org>; Sun, 24 Mar 2019 11:46:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=sender:date:from:to:subject:message-id:mail-followup-to:references
         :mime-version:content-disposition:in-reply-to:user-agent;
        bh=5legbeUswX2cxHMSkyWnjYOGGWHjNVKqs2jl9vSfSgg=;
        b=u87AEyHYY65eZ/HrnmA0cDKoYQBVeNQeH5ryD3KPrz2fH/QfU2wIXdGvJiRA+ReY/2
         Bra3l1W4nbdEyBftmij68N4XBmpiypzIIz3YRuJTFPgeja+UHSCZeYoSwUUNpAiBzIn8
         vTPJvW5jRc3KJGY+yh9xO3SEmoVVDLt9+QuPORTZXIza0/AneiYIz7RFdfoGDpSpOsI2
         Ww1/az9IEeeutL3qSCchWQc5UNIgX3izh7FznKP0zRkeBo7Qd3VJORBWaCiCk7AgctFf
         o9l7HJ+z7BCv6/sNREgJceD+K0wOKPJ9kt0ckPUBR/LlENd4oNzFogpvL/zrf5J//6k4
         Sr0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:sender:date:from:to:subject:message-id
         :mail-followup-to:references:mime-version:content-disposition
         :in-reply-to:user-agent;
        bh=5legbeUswX2cxHMSkyWnjYOGGWHjNVKqs2jl9vSfSgg=;
        b=q0rmcFAtBux0tNFYrF1qBy5WbuSOGgiUhcGl2SDJTg03H9/X4j9ilEjrGup3NVCnMN
         2syETmIRu8DVfdGZo7lXO0O4FfBojVWmN7AEe/A1XzgeslDwRRQCJxJhjvm6GR5MFe6s
         fC28lLN4vvJaUPDvsvlOcHffZP+VgF/ESIb2b68LsBWgH7XCjvMtR3mtLKpaj6kvHYh+
         Y1w9jKGPb05z5ZgZ6XKwi3FmbrIyi/UhoAzbIF64eXFyRRj3SCQh4gOcRHNLXaaUZohc
         jJLRcWK3XheAVt/PsNYFJM0qZFw55rf/nlSITGDP+LCm8yk40+tKLM8a9Xw1vK7/wd+o
         HIyQ==
X-Gm-Message-State: APjAAAWtLh9t59W2kHiI+Sfs2r/6aSSZESSl1EMb3BtRrVtEFshZyNDk
	oFudvP1ZrX/wEP6U7sUyaRl91TTm
X-Google-Smtp-Source: APXvYqxjUqrPDg01QDw6wbvCvFcXx5olcLe+NBYdYPBOkPLzPJuL6IPxCnRoyogHCbeFaUJSCNN9pA==
X-Received: by 2002:a9d:5cca:: with SMTP id r10mr1155233oti.21.1553453169855;
        Sun, 24 Mar 2019 11:46:09 -0700 (PDT)
Received: from linux1 (cpe-66-68-48-101.austin.res.rr.com. [66.68.48.101])
        by smtp.gmail.com with ESMTPSA id m15sm5503646otl.32.2019.03.24.11.46.07
        for <gentoo-dev@lists.gentoo.org>
        (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
        Sun, 24 Mar 2019 11:46:08 -0700 (PDT)
Sender: William Hubbs <w.d.hubbs@gmail.com>
Received: (nullmailer pid 28538 invoked by uid 1000);
	Sun, 24 Mar 2019 18:46:07 -0000
Date: Sun, 24 Mar 2019 13:46:07 -0500
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] the state of dev-lang/lua
Message-ID: <20190324184607.GA28283@linux1.home>
Mail-Followup-To: gentoo-dev@lists.gentoo.org
References: <20190323212327.GA24656@linux1.home>
 <20190324112426.GD30037@cloudsdale.the-delta.net.eu.org>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD"
Content-Disposition: inline
In-Reply-To: <20190324112426.GD30037@cloudsdale.the-delta.net.eu.org>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Archives-Salt: fa223766-7bf3-45e7-ac95-15e0e7b5280f
X-Archives-Hash: f2825d89d8eced8d51d4b29c17dc5981


--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 24, 2019 at 12:24:26PM +0100, contact@hacktivis.me wrote:
> [2019-03-23 16:23:27] William Hubbs:
> > The first thing is liblua as a shared library. If you are using lua
> > internally in a program, upstream strongly recommends not linking it
> > this way; it is supposed to be statically linked into the executable.
> > Because of this, and because of the amount of custom patching we do to
> > maintain liblua as a shared library, I plan to stop creating the shared
> > library.
>=20
> Pretty sure removing the shared version of liblua will cause a large
> amount of patching to be done in a lot of software that may not support
> static linking out of the box.

I will look into this, but I think you are talking about build systems
that don't read pkgconfig files or something similar.

>=20
> > I'm a bit undecided still about slotting lua. I'm sure we
> > need subslots so we can force rebuilds when new lua releases enter the
> > tree. However, I'm still unsure whether we need slots. I don't know of
> > many things in the tree that are locked to a specific version
> > of lua (there is only one package based on an irc conversation I
> > had this week).
> > Does anyone have any thoughts? Are there more packages in the tree that
> > are locked to a specific version of lua?
>=20
> There should be slotting of lua, for example in the few programs that
> I know will need it:
>=20
> - app-editors/vis::{lua,lanodanOverlay}: Requires >=3Dlua-5.2
> 	does not support luajit (incomplete 5.2 compatibility)

This example isn't really a slot, just a lower bound. This is pretty
common.
=20
> - media-video/mpv: requires lua:5.2 or luajit
> 	doesn=E2=80=99t seems to plan supporting 5.3[1]

This is more concerning, so I'll take a look at it.

>=20
> Also the lua overlay, which I would highly recommend using as a base
> has a slotted version of lua, instead of extending SLOT=3D"0".

There were many concerns about lua.eclass in the overlay when it was
presented here for inclusion in the tree, and it was never presented
again [1]. I also spoke with the previous maintainer of dev-lang/lua and
he was concerned about it.

William

[1] https://archives.gentoo.org/gentoo-dev/message/befce09046d0c80e3cbbee54=
3a378f59

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCXJfQaQAKCRBuVBb0MMRl
OLZ7AJ9Tt88kHByJJYsIhlENbRXuKVVFWwCdF6ldQmwcyVbC7K8ZA4jqSXVnpwY=
=vRK8
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--