Skip to contentSkip to conversation

luarocks: bump to version 2.2.0beta1

PATCH New Francois Perrad 2 participants 3 messages Jul 25, 2014 – Jul 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 luarocks: bump to version 2.2.0beta1

this version includes a new default repository for rocks

---
 Config.in                    | 2 +-
 package/luarocks/luarocks.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Config.in +1 -1
index b169678..dd8073d 100644
@@ -234,7 +234,7 @@ endif
 
 config BR2_LUAROCKS_MIRROR
 	string "LuaRocks mirror"
-	default "http://luarocks.org/repositories/rocks"
+	default "http://rocks.moonscript.org"
 	help
 	  LuaRocks repository.
 
package/luarocks/luarocks.mk +1 -1
index 926fd04..19c1c94 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LUAROCKS_VERSION = 2.1.2
+LUAROCKS_VERSION = 2.2.0beta1
 LUAROCKS_SITE = http://luarocks.org/releases/
 LUAROCKS_LICENSE = MIT
 LUAROCKS_LICENSE_FILES = COPYING
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 luarocks: move the option --deps-mode

The option moves from luarocks make command to the LuaRocks config file.

This change and the merge of PR https://github.com/keplerproject/luarocks/pull/236
in LuaRocks 2.2.0 avoids the confusing message "Missing dependency"

---
 package/luarocks/luarocks.mk | 1 +
 package/pkg-luarocks.mk      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
package/luarocks/luarocks.mk +1 -0
index 19c1c94..5f7f395 100644
@@ -38,6 +38,7 @@ define HOST_LUAROCKS_INSTALL_CMDS
 	echo "gcc_rpath = false"                                >> $(LUAROCKS_CONFIG_FILE)
 	echo "rocks_trees = { [[$(TARGET_DIR)/usr]] }"          >> $(LUAROCKS_CONFIG_FILE)
 	echo "wrap_bin_scripts = false"                         >> $(LUAROCKS_CONFIG_FILE)
+	echo "deps_mode = [[none]]"                             >> $(LUAROCKS_CONFIG_FILE)
 endef
 
 $(eval $(host-generic-package))
package/pkg-luarocks.mk +1 -1
index be0d4cc..95b397c 100644
@@ -59,7 +59,7 @@ endif
 ifndef $(2)_INSTALL_TARGET_CMDS
 define $(2)_INSTALL_TARGET_CMDS
 	cd $$($(2)_SRCDIR) && \
-	 $$(LUAROCKS_RUN) make --deps-mode=none --keep $$($(2)_ROCKSPEC) $$($(2)_BUILD_OPT)
+	 $$(LUAROCKS_RUN) make --keep $$($(2)_ROCKSPEC) $$($(2)_BUILD_OPT)
 endef
 endif
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/2 luarocks: bump to version 2.2.0beta1

In reply to Francois Perrad

Dear Francois Perrad,

Quoted 7 lines · Francois Perrad

this version includes a new default repository for rocks

---
 Config.in                    | 2 +-
 package/luarocks/luarocks.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Both patches applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com