package/libiio: bump to version 0.18
authorPierre-Jean Texier <pjtexier@koncepto.io>
Sun, 23 Jun 2019 13:10:39 +0000 (15:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 23 Jun 2019 15:09:00 +0000 (17:09 +0200)
See https://github.com/analogdevicesinc/libiio/releases

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch [new file with mode: 0644]
package/libiio/libiio.hash
package/libiio/libiio.mk

diff --git a/package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch b/package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch
new file mode 100644 (file)
index 0000000..a02bb60
--- /dev/null
@@ -0,0 +1,44 @@
+From 5090603d01779bb1717fb0c50953330e8770550f Mon Sep 17 00:00:00 2001
+From: Pierre-Jean Texier <pjtexier@koncepto.io>
+Date: Sun, 23 Jun 2019 14:11:37 +0200
+Subject: [PATCH] fix install of binaries with a static only library
+
+Define CMAKE_INSTALL_RPATH only if ENABLE_SHARED is set otherwise the
+following issue occured:
+
+CMake Error at iiod/cmake_install.cmake:45 (file):
+  file RPATH_CHANGE could not write new RPATH:
+
+    /usr/lib
+
+  to the file:
+
+    /home/pjtexier/<path>/usr/sbin/iiod
+
+  No valid ELF RPATH or RUNPATH entry exists in the file; File does not have
+  a valid ELF identification.
+Call Stack (most recent call first):
+  cmake_install.cmake:50 (include)
+
+Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
+[Upstream status: https://github.com/analogdevicesinc/libiio/pull/283]
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d9b7ea1..634e553 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,7 +15,7 @@ endif()
+ set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (DATAROOTDIR/doc/${PROJECT_NAME}${LIBIIO_VERSION_MAJOR}-doc)")
+ include(GNUInstallDirs)
+-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++if(ENABLE_SHARED AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+       set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}")
+       set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+ endif()
+-- 
+2.7.4
+
index 800b2ee8f46e28b8c6da3152d509aa6a421827f7..34c314427709e5a0b02bbd47205f87729e1ff4d9 100644 (file)
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 a729f8ff48137ad271a3e2951f322b35c1bf2ec075b488d75c8bd071c693fd19  libiio-0.15.tar.gz
+sha256 bc2c5299974b65cfe9aa4a06d8c74d7651594e026bce416db48a2c5aa7ba2554  libiio-0.18.tar.gz
 sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b  COPYING.txt
index 2371a71063dff8b3e35e1bc055ffef56047b277f..8c8f79bd74c7a98e720f60b13ecb171aec9fd08f 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBIIO_VERSION = 0.15
+LIBIIO_VERSION = 0.18
 LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION))
 LIBIIO_INSTALL_STAGING = YES
 LIBIIO_LICENSE = LGPL-2.1+