From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [v4 1/2] luainterpreter: create virtual package
Date: Tue, 1 Oct 2013 09:31:22 +0200 [thread overview]
Message-ID: <20131001093122.48b1c5f4@skate> (raw)
In-Reply-To: <CAB0FRssEyA+HqrMGw4B-sEswJY7YAMqw0Jh+L6gpyE0TVCyB6A@mail.gmail.com>
Dear Fran?ois Perrad,
On Tue, 1 Oct 2013 09:27:48 +0200, Fran?ois Perrad wrote:
> A version for a virtual package is not mandatory.
> A virtual package is used to create a OR dependency.
> With luainterpreter, a Lua module (LuaSocket for example) depends on
> lua OR on luajit.
> Both Lua 5.1.5 and LuaJIT 2.0.2 provides a Lua 5.1 ABI/API compatible
> interpreter.
> The only effect of setting LUAINTERPRETER_VERSION is the name of the
> directory 'build/luainterpreter-5.1' instead of
> 'build/luainterpreter-undefined'.
Ok, makes sense.
> I don't like name containing 'undefined', but I'll be fine with a BR
> convention what says :
> - all virtual packages use 'virtual' as version.
I probably haven't thought about all the implications, but it indeed
looks like an interesting suggestion. Virtual packages are anyway
something that we should progressively formalize through a new section
in the documentation.
> I've already did some experiments with the Lua 5.2 serie in my own
> repository, see https://github.com/fperrad/br/tree/lua5.2
So should we package Lua 5.1 and 5.2 separately, because Lua modules
are only compatible with 5.1 or 5.2, or can we keep the same package
for both Lua versions?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-01 7:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 8:35 [Buildroot] [v4 1/2] luainterpreter: create virtual package Francois Perrad
2013-08-14 8:35 ` [Buildroot] [v4 2/2] luajit: allow to build Lua extensions without lua Francois Perrad
2013-09-14 8:09 ` [Buildroot] [v4 1/2] luainterpreter: create virtual package François Perrad
2013-09-30 18:31 ` Frank Hunleth
2013-09-30 20:54 ` Thomas Petazzoni
2013-10-01 7:27 ` François Perrad
2013-10-01 7:31 ` Thomas Petazzoni [this message]
2013-10-01 10:47 ` [Buildroot] [UNSURE]Re: " François Perrad
2013-10-01 12:10 ` Thomas Petazzoni
2013-10-01 15:59 ` François Perrad
2013-10-01 16:06 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131001093122.48b1c5f4@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox