Skip to content

Introduce the luarocks package infrastructure

Yann E. MORIN buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest9 patches 0 repliesNew
  2. v49 of 10 patches 0 repliesSuperseded

Changes in v6 from the cover letter

- fix dependency of luasql-sqlite3 on sqlite (me)
- rebased on top of master (me)

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9luainterpreter: create virtual packagepackage/Config.in package/lbase64/Config.in package/lbase64/lbase64.mk +24 more+52 -120 replies
2/9luajit: allow to build Lua extensions without luapackage/luajit/luajit-05-install-inc.patch+17 -00 replies
3/9lua*: restore version in module pathspackage/cgilua/cgilua.mk package/copas/copas.mk package/coxpcall/coxpcall.mk +18 more+30 -720 replies
4/9luarocks: new packagepackage/luarocks/luarocks-0001-build-minimal.patch package/luarocks/luarocks-0002-unpack.patch package/luarocks/luarocks.mk+81 -00 replies
5/9luarocks: new infrastructureConfig.in Makefile package/Makefile.in +2 more+93 -00 replies
6/9lua-cjson: restore official nameConfig.in.legacy package/Config.in package/lua-cjson/Config.in +1 more+18 -120 replies
7/9luasql-sqlite3: renamed like with LuaRocksConfig.in.legacy package/Config.in package/luasql-sqlite3/Config.in +3 more+50 -570 replies
8/9lua*: refactor with luarocks infrastructurepackage/cgilua/cgilua.mk package/copas/copas.mk package/lbase64/lbase64.mk +12 more+50 -2140 replies
9/9manual: adding packages luarocksdocs/manual/adding-packages-luarocks.txt docs/manual/adding-packages.txt+95 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchThomas Petazzoni
1/9
2/9
3/9
4/9
5/9
6/9R-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [Buildroot] [PATCH 0/9 v6] Introduce the luarocks package infrastructure

From: "Yann E. MORIN" <[email protected]>

Hello All!

This is a respin of the LuaRocks infrastrucutre by Fran?ois Perrad, rebased on-top of current master, and with some changes suggested by Thomas, plus my own.

Fran?ois, care to handle the remaining comments by Thomas, that I could not address (since you are more qualified to reply than I am)?

Changes v5 -> v6:
- fix dependency of luasql-sqlite3 on sqlite (me)
- rebased on top of master (me)

Changes v4 -> v5:
- apply some of Thomas' suggestions:
http://lists.busybox.net/pipermail/buildroot/2013-December/085217.html
and following messages
- rebase on-top current master (me)
- change luainterpreter to a package-defined provider (me)

Regards,
Yann E. MORIN.

----------------------------------------------------------------
Francois Perrad (9):
luainterpreter: create virtual package
luajit: allow to build Lua extensions without lua lua*: restore version in module paths
luarocks: new package
luarocks: new infrastructure
lua-cjson: restore official name
luasql-sqlite3: renamed like with LuaRocks lua*: refactor with luarocks infrastructure
manual: adding packages luarocks

 Config.in                                          |  8 ++
 Config.in.legacy                                   | 14 ++++
 Makefile                                           |  1 +
 docs/manual/adding-packages-luarocks.txt           | 93 ++++++++++++++++++++++
 docs/manual/adding-packages.txt                    |  2 +
 package/Config.in                                  |  7 +-
 package/Makefile.in                                |  1 +
 package/cgilua/cgilua.mk                           |  9 +--
 package/copas/copas.mk                             | 10 +--
 package/coxpcall/coxpcall.mk                       |  2 +-
 package/lbase64/Config.in                          |  1 +
 package/lbase64/lbase64.mk                         | 20 +----
 package/{luacjson => lua-cjson}/Config.in          |  5 +-
 package/lua-cjson/lua-cjson.mk                     | 12 +++
 package/lua-ev/Config.in                           |  1 +
 package/lua-ev/lua-ev.mk                           |  4 +-
 package/lua-msgpack-native/Config.in               |  1 +
 package/lua-msgpack-native/lua-msgpack-native.mk   |  4 +-
 package/lua/Config.in                              |  4 +
 package/lua/lua-01-root-path.patch                 | 21 +----
 package/luabitop/luabitop.mk                       | 20 ++---
 package/luacjson/luacjson.mk                       | 27 -------
 package/luaexpat/Config.in                         |  1 +
 package/luaexpat/luaexpat.mk                       | 27 +------
 package/luaexpatutils/luaexpatutils.mk             |  2 +-
 package/luafilesystem/Config.in                    |  1 +
 .../luafilesystem-without_large_file.patch         |  8 +-
 package/luafilesystem/luafilesystem.mk             | 18 +----
 package/luainterpreter/Config.in                   |  6 ++
 package/luainterpreter/luainterpreter.mk           | 10 +++
 package/luajit/Config.in                           |  8 ++
 package/luajit/luajit-01-root-path.patch           | 22 -----
 package/luajit/luajit-05-install-inc.patch         | 17 ++++
 package/luaposix/Config.in                         |  1 +
 package/luaposix/luaposix.mk                       |  4 +-
 package/luarocks/luarocks-0001-build-minimal.patch | 17 ++++
 package/luarocks/luarocks-0002-unpack.patch        | 24 ++++++
 package/luarocks/luarocks.mk                       | 42 ++++++++++
 package/luasec/Config.in                           |  1 +
 package/luasec/luasec.mk                           | 25 ++----
 package/luasocket/Config.in                        |  1 +
 package/luasocket/luasocket.mk                     |  6 +-
 package/luasql-sqlite3/Config.in                   |  9 +++
 package/luasql-sqlite3/luasql-sqlite3.mk           | 13 +++
 package/luasql/Config.in                           | 21 -----
 package/luasql/luasql.mk                           | 35 --------
 package/orbit/orbit-01-fix-installation.patch      | 26 ------
 package/orbit/orbit.mk                             | 16 ++--
 package/pkg-luarocks.mk                            | 81 +++++++++++++++++++
 package/rings/Config.in                            |  1 +
 package/rings/rings.mk                             | 15 +---
 package/wsapi/wsapi.mk                             | 11 +--
 package/xavante/xavante.mk                         | 11 +--
 53 files changed, 433 insertions(+), 314 deletions(-)
 create mode 100644 docs/manual/adding-packages-luarocks.txt
 rename package/{luacjson => lua-cjson}/Config.in (82%)
 create mode 100644 package/lua-cjson/lua-cjson.mk
 delete mode 100644 package/luacjson/luacjson.mk
 create mode 100644 package/luainterpreter/Config.in
 create mode 100644 package/luainterpreter/luainterpreter.mk
 delete mode 100644 package/luajit/luajit-01-root-path.patch
 create mode 100644 package/luajit/luajit-05-install-inc.patch
 create mode 100644 package/luarocks/luarocks-0001-build-minimal.patch
 create mode 100644 package/luarocks/luarocks-0002-unpack.patch
 create mode 100644 package/luarocks/luarocks.mk
 create mode 100644 package/luasql-sqlite3/Config.in
 create mode 100644 package/luasql-sqlite3/luasql-sqlite3.mk
 delete mode 100644 package/luasql/Config.in
 delete mode 100644 package/luasql/luasql.mk
 delete mode 100644 package/orbit/orbit-01-fix-installation.patch
 create mode 100644 package/pkg-luarocks.mk
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'