From 05e40c397bfc55e6d564eaffeb026fbb34048e43 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 28 Sep 2026 14:06:10 +0000 Subject: automatic import of ros-humble-adi-iio --- adi-iio.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/adi-iio.spec b/adi-iio.spec index 1fb66f3..8730e08 100644 --- a/adi-iio.spec +++ b/adi-iio.spec @@ -5,7 +5,7 @@ Name: ros-%{ros_distro}-%{RosPkgName} Version: 1.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: ROS package to interface with IIO devices License: Apache License, Version 2.0 URL: https://github.com/analogdevicesinc/iio_ros2/tree/humble @@ -49,7 +49,11 @@ Vendors libiio (userspace IIO library) as it is not available on openEuler. %autosetup -n %{RosPkgName}-%{src_version} -a 1 %build -# Build vendored libiio first (openEuler has no libiio package) +# Build vendored libiio first (openEuler has no libiio package). +# Network backend disabled: it transitively pulls in libavahi/libxml2/libzstd +# (DNS-SD discovery + XML backend + ZSTD for IIOD async API). adi-iio only +# needs the local backend (iio_create_context_from_uri with "local:" URI) plus +# the libiio API, so WITH_NETWORK_BACKEND=OFF avoids the whole dependency chain. cd libiio-%{libiio_version} mkdir -p build && cd build cmake .. \ @@ -60,7 +64,7 @@ cmake .. \ -DWITH_XML_BACKEND=OFF \ -DWITH_USB_BACKEND=OFF \ -DWITH_SERIAL_BACKEND=OFF \ - -DWITH_NETWORK_BACKEND=ON \ + -DWITH_NETWORK_BACKEND=OFF \ -DWITH_ZSTD=OFF \ -DWITH_IIOD=OFF \ -DWITH_UTILS=OFF \ @@ -115,6 +119,9 @@ make install DESTDIR=%{buildroot} /opt/ros/%{ros_distro} %changelog +* Mon Sep 28 2026 ai-importer - 1.0.1-3 +- Disable libiio network backend: it requires libavahi/libxml2/libzstd which are + not pulled in; local backend suffices for adi-iio's iio_create_context_from_uri * Mon Sep 28 2026 ai-importer - 1.0.1-2 - Vendor libiio 1.0.0 (not available on openEuler) - Remove libiio-dev BuildRequires/Requires, add Provides: libiio/libiio-devel -- cgit v1.2.3