From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 14:51:56 2025 Received: (at submit) by debbugs.gnu.org; 19 Apr 2025 18:51:57 +0000 Received: from localhost ([127.0.0.1]:37351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6DIA-0000iT-TP for submit@debbugs.gnu.org; Sat, 19 Apr 2025 14:51:56 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52054) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6DI5-0000gp-9b for submit@debbugs.gnu.org; Sat, 19 Apr 2025 14:51:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u6DHu-0001m3-KQ for guix-patches@gnu.org; Sat, 19 Apr 2025 14:51:39 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::] helo=mail.ditigal.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1u6DHs-00074x-UZ for guix-patches@gnu.org; Sat, 19 Apr 2025 14:51:38 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 49053ea3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Sat, 19 Apr 2025 18:51:23 +0000 (UTC) From: Rutherther To: guix-patches@gnu.org Subject: Re: [PATCH 0/4] Support for PlutoSDR in SDR++ and SDRangel In-Reply-To: References: Date: Sat, 19 Apr 2025 20:51:21 +0200 Message-ID: <87r01oq91y.fsf@ditigal.xyz> MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745088683; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=K5VVzjovF7GlvAU2X1tFS4iRokNFVAWTcwN/v1BkERc=; b=SPYKC1lN7wtXAOboNroCe1PeXgGywg8Oi4GbmS7Z1zQ8JIJFLd9lny+Z/O5+vgmXEhdZ/ 6Mn1ey5URBjP6NJluD21S5w6/A2JVh+mL/ISIWQqVQgIJKnQdpa8tlRLWeOUOpuRjD7EqJI guFwg9DOwroNOVKVkLbjChDhBMlsWPM= Received-SPF: pass client-ip=2a01:4f8:1c1b:6a1c::; envelope-from=rutherther@ditigal.xyz; helo=mail.ditigal.xyz X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.4 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This patch series adds dependencies for supporting PlutoSDR (libiio and libad9361), and enables compilation of PlutoSDR in sdrangel and sdr++. Rutherther (4): gnu: Add libiio gnu: Add libad9361 gnu: sdrangel: Compile with PlutoSDR support gnu: sdr++: Compile with PlutoSDR support Content analysis details: (3.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=rutherther%40ditigal.xyz; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.4 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This patch series adds dependencies for supporting PlutoSDR (libiio and libad9361), and enables compilation of PlutoSDR in sdrangel and sdr++. Rutherther (4): gnu: Add libiio gnu: Add libad9361 gnu: sdrangel: Compile with PlutoSDR support gnu: sdr++: Compile with PlutoSDR support Content analysis details: (3.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=rutherther%40ditigal.xyz;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This patch series adds dependencies for supporting PlutoSDR (libiio and libad9361), and enables compilation of PlutoSDR in sdrangel and sdr++. Rutherther (4): gnu: Add libiio gnu: Add libad9361 gnu: sdrangel: Compile with PlutoSDR support gnu: sdr++: Compile with PlutoSDR support gnu/packages/radio.scm | 90 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 88 insertions(+), 2 deletions(-) base-commit: 12a6dd40a7b88454cc8a8c930c22681fcee5b1ea -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 14:53:42 2025 Received: (at 77927) by debbugs.gnu.org; 19 Apr 2025 18:53:42 +0000 Received: from localhost ([127.0.0.1]:37375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6DJp-0000q7-Et for submit@debbugs.gnu.org; Sat, 19 Apr 2025 14:53:41 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:57768 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6DJm-0000op-5A for 77927@debbugs.gnu.org; Sat, 19 Apr 2025 14:53:35 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 16d6e2b6 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 19 Apr 2025 18:53:28 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH 1/4] gnu: Add libiio Date: Sat, 19 Apr 2025 20:53:13 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745088808; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=LjczNQmdksYgkIedik8JtE+IyPRELLcWv8xYr3XRPiY=; b=MD3ZR6OP4DuKX1D1l8YfbIiNh1i45U4TSyF7hdJnRo6qdKzf9d1/lFIbcMudE8OEJwBxk MhQKvmPjNpVa1uAshIjGAvkYERDm2pvY4YDKEg6KpDT7F1dSXcAhvYfqhhU62DK+ogGxnCs bMvpInu4XNBhsrsxqymKgxNFWDVkknY= X-Spam-Score: 4.5 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) Content analysis details: (4.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 3724988ce4..df3574b5e3 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -49,6 +49,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -56,6 +57,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages engineering) + #:use-module (gnu packages flex) #:use-module (gnu packages fltk) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) @@ -190,6 +192,59 @@ (define-public libcorrect used as a drop-in substitute for @code{libfec}.") (license license:bsd-3)))) +(define-public libiio + (package + (name "libiio") + (version "0.24") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/analogdevicesinc/libiio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "136n22macjz70bgxd7ix77gkv7zhbk3zzl340kwwpmb94z2fr4bk")))) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list + (string-append "-DUDEV_RULES_INSTALL_DIR=" #$output "/lib/udev/rules.d") + "-DOSX_PACKAGE=off" + "-DOSX_FRAMEWORK=off" + (string-append "-DPython_EXECUTABLE=" (search-input-file %build-inputs "/bin/python3")) + "-DPYTHON_BINDINGS=on"))) + (native-inputs + (list + pkg-config + flex + bison + python + avahi + libaio)) + (inputs + (list + libxml2 + libusb)) + (build-system cmake-build-system) + (license (list + license:lgpl2.1 + license:gpl2)) + (home-page "https://github.com/analogdevicesinc/libiio") + (synopsis "A cross platform library for interfacing with local and remote Linux IIO devices ") + (description + "Library for interfacing with Linux IIO devices +libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. +The Linux IIO subsystem is intended to provide support for devices that in some +sense are analog to digital or digital to analog converters (ADCs, DACs). +This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, +Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, +Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), +Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively +on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target +from a host Linux, Windows or MAC over USB or Ethernet or Serial."))) + (define-public liquid-dsp (package (name "liquid-dsp") base-commit: 12a6dd40a7b88454cc8a8c930c22681fcee5b1ea -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 14:53:55 2025 Received: (at 77927) by debbugs.gnu.org; 19 Apr 2025 18:53:55 +0000 Received: from localhost ([127.0.0.1]:37379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6DK5-0000t0-5y for submit@debbugs.gnu.org; Sat, 19 Apr 2025 14:53:54 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:57768 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6DJo-0000op-2s for 77927@debbugs.gnu.org; Sat, 19 Apr 2025 14:53:37 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 1ea1caff (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 19 Apr 2025 18:53:30 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH 2/4] gnu: Add libad9361 Date: Sat, 19 Apr 2025 20:53:14 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745088810; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=NuBebXNqL1wy/1Bs7xSwgFjrDr/fSwJrtAZBuZ5qhBY=; b=Cq+6UFnj1uSSlkmzD+lFD++tl1+nTmehSbtpZFmd4KTNKovI4UfQUh716lxkKQxpdAZs6 HLZ/MGD1p3u9Sfx4ZpsodA7HOGhCkFVfzTUBfFlRHnTw4jiSp+EvY4rA9xhwrN5UNIaiy/K zKa77s6NIvPA6q2QgNAM8tsovEVFcPE= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index df3574b5e3..c1cb5dfe15 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -245,6 +245,32 @@ (define-public libiio on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial."))) +(define-public libad9361 + (package + (name "libad9361") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/analogdevicesinc/libad9361-iio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1inv39xfg8gqz1v7k1n2a7p9zzlb6gq98gcnnpdcr9fa5alvmvpm")))) + (inputs + (list libiio)) + (build-system cmake-build-system) + (license (list + license:lgpl2.1 + license:gpl2)) + (home-page "https://github.com/analogdevicesinc/libad9361-iio") + (synopsis + "IIO AD9361 library for filter design and handling, multi-chip sync, etc. ") + (description "This is a simple library used for userspace, +which manages multi-chip sync (on platforms (FMCOMMS5) where multiple AD9361 devices are use) +can create AD9361 specific FIR filters on the fly."))) + (define-public liquid-dsp (package (name "liquid-dsp") -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 14:54:01 2025 Received: (at 77927) by debbugs.gnu.org; 19 Apr 2025 18:54:01 +0000 Received: from localhost ([127.0.0.1]:37382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6DKD-0000tw-1U for submit@debbugs.gnu.org; Sat, 19 Apr 2025 14:54:01 -0400 Received: from ditigal.xyz ([78.46.201.50]:47398 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6DJp-0000os-8D for 77927@debbugs.gnu.org; Sat, 19 Apr 2025 14:53:39 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 038efe40 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 19 Apr 2025 18:53:33 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH 3/4] gnu: sdrangel: Compile with PlutoSDR support Date: Sat, 19 Apr 2025 20:53:15 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745088813; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=9FojH+V7O16sE/b/iE/TjsnVaYF4i8ENYs2gJ9aub/c=; b=mctvw7/WiFCj2kh5/7HQQWtyQRSH30J2oXZex8AOOvcRsUI7l+BiSI8kTFbt8m36OEKx5 6Bnr4HKjtzPYlI4Wa34rC+NXlBJRNBu+ufIz0MQAyS1ZVBoF0wbXSt3STJIc/nc9qZ6OXW0 du3qFRUXyJuuknD0n8PuoZIS5fqUmWw= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in sa-trusted.bondedsender.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in bl.score.senderscore.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Change-Id: I7cf959b61af567a3133034ad52d5f4564f099c30 --- gnu/packages/radio.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c1cb5dfe15..5a936ea65b 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2782,6 +2782,7 @@ (define-public sdrangel hamlib hidapi libdab + libiio libusb mbelib opencv @@ -2822,7 +2823,9 @@ (define-public sdrangel (string-append "-DSGP4_DIR=" #$(this-package-input "sgp4")) (string-append "-DSOAPYSDR_DIR=" - #$(this-package-input "soapysdr"))) + #$(this-package-input "soapysdr")) + (string-append "-DIIO_DIR=" + #$(this-package-input "libiio"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-unrecognized-compiler-option -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 14:54:02 2025 Received: (at 77927) by debbugs.gnu.org; 19 Apr 2025 18:54:02 +0000 Received: from localhost ([127.0.0.1]:37384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6DKD-0000u3-G5 for submit@debbugs.gnu.org; Sat, 19 Apr 2025 14:54:02 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:57768 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6DJp-0000op-Mg for 77927@debbugs.gnu.org; Sat, 19 Apr 2025 14:53:42 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id beb80f7b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 19 Apr 2025 18:53:35 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH 4/4] gnu: sdr++: Compile with PlutoSDR support Date: Sat, 19 Apr 2025 20:53:16 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745088815; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=DkOMa9/Y25FsRTJR+o3yrKBjXLu5cIMR3T0/WdPozhQ=; b=pfRHGBCauSlRAHUvz/QOwzV/tf40dWyuveJEBSfMuVWIdgQrGkBkIl1rIFoavAHmSNKga MRBpP5zoYkcoEtLBiksgezMXcpW2UPDHV0li7kL08maih6/AsRA6jIZieBOfDPb9zl+z2p5 NckY84yA8K9SCE03Z1u0Qin07ywwfb4= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 5a936ea65b..2c6cda7008 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2884,6 +2884,8 @@ (define-public sdr++ glfw hackrf jack-2 + libad9361 + libiio libusb pulseaudio rtaudio @@ -2894,7 +2896,7 @@ (define-public sdr++ (arguments (list #:tests? #f ; No test suite. #:configure-flags #~(list "-DOPT_BUILD_BLADERF_SOURCE=ON" - "-DOPT_BUILD_PLUTOSDR_SOURCE=OFF" + "-DOPT_BUILD_PLUTOSDR_SOURCE=ON" "-DOPT_BUILD_M17_DECODER=ON") #:phases #~(modify-phases %standard-phases -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 08:58:13 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 12:58:13 +0000 Received: from localhost ([127.0.0.1]:47349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6UFQ-00046i-Fw for submit@debbugs.gnu.org; Sun, 20 Apr 2025 08:58:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:59651) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6UFM-00046L-VV for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 08:58:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1C818240101 for <77927@debbugs.gnu.org>; Sun, 20 Apr 2025 14:58:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1745153882; bh=SCWpOgbXZKDIQszho/MUzM4HjFAilP+uTPfJA3ex0sQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=n2IJksGUkjhisEZ5PfkaznykqtkjoZb3Y78aIVtxvApV+hCF9KPJLkNeW33yY+vxR AxBtxhWOKzjHNCf+TBkM+q8zKly67zoW+2SXmHCLm4kbcftJfi1jC81/NDyb9IQMPT sa2lrALBzrNMF1qka3uLrj1PDdElRCxQLT2CjgS7QHfleNTR/5AH3Pg+/pUnNHZwaY CLHOgG/6XVzyiARJa8BgR7N0axMPQgkk7XwsEkWEJydZ//EjJXo9nj64TvcOVyACuW pIiWILyVvM/qmxS89NUp9gnggxO6HqrXOL51ENT3r472Ag9D1o3WRLeetnT5PEMCdq I3H0W2WJjqpww== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZgT7Y2Dfzz9rxD; Sun, 20 Apr 2025 14:58:01 +0200 (CEST) From: Guillaume Le Vaillant To: Rutherther Subject: Re: [bug#77927] [PATCH 1/4] gnu: Add libiio In-Reply-To: (Rutherther via Guix-patches via's message of "Sat, 19 Apr 2025 20:53:13 +0200") References: <87r01oq91y.fsf@ditigal.xyz> Date: Sun, 20 Apr 2025 12:57:59 +0000 Message-ID: <87wmbfuh0o.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77927 Cc: 77927@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Rutherther via Guix-patches via skribis: > +(define-public libiio > + (package > + (name "libiio") > + (version "0.24") > [...] > + (arguments > + (list > + #:tests? #f > + #:configure-flags > + #~(list > + (string-append "-DUDEV_RULES_INSTALL_DIR=" #$output "/lib/udev/rules.d") > + "-DOSX_PACKAGE=off" > + "-DOSX_FRAMEWORK=off" > + (string-append "-DPython_EXECUTABLE=" (search-input-file %build-inputs "/bin/python3")) > + "-DPYTHON_BINDINGS=on"))) > [...] Hi. It looks like the installation of the Python bindings does not work; they are not in the built package. The build log indicates: --8<---------------cut here---------------start------------->8--- running install /gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( Traceback (most recent call last): File "/tmp/guix-build-libiio-0.24.drv-0/build/bindings/python/setup.py", line 75, in _check_libiio_installed raise OSError OSError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-libiio-0.24.drv-0/build/bindings/python/setup.py", line 104, in setup(**config) File "/gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands self.run_command(cmd) File "/gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command super().run_command(command) File "/gnu/store/mzhsp3vxj58hhbkrjdrvk9l47pk07kax-python-minimal-3.11.11/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command cmd_obj.run() File "/tmp/guix-build-libiio-0.24.drv-0/build/bindings/python/setup.py", line 43, in run self._check_libiio_installed() File "/tmp/guix-build-libiio-0.24.drv-0/build/bindings/python/setup.py", line 81, in _check_libiio_installed raise Exception(msg) Exception: The libiio library could not be found. libiio needs to be installed first before the python bindings. The latest release can be found on GitHub: https://github.com/analogdevicesinc/libiio/releases --8<---------------cut here---------------end--------------->8--- Could you take a look at it? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCaATvVw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9MOwD+I0PGu5T3NXbsqubXIwWNBA1Ejb0DRt3d0+vx AlqYXkIA/1mdwK9GE0ZJH08CbFOsxE9IiNXLh/zT34oemiry4qZF =CzpX -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:18:41 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:18:41 +0000 Received: from localhost ([127.0.0.1]:51507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6XNQ-0007I2-VO for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:18:41 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:52702 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XNM-0007HR-Bp for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:18:38 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 538d3f03 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:18:27 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v2 1/4] gnu: Add libiio Date: Sun, 20 Apr 2025 18:18:09 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745165907; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=LtJo4YcCUj9gK8J/dIqN1Adw9Ig0994MAvsXTeAC9CM=; b=i4WByc1/0cqB0QYRoPftBAcFuDq9OX5ZXtxvuB/k7XC6iMUlV20K+3wRp8FKEk1NPU/jh zvtbeIHTh+6R0b/AKfr0UKOy3gk6W37yRUgk/RB8QZfDy+DjEGG3QQKwNEfGWFGlfPyurRW Xjl3+ngeAJNNpYDSfgEVPLwhMGxo+U0= X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 67 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 67 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 67 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2752380a3a..cf8bb6f4e5 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -49,6 +49,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -56,6 +57,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages engineering) + #:use-module (gnu packages flex) #:use-module (gnu packages fltk) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) @@ -190,6 +192,71 @@ (define-public libcorrect used as a drop-in substitute for @code{libfec}.") (license license:bsd-3)))) +(define-public libiio + (package + (name "libiio") + (version "0.26") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/analogdevicesinc/libiio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18cmaszfmn6kaa9gi26kkgjk506xqb8zsd4bq6yp8hzxr1qldfly")))) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list + (string-append "-DUDEV_RULES_INSTALL_DIR=" #$output "/lib/udev/rules.d") + "-DOSX_PACKAGE=off" + "-DOSX_FRAMEWORK=off" + (string-append "-DPython_EXECUTABLE=" (search-input-file %build-inputs "/bin/python3")) + "-DPYTHON_BINDINGS=on") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "bindings/python/iio.py" + (("_iiolib = \"iio\"") (string-append "_iiolib = \"" #$output "/lib/libiio.so\"")) + (("find_library\\(_iiolib\\)") "_iiolib")) + ;; Libiio is not installed at the time of the build. The check is unnecessary, + ;; to do it the upstream way, we would have to configure, build, install + ;; without the bindings first, and then second time with the bindings... + (substitute* "bindings/python/setup.py.cmakein" + (("self._check_libiio_installed()") ""))))))) + (native-inputs + (list + pkg-config + flex + bison + python + avahi + libaio)) + (inputs + (list + libxml2 + libusb)) + (build-system cmake-build-system) + (license (list + license:lgpl2.1 + license:gpl2)) + (home-page "https://github.com/analogdevicesinc/libiio") + (synopsis "A cross platform library for interfacing with local and remote Linux IIO devices ") + (description + "Library for interfacing with Linux IIO devices +libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. +The Linux IIO subsystem is intended to provide support for devices that in some +sense are analog to digital or digital to analog converters (ADCs, DACs). +This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, +Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, +Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), +Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively +on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target +from a host Linux, Windows or MAC over USB or Ethernet or Serial."))) + (define-public liquid-dsp (package (name "liquid-dsp") base-commit: 3ed24b2354907fd9ca4de6fa3ef0dc3015cafbca -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:19:46 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:19:46 +0000 Received: from localhost ([127.0.0.1]:51526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6XOT-0007NE-ST for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:19:46 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:47862 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XOR-0007Mk-Lf for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:19:44 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 7b749e6b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:19:37 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v2 2/4] gnu: Add libad9361 Date: Sun, 20 Apr 2025 18:19:07 +0200 Message-ID: <3f86fb8a14ef69c1540a709e30b3cfb4ce66452f.1745165872.git.rutherther@ditigal.xyz> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745165977; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=m/F5wP3GMU4VGmMmvb0aUkVMX80JpQjGazuXc2jHmDI=; b=duZj9OmaHZ91a890+UxQIBgKtOSL8S94qCqPHhmyUfEt2ImBnPMjpGgqa+302t0KmSpgw l5JoIcwv8oyX4bEQA0HDouIzteYzydD9SA0tiibS8WHAxZ8/r/ccUgIIInQX04yybX/+kSn 5TWrUQcWBJ/RpTJXteJx7UuX2HwRZxQ= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index cf8bb6f4e5..363c9ca778 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -257,6 +257,32 @@ (define-public libiio on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial."))) +(define-public libad9361 + (package + (name "libad9361") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/analogdevicesinc/libad9361-iio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1inv39xfg8gqz1v7k1n2a7p9zzlb6gq98gcnnpdcr9fa5alvmvpm")))) + (inputs + (list libiio)) + (build-system cmake-build-system) + (license (list + license:lgpl2.1 + license:gpl2)) + (home-page "https://github.com/analogdevicesinc/libad9361-iio") + (synopsis + "IIO AD9361 library for filter design and handling, multi-chip sync, etc. ") + (description "This is a simple library used for userspace, +which manages multi-chip sync (on platforms (FMCOMMS5) where multiple AD9361 devices are use) +can create AD9361 specific FIR filters on the fly."))) + (define-public liquid-dsp (package (name "liquid-dsp") -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:19:46 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:19:46 +0000 Received: from localhost ([127.0.0.1]:51528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6XOU-0007NG-8X for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:19:46 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:47862 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XOS-0007Mk-H0 for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:19:44 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 18d8d3ef (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:19:43 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v2 3/4] gnu: sdrangel: Compile with PlutoSDR support Date: Sun, 20 Apr 2025 18:19:41 +0200 Message-ID: <3bda229942e5ca3bdb6e6eeb67e5a7a4d869f7e3.1745165872.git.rutherther@ditigal.xyz> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745165983; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=b/gEFE8p8a0pYCfE0ZSiqKFq1IvGXlmoGsBrq6ueAro=; b=NyFQAyaXkMq+0gEMKFKllTSnczc4E/nEkcsKC5OLZFFZm/wlN6bb3cQ/QpeV0+r5vOKUj yEVM3QLzeTx/X+wM7JvdkFsLBxjCM0S4VeVyhKTiDyU+ROOZV7t/I2Vq53nSoPVif8RILcS YaWB3e4+TDLfNYW6aGjWUC1F6YbaTKs= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Change-Id: I7cf959b61af567a3133034ad52d5f4564f099c30 --- gnu/packages/radio.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 363c9ca778..05db36cc8f 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2794,6 +2794,7 @@ (define-public sdrangel hamlib hidapi libdab + libiio libusb mbelib opencv @@ -2834,7 +2835,9 @@ (define-public sdrangel (string-append "-DSGP4_DIR=" #$(this-package-input "sgp4")) (string-append "-DSOAPYSDR_DIR=" - #$(this-package-input "soapysdr"))) + #$(this-package-input "soapysdr")) + (string-append "-DIIO_DIR=" + #$(this-package-input "libiio"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-unrecognized-compiler-option -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:20:04 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:20:04 +0000 Received: from localhost ([127.0.0.1]:51533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6XOm-0007P9-0I for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:20:04 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:51694 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XOj-0007Nq-MG for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:20:02 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id e69520c6 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:19:55 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v2 4/4] gnu: sdr++: Compile with PlutoSDR support Date: Sun, 20 Apr 2025 18:19:49 +0200 Message-ID: <73491ec76a898c761b688652cfe40ce52b8a541c.1745165872.git.rutherther@ditigal.xyz> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745165995; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=ykcVRzuJO73zsuF/yZhbeDEDvFYbWdXFC3bdcCvxpqo=; b=ajS625q3VoL/8xR7TYcwXCaqkTeaxn1omONUhAyNGWL9gztnrOLUO0znTI+EjuadQXBXb WllpNKKKM49Y5U7X4wYxs8KIzo5co9UvgEJ+rc8z3SoZdzmKVAS3GdaNVQRTwhmjZ7OSjwN Wxqtr4nSTbHzKbfpEtYcTRYixTi1JYM= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 05db36cc8f..61dda2a2e2 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2896,6 +2896,8 @@ (define-public sdr++ glfw hackrf jack-2 + libad9361 + libiio libusb pulseaudio rtaudio @@ -2906,7 +2908,7 @@ (define-public sdr++ (arguments (list #:tests? #f ; No test suite. #:configure-flags #~(list "-DOPT_BUILD_BLADERF_SOURCE=ON" - "-DOPT_BUILD_PLUTOSDR_SOURCE=OFF" + "-DOPT_BUILD_PLUTOSDR_SOURCE=ON" "-DOPT_BUILD_M17_DECODER=ON") #:phases #~(modify-phases %standard-phases -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:23:32 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:23:32 +0000 Received: from localhost ([127.0.0.1]:51571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6XS8-0007jN-65 for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:23:32 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:53600 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XS5-0007j4-Fc for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:23:30 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id e626f6ea (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:23:23 +0000 (UTC) From: Rutherther To: Guillaume Le Vaillant Subject: Re: [bug#77927] [PATCH 1/4] gnu: Add libiio In-Reply-To: <87wmbfuh0o.fsf@kitej> References: <87r01oq91y.fsf@ditigal.xyz> <87wmbfuh0o.fsf@kitej> Date: Sun, 20 Apr 2025 18:23:21 +0200 Message-ID: <877c3els3q.fsf@ditigal.xyz> MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745166203; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=vFdu35yl7tUZTKUWSCQo2TsLw7Sbp02O0jtdmRREoLw=; b=J86yoE+r9+NcwYiTNmchIFa6IiOiFS88v1yN1TWmBBXVFbpbIOyQcQXxSnsKe4QP6NzXq tHnoURrHmeajoTJBNyMQ08BoOQsOr3ZqHddDRMdQRgP+Ksp3USMeYjdeu51x7cHgMu8ceyD LQ7tLlnRg13eUITyib3ob5gzNpyS1dU= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Guillaume Le Vaillant writes: > Hi. > It looks like the installation of the Python bindings does not work; > they are not in the built package. > The build log indicates: Hi, right, thanks. I didn't actually use them, so I didn't care to check, sorry for that. I actually didn't think much and copied most of this from nixpkgs, except for the patches! Seems that the pack [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: 77927@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Guillaume Le Vaillant writes: > Hi. > It looks like the installation of the Python bindings does not work; > they are not in the built package. > The build log indicates: Hi, right, thanks. I didn't actually use them, so I didn't care to check, sorry for that. I actually didn't think much and copied most of this from nixpkgs, except for the patches! Seems that the pack [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Guillaume Le Vaillant writes: > Hi. > It looks like the installation of the Python bindings does not work; > they are not in the built package. > The build log indicates: Hi, right, thanks. I didn't actually use them, so I didn't care to check, sorry for that. I actually didn't think much and copied most of this from nixpkgs, except for the patches! Seems that the package actually doesn't like our approach of first building and then installing and would like to be first installed, and later on built and installed again, with the bindings on. I've added patch to not check this, and to hardcode path to the library so that it doesn't have to be in ld library path... It's a question which bindings should we enable anyway... I don't know... For the sdrangel and sdr++ no bindings are necessary, just the library. Apart from Python ones there is CPP and C#. Anyway, for now I submitted version with Python bindings only, compiling and working fine - I can import the iio library without failing to find any symbols. I can't check with hardware anymore, I've had PlutoSDR just borrowed for a few days. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:47:42 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:47:43 +0000 Received: from localhost ([127.0.0.1]:51894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6XpU-0001uw-1W for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:42 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:46754 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XpQ-0001t2-Um for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:37 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id af2c29e9 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:47:29 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v3 0/4] Fix cross compilation Date: Sun, 20 Apr 2025 18:47:17 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Rutherther , Guillaume Le Vaillant Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745167649; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=n9gyBEOxFDZug/3+JI50673iv5XkGu4NbS3KMQpqeRs=; b=BoKqTBJkEHUPZTqdejuEZ9gIt/QmTzqNVUvGf8l2mYU2POsnAaQMXg2HYM5hwHDDL7Xq0 RcubYViGDjJJD1aLhwTDd4nqpaONtu2qxrKhXkarpJTa6iVs1TYCzVDMrzNqClCjRC1e+2D +YBJv1WH4q9/HCKZ8AvgwCqiEKo4iJc= X-Spam-Score: 4.0 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry, I actually omitted one more thing - cross compilation, now the libiio can cross compile. Rutherther (4): gnu: Add libiio gnu: Add libad9361 gnu: sdrangel: Compile with PlutoSDR support gnu: sdr++: Compile with PlutoSDR support Content analysis details: (4.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry, I actually omitted one more thing - cross compilation, now the libiio can cross compile. Rutherther (4): gnu: Add libiio gnu: Add libad9361 gnu: sdrangel: Compile with PlutoSDR support gnu: sdr++: Compile with PlutoSDR support Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Sorry, I actually omitted one more thing - cross compilation, now the libiio can cross compile. Rutherther (4): gnu: Add libiio gnu: Add libad9361 gnu: sdrangel: Compile with PlutoSDR support gnu: sdr++: Compile with PlutoSDR support gnu/packages/radio.scm | 105 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 103 insertions(+), 2 deletions(-) base-commit: 3ed24b2354907fd9ca4de6fa3ef0dc3015cafbca -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:47:51 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:47:51 +0000 Received: from localhost ([127.0.0.1]:51900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6Xpf-0001wT-1c for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:51 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:46754 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XpS-0001t2-0H for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:39 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 8291dced (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:47:31 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v3 1/4] gnu: Add libiio Date: Sun, 20 Apr 2025 18:47:18 +0200 Message-ID: <0ddebef4bfce7c9902f29f395296374240a95ac4.1745167600.git.rutherther@ditigal.xyz> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Rutherther , Guillaume Le Vaillant Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745167651; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=gEa3mekkE5MzfyfrxNlaFs2LVoYKy0JI5yHhrEy7tg4=; b=oUY7tkxNvWMFGUkE8WWwcuIEXxv/uAxvhbFlmP85LGnvKUm1rncqK1/fCvaS/On5O/3Bg UdRj1S0LXPk0/WfXn7UwDqBDrh25h1vcZ1brOAE+ZtHrSprLpRNUbsw3beKe5tq8pOsHaFq 1zWL+xpwxlWqe2177b2+QejCvgxZe64= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 70 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 70 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a dependency used for communicating with PlutoSDR. * gnu/packages/radio.scm (libiio): New variable. Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021 --- gnu/packages/radio.scm | 70 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2752380a3a..283b69bfd7 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -49,6 +49,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -56,6 +57,7 @@ (define-module (gnu packages radio) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages engineering) + #:use-module (gnu packages flex) #:use-module (gnu packages fltk) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) @@ -190,6 +192,74 @@ (define-public libcorrect used as a drop-in substitute for @code{libfec}.") (license license:bsd-3)))) +(define-public libiio + (package + (name "libiio") + (version "0.26") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/analogdevicesinc/libiio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18cmaszfmn6kaa9gi26kkgjk506xqb8zsd4bq6yp8hzxr1qldfly")))) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list + (string-append "-DPKG_CONFIG_EXECUTABLE=" + (search-input-file %build-inputs + (string-append "/bin/" #$(pkg-config-for-target)))) + (string-append "-DUDEV_RULES_INSTALL_DIR=" #$output "/lib/udev/rules.d") + "-DOSX_PACKAGE=off" + "-DOSX_FRAMEWORK=off" + (string-append "-DPython_EXECUTABLE=" (search-input-file %build-inputs "/bin/python3")) + "-DPYTHON_BINDINGS=on") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "bindings/python/iio.py" + (("_iiolib = \"iio\"") (string-append "_iiolib = \"" #$output "/lib/libiio.so\"")) + (("find_library\\(_iiolib\\)") "_iiolib")) + ;; Libiio is not installed at the time of the build. The check is unnecessary, + ;; to do it the upstream way, we would have to configure, build, install + ;; without the bindings first, and then second time with the bindings... + (substitute* "bindings/python/setup.py.cmakein" + (("self._check_libiio_installed()") ""))))))) + (native-inputs + (list + pkg-config + flex + bison + python)) + (inputs + (list + avahi + libaio + libxml2 + libusb)) + (build-system cmake-build-system) + (license (list + license:lgpl2.1 + license:gpl2)) + (home-page "https://github.com/analogdevicesinc/libiio") + (synopsis "A cross platform library for interfacing with local and remote Linux IIO devices ") + (description + "Library for interfacing with Linux IIO devices +libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. +The Linux IIO subsystem is intended to provide support for devices that in some +sense are analog to digital or digital to analog converters (ADCs, DACs). +This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, +Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, +Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), +Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively +on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target +from a host Linux, Windows or MAC over USB or Ethernet or Serial."))) + (define-public liquid-dsp (package (name "liquid-dsp") -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:47:52 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:47:52 +0000 Received: from localhost ([127.0.0.1]:51903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6Xpf-0001wX-OJ for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:52 -0400 Received: from ditigal.xyz ([78.46.201.50]:59600 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XpT-0001tk-CQ for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:40 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 26433c55 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:47:34 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v3 2/4] gnu: Add libad9361 Date: Sun, 20 Apr 2025 18:47:19 +0200 Message-ID: <058a47c81906476a780b3d64a44f0a7770a2b47e.1745167600.git.rutherther@ditigal.xyz> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Rutherther , Guillaume Le Vaillant Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745167654; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=+U62MaCJXFTsCHaXvrIdVnGHKM67HLicwbkOuVZ+wao=; b=lT8c1iHz+nVwXm2q8FdLH1sCMRrSi+F6XkoXLtFBaRM4WTv1ky1j7Zc4TbDPlpDubdmm9 IEIJ+py1MzAkrkbvCL8e2ZVojZMuc2vKVWmz60goBUf04yo1JCO60ed8fVMS5ymgH9Xgj8f YV8qBXO0d6KWl5Ktv7IX2xCQMlsNSls= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in sa-accredit.habeas.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in bl.score.senderscore.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager This is a dependency of sdr++ for supporting PlutoSDR. * gnu/packages/radio.scm (libad9361): New variable. Change-Id: I1e8bca9ab978b3650ae8227e5e4391ea9d2a925e --- gnu/packages/radio.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 283b69bfd7..03560eaf3f 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -260,6 +260,32 @@ (define-public libiio on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial."))) +(define-public libad9361 + (package + (name "libad9361") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/analogdevicesinc/libad9361-iio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1inv39xfg8gqz1v7k1n2a7p9zzlb6gq98gcnnpdcr9fa5alvmvpm")))) + (inputs + (list libiio)) + (build-system cmake-build-system) + (license (list + license:lgpl2.1 + license:gpl2)) + (home-page "https://github.com/analogdevicesinc/libad9361-iio") + (synopsis + "IIO AD9361 library for filter design and handling, multi-chip sync, etc. ") + (description "This is a simple library used for userspace, +which manages multi-chip sync (on platforms (FMCOMMS5) where multiple AD9361 devices are use) +can create AD9361 specific FIR filters on the fly."))) + (define-public liquid-dsp (package (name "liquid-dsp") -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:47:52 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:47:52 +0000 Received: from localhost ([127.0.0.1]:51906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6Xpg-0001wg-A0 for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:52 -0400 Received: from ditigal.xyz ([78.46.201.50]:59600 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XpU-0001tk-Py for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:43 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 0b61bf5c (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:47:38 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v3 4/4] gnu: sdr++: Compile with PlutoSDR support Date: Sun, 20 Apr 2025 18:47:21 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Rutherther , Guillaume Le Vaillant Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745167659; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=KUbSyiM84oNMxGdlWX7I3lyoqWAEgwI5+orceSMBQls=; b=Dvet3A2L3fC1aXT/r6FLoL6szWNZkTvcLVs7G+Sm40+evNkgHYI0Crhiqcp4WVhSzd1jJ dVOBWaV922cNybztziK6veNVhnA9+4KDBaVulEE0fiJmFV5i1l6+FU+Ck/wPSXeyDQPkcnd tJ/0mx2x8LzmBTLLr/Or8tBHD1lDwYc= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in sa-accredit.habeas.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.46.201.50 listed in sa-accredit.habeas.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/radio.scm (sdr++)[inputs]: Add libad9361 and libiio * gnu/packages/radio.scm (sdr++)[arguments]{#:configure-flags}: Compile with PlutoSDR support Change-Id: I82206343928e39c235be741b61c6d55e7993e92c --- gnu/packages/radio.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 4b96d011bf..cbd982d814 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2899,6 +2899,8 @@ (define-public sdr++ glfw hackrf jack-2 + libad9361 + libiio libusb pulseaudio rtaudio @@ -2909,7 +2911,7 @@ (define-public sdr++ (arguments (list #:tests? #f ; No test suite. #:configure-flags #~(list "-DOPT_BUILD_BLADERF_SOURCE=ON" - "-DOPT_BUILD_PLUTOSDR_SOURCE=OFF" + "-DOPT_BUILD_PLUTOSDR_SOURCE=ON" "-DOPT_BUILD_M17_DECODER=ON") #:phases #~(modify-phases %standard-phases -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 20 12:47:53 2025 Received: (at 77927) by debbugs.gnu.org; 20 Apr 2025 16:47:53 +0000 Received: from localhost ([127.0.0.1]:51908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6Xpg-0001wt-Ov for submit@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:53 -0400 Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:46754 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6XpU-0001t2-7h for 77927@debbugs.gnu.org; Sun, 20 Apr 2025 12:47:43 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 01d1d3d8 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 20 Apr 2025 16:47:36 +0000 (UTC) From: Rutherther To: 77927@debbugs.gnu.org Subject: [PATCH v3 3/4] gnu: sdrangel: Compile with PlutoSDR support Date: Sun, 20 Apr 2025 18:47:20 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Rutherther , Guillaume Le Vaillant Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1745167656; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=/tWQ23VwBc5//FELcK3n0UCJ9ynmwxoG2PcxtAEmwlo=; b=lGpo88UZmUges+DCKorC63kt4pstFM98D9DuqxKkcqVKLI6/ECWV5YECDM2poQp4e2kYU c/savFON9V9kdSY+UvqLnlUmNEByO6Dg/E44m5W1c0w1W5IYn128d6wN+7D0cvU1zwAzI76 LbKx2JNsgh69l+i2dqmw5c7KxCE/bss= X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 77927 Cc: Rutherther X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ditigal.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SDRangel will be compiled with PlutoSDR support when libiio is added. * gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio * gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio Change-Id: I7cf959b61af567a3133034ad52d5f4564f099c30 --- gnu/packages/radio.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 03560eaf3f..4b96d011bf 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2797,6 +2797,7 @@ (define-public sdrangel hamlib hidapi libdab + libiio libusb mbelib opencv @@ -2837,7 +2838,9 @@ (define-public sdrangel (string-append "-DSGP4_DIR=" #$(this-package-input "sgp4")) (string-append "-DSOAPYSDR_DIR=" - #$(this-package-input "soapysdr"))) + #$(this-package-input "soapysdr")) + (string-append "-DIIO_DIR=" + #$(this-package-input "libiio"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-unrecognized-compiler-option -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 21 06:04:34 2025 Received: (at 77927-done) by debbugs.gnu.org; 21 Apr 2025 10:04:34 +0000 Received: from localhost ([127.0.0.1]:60419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6o0w-0003YB-6R for submit@debbugs.gnu.org; Mon, 21 Apr 2025 06:04:34 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50891) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6o0r-0003Xi-SW for 77927-done@debbugs.gnu.org; Mon, 21 Apr 2025 06:04:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 58D91240101 for <77927-done@debbugs.gnu.org>; Mon, 21 Apr 2025 12:04:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1745229861; bh=bh75wVEJ2Wtv/rBkIdf4EXxO9v+MnXlER+UffTpC72o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=qfuC1xAbMl/SLTlGWAXnPDe9kUdGBXwa+JSaUvPod0okp9KLEra5ioosU5YVLX3Vs ZEYJaafU15rC55z7iJ6HKIxJDm4rnQ5woExhS9dnHOZK6YlPJQEP7p1Z6ahWw3F4Fq bKMn3lkOZDTSi4/SNXu/dhlxIeSCWR7oIzQ08Gg3JyQ/BKVRcTRmHOMH/Q78amYAdi n5V7kuvQT7nMhvzErlUoG+61XJfxrGRb1mv//iI6whUtlpoXgIPqn3QxsjpxQtTmB3 Ourt9eimgWguvP8t6rlZeg3XwwtUrv1cB3OTNsHkkfifNNhkCMMXM2WJoxjfenn99K 9aDJo+ddJzSPQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Zh1Dh1TLFz6tyH; Mon, 21 Apr 2025 12:04:19 +0200 (CEST) From: Guillaume Le Vaillant To: Rutherther Subject: Re: [bug#77927] [PATCH v3 0/4] Fix cross compilation In-Reply-To: (rutherther@ditigal.xyz's message of "Sun, 20 Apr 2025 18:47:17 +0200") References: <87r01oq91y.fsf@ditigal.xyz> Date: Mon, 21 Apr 2025 10:04:19 +0000 Message-ID: <877c3despo.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77927-done Cc: 77927-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Patches applied as 95ccd0ca005ac02125110664308fed1c0278f981 and following with a few minor cosmetic fixes. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCaAYYIw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+m4QD+JnSzmRpgyyCec+luT7rqxTo5Dqat01OFMkeg TEK+FuABAI2FBxS9V+nn6lC894jy9gfYJZ8k9nHjzdFFochvF6+n =SAR9 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 22:01:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 19 May 2025 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator