Skip to contentSkip to conversation

vlc_1.1.4.1: add `lua5.1` to `DEPENDS`

PATCH In review Paul Menzel 4 participants 12 messages Nov 3, 2010 – Dec 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vlc_1.1.4.1: add `lua5.1` to `DEPENDS`

Date: Wed, 3 Nov 2010 09:52:36 +0100

After VLC 1.0.6, being the latest version in OE until addition of 1.1.4.1 in commit 30e362 [2], some interfaces were implemented in Lua in VLC 1.1.0 [1].

Interfaces:
* Renamed the legacy rc, telnet and http interfaces to oldrc, oldtelnet and oldhttp.
* rc, telnet and http are now implemented using the lua interface system.

Task configure fails with the following error message.

[…]
| checking for LUA... no
| configure: WARNING: lua5.1 not found, trying lua >= 5.1 instead
| checking for LUA... no
| checking lua.h usability... no
| checking lua.h presence... no
| checking for lua.h... no
| checking lauxlib.h usability... no
| checking lauxlib.h presence... no
| checking for lauxlib.h... no
| checking lualib.h usability... no
| checking lualib.h presence... no
| checking for lualib.h... no
| checking for luaL_newstate in -llua5.1 ... no
| checking for luaL_newstate in -llua51 ... no
| checking for luaL_newstate in -llua ... no
| configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error. | ERROR: Function do_configure failed
NOTE: package vlc-1.1.4.1-r0: task do_configure: Failed
[…]

Adding lua5.1 to DEPENDS is chosen in favor of disabling it.

[1] http://git.videolan.org/?p=vlc.git;a=commitdiff;h=3c1df96cda8086f605f2eacaa5653c9e43ec45ac
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=30e362c22a49521ebeef9bed1f0c58902b7dc50b

---
 recipes/vlc/vlc_1.1.4.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +1 -1
index d4535a5..ef764c1 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread"
+DEPENDS += "libdvdcss libdvdread lua"
 
 EXTRA_OECONF += "\
 	--enable-dvdread \
Signature · 1 line
1.7.2.3
#1 lore raw
Quoted 57 lines · Paul Menzel

Date: Wed, 3 Nov 2010 09:52:36 +0100

After VLC 1.0.6, being the latest version in OE until addition of 1.1.4.1 in commit 30e362 [2], some interfaces were implemented in Lua in VLC 1.1.0 [1].

Interfaces:
* Renamed the legacy rc, telnet and http interfaces to oldrc, oldtelnet and oldhttp.
* rc, telnet and http are now implemented using the lua interface system.

Task configure fails with the following error message.

[…]
| checking for LUA... no
| configure: WARNING: lua5.1 not found, trying lua>= 5.1 instead
| checking for LUA... no
| checking lua.h usability... no
| checking lua.h presence... no
| checking for lua.h... no
| checking lauxlib.h usability... no
| checking lauxlib.h presence... no
| checking for lauxlib.h... no
| checking lualib.h usability... no
| checking lualib.h presence... no
| checking for lualib.h... no
| checking for luaL_newstate in -llua5.1 ... no
| checking for luaL_newstate in -llua51 ... no
| checking for luaL_newstate in -llua ... no
| configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error. | ERROR: Function do_configure failed
NOTE: package vlc-1.1.4.1-r0: task do_configure: Failed
[…]

Adding lua5.1 to DEPENDS is chosen in favor of disabling it.

[1] http://git.videolan.org/?p=vlc.git;a=commitdiff;h=3c1df96cda8086f605f2eacaa5653c9e43ec45ac
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=30e362c22a49521ebeef9bed1f0c58902b7dc50b

---
  recipes/vlc/vlc_1.1.4.1.bb |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +1 -1
index d4535a5..ef764c1 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
  # ffmpeg from git (library version =>  52) is required
  # libtool-native must be>= 2.2.4
-DEPENDS += "libdvdcss libdvdread"
+DEPENDS += "libdvdcss libdvdread lua"
 
  EXTRA_OECONF += "\
  	--enable-dvdread \
Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I seem to need lua5.1 and lua5.1-native in DEPENDS for this vlc as opposed to just lua. ie. DEPENDS += "libdvdcss libdvdread lua5.1 lua5.1-native"

I doubt this has anything to do with it, but I am using DISTRO="angstrom-2010.x" and setting
ANGSTROM_LIBTOOL_VERSION = "2.2.6b"
LIBTOOL_HAS_SYSROOT = "no"
only because apache2 does not configure with the newer libtool

#2 lore raw
Quoted 77 lines · Dallas Foley
Quoted 67 lines · Paul Menzel

Date: Wed, 3 Nov 2010 09:52:36 +0100

After VLC 1.0.6, being the latest version in OE until addition of 1.1.4.1 in commit 30e362 [2], some interfaces were implemented in Lua in VLC 1.1.0 [1].

       Interfaces:
        * Renamed the legacy rc, telnet and http interfaces to oldrc, oldtelnet and oldhttp.
        * rc, telnet and http are now implemented using the lua interface system.

Task configure fails with the following error message.

       […]

       | checking for LUA... no
       | configure: WARNING: lua5.1 not found, trying lua>= 5.1 instead
       | checking for LUA... no
       | checking lua.h usability... no
       | checking lua.h presence... no
       | checking for lua.h... no
       | checking lauxlib.h usability... no
       | checking lauxlib.h presence... no
       | checking for lauxlib.h... no
       | checking lualib.h usability... no
       | checking lualib.h presence... no
       | checking for lualib.h... no
       | checking for luaL_newstate in -llua5.1 ... no
       | checking for luaL_newstate in -llua51 ... no
       | checking for luaL_newstate in -llua ... no
       | configure: error: Could not find lua. Lua is needed for some

interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
       | ERROR: Function do_configure failed
       NOTE: package vlc-1.1.4.1-r0: task do_configure: Failed […]

Adding lua5.1 to DEPENDS is chosen in favor of disabling it.

[1]
http://git.videolan.org/?p=vlc.git;a=commitdiff;h=3c1df96cda8086f605f2eacaa5653c9e43ec45ac
[2]
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=30e362c22a49521ebeef9bed1f0c58902b7dc50b

---
 recipes/vlc/vlc_1.1.4.1.bb |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +0 -0
index d4535a5..ef764c1 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] =

"61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696

 # ffmpeg from git (library version =>  52) is required
 # libtool-native must be>= 2.2.4
recipes/vlc/vlc_1.1.4.1.bb +1 -1
-DEPENDS += "libdvdcss libdvdread"
+DEPENDS += "libdvdcss libdvdread lua"

 EXTRA_OECONF += "\
       --enable-dvdread \

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I seem to need lua5.1 and lua5.1-native in DEPENDS for this vlc as opposed to just lua.
ie. DEPENDS += "libdvdcss libdvdread lua5.1 lua5.1-native"

Quoted 7 lines

I doubt this has anything to do with it, but I am using DISTRO="angstrom-2010.x"
and setting
ANGSTROM_LIBTOOL_VERSION = "2.2.6b" LIBTOOL_HAS_SYSROOT = "no"
only because apache2 does not configure with the newer libtool

did you report the apache problem and details about it before ? if not the please do. I would say we should find the reasoning when we add something to DEPENDS
the addition is simple but impact may be too far reaching.

Quoted 10 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

PATCH 1/1 vlc_1.1.4.1: Really add `lua5.1` to `DEPENDS` (instead of just `lua`).

In reply to Dallas Foley

Date: Thu, 4 Nov 2010 23:04:35 +0100

This fixes commit 93dca1 [1]. Thanks to Dallas for reporting this issue [2].

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=93dca1c604d420ed4db44a71a375182933658886
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/026475.html

---
I am deeply sorry for my mistake, missing QA and for the additional hassle.

The build still fails with the following error.

checking for LUA... yes
checking for luac... no
configure: error: Could not find the LUA byte compiler.
ERROR: Function do_configure failed

This problem is discussed in the above mentioned thread [2].

---
 recipes/vlc/vlc_1.1.4.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +1 -1
index ef764c1..af01d98 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread lua"
+DEPENDS += "libdvdcss libdvdread lua5.1"
 
 EXTRA_OECONF += "\
 	--enable-dvdread \
Signature · 1 line
1.7.2.3
#4 lore raw

vlc_1.1.4.1: Why is `lua5.1-native` not added to `DEPENDS` automatically? (was: [PATCH] vlc_1.1.4.1: add `lua5.1` to `DEPENDS`)

In reply to Dallas Foley

Am Mittwoch, den 03.11.2010, 10:55 -0700 schrieb Dallas Foley:

Quoted 53 lines · Paul Menzel
Quoted 52 lines

Date: Wed, 3 Nov 2010 09:52:36 +0100

After VLC 1.0.6, being the latest version in OE until addition of 1.1.4.1 in commit 30e362 [2], some interfaces were implemented in Lua in VLC 1.1.0 [1].

Interfaces:
* Renamed the legacy rc, telnet and http interfaces to oldrc, oldtelnet and oldhttp.
* rc, telnet and http are now implemented using the lua interface system.

Task configure fails with the following error message.

[…]
| checking for LUA... no
| configure: WARNING: lua5.1 not found, trying lua>= 5.1 instead
| checking for LUA... no
| checking lua.h usability... no
| checking lua.h presence... no
| checking for lua.h... no
| checking lauxlib.h usability... no
| checking lauxlib.h presence... no
| checking for lauxlib.h... no
| checking lualib.h usability... no
| checking lualib.h presence... no
| checking for lualib.h... no
| checking for luaL_newstate in -llua5.1 ... no
| checking for luaL_newstate in -llua51 ... no
| checking for luaL_newstate in -llua ... no
| configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error. | ERROR: Function do_configure failed
NOTE: package vlc-1.1.4.1-r0: task do_configure: Failed
[…]

Adding lua5.1 to DEPENDS is chosen in favor of disabling it.

[1] http://git.videolan.org/?p=vlc.git;a=commitdiff;h=3c1df96cda8086f605f2eacaa5653c9e43ec45ac
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=30e362c22a49521ebeef9bed1f0c58902b7dc50b

---
  recipes/vlc/vlc_1.1.4.1.bb |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +1 -1
index d4535a5..ef764c1 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
  # ffmpeg from git (library version =>  52) is required
  # libtool-native must be>= 2.2.4
-DEPENDS += "libdvdcss libdvdread"
+DEPENDS += "libdvdcss libdvdread lua"
 
Quoted 4 lines

recipes/vlc/vlc_1.1.4.1.bb SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696 · line 16

Quoted 2 lines
recipes/vlc/vlc_1.1.4.1.bb +0 -0
  EXTRA_OECONF += "\
  	--enable-dvdread \

I seem to need lua5.1 and lua5.1-native in DEPENDS for this vlc as opposed to just lua.

You are indeed correct. Somehow I messed up the patch and just edited the commit message. :( I sent a fixup some minutes ago [3].

Quoted 7 lines

ie. DEPENDS += "libdvdcss libdvdread lua5.1 lua5.1-native"

I doubt this has anything to do with it, but I am using DISTRO="angstrom-2010.x" and setting
ANGSTROM_LIBTOOL_VERSION = "2.2.6b"
LIBTOOL_HAS_SYSROOT = "no"
only because apache2 does not configure with the newer libtool

As you wrote after applying this patch there is still the following problem in the task configure.

[…]
checking for LUA... yes
checking for luac... no
configure: error: Could not find the LUA byte compiler.
ERROR: Function do_configure failed

Indeed in all my tests there is no luac staged.

        $ find . -name *luac*
        ./minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include/luaconf.h
        ./minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/share/man/man1/luac.1
        ./minimal-dev/work/armv7a-oe-linux-gnueabi/vlc-1.1.4.1-r0/vlc-1.1.4.1/share/lua/intf/luac.lua
        $ find angstrom-dev/ -name *luac* # angstrom-2008.1
        angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/luaconf.h
        angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/man/man1/luac.1
        angstrom-dev/work/armv7a-angstrom-linux-gnueabi/vlc-1.1.4.1-r0/vlc-1.1.4.1/share/lua/intf/luac.lua

This should be done by adding lua5.1-native to DEPENDS as you suggested. But I am wondering why lua5.1 is not providing luac. Is there a problem with the lua5.1 recipe [4][5]?

Thanks,

Paul

[3] http://patchwork.openembedded.org/patch/3504/
[4] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/lua/lua5.1_5.1.4.bb?id=48838f0fca6b00767115dd13bce2537f035fd3ba
[5] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/lua/lua.inc?id=709c4d66e0b107ca606941b988bad717c0b45d9b

#5 lore raw

Re: vlc_1.1.4.1: Why is `lua5.1-native` not added to `DEPENDS` automatically? (was: [PATCH] vlc_1.1.4.1: add `lua5.1` to `DEPENDS`)

Paul Menzel <[email protected]> [2010-11-06 00:21:08]:

Quoted 4 lines

Indeed in all my tests there is no luac staged.
This should be done by adding lua5.1-native to DEPENDS as you suggested. But I am wondering why lua5.1 is not providing luac. Is there a problem with the lua5.1 recipe [4][5]?

The question is, why there's no luac for you :-) It's working for me (tm), see bellow.

ynezz@ntbk:/media/data/devel/oe/ts72xx.git/tmp/work$ ls armv4t-angstrom-linux-*/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/*
armv4t-angstrom-linux-gnueabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/lua
armv4t-angstrom-linux-gnueabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/luac
armv4t-angstrom-linux-uclibceabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/lua
armv4t-angstrom-linux-uclibceabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/luac

-- ynezz

#6 lore raw

Re: vlc_1.1.4.1: Why is `lua5.1-native` not added to `DEPENDS` automatically?

Am Samstag, den 06.11.2010, 08:51 +0100 schrieb Petr Štetiar:

Quoted 7 lines

Paul Menzel <[email protected]> [2010-11-06 00:21:08]:

Quoted 4 lines

Indeed in all my tests there is no luac staged.
This should be done by adding lua5.1-native to DEPENDS as you suggested. But I am wondering why lua5.1 is not providing luac. Is there a problem with the lua5.1 recipe [4][5]?

Quoted 7 lines

The question is, why there's no luac for you :-) It's working for me (tm), see bellow.

ynezz@ntbk:/media/data/devel/oe/ts72xx.git/tmp/work$ ls armv4t-angstrom-linux-*/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/*
armv4t-angstrom-linux-gnueabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/lua
armv4t-angstrom-linux-gnueabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/luac
armv4t-angstrom-linux-uclibceabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/lua
armv4t-angstrom-linux-uclibceabi/lua5.1-5.1.4-r9/packages-split/lua5.1/usr/bin/luac

I think my question is, why luac is not staged if vlc DEPENDS on lua5.1.

Or is is inevitable to add lua5.1-native to DEPENDS?

Thanks,

Paul

#7 lore raw

Re: vlc_1.1.4.1: Why is `lua5.1-native` not added to `DEPENDS` automatically?

Paul Menzel <[email protected]> [2010-11-06 10:31:25]:

Quoted 1 line

Or is is inevitable to add lua5.1-native to DEPENDS?

You have to. As an example I've attached for you my recipe for lua-lanes, which uses luac also.

-- ynezz

From 865463173cbb5d70282ea69c2c84084e435578e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0tetiar?= <[email protected]>
Date: Sun, 10 Oct 2010 10:24:39 +0200
Subject: [PATCH] lua-lanes: add new recipe
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../0001-fix-LanesTimer-inifinite-thread-GC.patch  |   31 +++
 recipes/lua/lua-lanes-2.0.6/makefile.patch         |  207 ++++++++++++++++++++
 recipes/lua/lua-lanes-2.0.6/uclibc.patch           |   13 ++
 recipes/lua/lua-lanes_2.0.6.bb                     |   34 ++++
 4 files changed, 285 insertions(+), 0 deletions(-)
 create mode 100644 recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch
 create mode 100644 recipes/lua/lua-lanes-2.0.6/makefile.patch
 create mode 100644 recipes/lua/lua-lanes-2.0.6/uclibc.patch
 create mode 100644 recipes/lua/lua-lanes_2.0.6.bb
recipes/lua/lua-lanes-2.0.6/0001-fix-LanesTimer-inifinite-thread-GC.patch new file +31 -0
new file mode 100644
index 0000000..18fb36b
@@ -0,0 +1,31 @@
+From 69583ec6fc6cd18a0248d1233193bb2407dbda04 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20=C5=A0tetiar?= <[email protected]>
+Date: Sun, 31 Oct 2010 23:02:49 +0100
+Subject: [PATCH] fix LanesTimer inifinite thread GC
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+threading.c 394: pthread_cond_destroy(ref) failed, 16 EBUSY
+
+Signed-off-by: Petr Štetiar <[email protected]>
+---
+ src/lanes.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/lanes.c b/src/lanes.c
+index c02c540..54cfa7a 100644
+--- a/src/lanes.c
++++ b/src/lanes.c
+@@ -1559,7 +1559,7 @@ LUAG_FUNC( thread_gc ) {
+ 
+     // We can read 's->status' without locks, but not wait for it
+     //
+-    if (s->status < DONE) {
++    if (s->status < DONE && strcmp(s->threadName, "LanesTimer")) {
+         //
+         selfdestruct_add(s);
+         assert( s->selfdestruct_next );
+-- 
+1.7.0.4
+
recipes/lua/lua-lanes-2.0.6/makefile.patch new file +207 -0

207 lines not on this page · raw message

recipes/lua/lua-lanes-2.0.6/uclibc.patch new file +13 -0
new file mode 100644
index 0000000..b3d1f83
@@ -0,0 +1,13 @@
+Index: lanes-2.0.6/src/threading.h
+===================================================================
+--- lanes-2.0.6.orig/src/threading.h	2010-10-10 09:35:20.000000000 +0200
++++ lanes-2.0.6/src/threading.h	2010-10-10 09:35:32.000000000 +0200
+@@ -112,7 +112,7 @@
+   #ifdef PLATFORM_OSX
+     #define YIELD() pthread_yield_np()
+   #else
+-    #define YIELD() pthread_yield()
++    #define YIELD() sched_yield()
+   #endif
+ #endif
+ 
recipes/lua/lua-lanes_2.0.6.bb new file +34 -0
new file mode 100644
index 0000000..49ceb9c
@@ -0,0 +1,34 @@
+DESCRIPTION = "Lua Lanes is a Lua extension library providing the possibility to run multiple Lua states in parallel."
+LICENSE = "MIT"
+HOMEPAGE = "http://kotisivu.dnainternet.net/askok/bin/lanes/index.html"
+
+DEPENDS += "lua5.1-native"
+RDEPENDS_${PN} += "lua5.1"
+
+PR = "r0"
+S = "${WORKDIR}/lanes-${PV}"
+
+SRC_URI = "http://luaforge.net/frs/download.php/4652/lanes-2.0.6.tgz \
+           file://makefile.patch \
+           file://0001-fix-LanesTimer-inifinite-thread-GC.patch \
+          "
+
+UCLIBC_PATCHES = "file://uclibc.patch"
+SRC_URI_append_linux-uclibc = "${UCLIBC_PATCHES}"
+SRC_URI_append_linux-uclibceabi = "${UCLIBC_PATCHES}"
+
+LUA_LIB_DIR =  "${libdir}/lua/5.1"
+LUA_SHARE_DIR = "${datadir}/lua/5.1"
+
+PACKAGES = "${PN} ${PN}-dbg"
+FILES_${PN} = "${LUA_LIB_DIR}/lua51-lanes.so ${LUA_SHARE_DIR}/lanes.lua"
+FILES_${PN}-dbg = "${LUA_LIB_DIR}/.debug/lua51-lanes.so"
+
+EXTRA_OEMAKE = "MYFLAGS='${CFLAGS} ${LDFLAGS}'"
+
+do_install() {
+	oe_runmake install DESTDIR='${D}/usr' 
+}
+
+SRC_URI[md5sum] = "1716bdf138fcc65b7069aaad864da677"
+SRC_URI[sha256sum] = "7b07fa1c21749981ec0addcf8e9e85acfca91efe8d3f64982a6ac0bc6a615e70"
Signature · 1 line
1.7.0.4
#8 lore raw

PATCH 1/1 vlc_1.1.4.1: add `lua5.1-native` to `DEPENDS` and `lua5.1` to `RDEPENDS`

Date: Sat, 6 Nov 2010 12:00:31 +0100

Task configure failed with the following error.

[…]
checking for LUA... yes
checking for luac... no
configure: error: Could not find the LUA byte compiler.
ERROR: Function do_configure failed

It turns out that luac is needed on the build system and therefore lua5.1-native needs to be added to DEPENDS. Thanks to Petr Štetiar for his advise on this issue [1].

With this patch applied I built this recipe successfully with the following build configuration.

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "28492a5"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "2010.7-test-20101106"
TARGET_FPU = "hard"

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/026631.html

---
Please apply after the first fixup patch [2].

[2] http://patchwork.openembedded.org/patch/3504/

---
 recipes/vlc/vlc_1.1.4.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +2 -1
index af01d98..df8f17c 100644
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread lua5.1"
+DEPENDS += "libdvdcss libdvdread lua5.1-native"
+RDEPENDS_${PN} += "lua5.1"
 
 EXTRA_OECONF += "\
 	--enable-dvdread \
Signature · 1 line
1.7.2.3
#9 lore raw

PATCH 1/1 vlc_1.1.4.1: add `lua5.1-native` to `DEPENDS` and `lua5.1` to `RDEPENDS`

Date: Sat, 6 Nov 2010 12:00:31 +0100

Task configure failed with the following error.

[…]
checking for LUA... yes
checking for luac... no
configure: error: Could not find the LUA byte compiler.
ERROR: Function do_configure failed

It turns out that luac is needed on the build system and therefore lua5.1-native needs to be added to DEPENDS. Thanks to Petr Štetiar for his advise on this issue [1].

With this patch applied I built this recipe successfully with the following build configuration.

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "28492a5"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "2010.7-test-20101106"
TARGET_FPU = "hard"

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/026631.html

---
This patch has the number 3506 in the patch queue [1].

[1] http://patchwork.openembedded.org/patch/3506/

---
 recipes/vlc/vlc_1.1.4.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +2 -1
index af01d98..df8f17c 100644
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread lua5.1"
+DEPENDS += "libdvdcss libdvdread lua5.1-native"
+RDEPENDS_${PN} += "lua5.1"
 
 EXTRA_OECONF += "\
        --enable-dvdread \
Signature · 1 line
1.7.2.3
#10 lore raw

Re: [PATCH][RESEND] vlc_1.1.4.1: add `lua5.1-native` to `DEPENDS` and `lua5.1` to `RDEPENDS`

Am Donnerstag, den 11.11.2010, 23:26 +0100 schrieb Paul Menzel:

Quoted 25 lines

Date: Sat, 6 Nov 2010 12:00:31 +0100

Task configure failed with the following error.

[…]
checking for LUA... yes
checking for luac... no
configure: error: Could not find the LUA byte compiler.
ERROR: Function do_configure failed

It turns out that luac is needed on the build system and therefore lua5.1-native needs to be added to DEPENDS. Thanks to Petr Štetiar for his advise on this issue [1].

With this patch applied I built this recipe successfully with the following build configuration.

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "28492a5"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "2010.7-test-20101106"
TARGET_FPU = "hard"

Quoted 7 lines

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-November/026631.html

---
This patch has the number 3506 in the patch queue [1].

[1] http://patchwork.openembedded.org/patch/3506/

It would be great if some could commit and push this patch.

Thanks,

Paul

Quoted 18 lines
---
 recipes/vlc/vlc_1.1.4.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +2 -1
index af01d98..df8f17c 100644
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread lua5.1"
+DEPENDS += "libdvdcss libdvdread lua5.1-native"
+RDEPENDS_${PN} += "lua5.1"
 
 EXTRA_OECONF += "\
        --enable-dvdread \
#11 lore raw

Re: [PATCH][RESEND] vlc_1.1.4.1: add `lua5.1-native` to `DEPENDS` and `lua5.1` to `RDEPENDS`

Quoted 6 lines · Paul Menzel
Quoted 4 lines

---
This patch has the number 3506 in the patch queue [1].

[1] http://patchwork.openembedded.org/patch/3506/

It would be great if some could commit and push this patch.

Applied thanks

Quoted 31 lines

Thanks,

Paul

Quoted 9 lines
---
 recipes/vlc/vlc_1.1.4.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/vlc/vlc_1.1.4.1.bb +0 -0
index af01d98..df8f17c 100644

recipes/vlc/vlc_1.1.4.1.bb SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696 · line 17

Quoted 9 lines
recipes/vlc/vlc_1.1.4.1.bb +2 -1
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "61c9ea30a17ea40c6ccbfd507026e5c83ad9e0691f221d3667c8e49696
 
 # ffmpeg from git (library version => 52) is required
 # libtool-native must be >= 2.2.4
-DEPENDS += "libdvdcss libdvdread lua5.1"
+DEPENDS += "libdvdcss libdvdread lua5.1-native"
+RDEPENDS_${PN} += "lua5.1"
 
 EXTRA_OECONF += "\
        --enable-dvdread \

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel