directfb-lua: new package
PATCH 1/1 directfb-lua: new package
This is a Lua binding to DirectFB. It is an automated binding generated from the DirectFB headers, so it generates an identical API to DirectFB's, only simpler to use.
--- package/Config.in | 1 + package/directfb-lua/Config.in | 10 ++++++++++ package/directfb-lua/directfb-lua.mk | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/directfb-lua/Config.in create mode 100644 package/directfb-lua/directfb-lua.mk
package/Config.in +1 -0
@@ -120,6 +120,7 @@ comment "graphic libraries" source "package/cegui06/Config.in" source "package/directfb/Config.in" source "package/directfb-examples/Config.in" +source "package/directfb-lua/Config.in" source "package/divine/Config.in" source "package/fbdump/Config.in" source "package/fbgrab/Config.in"
package/directfb-lua/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_DIRECTFB_LUA + bool "directfb-lua" + depends on BR2_PACKAGE_DIRECTFB + depends on BR2_PACKAGE_LUA + help + directfb-lua is a Lua binding to DirectFB. It is an automated binding + generated from the DirectFB headers. This means it generates an API + identical to the DirectFB's, only easier to use. + + https://github.com/ezequielgarcia/directfb-lua
package/directfb-lua/directfb-lua.mk new file +23 -0
@@ -0,0 +1,23 @@ +################################################################################ +# +# directfb-lua +# +################################################################################ + +DIRECTFB_LUA_VERSION = v0.2.1 +DIRECTFB_LUA_SITE = https://github.com/ezequielgarcia/directfb-lua/tarball/$(DIRECTFB_LUA_VERSION) +DIRECTFB_LUA_LICENSE = MIT +DIRECTFB_LUA_LICENSE_FILES = COPYING +DIRECTFB_LUA_DEPENDENCIES = directfb lua + +define DIRECTFB_LUA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) gen + $(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" $(MAKE) -C $(@D) +endef + +define DIRECTFB_LUA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua" \ + $(MAKE) -C $(@D) install +endef + +$(eval $(generic-package))
Signature · 1 line
1.8.1.5
PATCH 1/1 directfb-lua: new package
Fran?ois,
Could you review the following patch that adds a Lua binding to DirectFB ?
Thanks!
Thomas
Quoted 70 lines · Ezequiel Garcia
This is a Lua binding to DirectFB. It is an automated binding generated from the DirectFB headers, so it generates an identical API to DirectFB's, only simpler to use.
Signed-off-by Ezequiel Garcia <[email protected]>--- package/Config.in | 1 + package/directfb-lua/Config.in | 10 ++++++++++ package/directfb-lua/directfb-lua.mk | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/directfb-lua/Config.in create mode 100644 package/directfb-lua/directfb-lua.mkpackage/Config.in +1
-0@@ -120,6 +120,7 @@ comment "graphic libraries" source "package/cegui06/Config.in" source "package/directfb/Config.in" source "package/directfb-examples/Config.in" +source "package/directfb-lua/Config.in" source "package/divine/Config.in" source "package/fbdump/Config.in" source "package/fbgrab/Config.in"package/directfb-lua/Config.in new file +10
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_DIRECTFB_LUA + bool "directfb-lua" + depends on BR2_PACKAGE_DIRECTFB + depends on BR2_PACKAGE_LUA + help + directfb-lua is a Lua binding to DirectFB. It is an automated binding + generated from the DirectFB headers. This means it generates an API + identical to the DirectFB's, only easier to use. + + https://github.com/ezequielgarcia/directfb-luapackage/directfb-lua/directfb-lua.mk new file +23
-0@@ -0,0 +1,23 @@ +################################################################################ +# +# directfb-lua +# +################################################################################ + +DIRECTFB_LUA_VERSION = v0.2.1 +DIRECTFB_LUA_SITE = https://github.com/ezequielgarcia/directfb-lua/tarball/$(DIRECTFB_LUA_VERSION) +DIRECTFB_LUA_LICENSE = MIT +DIRECTFB_LUA_LICENSE_FILES = COPYING +DIRECTFB_LUA_DEPENDENCIES = directfb lua + +define DIRECTFB_LUA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) gen + $(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" $(MAKE) -C $(@D) +endef + +define DIRECTFB_LUA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua" \ + $(MAKE) -C $(@D) install +endef + +$(eval $(generic-package))
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 directfb-lua: new package
In reply to Ezequiel Garcia2013-07-29 21:36 GMT+02:00 Ezequiel Garcia <[email protected]>:
Quoted 18 lines
This is a Lua binding to DirectFB. It is an automated binding generated from the DirectFB headers, so it generates an identical API to DirectFB's, only simpler to use.
Signed-off-by Ezequiel Garcia <[email protected]>--- package/Config.in | 1 + package/directfb-lua/Config.in | 10 ++++++++++ package/directfb-lua/directfb-lua.mk | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/directfb-lua/Config.in create mode 100644 package/directfb-lua/directfb-lua.mkpackage/Config.in +0
-0
package/Config.in comment "graphic libraries" · line 123
Quoted 4 lines
package/Config.in +1
-0@@ -120,6 +120,7 @@ comment "graphic libraries" source "package/cegui06/Config.in" source "package/directfb/Config.in" source "package/directfb-examples/Config.in" +source "package/directfb-lua/Config.in"
This is not the right place. directfb-lua must be inserted in the Lua modules section, just after 'dado'.
package/directfb-lua/Config.in line 4
Quoted 13 lines
package/Config.in +0
-0source "package/divine/Config.in" source "package/fbdump/Config.in" source "package/fbgrab/Config.in"package/directfb-lua/Config.in new file +4
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_DIRECTFB_LUA + bool "directfb-lua" + depends on BR2_PACKAGE_DIRECTFB + depends on BR2_PACKAGE_LUA
The dependency with Lua is implicit in the Lua modules section. The dependency with DirectFB must be rewritten like this :
select BR2_PACKAGE_DIRECTFB
depends on BR2_TOOLCHAIN_HAS_THREADS # directfb depends on BR2_INSTALL_LIBSTDCPP # directfb
with this comment statement at the end of the file :
comment "directfb-lua needs a toolchain w/ C++, threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
Quoted 12 lines
package/directfb-lua/Config.in new file +6
-0+ help + directfb-lua is a Lua binding to DirectFB. It is an automated binding + generated from the DirectFB headers. This means it generates an API + identical to the DirectFB's, only easier to use. + + https://github.com/ezequielgarcia/directfb-luapackage/directfb-lua/directfb-lua.mk new file +0
-0
package/directfb-lua/directfb-lua.mk line 8
Quoted 8 lines
package/directfb-lua/directfb-lua.mk new file +8
-0@@ -0,0 +1,23 @@ +################################################################################ +# +# directfb-lua +# +################################################################################ + +DIRECTFB_LUA_VERSION = v0.2.1 +DIRECTFB_LUA_SITE = https://github.com/ezequielgarcia/directfb-lua/tarball/$(DIRECTFB_LUA_VERSION)
Now, Buildroot has a Github helper. DIRECTFB_LUA_SITE = $(call github,ezequielgarcia,directfb-lua,$(DIRECTFB_LUA_VERSION))
package/directfb-lua/directfb-lua.mk line 11
Quoted 3 lines
package/directfb-lua/directfb-lua.mk new file +3
-0+DIRECTFB_LUA_LICENSE = MIT +DIRECTFB_LUA_LICENSE_FILES = COPYING +DIRECTFB_LUA_DEPENDENCIES = directfb lua
Now, Buildroot has various Lua interpreters, and directfb-lua could be build with all of them.DIRECTFB_LUA_DEPENDENCIES = directfb luainterpreter
package/directfb-lua/directfb-lua.mk line 19
Quoted 8 lines
package/directfb-lua/directfb-lua.mk new file +8
-0+ +define DIRECTFB_LUA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) gen + $(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" $(MAKE) -C $(@D) +endef + +define DIRECTFB_LUA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua" \
At this time :
INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)"
Fran?ois
Quoted 11 lines
package/directfb-lua/directfb-lua.mk new file +4
-1+ $(MAKE) -C $(@D) install +endef + +$(eval $(generic-package)) --1.8.1.5
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 directfb-lua: new package
Quoted 96 lines · Fran?ois Perrad
2013-07-29 21:36 GMT+02:00 Ezequiel Garcia <[email protected]>:
Quoted 18 lines
This is a Lua binding to DirectFB. It is an automated binding generated from the DirectFB headers, so it generates an identical API to DirectFB's, only simpler to use.
Signed-off-by Ezequiel Garcia <[email protected]>--- package/Config.in | 1 + package/directfb-lua/Config.in | 10 ++++++++++ package/directfb-lua/directfb-lua.mk | 23 +++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/directfb-lua/Config.in create mode 100644 package/directfb-lua/directfb-lua.mkpackage/Config.in +0
-0package/Config.in comment "graphic libraries" · line 123
Quoted 4 lines
package/Config.in +1
-0@@ -120,6 +120,7 @@ comment "graphic libraries" source "package/cegui06/Config.in" source "package/directfb/Config.in" source "package/directfb-examples/Config.in" +source "package/directfb-lua/Config.in"This is not the right place. directfb-lua must be inserted in the Lua modules section, just after 'dado'.
package/directfb-lua/Config.in line 4
Quoted 13 lines
package/Config.in +0
-0source "package/divine/Config.in" source "package/fbdump/Config.in" source "package/fbgrab/Config.in"package/directfb-lua/Config.in new file +4
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_DIRECTFB_LUA + bool "directfb-lua" + depends on BR2_PACKAGE_DIRECTFB + depends on BR2_PACKAGE_LUAThe dependency with Lua is implicit in the Lua modules section. The dependency with DirectFB must be rewritten like this :
select
BR2_PACKAGE_DIRECTFB
depends onBR2_TOOLCHAIN_HAS_THREADS# directfb depends onBR2_INSTALL_LIBSTDCPP# directfbwith this comment statement at the end of the file :
comment "directfb-lua needs a toolchain w/ C++, threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPPQuoted 12 lines
package/directfb-lua/Config.in new file +6
-0+ help + directfb-lua is a Lua binding to DirectFB. It is an automated binding + generated from the DirectFB headers. This means it generates an API + identical to the DirectFB's, only easier to use. + + https://github.com/ezequielgarcia/directfb-luapackage/directfb-lua/directfb-lua.mk new file +0
-0package/directfb-lua/directfb-lua.mk line 8
Quoted 8 lines
package/directfb-lua/directfb-lua.mk new file +8
-0@@ -0,0 +1,23 @@ +################################################################################ +# +# directfb-lua +# +################################################################################ + +DIRECTFB_LUA_VERSION = v0.2.1 +DIRECTFB_LUA_SITE = https://github.com/ezequielgarcia/directfb-lua/tarball/$(DIRECTFB_LUA_VERSION)Now, Buildroot has a Github helper.
DIRECTFB_LUA_SITE= $(call github,ezequielgarcia,directfb-lua,$(DIRECTFB_LUA_VERSION))package/directfb-lua/directfb-lua.mk line 11
Quoted 3 lines
package/directfb-lua/directfb-lua.mk new file +3
-0+DIRECTFB_LUA_LICENSE = MIT +DIRECTFB_LUA_LICENSE_FILES = COPYING +DIRECTFB_LUA_DEPENDENCIES = directfb luaNow, Buildroot has various Lua interpreters, and directfb-lua could be build with all of them.
DIRECTFB_LUA_DEPENDENCIES= directfb luainterpreterpackage/directfb-lua/directfb-lua.mk line 19
Quoted 8 lines
package/directfb-lua/directfb-lua.mk new file +8
-0+ +define DIRECTFB_LUA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) gen + $(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" $(MAKE) -C $(@D) +endef + +define DIRECTFB_LUA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua" \At this time :
Quoted 2 lines
INSTALL_DIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)"
Thanks a lot for the feedback! I'll push another patch.
Signature · 3 lines
Ezequiel Garc?a, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com