Skip to contentSkip to conversation

lua : fix autobuild.buildroot

PATCH New Francois Perrad 3 participants 16 messages Jul 16, 2012 – Jul 17, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 lua : fix autobuild.buildroot

BR2_PACKAGE_LUA_SHARED_LIBRARY is an option for install, not for build

---
 package/lua/lua.mk |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
package/lua/lua.mk +1 -4
index baa459c..2fc838b 100644
@@ -8,10 +8,7 @@ LUA_VERSION = 5.1.5
 LUA_SITE = http://www.lua.org/ftp
 LUA_INSTALL_STAGING = YES
 
-ifeq ($(BR2_PACKAGE_LUA_SHARED_LIBRARY),y)
-	LUA_MYCFLAGS += -fPIC
-endif
-
+LUA_MYCFLAGS += -fPIC
 LUA_MYLIBS += -ldl
 
 ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/5 lua : don't install static library in target

---
 package/lua/lua.mk |    5 -----
 1 file changed, 5 deletions(-)
package/lua/lua.mk +0 -5
index 2fc838b..ab9a1a2 100644
@@ -79,11 +79,6 @@ define LUA_INSTALL_LIBRARY
 	$(INSTALL) $(@D)/src/liblua.so.$(LUA_VERSION) \
 		$(TARGET_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
 	ln -sf liblua.so.$(LUA_VERSION) $(TARGET_DIR)/usr/lib/liblua.so
-	$(INSTALL) $(@D)/src/liblua.a $(TARGET_DIR)/usr/lib/liblua.a
-endef
-else
-define LUA_INSTALL_LIBRARY
-	$(INSTALL) $(@D)/src/liblua.a $(TARGET_DIR)/usr/lib/liblua.a
 endef
 endif
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/5 lua : don't install static library in target

Le Mon, 16 Jul 2012 15:45:49 +0200,
Francois Perrad <[email protected]> a ?crit :

Quoted 13 lines
---
 package/lua/lua.mk |    5 -----
 1 file changed, 5 deletions(-)
package/lua/lua.mk +0 -0
index 2fc838b..ab9a1a2 100644
@@ -79,11 +79,6 @@ define LUA_INSTALL_LIBRARY
 	$(INSTALL) $(@D)/src/liblua.so.$(LUA_VERSION) \
 		$(TARGET_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
 	ln -sf liblua.so.$(LUA_VERSION)

$(TARGET_DIR)/usr/lib/liblua.so

package/lua/lua.mk define LUA_INSTALL_LIBRARY · line 83

Quoted 7 lines
package/lua/lua.mk +0 -5
-	$(INSTALL) $(@D)/src/liblua.a $(TARGET_DIR)/usr/lib/liblua.a
-endef
-else
-define LUA_INSTALL_LIBRARY
-	$(INSTALL) $(@D)/src/liblua.a $(TARGET_DIR)/usr/lib/liblua.a
 endef
 endif

Well, even though not respected by all packages, the rule is normally to install all .a, .h files and everything to the target, since the target-finalize thing in the Makefile gets rid of .h and .a files when BR2_HAVE_DEVFILES is not selected.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 3/5 lua : don't install shared library in staging

In reply to Francois Perrad

dead code, LUA_INSTALL_STAGING_SHARED_LIB not used

---
 package/lua/lua.mk |    8 --------
 1 file changed, 8 deletions(-)
package/lua/lua.mk +0 -8
index ab9a1a2..5b8022a 100644
@@ -42,14 +42,6 @@ define HOST_LUA_BUILD_CMDS
 	PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
 endef
 
-ifeq ($(BR2_PACKAGE_LUA_SHARED_LIBRARY),y)
-define LUA_INSTALL_STAGING_SHARED_LIB
-	$(INSTALL) -D $(@D)/src/liblua.so.$(LUA_VERSION) \
-		$(STAGING_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
-	ln -sf liblua.so.$(LUA_VERSION) $(STAGING_DIR)/usr/lib/liblua.so
-endef
-endif
-
 define LUA_INSTALL_STAGING_CMDS
 	$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
 		$(STAGING_DIR)/usr/lib/pkgconfig/lua.pc
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 3/5 lua : don't install shared library in staging

Le Mon, 16 Jul 2012 15:45:50 +0200,
Francois Perrad <[email protected]> a ?crit :

Quoted 19 lines

dead code, LUA_INSTALL_STAGING_SHARED_LIB not used

---
 package/lua/lua.mk |    8 --------
 1 file changed, 8 deletions(-)
package/lua/lua.mk +0 -5
index ab9a1a2..5b8022a 100644
@@ -42,14 +42,6 @@ define HOST_LUA_BUILD_CMDS
 	PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
 endef
 
-ifeq ($(BR2_PACKAGE_LUA_SHARED_LIBRARY),y)
-define LUA_INSTALL_STAGING_SHARED_LIB
-	$(INSTALL) -D $(@D)/src/liblua.so.$(LUA_VERSION) \
-		$(STAGING_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
-	ln -sf liblua.so.$(LUA_VERSION)

$(STAGING_DIR)/usr/lib/liblua.so -endef

package/lua/lua.mk define HOST_LUA_BUILD_CMDS · line 47

Quoted 5 lines
package/lua/lua.mk +0 -2
-endif
-
 define LUA_INSTALL_STAGING_CMDS
 	$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
 		$(STAGING_DIR)/usr/lib/pkgconfig/lua.pc

Doh? The code is probably dead, but the right thing here is not to remove, but to make it work: the liblua.so.* files *SHOULD* definitely be installed in the staging directory, just like all other shared libraries. They are needed so that other packages (that rely on the Lua shared library) can be linked against this library.

The installation code in this package tries to be smart, but is in fact very complicated. It should just:

* Install the shared library + .pc file + .h files + .a file to both the staging directory and target directory, unconditionally

* Install the Lua compiler in the target directory if the compiler is enabled in the config

* Install the Lua interpreter in the target directory if the interpreter is enabled in the config.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH 4/5 lua : refactor with POST_PATH_HOOKS

In reply to Francois Perrad
---
 package/lua/lua.mk |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
package/lua/lua.mk +12 -4
index 5b8022a..04c47fc 100644
@@ -23,9 +23,19 @@ HOST_LUA_DEPENDENCIES =
 HOST_LUA_MYCFLAGS = -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX
 HOST_LUA_MYLIBS = -ldl
 
+define LUA_PREFIX_FIX_PKG_CONFIG
+	$(SED) 's/\/usr\/local/\/usr/' $(@D)/etc/lua.pc
+endef
+LUA_POST_PATCH_HOOKS += LUA_PREFIX_FIX_PKG_CONFIG
+HOST_LUA_POST_PATCH_HOOKS += LUA_PREFIX_FIX_PKG_CONFIG
+
+define LUA_OPTIM_FIX_MAKEFILE
+	$(SED) 's/-O2//' $(@D)/src/Makefile
+endef
+LUA_POST_PATCH_HOOKS += LUA_OPTIM_FIX_MAKEFILE
+HOST_LUA_POST_PATCH_HOOKS += LUA_OPTIM_FIX_MAKEFILE
+
 define LUA_BUILD_CMDS
-	sed -i -e 's/-O2//' $(@D)/src/Makefile
-	sed -i -e 's/\/usr\/local/\/usr/' $(@D)/etc/lua.pc
 	$(MAKE) \
 	CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \
 	MYCFLAGS="$(TARGET_CFLAGS) $(LUA_MYCFLAGS)" \
@@ -34,8 +44,6 @@ define LUA_BUILD_CMDS
 endef
 
 define HOST_LUA_BUILD_CMDS
-	sed -i -e 's/-O2//' $(@D)/src/Makefile
-	sed -i -e 's/\/usr\/local/\/usr/' $(@D)/etc/lua.pc
 	$(MAKE) \
 	MYCFLAGS="$(HOST_LUA_MYCFLAGS)" \
 	MYLIBS="$(HOST_LUA_MYLIBS)" \
Signature · 1 line
1.7.9.5
#6 lore raw

PATCH 4/5 lua : refactor with POST_PATH_HOOKS

Le Mon, 16 Jul 2012 15:45:51 +0200,
Francois Perrad <[email protected]> a ?crit :

package/lua/lua.mk HOST_LUA_DEPENDENCIES = · line 36

Quoted 11 lines
package/lua/lua.mk +11 -0
+define LUA_PREFIX_FIX_PKG_CONFIG
+	$(SED) 's/\/usr\/local/\/usr/' $(@D)/etc/lua.pc
+endef
+LUA_POST_PATCH_HOOKS += LUA_PREFIX_FIX_PKG_CONFIG
+HOST_LUA_POST_PATCH_HOOKS += LUA_PREFIX_FIX_PKG_CONFIG
+
+define LUA_OPTIM_FIX_MAKEFILE
+	$(SED) 's/-O2//' $(@D)/src/Makefile
+endef
+LUA_POST_PATCH_HOOKS += LUA_OPTIM_FIX_MAKEFILE
+HOST_LUA_POST_PATCH_HOOKS += LUA_OPTIM_FIX_MAKEFILE

It sounds odd to me to have a patch to fix the /usr prefix in src/luaconf.h on one side, and on the other side, fix other problems by using sed in the .mk file. Either one or the other, but not both in the same package.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#7 lore raw

PATCH 5/5 lua: split and rename patches

In reply to Francois Perrad
---
 package/lua/lua-01-root-path.patch            |   17 +++
 package/lua/lua-02-shared-libs-for-lua.patch  |   44 ++++++++
 package/lua/lua-03-shared-libs-for-luac.patch |   92 +++++++++++++++
 package/lua/lua-root-path.patch               |   17 ---
 package/lua/lua-shared-libs.patch             |  150 -------------------------
 5 files changed, 153 insertions(+), 167 deletions(-)
 create mode 100644 package/lua/lua-01-root-path.patch
 create mode 100644 package/lua/lua-02-shared-libs-for-lua.patch
 create mode 100644 package/lua/lua-03-shared-libs-for-luac.patch
 delete mode 100644 package/lua/lua-root-path.patch
 delete mode 100644 package/lua/lua-shared-libs.patch
package/lua/lua-01-root-path.patch new file +17 -0
new file mode 100644
index 0000000..c31cb2c
@@ -0,0 +1,17 @@
+Index: b/src/luaconf.h
+===================================================================
+--- a/src/luaconf.h
++++ b/src/luaconf.h
+@@ -94,9 +94,9 @@
+ 	".\\?.dll;"  LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
+ 
+ #else
+-#define LUA_ROOT	"/usr/local/"
+-#define LUA_LDIR	LUA_ROOT "share/lua/5.1/"
+-#define LUA_CDIR	LUA_ROOT "lib/lua/5.1/"
++#define LUA_ROOT	"/usr/"
++#define LUA_LDIR	LUA_ROOT "share/lua/"
++#define LUA_CDIR	LUA_ROOT "lib/lua/"
+ #define LUA_PATH_DEFAULT  \
+ 		"./?.lua;"  LUA_LDIR"?.lua;"  LUA_LDIR"?/init.lua;" \
+ 		            LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua"
package/lua/lua-02-shared-libs-for-lua.patch new file +44 -0

44 lines not on this page · raw message

package/lua/lua-03-shared-libs-for-luac.patch new file +92 -0

92 lines not on this page · raw message

package/lua/lua-root-path.patch deleted +0 -17
deleted file mode 100644
index c31cb2c..0000000
@@ -1,17 +0,0 @@
-Index: b/src/luaconf.h
-===================================================================
---- a/src/luaconf.h
-+++ b/src/luaconf.h
-@@ -94,9 +94,9 @@
- 	".\\?.dll;"  LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
- 
- #else
--#define LUA_ROOT	"/usr/local/"
--#define LUA_LDIR	LUA_ROOT "share/lua/5.1/"
--#define LUA_CDIR	LUA_ROOT "lib/lua/5.1/"
-+#define LUA_ROOT	"/usr/"
-+#define LUA_LDIR	LUA_ROOT "share/lua/"
-+#define LUA_CDIR	LUA_ROOT "lib/lua/"
- #define LUA_PATH_DEFAULT  \
- 		"./?.lua;"  LUA_LDIR"?.lua;"  LUA_LDIR"?/init.lua;" \
- 		            LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua"
package/lua/lua-shared-libs.patch deleted +0 -150

150 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#8 lore raw

PATCH 5/5 lua: split and rename patches

Le Mon, 16 Jul 2012 15:45:52 +0200,
Francois Perrad <[email protected]> a ?crit :

Quoted 4 lines
---
 package/lua/lua-01-root-path.patch            |   17 +++
 package/lua/lua-02-shared-libs-for-lua.patch  |   44 ++++++++
 package/lua/lua-03-shared-libs-for-luac.patch |   92 +++++++++++++++
Quoted 8 lines
 package/lua/lua-root-path.patch               |   17 ---
 package/lua/lua-shared-libs.patch             |  150
------------------------- 5 files changed, 153 insertions(+), 167
deletions(-) create mode 100644 package/lua/lua-01-root-path.patch
 create mode 100644 package/lua/lua-02-shared-libs-for-lua.patch
 create mode 100644 package/lua/lua-03-shared-libs-for-luac.patch
 delete mode 100644 package/lua/lua-root-path.patch
 delete mode 100644 package/lua/lua-shared-libs.patch

Looks good, but please take this opportunity to add a header to each patch, with a description + signed-off-by.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#9 lore raw

PATCH 1/5 lua : fix autobuild.buildroot

In reply to Francois Perrad

Le Mon, 16 Jul 2012 15:45:48 +0200,
Francois Perrad <[email protected]> a ?crit :

Quoted 11 lines

BR2_PACKAGE_LUA_SHARED_LIBRARY is an option for install, not for build

---
 package/lua/lua.mk |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
package/lua/lua.mk +0 -0
index baa459c..2fc838b 100644
@@ -8,10 +8,7 @@ LUA_VERSION = 5.1.5
 LUA_SITE = http://www.lua.org/ftp

package/lua/lua.mk LUA_VERSION = 5.1.5 · line 14

Quoted 10 lines
package/lua/lua.mk +1 -4
 LUA_INSTALL_STAGING = YES
 
-ifeq ($(BR2_PACKAGE_LUA_SHARED_LIBRARY),y)
-	LUA_MYCFLAGS += -fPIC
-endif
-
+LUA_MYCFLAGS += -fPIC
 LUA_MYLIBS += -ldl
 
 ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)

If Lua is not build as a shared library, there is no point in building the object files with the -fPIC argument, so the existing code seems to make sense to me. The BR2_PACKAGE_LUA_SHARED_LIBRARY affects both the build time (we don't build with -fPIC) and the install time (we install the shared libraries).

But I'm confused: during the Libre Software Meeting, didn't we discussed that the BR2_PACKAGE_LUA_SHARED_LIBRARY option should go away, and that the BR2_PACKAGE_LUA option should unconditionally install the shared libraries, and then there would be sub-options for the interpreter and compiler?

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#10 lore raw

PATCH 1/5 lua : fix autobuild.buildroot

2012/7/16 Thomas Petazzoni <[email protected]>:

Quoted 31 lines

Le Mon, 16 Jul 2012 15:45:48 +0200,
Francois Perrad <[email protected]> a ?crit :

Quoted 11 lines

BR2_PACKAGE_LUA_SHARED_LIBRARY is an option for install, not for build

---
 package/lua/lua.mk |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
package/lua/lua.mk +0 -0
index baa459c..2fc838b 100644
@@ -8,10 +8,7 @@ LUA_VERSION = 5.1.5
 LUA_SITE = http://www.lua.org/ftp

package/lua/lua.mk LUA_VERSION = 5.1.5 · line 14

Quoted 10 lines
package/lua/lua.mk +1 -4
 LUA_INSTALL_STAGING = YES
 
-ifeq ($(BR2_PACKAGE_LUA_SHARED_LIBRARY),y)
-     LUA_MYCFLAGS += -fPIC
-endif
-
+LUA_MYCFLAGS += -fPIC
 LUA_MYLIBS += -ldl
 
 ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)

If Lua is not build as a shared library, there is no point in building the object files with the -fPIC argument, so the existing code seems to make sense to me. The BR2_PACKAGE_LUA_SHARED_LIBRARY affects both the build time (we don't build with -fPIC) and the install time (we install the shared libraries).

Quoted 6 lines

But I'm confused: during the Libre Software Meeting, didn't we discussed that the BR2_PACKAGE_LUA_SHARED_LIBRARY option should go away, and that the BR2_PACKAGE_LUA option should unconditionally install the shared libraries, and then there would be sub-options for the interpreter and compiler?

I want remove BR2_PACKAGE_LUA_SHARED_LIBRARY only in Lua modules, because it is an internal of the lua package, and Lua modules must be used with Lua or LuaJIT.

see http://patchwork.ozlabs.org/patch/162294/

Fran?ois

Quoted 12 lines

Thanks!

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#11 lore raw

PATCH 1/5 lua : fix autobuild.buildroot

Le Tue, 17 Jul 2012 10:35:15 +0200,
Fran?ois Perrad <[email protected]> a ?crit :

Quoted 5 lines

I want remove BR2_PACKAGE_LUA_SHARED_LIBRARY only in Lua modules, because it is an internal of the lua package, and Lua modules must be used with Lua or LuaJIT.

see http://patchwork.ozlabs.org/patch/162294/

Yes, you said that to me during the Libre Software Meeting, but this modification isn't part of the 5 patches patch set you have sent yesterday, so I was a bit confused.

Can we have a complete patch set, with *all* your proposed changes to the Lua packaging?

It's really complex to review patches for which you say that anyway such or such option is removed by a later patch, which is not in the same patch series.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#12 lore raw

2012/7/17 Thomas Petazzoni <[email protected]>:

Quoted 13 lines

Le Tue, 17 Jul 2012 10:35:15 +0200,
Fran?ois Perrad <[email protected]> a ?crit :

Quoted 5 lines

I want remove BR2_PACKAGE_LUA_SHARED_LIBRARY only in Lua modules, because it is an internal of the lua package, and Lua modules must be used with Lua or LuaJIT.

see http://patchwork.ozlabs.org/patch/162294/

Yes, you said that to me during the Libre Software Meeting, but this modification isn't part of the 5 patches patch set you have sent yesterday, so I was a bit confused.

Quoted 7 lines

Can we have a complete patch set, with *all* your proposed changes to the Lua packaging?

It's really complex to review patches for which you say that anyway such or such option is removed by a later patch, which is not in the same patch series.

There are 3 series of patches :

a serie for luajit
[1/2] luajit: new package
work in progress
[2/2] luajit: fix dependencies of Lua modules

a serie for refactor lua
[PATCH 1/5] lua : fix autobuild.buildroot
[PATCH 2/5] lua : don't install static library in target [PATCH 3/5] lua : don't install shared library in staging [PATCH 4/5] lua : refactor with POST_PATH_HOOKS
[PATCH 5/5] lua: split and rename patches
trash them, only the last one deserves to be saved by a new version

a new serie for refactor lua
[PATCH 1/2] lua: split and rename patches v2
[PATCH 2/2] lua: refactor root path

Fran?ois

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

#13 lore raw

Le Tue, 17 Jul 2012 16:46:32 +0200,
Fran?ois Perrad <[email protected]> a ?crit :

Quoted 6 lines

There are 3 series of patches :

a serie for luajit
[1/2] luajit: new package
work in progress
[2/2] luajit: fix dependencies of Lua modules

Ok, so I need to wait for both of these that you prepare a nice patch set that solves the bitness building problem for luajit. Correct?

Quoted 7 lines

a serie for refactor lua
[PATCH 1/5] lua : fix autobuild.buildroot
[PATCH 2/5] lua : don't install static library in target [PATCH 3/5] lua : don't install shared library in staging [PATCH 4/5] lua : refactor with POST_PATH_HOOKS
[PATCH 5/5] lua: split and rename patches
trash them, only the last one deserves to be saved by a new version

Ok, so I ignore those 5 patches, correct?

Quoted 3 lines

a new serie for refactor lua
[PATCH 1/2] lua: split and rename patches v2
[PATCH 2/2] lua: refactor root path

Ok, I will merge them.

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#14 lore raw

2012/7/17 Thomas Petazzoni <[email protected]>:

Quoted 5 lines

Le Tue, 17 Jul 2012 16:46:32 +0200,
Fran?ois Perrad <[email protected]> a ?crit :

Quoted 2 lines

There are 3 series of patches :

Quoted 8 lines
Quoted 4 lines

a serie for luajit
[1/2] luajit: new package
work in progress
[2/2] luajit: fix dependencies of Lua modules

Ok, so I need to wait for both of these that you prepare a nice patch set that solves the bitness building problem for luajit. Correct?

as you suggest, I use (with success) the proposal of Jean-Christophe Plagnol-Villard
(http://patchwork.ozlabs.org/patch/153235/)
so now, in fact, I wait you integrate it.

Quoted 9 lines
Quoted 7 lines

a serie for refactor lua
[PATCH 1/5] lua : fix autobuild.buildroot
[PATCH 2/5] lua : don't install static library in target [PATCH 3/5] lua : don't install shared library in staging [PATCH 4/5] lua : refactor with POST_PATH_HOOKS
[PATCH 5/5] lua: split and rename patches
trash them, only the last one deserves to be saved by a new version

Ok, so I ignore those 5 patches, correct?

ok

Quoted 15 lines
Quoted 4 lines

a new serie for refactor lua
[PATCH 1/2] lua: split and rename patches v2
[PATCH 2/2] lua: refactor root path

Ok, I will merge them.

Thanks,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

#15 lore raw

Le Tue, 17 Jul 2012 17:20:58 +0200,
Fran?ois Perrad <[email protected]> a ?crit :

Quoted 4 lines

as you suggest, I use (with success) the proposal of Jean-Christophe Plagnol-Villard
(http://patchwork.ozlabs.org/patch/153235/)
so now, in fact, I wait you integrate it.

Please send a proper patch set with all the patches that are needed. If you want your changes to be integrated, they need to be easy to review and integrate. And for the moment, you're just sending multiple individual patches, hoping that someone will figure out which patch still makes sense, how the patches relate between each other, etc.

I have applied your patches that rework the Lua interpreter patches, but for the luajit package, I'm waiting for a clean patch series from you in order to merge things. And when you send updated versions of your patches, please send a new complete series of patches.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com