lirc: Make X support to be a packageconfig
PATCH 1/3 lirc: Make X support to be a packageconfig
From: Khem Raj <[email protected]>
When we dont have x11 in distro features it fails to build since libx11 dependency is not satisfied
Change-Id I6774a83f965551a41afe12b1304e44e73fc789c0
Signed-off-by Khem Raj <[email protected]>
Signed-off-by Martin Jansa <[email protected]>
--- meta-oe/recipes-connectivity/lirc/lirc.inc | 2 +- meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
meta-oe/recipes-connectivity/lirc/lirc.inc +1 -1
@@ -6,7 +6,7 @@ DESCRIPTION_append_lirc-nslu2example = " This package contains a working config HOMEPAGE = "http://www.lirc.org" SECTION = "console/network" LICENSE = "GPLv2" -DEPENDS = "alsa-lib libftdi libusb1 libusb-compat jack portaudio-v19 libx11" +DEPENDS = "alsa-lib libftdi libusb1 libusb-compat jack portaudio-v19" PRIORITY = "optional" SRC_URI = "http://prdownloads.sourceforge.net/lirc/lirc-${PV}.tar.bz2"
meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb +4 -2
@@ -19,9 +19,11 @@ SYSTEMD_AUTO_ENABLE_lirc = "enable" inherit autotools pkgconfig systemd pythonnative -PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir" +PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd" +PACKAGECONFIG[x11] = "--with-x,--with-x=no,libx11," -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}" +PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}" #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' do_install_append() {
Signature · 1 line
2.6.1
PATCH 2/3 lirc: use weak assignment in PACKAGECONFIG like other recipes
* using append makes it harder to disable PACKAGECONFIGs set from DISTRO_FEATURES
Signed-off-by Martin Jansa <[email protected]>
--- meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb +4 -2
@@ -22,8 +22,10 @@ inherit autotools pkgconfig systemd pythonnative PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd" PACKAGECONFIG[x11] = "--with-x,--with-x=no,libx11," -PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}" -PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}" +PACKAGECONFIG ?= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)} \ +" #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' do_install_append() {
Signature · 1 line
2.6.1
PATCH 3/3 ruby: explicitly disable dtrace support
In reply to Martin Jansaboth 2.2.1 and 2.2.2 are failing on some hosts native builds with:
| linking miniruby | load.o: In function `rb_f_load': | load.c:(.text+0x3af): undefined reference to `RUBY_DTRACE_LOAD_ENTRY_ENABLED' | load.c:(.text+0x428): undefined reference to `RUBY_DTRACE_LOAD_RETURN_ENABLED' | load.c:(.text+0x452): undefined reference to `RUBY_DTRACE_LOAD_RETURN' | load.c:(.text+0x492): undefined reference to `RUBY_DTRACE_LOAD_ENTRY' | load.o: In function `rb_require_internal':
Signed-off-by Martin Jansa <[email protected]>
--- meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb | 1 + 1 file changed, 1 insertion(+)
meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb +1 -0
@@ -16,6 +16,7 @@ EXTRA_OECONF = "\ --enable-wide-getaddrinfo \ --disable-versioned-paths \ --disable-rpath \ + --disable-dtrace \ --enable-shared \ --enable-load-relative \ "
Signature · 1 line
2.6.1
Re: [PATCH][meta-oe][fido 3/3] ruby: explicitly disable dtrace support
Quoted 13 lines · Martin Jansa
both 2.2.1 and 2.2.2 are failing on some hosts native builds with:
| linking miniruby | load.o: In function `rb_f_load': | load.c:(.text+0x3af): undefined reference to `RUBY_DTRACE_LOAD_ENTRY_ENABLED' | load.c:(.text+0x428): undefined reference to `RUBY_DTRACE_LOAD_RETURN_ENABLED' | load.c:(.text+0x452): undefined reference to `RUBY_DTRACE_LOAD_RETURN' | load.c:(.text+0x492): undefined reference to `RUBY_DTRACE_LOAD_ENTRY' | load.o: In function `rb_require_internal':
Quoted 1 line
Signed-off-by Martin Jansa <[email protected]>
Thought this was fixed already. Oh well.
Acked-by Armin Kuster <[email protected]>
Traveling today. Will merge soon
Quoted 24 lines
---
meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb | 1 +1 file changed, 1 insertion(+)meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb +1
-0@@ -16,6 +16,7 @@ EXTRA_OECONF = "\ --enable-wide-getaddrinfo \ --disable-versioned-paths \ --disable-rpath \ + --disable-dtrace \ --enable-shared \ --enable-load-relative \"
Signature · 7 lines
2.6.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel