All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/lua-debug: new package
@ 2018-12-28  0:37 james.hilliard1 at gmail.com
  2018-12-28  0:37 ` [Buildroot] [PATCH 2/3] package/lua-normalize: " james.hilliard1 at gmail.com
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: james.hilliard1 at gmail.com @ 2018-12-28  0:37 UTC (permalink / raw
  To: buildroot

From: James Hilliard <james.hilliard1@gmail.com>

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/Config.in                |  1 +
 package/lua-debug/Config.in      |  7 +++++++
 package/lua-debug/lua-debug.hash |  2 ++
 package/lua-debug/lua-debug.mk   | 16 ++++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/lua-debug/Config.in
 create mode 100644 package/lua-debug/lua-debug.hash
 create mode 100644 package/lua-debug/lua-debug.mk

diff --git a/package/Config.in b/package/Config.in
index c3e0691..324830d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -613,6 +613,7 @@ menu "Lua libraries/modules"
 	source "package/lua-csnappy/Config.in"
 	source "package/lua-curl/Config.in"
 	source "package/lua-datafile/Config.in"
+	source "package/lua-debug/Config.in"
 	source "package/lua-ev/Config.in"
 	source "package/lua-fifo/Config.in"
 	source "package/lua-flu/Config.in"
diff --git a/package/lua-debug/Config.in b/package/lua-debug/Config.in
new file mode 100644
index 0000000..4d9f368
--- /dev/null
+++ b/package/lua-debug/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUA_DEBUG
+	bool "lua-debug"
+	depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+	help
+	  Manage an overall debug state, and associated hint substates.
+
+	  http://lua-stdlib.github.io/_debug
diff --git a/package/lua-debug/lua-debug.hash b/package/lua-debug/lua-debug.hash
new file mode 100644
index 0000000..2c48711
--- /dev/null
+++ b/package/lua-debug/lua-debug.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 7f6b84283d4b78dafee17e7765dd5f1f8e75c3314169977f4dda0e7873616ce2  std._debug-1.0.1-1.src.rock
diff --git a/package/lua-debug/lua-debug.mk b/package/lua-debug/lua-debug.mk
new file mode 100644
index 0000000..e18bef7
--- /dev/null
+++ b/package/lua-debug/lua-debug.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# lua-debug
+#
+################################################################################
+
+LUA_DEBUG_VERSION_UPSTREAM = 1.0.1
+LUA_DEBUG_VERSION = $(LUA_DEBUG_VERSION_UPSTREAM)-1
+LUA_DEBUG_NAME_UPSTREAM = std._debug
+LUA_DEBUG_SUBDIR = _debug-$(LUA_DEBUG_VERSION_UPSTREAM)
+LUA_DEBUG_ROCKSPEC = $(LUA_DEBUG_NAME_UPSTREAM)-$(LUA_DEBUG_VERSION).rockspec
+LUA_DEBUG_SOURCE = $(LUA_DEBUG_NAME_UPSTREAM)-$(LUA_DEBUG_VERSION).src.rock
+LUA_DEBUG_LICENSE = MIT
+LUA_DEBUG_LICENSE_FILES = LICENSE.md
+
+$(eval $(luarocks-package))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/3] package/lua-normalize: new package
  2018-12-28  0:37 [Buildroot] [PATCH 1/3] package/lua-debug: new package james.hilliard1 at gmail.com
@ 2018-12-28  0:37 ` james.hilliard1 at gmail.com
  2018-12-28 14:33   ` François Perrad
  2018-12-28  0:37 ` [Buildroot] [PATCH 3/3] package/luaposix: bump version to 34.0.4 james.hilliard1 at gmail.com
  2018-12-28 14:32 ` [Buildroot] [PATCH 1/3] package/lua-debug: new package François Perrad
  2 siblings, 1 reply; 8+ messages in thread
From: james.hilliard1 at gmail.com @ 2018-12-28  0:37 UTC (permalink / raw
  To: buildroot

From: James Hilliard <james.hilliard1@gmail.com>

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/Config.in                        |  1 +
 package/lua-normalize/Config.in          | 13 +++++++++++++
 package/lua-normalize/lua-normalize.hash |  2 ++
 package/lua-normalize/lua-normalize.mk   | 14 ++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/lua-normalize/Config.in
 create mode 100644 package/lua-normalize/lua-normalize.hash
 create mode 100644 package/lua-normalize/lua-normalize.mk

diff --git a/package/Config.in b/package/Config.in
index 324830d..8d57086 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -623,6 +623,7 @@ menu "Lua libraries/modules"
 	source "package/lua-markdown/Config.in"
 	source "package/lua-messagepack/Config.in"
 	source "package/lua-msgpack-native/Config.in"
+	source "package/lua-normalize/Config.in"
 	source "package/lua-periphery/Config.in"
 	source "package/lua-sdl2/Config.in"
 	source "package/lua-stdlib/Config.in"
diff --git a/package/lua-normalize/Config.in b/package/lua-normalize/Config.in
new file mode 100644
index 0000000..d894d71
--- /dev/null
+++ b/package/lua-normalize/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LUA_NORMALIZE
+	bool "lua-normalize"
+	depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+	select BR2_PACKAGE_LUA_DEBUG # runtime
+	help
+	  This module can inject deterministic versions of core Lua
+	  functions that do not behave identically across all supported Lua
+	  implementations into your module's lexical environment.   Each
+	  function is as thin and fast a version as is possible in each Lua
+	  implementation, evaluating to the Lua C implementation with no
+	  overhead when semantics allow.
+
+	  https://lua-stdlib.github.io/normalize
diff --git a/package/lua-normalize/lua-normalize.hash b/package/lua-normalize/lua-normalize.hash
new file mode 100644
index 0000000..831528d
--- /dev/null
+++ b/package/lua-normalize/lua-normalize.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 50baac6fbcbc6bbe72b63ce0871ec36176d75c04dccc6e368590ba6ef107c67a  std.normalize-2.0.2-1.src.rock
diff --git a/package/lua-normalize/lua-normalize.mk b/package/lua-normalize/lua-normalize.mk
new file mode 100644
index 0000000..7ef9aa6
--- /dev/null
+++ b/package/lua-normalize/lua-normalize.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# lua-normalize
+#
+################################################################################
+
+LUA_NORMALIZE_VERSION_UPSTREAM = 2.0.2
+LUA_NORMALIZE_VERSION = $(LUA_NORMALIZE_VERSION_UPSTREAM)-1
+LUA_NORMALIZE_NAME_UPSTREAM = std.normalize
+LUA_NORMALIZE_SUBDIR = normalize-$(LUA_NORMALIZE_VERSION_UPSTREAM)
+LUA_NORMALIZE_LICENSE = MIT
+LUA_NORMALIZE_LICENSE_FILES = LICENSE.md
+
+$(eval $(luarocks-package))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 3/3] package/luaposix: bump version to 34.0.4
  2018-12-28  0:37 [Buildroot] [PATCH 1/3] package/lua-debug: new package james.hilliard1 at gmail.com
  2018-12-28  0:37 ` [Buildroot] [PATCH 2/3] package/lua-normalize: " james.hilliard1 at gmail.com
@ 2018-12-28  0:37 ` james.hilliard1 at gmail.com
  2018-12-28 14:38   ` François Perrad
  2018-12-28 14:32 ` [Buildroot] [PATCH 1/3] package/lua-debug: new package François Perrad
  2 siblings, 1 reply; 8+ messages in thread
From: james.hilliard1 at gmail.com @ 2018-12-28  0:37 UTC (permalink / raw
  To: buildroot

From: James Hilliard <james.hilliard1@gmail.com>

This version has a new dependency on lua-normalize.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/luaposix/Config.in     |  1 +
 package/luaposix/luaposix.hash |  2 +-
 package/luaposix/luaposix.mk   | 26 +++++---------------------
 3 files changed, 7 insertions(+), 22 deletions(-)

diff --git a/package/luaposix/Config.in b/package/luaposix/Config.in
index 91abcb9..f1e5cbd 100644
--- a/package/luaposix/Config.in
+++ b/package/luaposix/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LUAPOSIX
 	bool "luaposix"
 	depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+	select BR2_PACKAGE_LUA_NORMALIZE # runtime
 	# "bit32" is included in Lua 5.2+. luajit has an equivalent
 	# "bit" module, but since it has a different name, luaposix
 	# doesn't find it.
diff --git a/package/luaposix/luaposix.hash b/package/luaposix/luaposix.hash
index b3984c1..e219407 100644
--- a/package/luaposix/luaposix.hash
+++ b/package/luaposix/luaposix.hash
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 ba0bc343783fc33958cd02a68cdbfd65430152d9f297f7ed92678b1a305bd5d7  luaposix-34.0.1.tar.gz
+sha256 e262c91bc9f89bacb816a77499e5037ec39bf511d2474a9afca0f9282c2b357b  luaposix-34.0.4-1.src.rock
diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk
index 779e707..db0a4e7 100644
--- a/package/luaposix/luaposix.mk
+++ b/package/luaposix/luaposix.mk
@@ -4,27 +4,11 @@
 #
 ################################################################################
 
-LUAPOSIX_VERSION = 34.0.1
-LUAPOSIX_SITE = $(call github,luaposix,luaposix,release-v$(LUAPOSIX_VERSION))
+LUAPOSIX_VERSION_UPSTREAM = 34.0.4
+LUAPOSIX_VERSION = $(LUAPOSIX_VERSION_UPSTREAM)-1
+LUAPOSIX_NAME_UPSTREAM = luaposix
+LUAPOSIX_SUBDIR = luaposix-$(LUAPOSIX_VERSION_UPSTREAM)
 LUAPOSIX_LICENSE = MIT
 LUAPOSIX_LICENSE_FILES = LICENSE
-LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
 
-define LUAPOSIX_BUILD_CMDS
-	(cd $(@D); \
-		$(LUA_RUN) build-aux/luke \
-		CC="$(TARGET_CC)" \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		LUA_INCDIR=$(STAGING_DIR)/usr/include \
-	)
-endef
-
-define LUAPOSIX_INSTALL_TARGET_CMDS
-	(cd $(@D); \
-		$(LUA_RUN) build-aux/luke install \
-		INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
-		INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \
-	)
-endef
-
-$(eval $(generic-package))
+$(eval $(luarocks-package))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 1/3] package/lua-debug: new package
  2018-12-28  0:37 [Buildroot] [PATCH 1/3] package/lua-debug: new package james.hilliard1 at gmail.com
  2018-12-28  0:37 ` [Buildroot] [PATCH 2/3] package/lua-normalize: " james.hilliard1 at gmail.com
  2018-12-28  0:37 ` [Buildroot] [PATCH 3/3] package/luaposix: bump version to 34.0.4 james.hilliard1 at gmail.com
@ 2018-12-28 14:32 ` François Perrad
  2018-12-28 15:16   ` Thomas Petazzoni
  2 siblings, 1 reply; 8+ messages in thread
From: François Perrad @ 2018-12-28 14:32 UTC (permalink / raw
  To: buildroot

Le ven. 28 d?c. 2018 ? 01:37, <james.hilliard1@gmail.com> a ?crit :

> From: James Hilliard <james.hilliard1@gmail.com>
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/Config.in                |  1 +
>  package/lua-debug/Config.in      |  7 +++++++
>  package/lua-debug/lua-debug.hash |  2 ++
>  package/lua-debug/lua-debug.mk   | 16 ++++++++++++++++
>  4 files changed, 26 insertions(+)
>  create mode 100644 package/lua-debug/Config.in
>  create mode 100644 package/lua-debug/lua-debug.hash
>  create mode 100644 package/lua-debug/lua-debug.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index c3e0691..324830d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -613,6 +613,7 @@ menu "Lua libraries/modules"
>         source "package/lua-csnappy/Config.in"
>         source "package/lua-curl/Config.in"
>         source "package/lua-datafile/Config.in"
> +       source "package/lua-debug/Config.in"
>         source "package/lua-ev/Config.in"
>         source "package/lua-fifo/Config.in"
>         source "package/lua-flu/Config.in"
> diff --git a/package/lua-debug/Config.in b/package/lua-debug/Config.in
> new file mode 100644
> index 0000000..4d9f368
> --- /dev/null
> +++ b/package/lua-debug/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_LUA_DEBUG
> +       bool "lua-debug"
> +       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
> +       help
> +         Manage an overall debug state, and associated hint substates.
> +
> +         http://lua-stdlib.github.io/_debug
> diff --git a/package/lua-debug/lua-debug.hash
> b/package/lua-debug/lua-debug.hash
> new file mode 100644
> index 0000000..2c48711
> --- /dev/null
> +++ b/package/lua-debug/lua-debug.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 7f6b84283d4b78dafee17e7765dd5f1f8e75c3314169977f4dda0e7873616ce2
> std._debug-1.0.1-1.src.rock
> diff --git a/package/lua-debug/lua-debug.mk b/package/lua-debug/
> lua-debug.mk
> new file mode 100644
> index 0000000..e18bef7
> --- /dev/null
> +++ b/package/lua-debug/lua-debug.mk
> @@ -0,0 +1,16 @@
>
> +################################################################################
> +#
> +# lua-debug
>

This rock uses the namespace std.
So, in order to avoid future name collision, it must be named lua-std-debug

Fran?ois


> +#
>
> +################################################################################
> +
> +LUA_DEBUG_VERSION_UPSTREAM = 1.0.1
> +LUA_DEBUG_VERSION = $(LUA_DEBUG_VERSION_UPSTREAM)-1
> +LUA_DEBUG_NAME_UPSTREAM = std._debug
> +LUA_DEBUG_SUBDIR = _debug-$(LUA_DEBUG_VERSION_UPSTREAM)
> +LUA_DEBUG_ROCKSPEC =
> $(LUA_DEBUG_NAME_UPSTREAM)-$(LUA_DEBUG_VERSION).rockspec
> +LUA_DEBUG_SOURCE =
> $(LUA_DEBUG_NAME_UPSTREAM)-$(LUA_DEBUG_VERSION).src.rock
> +LUA_DEBUG_LICENSE = MIT
> +LUA_DEBUG_LICENSE_FILES = LICENSE.md
> +
> +$(eval $(luarocks-package))
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181228/c900b489/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/3] package/lua-normalize: new package
  2018-12-28  0:37 ` [Buildroot] [PATCH 2/3] package/lua-normalize: " james.hilliard1 at gmail.com
@ 2018-12-28 14:33   ` François Perrad
  0 siblings, 0 replies; 8+ messages in thread
From: François Perrad @ 2018-12-28 14:33 UTC (permalink / raw
  To: buildroot

Le ven. 28 d?c. 2018 ? 01:37, <james.hilliard1@gmail.com> a ?crit :

> From: James Hilliard <james.hilliard1@gmail.com>
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/Config.in                        |  1 +
>  package/lua-normalize/Config.in          | 13 +++++++++++++
>  package/lua-normalize/lua-normalize.hash |  2 ++
>  package/lua-normalize/lua-normalize.mk   | 14 ++++++++++++++
>  4 files changed, 30 insertions(+)
>  create mode 100644 package/lua-normalize/Config.in
>  create mode 100644 package/lua-normalize/lua-normalize.hash
>  create mode 100644 package/lua-normalize/lua-normalize.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 324830d..8d57086 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -623,6 +623,7 @@ menu "Lua libraries/modules"
>         source "package/lua-markdown/Config.in"
>         source "package/lua-messagepack/Config.in"
>         source "package/lua-msgpack-native/Config.in"
> +       source "package/lua-normalize/Config.in"
>         source "package/lua-periphery/Config.in"
>         source "package/lua-sdl2/Config.in"
>         source "package/lua-stdlib/Config.in"
> diff --git a/package/lua-normalize/Config.in
> b/package/lua-normalize/Config.in
> new file mode 100644
> index 0000000..d894d71
> --- /dev/null
> +++ b/package/lua-normalize/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_LUA_NORMALIZE
> +       bool "lua-normalize"
> +       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
> +       select BR2_PACKAGE_LUA_DEBUG # runtime
> +       help
> +         This module can inject deterministic versions of core Lua
> +         functions that do not behave identically across all supported Lua
> +         implementations into your module's lexical environment.   Each
> +         function is as thin and fast a version as is possible in each Lua
> +         implementation, evaluating to the Lua C implementation with no
> +         overhead when semantics allow.
> +
> +         https://lua-stdlib.github.io/normalize
> diff --git a/package/lua-normalize/lua-normalize.hash
> b/package/lua-normalize/lua-normalize.hash
> new file mode 100644
> index 0000000..831528d
> --- /dev/null
> +++ b/package/lua-normalize/lua-normalize.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 50baac6fbcbc6bbe72b63ce0871ec36176d75c04dccc6e368590ba6ef107c67a
> std.normalize-2.0.2-1.src.rock
> diff --git a/package/lua-normalize/lua-normalize.mk
> b/package/lua-normalize/lua-normalize.mk
> new file mode 100644
> index 0000000..7ef9aa6
> --- /dev/null
> +++ b/package/lua-normalize/lua-normalize.mk
> @@ -0,0 +1,14 @@
>
> +################################################################################
> +#
> +# lua-normalize
>

This rock uses the namespace std.
So, in order to avoid future name collision, it must be named
lua-std-normalize.

Fran?ois


> +#
>
> +################################################################################
> +
> +LUA_NORMALIZE_VERSION_UPSTREAM = 2.0.2
> +LUA_NORMALIZE_VERSION = $(LUA_NORMALIZE_VERSION_UPSTREAM)-1
> +LUA_NORMALIZE_NAME_UPSTREAM = std.normalize
> +LUA_NORMALIZE_SUBDIR = normalize-$(LUA_NORMALIZE_VERSION_UPSTREAM)
> +LUA_NORMALIZE_LICENSE = MIT
> +LUA_NORMALIZE_LICENSE_FILES = LICENSE.md
> +
> +$(eval $(luarocks-package))
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181228/f432138a/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 3/3] package/luaposix: bump version to 34.0.4
  2018-12-28  0:37 ` [Buildroot] [PATCH 3/3] package/luaposix: bump version to 34.0.4 james.hilliard1 at gmail.com
@ 2018-12-28 14:38   ` François Perrad
  0 siblings, 0 replies; 8+ messages in thread
From: François Perrad @ 2018-12-28 14:38 UTC (permalink / raw
  To: buildroot

Le ven. 28 d?c. 2018 ? 01:38, <james.hilliard1@gmail.com> a ?crit :

> From: James Hilliard <james.hilliard1@gmail.com>
>
> This version has a new dependency on lua-normalize.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/luaposix/Config.in     |  1 +
>  package/luaposix/luaposix.hash |  2 +-
>  package/luaposix/luaposix.mk   | 26 +++++---------------------
>  3 files changed, 7 insertions(+), 22 deletions(-)
>
> diff --git a/package/luaposix/Config.in b/package/luaposix/Config.in
> index 91abcb9..f1e5cbd 100644
> --- a/package/luaposix/Config.in
> +++ b/package/luaposix/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_LUAPOSIX
>         bool "luaposix"
>         depends on BR2_PACKAGE_HAS_LUAINTERPRETER
> +       select BR2_PACKAGE_LUA_NORMALIZE # runtime
>         # "bit32" is included in Lua 5.2+. luajit has an equivalent
>         # "bit" module, but since it has a different name, luaposix
>         # doesn't find it.
> diff --git a/package/luaposix/luaposix.hash
> b/package/luaposix/luaposix.hash
> index b3984c1..e219407 100644
> --- a/package/luaposix/luaposix.hash
> +++ b/package/luaposix/luaposix.hash
> @@ -1,2 +1,2 @@
>  # Locally calculated
> -sha256 ba0bc343783fc33958cd02a68cdbfd65430152d9f297f7ed92678b1a305bd5d7
> luaposix-34.0.1.tar.gz
> +sha256 e262c91bc9f89bacb816a77499e5037ec39bf511d2474a9afca0f9282c2b357b
> luaposix-34.0.4-1.src.rock
> diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk
> index 779e707..db0a4e7 100644
> --- a/package/luaposix/luaposix.mk
> +++ b/package/luaposix/luaposix.mk
> @@ -4,27 +4,11 @@
>  #
>
>  ################################################################################
>
> -LUAPOSIX_VERSION = 34.0.1
> -LUAPOSIX_SITE = $(call
> github,luaposix,luaposix,release-v$(LUAPOSIX_VERSION))
> +LUAPOSIX_VERSION_UPSTREAM = 34.0.4
> +LUAPOSIX_VERSION = $(LUAPOSIX_VERSION_UPSTREAM)-1
> +LUAPOSIX_NAME_UPSTREAM = luaposix
> +LUAPOSIX_SUBDIR = luaposix-$(LUAPOSIX_VERSION_UPSTREAM)
>  LUAPOSIX_LICENSE = MIT
>  LUAPOSIX_LICENSE_FILES = LICENSE
> -LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
>
> -define LUAPOSIX_BUILD_CMDS
> -       (cd $(@D); \
> -               $(LUA_RUN) build-aux/luke \
> -               CC="$(TARGET_CC)" \
> -               CFLAGS="$(TARGET_CFLAGS)" \
> -               LUA_INCDIR=$(STAGING_DIR)/usr/include \
> -       )
> -endef
> -
> -define LUAPOSIX_INSTALL_TARGET_CMDS
> -       (cd $(@D); \
> -               $(LUA_RUN) build-aux/luke install \
> -
>  INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
> -
>  INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \
> -       )
> -endef
> -
> -$(eval $(generic-package))
> +$(eval $(luarocks-package))
>

The luarocks infrastructure is given for the build.type=builtin.
luaposix uses the build.type=command which allows everything (and the weird
one).
So, I prefer that this package still use the generic infrastructure.

Fran?ois


> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181228/fd3d4ed3/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 1/3] package/lua-debug: new package
  2018-12-28 14:32 ` [Buildroot] [PATCH 1/3] package/lua-debug: new package François Perrad
@ 2018-12-28 15:16   ` Thomas Petazzoni
  2018-12-28 16:09     ` François Perrad
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2018-12-28 15:16 UTC (permalink / raw
  To: buildroot

Hello Fran?ois,

Thanks a lot for your feedback on this series.

On Fri, 28 Dec 2018 15:32:39 +0100, Fran?ois Perrad wrote:

> > +# lua-debug
> 
> This rock uses the namespace std.
> So, in order to avoid future name collision, it must be named lua-std-debug

Just for my own understanding, could you give a few more details about
this? We don't have any package today named lua-std-<something>, so I'm
interested in understanding this "namespace std" thing and the
namespace pollution issue.

Also, is your automated luarocks package generation logic
(http://patchwork.ozlabs.org/patch/1015895/) going to name such a
package lua-std-debug and not lua-debug ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 1/3] package/lua-debug: new package
  2018-12-28 15:16   ` Thomas Petazzoni
@ 2018-12-28 16:09     ` François Perrad
  0 siblings, 0 replies; 8+ messages in thread
From: François Perrad @ 2018-12-28 16:09 UTC (permalink / raw
  To: buildroot

Le ven. 28 d?c. 2018 ? 16:16, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
a ?crit :

> Hello Fran?ois,
>
> Thanks a lot for your feedback on this series.
>
> On Fri, 28 Dec 2018 15:32:39 +0100, Fran?ois Perrad wrote:
>
> > > +# lua-debug
> >
> > This rock uses the namespace std.
> > So, in order to avoid future name collision, it must be named
> lua-std-debug
>
> Just for my own understanding, could you give a few more details about
> this? We don't have any package today named lua-std-<something>, so I'm
> interested in understanding this "namespace std" thing and the
> namespace pollution issue.
>
>
The risk of collision is with `debug` and `normalize` which are very common
word, not with `std`.

On luarocks, their name are std._debug & std.normalize.
See https://luarocks.org/modules/gvvaughan/std._debug and
https://luarocks.org/modules/gvvaughan/std.normalize

Also, is your automated luarocks package generation logic
> (http://patchwork.ozlabs.org/patch/1015895/) going to name such a
> package lua-std-debug and not lua-debug ?
>

You could run :
    $ luarocks buildroot std._debug lua-std-debug

std._debug allows to find it on luarocks
lua-std-debug is our name on BR

Fran?ois


> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181228/f37187e7/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-28 16:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-28  0:37 [Buildroot] [PATCH 1/3] package/lua-debug: new package james.hilliard1 at gmail.com
2018-12-28  0:37 ` [Buildroot] [PATCH 2/3] package/lua-normalize: " james.hilliard1 at gmail.com
2018-12-28 14:33   ` François Perrad
2018-12-28  0:37 ` [Buildroot] [PATCH 3/3] package/luaposix: bump version to 34.0.4 james.hilliard1 at gmail.com
2018-12-28 14:38   ` François Perrad
2018-12-28 14:32 ` [Buildroot] [PATCH 1/3] package/lua-debug: new package François Perrad
2018-12-28 15:16   ` Thomas Petazzoni
2018-12-28 16:09     ` François Perrad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.