Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] lua5.1: Adopt new staging policy
  2010-03-15 20:30 Need help with "No GNU_HASH in the elf binary" Mark Butsch
@ 2010-03-15 21:06 ` Michael Stanger
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Stanger @ 2010-03-15 21:06 UTC (permalink / raw)
  To: openembedded-devel


 - Removed do_stage from recipes
 - Set NATIVE_INSTALL_WORKS=1  
 - lua5.1-native now stages the lua executable
 - Removed -native recipes, now uses BBCLASSEXTENDS

Signed-off-by: Michael Stanger <michael.stanger@taitradio.com>
---                                                          
 recipes/lua/lua-native_5.0.2.bb    |   15 ---------------   
 recipes/lua/lua5.1-native_5.1.4.bb |   11 -----------       
 recipes/lua/lua5.1_5.1.4.bb        |   10 +++-------        
 3 files changed, 3 insertions(+), 33 deletions(-)           
 delete mode 100644 recipes/lua/lua-native_5.0.2.bb          
 delete mode 100644 recipes/lua/lua5.1-native_5.1.4.bb       

diff --git a/recipes/lua/lua-native_5.0.2.bb 
b/recipes/lua/lua-native_5.0.2.bb
deleted file mode 
100644                                                     
index 
bf70f84..0000000                                                       
--- 
a/recipes/lua/lua-native_5.0.2.bb                                        
+++ 
/dev/null                                                                
@@ -1,15 +0,0 
@@                                                             
-require 
lua.inc                                                             
-                                                                             

-PR = "r2"
-DEPENDS += "readline-native"
-SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
-          file://debian.patch;patch=1 \
-          file://make.patch;patch=1 \
-          file://advanced-readline.patch;patch=1"
-#         
http://lua-users.org/files/wiki_insecure/power_patches/5.0/advanced-readline.patch;patch=1"
-S = "${WORKDIR}/lua-${PV}"
-FILESPATH = 
"${FILE_DIRNAME}/lua-${PV}:${FILE_DIRNAME}/lua:${FILE_DIRNAME}/files"
-
-inherit native
-require lua-build.inc
-
diff --git a/recipes/lua/lua5.1-native_5.1.4.bb 
b/recipes/lua/lua5.1-native_5.1.4.bb
deleted file mode 100644
index 35afb55..0000000
--- a/recipes/lua/lua5.1-native_5.1.4.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require lua5.1_${PV}.bb
-inherit native
-
-DEPENDS = "readline-native"
-
-do_stage () {
-    oe_libinstall -C src liblua ${STAGING_LIBDIR}/
-    install -d ${STAGING_INCDIR}/
-    install -m 0644 src/lua.h src/luaconf.h src/lualib.h src/lauxlib.h 
${STAGING_INCDIR}/
-}
-
diff --git a/recipes/lua/lua5.1_5.1.4.bb b/recipes/lua/lua5.1_5.1.4.bb
index 8041def..e4a3c82 100644
--- a/recipes/lua/lua5.1_5.1.4.bb
+++ b/recipes/lua/lua5.1_5.1.4.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 HOMEPAGE = "http://www.lua.org/"

 DEPENDS += "readline"
-PR = "r4"
+PR = "r5"
 SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
            file://lua5.1.pc"
 S = "${WORKDIR}/lua-${PV}"
@@ -19,12 +19,6 @@ do_compile () {
        oe_runmake linux
 }

-do_stage () {
-       oe_libinstall -C src liblua ${STAGING_LIBDIR}/
-       install -d ${STAGING_INCDIR}/
-       install -m 0644 src/lua.h src/luaconf.h src/lualib.h 
src/lauxlib.h ${STAGING_INCDIR}/
-}
-
 do_install () {
        oe_runmake \
                'INSTALL_TOP=${D}${prefix}' \
@@ -34,4 +28,6 @@ do_install () {
                'INSTALL_SHARE=${D}${datadir}/lua' \
                install
 }
+NATIVE_INSTALL_WORKS = 1

+BBCLASSEXTEND = "native"
--
1.6.3.3

=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================




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

* [PATCH] lua5.1: Adopt new staging policy
@ 2010-03-15 22:36 Michael Stanger
  2010-03-15 23:33 ` Michael Stanger
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Stanger @ 2010-03-15 22:36 UTC (permalink / raw)
  To: openembedded-devel

Sorry about earlier thread-hijacking...

- Removed do_stage from recipes
- Set NATIVE_INSTALL_WORKS=1
- lua5.1-native now stages lua executable
- Removed -native recipe, use BBCLASSEXTENDS instead

Signed-off-by: Michael Stanger <michael.stanger@taitradio.com>
---
recipes/lua/lua5.1-native_5.1.4.bb |   11 -----------
recipes/lua/lua5.1_5.1.4.bb        |   10 +++-------
2 files changed, 3 insertions(+), 18 deletions(-)
delete mode 100644 recipes/lua/lua5.1-native_5.1.4.bb

diff --git a/recipes/lua/lua5.1-native_5.1.4.bb
b/recipes/lua/lua5.1-native_5.1.4.bb
deleted file mode 100644
index 35afb55..0000000
--- a/recipes/lua/lua5.1-native_5.1.4.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require lua5.1_${PV}.bb
-inherit native
-
-DEPENDS = "readline-native"
-
-do_stage () {
-    oe_libinstall -C src liblua ${STAGING_LIBDIR}/
-    install -d ${STAGING_INCDIR}/
-    install -m 0644 src/lua.h src/luaconf.h src/lualib.h src/lauxlib.h
${STAGING_INCDIR}/
-}
-
diff --git a/recipes/lua/lua5.1_5.1.4.bb b/recipes/lua/lua5.1_5.1.4.bb
index 8041def..e4a3c82 100644
--- a/recipes/lua/lua5.1_5.1.4.bb
+++ b/recipes/lua/lua5.1_5.1.4.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
HOMEPAGE = "http://www.lua.org/"

DEPENDS += "readline"
-PR = "r4"
+PR = "r5"
SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
            file://lua5.1.pc"
S = "${WORKDIR}/lua-${PV}"
@@ -19,12 +19,6 @@ do_compile () {
        oe_runmake linux
}

-do_stage () {
-       oe_libinstall -C src liblua ${STAGING_LIBDIR}/
-       install -d ${STAGING_INCDIR}/
-       install -m 0644 src/lua.h src/luaconf.h src/lualib.h
src/lauxlib.h ${STAGING_INCDIR}/
-}
-
do_install () {
        oe_runmake \
                'INSTALL_TOP=${D}${prefix}' \
@@ -34,4 +28,6 @@ do_install () {
                'INSTALL_SHARE=${D}${datadir}/lua' \
                install
}
+NATIVE_INSTALL_WORKS = 1

+BBCLASSEXTEND = "native"
--
1.6.3.3


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================




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

* Re: [PATCH] lua5.1: Adopt new staging policy
  2010-03-15 22:36 [PATCH] lua5.1: Adopt new staging policy Michael Stanger
@ 2010-03-15 23:33 ` Michael Stanger
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Stanger @ 2010-03-15 23:33 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I noted that my patch is cut-off in patchwork,
does this matter and/or why did it happen?

Cheers,
Michael

Michael Stanger wrote:
> Sorry about earlier thread-hijacking...
>
> - Removed do_stage from recipes
> - Set NATIVE_INSTALL_WORKS=1
> - lua5.1-native now stages lua executable
> - Removed -native recipe, use BBCLASSEXTENDS instead
>
> Signed-off-by: Michael Stanger <michael.stanger@taitradio.com>
> ---
> recipes/lua/lua5.1-native_5.1.4.bb |   11 -----------
> recipes/lua/lua5.1_5.1.4.bb        |   10 +++-------
> 2 files changed, 3 insertions(+), 18 deletions(-)
> delete mode 100644 recipes/lua/lua5.1-native_5.1.4.bb
>
> diff --git a/recipes/lua/lua5.1-native_5.1.4.bb
> b/recipes/lua/lua5.1-native_5.1.4.bb
> deleted file mode 100644
> index 35afb55..0000000
> --- a/recipes/lua/lua5.1-native_5.1.4.bb
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -require lua5.1_${PV}.bb
> -inherit native
> -
> -DEPENDS = "readline-native"
> -
> -do_stage () {
> -    oe_libinstall -C src liblua ${STAGING_LIBDIR}/
> -    install -d ${STAGING_INCDIR}/
> -    install -m 0644 src/lua.h src/luaconf.h src/lualib.h src/lauxlib.h
> ${STAGING_INCDIR}/
> -}
> -
> diff --git a/recipes/lua/lua5.1_5.1.4.bb b/recipes/lua/lua5.1_5.1.4.bb
> index 8041def..e4a3c82 100644
> --- a/recipes/lua/lua5.1_5.1.4.bb
> +++ b/recipes/lua/lua5.1_5.1.4.bb
> @@ -4,7 +4,7 @@ LICENSE = "MIT"
> HOMEPAGE = "http://www.lua.org/"
>
> DEPENDS += "readline"
> -PR = "r4"
> +PR = "r5"
> SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
>            file://lua5.1.pc"
> S = "${WORKDIR}/lua-${PV}"
> @@ -19,12 +19,6 @@ do_compile () {
>        oe_runmake linux
> }
>
> -do_stage () {
> -       oe_libinstall -C src liblua ${STAGING_LIBDIR}/
> -       install -d ${STAGING_INCDIR}/
> -       install -m 0644 src/lua.h src/luaconf.h src/lualib.h
> src/lauxlib.h ${STAGING_INCDIR}/
> -}
> -
> do_install () {
>        oe_runmake \
>                'INSTALL_TOP=${D}${prefix}' \
> @@ -34,4 +28,6 @@ do_install () {
>                'INSTALL_SHARE=${D}${datadir}/lua' \
>                install
> }
> +NATIVE_INSTALL_WORKS = 1
>
> +BBCLASSEXTEND = "native"
> -- 
> 1.6.3.3
>
>
> =======================================================================
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> altered or corrupted during transmission.
> =======================================================================
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================




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

end of thread, other threads:[~2010-03-15 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 22:36 [PATCH] lua5.1: Adopt new staging policy Michael Stanger
2010-03-15 23:33 ` Michael Stanger
  -- strict thread matches above, loose matches on Subject: below --
2010-03-15 20:30 Need help with "No GNU_HASH in the elf binary" Mark Butsch
2010-03-15 21:06 ` [PATCH] lua5.1: Adopt new staging policy Michael Stanger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox