1 |
On Sun, Mar 24, 2019 at 12:24:26PM +0100, contact@×××××××××.me wrote: |
2 |
> [2019-03-23 16:23:27] William Hubbs: |
3 |
> > The first thing is liblua as a shared library. If you are using lua |
4 |
> > internally in a program, upstream strongly recommends not linking it |
5 |
> > this way; it is supposed to be statically linked into the executable. |
6 |
> > Because of this, and because of the amount of custom patching we do to |
7 |
> > maintain liblua as a shared library, I plan to stop creating the shared |
8 |
> > library. |
9 |
> |
10 |
> Pretty sure removing the shared version of liblua will cause a large |
11 |
> amount of patching to be done in a lot of software that may not support |
12 |
> static linking out of the box. |
13 |
|
14 |
I will look into this, but I think you are talking about build systems |
15 |
that don't read pkgconfig files or something similar. |
16 |
|
17 |
> |
18 |
> > I'm a bit undecided still about slotting lua. I'm sure we |
19 |
> > need subslots so we can force rebuilds when new lua releases enter the |
20 |
> > tree. However, I'm still unsure whether we need slots. I don't know of |
21 |
> > many things in the tree that are locked to a specific version |
22 |
> > of lua (there is only one package based on an irc conversation I |
23 |
> > had this week). |
24 |
> > Does anyone have any thoughts? Are there more packages in the tree that |
25 |
> > are locked to a specific version of lua? |
26 |
> |
27 |
> There should be slotting of lua, for example in the few programs that |
28 |
> I know will need it: |
29 |
> |
30 |
> - app-editors/vis::{lua,lanodanOverlay}: Requires >=lua-5.2 |
31 |
> does not support luajit (incomplete 5.2 compatibility) |
32 |
|
33 |
This example isn't really a slot, just a lower bound. This is pretty |
34 |
common. |
35 |
|
36 |
> - media-video/mpv: requires lua:5.2 or luajit |
37 |
> doesn’t seems to plan supporting 5.3[1] |
38 |
|
39 |
This is more concerning, so I'll take a look at it. |
40 |
|
41 |
> |
42 |
> Also the lua overlay, which I would highly recommend using as a base |
43 |
> has a slotted version of lua, instead of extending SLOT="0". |
44 |
|
45 |
There were many concerns about lua.eclass in the overlay when it was |
46 |
presented here for inclusion in the tree, and it was never presented |
47 |
again [1]. I also spoke with the previous maintainer of dev-lang/lua and |
48 |
he was concerned about it. |
49 |
|
50 |
William |
51 |
|
52 |
[1] https://archives.gentoo.org/gentoo-dev/message/befce09046d0c80e3cbbee543a378f59 |