Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/3] Revert "libiio: fix build of python bindins"
@ 2019-10-16 11:00 Martin Siegumfeldt
  2019-10-16 11:00 ` [meta-oe][PATCH 2/3] libiio: allow python3 bindings to be built Martin Siegumfeldt
  2019-10-16 11:00 ` [meta-oe][PATCH 3/3] libiio: bump to version 0.18+ Martin Siegumfeldt
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Siegumfeldt @ 2019-10-16 11:00 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Siegumfeldt

This reverts commit b0caf1fb82b90a6b123ba4463a8405568eda0389.

 * bindings are build through the variant 'libiio-python' and is not
   intended installed as part of just 'libiio'

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
---
 meta-oe/recipes-support/libiio/libiio_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index cc0efccf9..5d422520b 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -24,11 +24,10 @@ EXTRA_OECMAKE = " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \
 "
 
-PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND PYTHON_BINDINGS"
+PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND"
 
 PACKAGECONFIG[USB_BACKEND] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2"
 PACKAGECONFIG[NETWORK_BACKEND] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2"
-PACKAGECONFIG[PYTHON_BINDINGS] = ",,python"
 
 PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python"
 
-- 
2.17.1



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

* [meta-oe][PATCH 2/3] libiio: allow python3 bindings to be built
  2019-10-16 11:00 [meta-oe][PATCH 1/3] Revert "libiio: fix build of python bindins" Martin Siegumfeldt
@ 2019-10-16 11:00 ` Martin Siegumfeldt
  2019-10-16 11:00 ` [meta-oe][PATCH 3/3] libiio: bump to version 0.18+ Martin Siegumfeldt
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Siegumfeldt @ 2019-10-16 11:00 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Siegumfeldt

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
---
 meta-oe/recipes-support/libiio/libiio_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index 5d422520b..4282355f8 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -11,7 +11,7 @@ SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https"
 
 S = "${WORKDIR}/git"
 
-inherit cmake pythonnative systemd
+inherit cmake python3native systemd
 
 DEPENDS = " \
     flex-native bison-native libaio \
@@ -29,16 +29,16 @@ PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND"
 PACKAGECONFIG[USB_BACKEND] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2"
 PACKAGECONFIG[NETWORK_BACKEND] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2"
 
-PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python"
+PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}"
 
-RDEPENDS_${PN}-python = "${PN} python-ctypes python-stringold"
+RDEPENDS_${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-ctypes ${PYTHON_PN}-stringold"
 
 FILES_${PN}-iiod = " \
     ${sbindir}/iiod \
     ${systemd_system_unitdir}/iiod.service \
 "
 FILES_${PN}-tests = "${bindir}"
-FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-${PYTHON_PN} = "${PYTHON_SITEPACKAGES_DIR}"
 
 SYSTEMD_PACKAGES = "${PN}-iiod"
 SYSTEMD_SERVICE_${PN}-iiod = "iiod.service"
-- 
2.17.1



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

* [meta-oe][PATCH 3/3] libiio: bump to version 0.18+
  2019-10-16 11:00 [meta-oe][PATCH 1/3] Revert "libiio: fix build of python bindins" Martin Siegumfeldt
  2019-10-16 11:00 ` [meta-oe][PATCH 2/3] libiio: allow python3 bindings to be built Martin Siegumfeldt
@ 2019-10-16 11:00 ` Martin Siegumfeldt
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Siegumfeldt @ 2019-10-16 11:00 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Martin Siegumfeldt

Move a few commits ahead of 0.18 in order to resolve build issue
related to static only library installation.

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
---
 meta-oe/recipes-support/libiio/libiio_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index 4282355f8..4e57d5b77 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -4,8 +4,9 @@ SECTION = "libs"
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c"
 
-SRCREV = "6ecff5d46e1b12c2859f0b63a73282940e3402bb"
-PV = "0.15+git${SRCPV}"
+# v0.18 + a single commit fixing the build
+SRCREV = "5090603d01779bb1717fb0c50953330e8770550f"
+PV = "0.18+git${SRCPV}"
 
 SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https"
 
-- 
2.17.1



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

end of thread, other threads:[~2019-10-16 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 11:00 [meta-oe][PATCH 1/3] Revert "libiio: fix build of python bindins" Martin Siegumfeldt
2019-10-16 11:00 ` [meta-oe][PATCH 2/3] libiio: allow python3 bindings to be built Martin Siegumfeldt
2019-10-16 11:00 ` [meta-oe][PATCH 3/3] libiio: bump to version 0.18+ Martin Siegumfeldt

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