All of lore.kernel.org
 help / color / mirror / Atom feed
* [daisy][PATCH 0/5] small build fixes for daisy
@ 2014-08-12 12:25 Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 1/5] sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency Martin Jansa
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Martin Jansa @ 2014-08-12 12:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

The following changes since commit 9ee63edfd9c6e5c22ce707770955a5796cde2cfc:

  ltrace: add PV and PACKAGECONFIG for libunwind (2014-08-12 14:15:26 +0200)

are available in the git repository at:

  git://git.openembedded.org/meta-openembedded-contrib b90153d5981990ea9910c417a868fb26e7e264a4
  http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=jansa/daisy-backports

Martin Jansa (5):
  sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency
  ktap: Set MACHINE_ARCH because of ktap-module runtime dependency
  glmark2: Add virtual/libx11 dependency
  irssi: add --with-ncurses option
  libgc: add PACKAGECONFIG for libatomic-ops

 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb | 3 ++-
 meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb    | 7 +++++--
 meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb  | 5 +++--
 meta-oe/recipes-kernel/ktap/ktap_0.4.bb                 | 2 +-
 meta-oe/recipes-support/libgc/libgc_7.2d.bb             | 4 ++++
 5 files changed, 15 insertions(+), 6 deletions(-)

-- 
2.0.4



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

* [daisy][PATCH 1/5] sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
@ 2014-08-12 12:25 ` Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 2/5] ktap: Set MACHINE_ARCH because of ktap-module runtime dependency Martin Jansa
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2014-08-12 12:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
index 3a9692f..cf74827 100644
--- a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
+++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
@@ -12,7 +12,8 @@ SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6a
 
 S = "${WORKDIR}/${BPN}-1.18"
 
-DEPENDS="virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+DEPENDS = "virtual/kernel"
 
 EXTRA_OEMAKE="CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
               KERNEL_DIR=${STAGING_KERNEL_DIR} "
-- 
2.0.4



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

* [daisy][PATCH 2/5] ktap: Set MACHINE_ARCH because of ktap-module runtime dependency
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 1/5] sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency Martin Jansa
@ 2014-08-12 12:25 ` Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 3/5] glmark2: Add virtual/libx11 dependency Martin Jansa
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2014-08-12 12:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

* it's possible to exclude ktap-module dependency from siggen, but
  then we would need to exclude virtual/kernel and that doesn't work
  we would need to list all posisble providers as
  ktap->linux-yocto
  ktap->linux-foo
  ....

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-kernel/ktap/ktap_0.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-kernel/ktap/ktap_0.4.bb b/meta-oe/recipes-kernel/ktap/ktap_0.4.bb
index 20f94d5..cbdabf8 100644
--- a/meta-oe/recipes-kernel/ktap/ktap_0.4.bb
+++ b/meta-oe/recipes-kernel/ktap/ktap_0.4.bb
@@ -22,5 +22,5 @@ do_install() {
     install -m 0755 ${S}/ktap ${D}${bindir}/
 }
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 RDEPENDS_${PN} = "kernel-module-ktapvm"
-
-- 
2.0.4



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

* [daisy][PATCH 3/5] glmark2: Add virtual/libx11 dependency
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 1/5] sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 2/5] ktap: Set MACHINE_ARCH because of ktap-module runtime dependency Martin Jansa
@ 2014-08-12 12:25 ` Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 4/5] irssi: add --with-ncurses option Martin Jansa
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2014-08-12 12:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

* without it, do_configure fails:
  | Checking for 'x11'                       : not found
  | The configuration failed
* inherit distro_features_check

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb
index 031e3b3..2efe6d6 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb
@@ -8,14 +8,17 @@ LICENSE = "GPLv3+ & SGIv1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://COPYING.SGI;beginline=5;md5=269cdab4af6748677acce51d9aa13552"
 
-DEPENDS = "libpng12 jpeg"
+DEPENDS = "libpng12 jpeg virtual/libx11"
+
+# depends on virtual/libx11
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
 
 SRC_URI[md5sum] = "4f306664aa3886fa0cf93853603603f8"
 SRC_URI[sha256sum] = "bea6f9de2cdce376195bd91e4a2fdfdf80bf3e480abff8e05b90a6458c1deb47"
 
-inherit waf pkgconfig
+inherit waf pkgconfig distro_features_check
 
 PACKAGECONFIG ?= "gl gles2"
 
-- 
2.0.4



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

* [daisy][PATCH 4/5] irssi: add --with-ncurses option
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
                   ` (2 preceding siblings ...)
  2014-08-12 12:25 ` [daisy][PATCH 3/5] glmark2: Add virtual/libx11 dependency Martin Jansa
@ 2014-08-12 12:25 ` Martin Jansa
  2014-08-12 12:25 ` [daisy][PATCH 5/5] libgc: add PACKAGECONFIG for libatomic-ops Martin Jansa
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2014-08-12 12:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

* otherwise do_configure tries to find ncurses.h on host and
  disables ncurses support when not found, then build fails because
  of missing -lcurses when using terminfo-core.o:
  | terminfo-core.o: In function `_set_bg':
  | /OE/irssi/0.8.15+0.8.16-rc1-r0/irssi-0.8.16-rc1/src/fe-text/terminfo-core.c:343:
    undefined reference to `tputs'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb b/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb
index 7880a06..1e27a2b 100644
--- a/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb
+++ b/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb
@@ -17,5 +17,6 @@ S = "${WORKDIR}/irssi-${REALPV}"
 
 inherit autotools
 
-EXTRA_OECONF = "--enable-ssl"
-
+EXTRA_OECONF = "--enable-ssl \
+    --with-ncurses=${STAGING_EXECPREFIXDIR} \
+"
-- 
2.0.4



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

* [daisy][PATCH 5/5] libgc: add PACKAGECONFIG for libatomic-ops
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
                   ` (3 preceding siblings ...)
  2014-08-12 12:25 ` [daisy][PATCH 4/5] irssi: add --with-ncurses option Martin Jansa
@ 2014-08-12 12:25 ` Martin Jansa
  2014-08-12 12:44 ` [daisy][PATCH 0/5] small build fixes for daisy Otavio Salvador
  2014-08-20  5:08 ` akuster808
  6 siblings, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2014-08-12 12:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/libgc/libgc_7.2d.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/libgc/libgc_7.2d.bb b/meta-oe/recipes-support/libgc/libgc_7.2d.bb
index b472a5d..66e6b92 100644
--- a/meta-oe/recipes-support/libgc/libgc_7.2d.bb
+++ b/meta-oe/recipes-support/libgc/libgc_7.2d.bb
@@ -16,5 +16,9 @@ S = "${WORKDIR}/gc-7.2"
 
 inherit autotools
 
+# by default use external libatomic-ops
+PACKAGECONFIG ??= "libatomic-ops"
+PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomics-ops"
+
 PACKAGES =+ "${PN}-docs"
 FILES_${PN}-docs = "/usr/share/gc"
-- 
2.0.4



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

* Re: [daisy][PATCH 0/5] small build fixes for daisy
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
                   ` (4 preceding siblings ...)
  2014-08-12 12:25 ` [daisy][PATCH 5/5] libgc: add PACKAGECONFIG for libatomic-ops Martin Jansa
@ 2014-08-12 12:44 ` Otavio Salvador
  2014-08-20  5:08 ` akuster808
  6 siblings, 0 replies; 8+ messages in thread
From: Otavio Salvador @ 2014-08-12 12:44 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OpenEmbedded Devel List

On Tue, Aug 12, 2014 at 9:25 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> Martin Jansa (5):
>   sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency
>   ktap: Set MACHINE_ARCH because of ktap-module runtime dependency
>   glmark2: Add virtual/libx11 dependency
>   irssi: add --with-ncurses option
>   libgc: add PACKAGECONFIG for libatomic-ops

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [daisy][PATCH 0/5] small build fixes for daisy
  2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
                   ` (5 preceding siblings ...)
  2014-08-12 12:44 ` [daisy][PATCH 0/5] small build fixes for daisy Otavio Salvador
@ 2014-08-20  5:08 ` akuster808
  6 siblings, 0 replies; 8+ messages in thread
From: akuster808 @ 2014-08-20  5:08 UTC (permalink / raw)
  To: Martin Jansa, openembedded-devel; +Cc: Otavio Salvador



On 08/12/2014 05:25 AM, Martin Jansa wrote:
> The following changes since commit 9ee63edfd9c6e5c22ce707770955a5796cde2cfc:
>
>    ltrace: add PV and PACKAGECONFIG for libunwind (2014-08-12 14:15:26 +0200)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/meta-openembedded-contrib b90153d5981990ea9910c417a868fb26e7e264a4
>    http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=jansa/daisy-backports
>
> Martin Jansa (5):
>    sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency
>    ktap: Set MACHINE_ARCH because of ktap-module runtime dependency
>    glmark2: Add virtual/libx11 dependency
>    irssi: add --with-ncurses option
>    libgc: add PACKAGECONFIG for libatomic-ops
>
>   meta-networking/recipes-connectivity/sethdlc/sethdlc.bb | 3 ++-
>   meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb    | 7 +++++--
>   meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb  | 5 +++--
>   meta-oe/recipes-kernel/ktap/ktap_0.4.bb                 | 2 +-
>   meta-oe/recipes-support/libgc/libgc_7.2d.bb             | 4 ++++
>   5 files changed, 15 insertions(+), 6 deletions(-)
>
not sure if I acked already.


Acked-By: Armin Kuster <akuster808@gmail.com>


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

end of thread, other threads:[~2014-08-20  5:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12 12:25 [daisy][PATCH 0/5] small build fixes for daisy Martin Jansa
2014-08-12 12:25 ` [daisy][PATCH 1/5] sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency Martin Jansa
2014-08-12 12:25 ` [daisy][PATCH 2/5] ktap: Set MACHINE_ARCH because of ktap-module runtime dependency Martin Jansa
2014-08-12 12:25 ` [daisy][PATCH 3/5] glmark2: Add virtual/libx11 dependency Martin Jansa
2014-08-12 12:25 ` [daisy][PATCH 4/5] irssi: add --with-ncurses option Martin Jansa
2014-08-12 12:25 ` [daisy][PATCH 5/5] libgc: add PACKAGECONFIG for libatomic-ops Martin Jansa
2014-08-12 12:44 ` [daisy][PATCH 0/5] small build fixes for daisy Otavio Salvador
2014-08-20  5:08 ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.