From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:43:45 2023 Received: (at submit) by debbugs.gnu.org; 7 Sep 2023 15:43:45 +0000 Received: from localhost ([127.0.0.1]:41078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHAX-0005Vt-7J for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:43:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHAU-0005Ve-SD for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:43:44 -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 1qeHAN-0004KL-Rj for guix-patches@gnu.org; Thu, 07 Sep 2023 11:43:35 -0400 Received: from mailout.easymail.ca ([64.68.200.34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeHAK-0003Mj-K6 for guix-patches@gnu.org; Thu, 07 Sep 2023 11:43:35 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 9094063240 for ; Thu, 7 Sep 2023 15:43:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZMJOQqBUdJ3J for ; Thu, 7 Sep 2023 15:43:29 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 27216631F0 for ; Thu, 7 Sep 2023 15:43:29 +0000 (UTC) From: Simon South To: guix-patches@gnu.org Subject: [PATCH 0/8] gnu: libftdi: Update to 1.5; other improvements. Date: Thu, 7 Sep 2023 11:43:23 -0400 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) This patch series updates and improves the package for libftdi, a library for communicating with USB-to-serial adapter ICs from FTDI. The patches - Refresh gently the formatting of the package; - Disable the building of example programs, which aren't installed anyway; - Enable the building of libftdi's ftdi_eeprom utility, its bindings for C++ and Python, and its API documentation; and - Update libftdi to its latest version, 1.5. I've kept the package in its own module as moving it to embedded.scm, where it probably belongs, triggers the circular-dependency problem described in issue 65716.[0] I've tested this on AArch64 and x86-64 with an FT232H module and everything appears fine. All of libftdi's 14 dependents continue to build with the exception of arachne-pnr, an existing failure.[1] [0] https://issues.guix.gnu.org/65716 [1] http://ci.guix.gnu.org/search?query=arachne-pnr --- Simon South (8): gnu: libftdi: Update package style. gnu: libftdi: Do not build example programs. gnu: libftdi: Install libraries to /lib instead of /lib64. gnu: libftdi: Build ftdi_eeprom. gnu: libftdi: Build C++ bindings. gnu: libftdi: Build Python bindings. gnu: libftdi: Update to 1.5. gnu: libftdi: Build API documentation. gnu/local.mk | 1 + gnu/packages/libftdi.scm | 77 ++++++++++++++++--- .../libftdi-fix-paths-when-FTDIPP-set.patch | 39 ++++++++++ 3 files changed, 106 insertions(+), 11 deletions(-) create mode 100644 gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch base-commit: 811f4fc509a57ff14b1dd03d76fea66085e3f5e1 -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:02 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:02 +0000 Received: from localhost ([127.0.0.1]:41096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCj-0005ao-RM for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:02 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCh-0005a9-K0 for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:00 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 9C237E2E13 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRnnnXWetIaO for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 2A787E2DD1 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 1/8] gnu: libftdi: Update package style. Date: Thu, 7 Sep 2023 11:45:43 -0400 Message-Id: <5a534789eab223f4d1f5a8c8b4b275c0f175f095.1694100583.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm: Re-order #:use-module statements. (libftdi): Wrap long lines; reformat gently. [license]: Use "license:" prefix. --- gnu/packages/libftdi.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index e39e0b3d71..4cfa1d3424 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -18,12 +18,12 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages libftdi) - #:use-module (guix licenses) + #:use-module (guix build-system cmake) #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) - #:use-module (gnu packages libusb) - #:use-module (guix build-system cmake)) + #:use-module (gnu packages libusb)) (define-public libftdi (package @@ -32,18 +32,17 @@ (define-public libftdi (source (origin (method url-fetch) (uri (string-append - "http://www.intra2net.com/en/developer/libftdi/download/libftdi1-" - version ".tar.bz2")) + "http://www.intra2net.com/en/developer/libftdi/download/" + "libftdi1-" version ".tar.bz2")) (sha256 (base32 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) (propagated-inputs - (list libusb)) ; required by libftdi1.pc + (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") (synopsis "FTDI USB driver with bitbang mode") (description - "libFTDI is a library to talk to FTDI chips: FT232BM, -FT245BM, FT2232C, FT2232D, FT245R and FT232H including the popular -bitbangmode.") - (license lgpl2.1))) + "libFTDI is a library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, +FT2232D, FT245R and FT232H including the popular bitbangmode.") + (license license:lgpl2.1))) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:02 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:02 +0000 Received: from localhost ([127.0.0.1]:41098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCk-0005au-8v for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:02 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCh-0005aA-ON for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:00 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id C14DEE2DD1 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7dPYKB1eHIww for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 76951E2E12 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 2/8] gnu: libftdi: Do not build example programs. Date: Thu, 7 Sep 2023 11:45:44 -0400 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[arguments]: Add with "-DEXAMPLES" configure flag. --- gnu/packages/libftdi.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 4cfa1d3424..ae7cbe62f2 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -20,6 +20,7 @@ (define-module (gnu packages libftdi) #:use-module (guix build-system cmake) #:use-module (guix download) + #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) @@ -38,6 +39,8 @@ (define-public libftdi (base32 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DEXAMPLES=OFF"))) (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:03 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:03 +0000 Received: from localhost ([127.0.0.1]:41100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCk-0005b9-OT for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:03 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCi-0005aC-59 for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:00 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2FD2DE2E15 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iEQZiBT-eMae for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id C93DEE2E12 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:52 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 3/8] gnu: libftdi: Install libraries to /lib instead of /lib64. Date: Thu, 7 Sep 2023 11:45:45 -0400 Message-Id: <6398cc8bde36ccfb023e1317347edaa862b656ed.1694100583.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[arguments]<#:configure-flags>: Add "-DLIB_SUFFIX". --- gnu/packages/libftdi.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index ae7cbe62f2..f38346d8b2 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -40,7 +40,10 @@ (define-public libftdi "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) (arguments - (list #:configure-flags #~(list "-DEXAMPLES=OFF"))) + (list + #:configure-flags + #~(list "-DEXAMPLES=OFF" + "-DLIB_SUFFIX=''"))) ; place libraries in /lib, not /lib64 (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:03 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:03 +0000 Received: from localhost ([127.0.0.1]:41102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCl-0005bM-65 for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:03 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCi-0005aD-Cy for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:00 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6CDE9E2E12 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UVBzlctz43OC for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 24BC4E2E16 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 4/8] gnu: libftdi: Build ftdi_eeprom. Date: Thu, 7 Sep 2023 11:45:46 -0400 Message-Id: <0822dc36d28ded911b8d53e83a0c4032ba5e766b.1694100583.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[arguments]<#:configure-flags>: Add "-DCMAKE_INSTALL_DOCDIR". [native-inputs]: Add with pkg-config. [inputs]: Add with libconfuse. [license]: Add GPL version 2. --- gnu/packages/libftdi.scm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index f38346d8b2..c5461bcf87 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -24,7 +24,9 @@ (define-module (gnu packages libftdi) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) - #:use-module (gnu packages libusb)) + #:use-module (gnu packages libusb) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages textutils)) (define-public libftdi (package @@ -42,8 +44,14 @@ (define-public libftdi (arguments (list #:configure-flags - #~(list "-DEXAMPLES=OFF" + #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" + #$output "/share/doc/" #$name "-" #$version) + "-DEXAMPLES=OFF" "-DLIB_SUFFIX=''"))) ; place libraries in /lib, not /lib64 + (native-inputs + (list pkg-config)) + (inputs + (list libconfuse)) (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") @@ -51,4 +59,5 @@ (define-public libftdi (description "libFTDI is a library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, FT2232D, FT245R and FT232H including the popular bitbangmode.") - (license license:lgpl2.1))) + (license (list license:gpl2 ; ftdi_eeprom + license:lgpl2.1)))) ; main library -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:04 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:04 +0000 Received: from localhost ([127.0.0.1]:41104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCl-0005bX-LV for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:03 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCi-0005aE-QX for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:01 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id C7BBDE2E17 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R9G7ZD1Z-jxO for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 76827E2E16 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 5/8] gnu: libftdi: Build C++ bindings. Date: Thu, 7 Sep 2023 11:45:47 -0400 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) Enabling the C++ bindings allows the test suite to be run, although this fails without access to the host's USB interface. * gnu/packages/libftdi.scm (libftdi)[arguments]: Add #:test-target, #:tests?. (inputs): Add boost. --- gnu/packages/libftdi.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index c5461bcf87..b5f481e9ba 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -24,6 +24,7 @@ (define-module (gnu packages libftdi) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) + #:use-module (gnu packages boost) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages textutils)) @@ -47,11 +48,13 @@ (define-public libftdi #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" - "-DLIB_SUFFIX=''"))) ; place libraries in /lib, not /lib64 + "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + #:test-target "check" + #:tests? #f)) ; tests fail without access to USB (native-inputs (list pkg-config)) (inputs - (list libconfuse)) + (list boost libconfuse)) (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") @@ -59,5 +62,5 @@ (define-public libftdi (description "libFTDI is a library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, FT2232D, FT245R and FT232H including the popular bitbangmode.") - (license (list license:gpl2 ; ftdi_eeprom + (license (list license:gpl2 ; ftdi_eeprom, C++ bindings license:lgpl2.1)))) ; main library -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:11 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:11 +0000 Received: from localhost ([127.0.0.1]:41111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCt-0005cO-2R for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:11 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCn-0005aQ-EZ for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2767CE2E16 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B5YcplPGqT7l for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id C8184E2E18 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:53 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 6/8] gnu: libftdi: Build Python bindings. Date: Thu, 7 Sep 2023 11:45:48 -0400 Message-Id: <659b947425e7f82f19f4a04f5d7986ad77dbfd63.1694100583.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[outputs]: Add "python". [arguments]<#:phases>: Add with "install-python-binding" phase. [native-inputs]: Add python, swig. --- gnu/packages/libftdi.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index b5f481e9ba..d9ebd4a2df 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Manolis Fragkiskos Ragkousis ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2023 Simon South ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,15 +19,19 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages libftdi) + #:use-module (guix build utils) #:use-module (guix build-system cmake) #:use-module (guix download) #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages boost) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages swig) #:use-module (gnu packages textutils)) (define-public libftdi @@ -42,6 +47,7 @@ (define-public libftdi (base32 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) + (outputs '("out" "python")) (arguments (list #:configure-flags @@ -49,10 +55,26 @@ (define-public libftdi #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-python-binding + (lambda _ + (let* ((python-version + #$(version-major+minor (package-version python))) + (python-lib-path + (string-append "/lib/python" python-version))) + (mkdir-p (string-append #$output:python "/lib")) + (mkdir-p (string-append #$output:python "/share/libftdi")) + (rename-file (string-append #$output python-lib-path) + (string-append #$output:python python-lib-path)) + (rename-file (string-append #$output + "/share/libftdi/examples") + (string-append #$output:python + "/share/libftdi/examples")))))) #:test-target "check" #:tests? #f)) ; tests fail without access to USB (native-inputs - (list pkg-config)) + (list pkg-config python swig)) (inputs (list boost libconfuse)) (propagated-inputs -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:11 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:12 +0000 Received: from localhost ([127.0.0.1]:41113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCt-0005cR-HZ for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:11 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCn-0005aT-JJ for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 29CB1E2E19 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NZuCv-xI_CLj for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:54 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 88EC7E2E18 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:54 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 8/8] gnu: libftdi: Build API documentation. Date: Thu, 7 Sep 2023 11:45:50 -0400 Message-Id: <08486d261a51ddd5b64110e9ef2802fdf0b31f46.1694100583.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[outputs]: Add "doc" output. [arguments]<#:configure-flags>: Add "-DDOCUMENTATION". <#:phases>: Add "install-documentation" phase. [native-inputs]: Add doxygen, graphviz. --- gnu/packages/libftdi.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index ae3e6cf660..f4998cd84e 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -28,6 +28,8 @@ (define-module (gnu packages libftdi) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages boost) + #:use-module (gnu packages documentation) + #:use-module (gnu packages graphviz) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -49,12 +51,13 @@ (define-public libftdi (patches (search-patches "libftdi-fix-paths-when-FTDIPP-set.patch")))) (build-system cmake-build-system) - (outputs '("out" "python")) + (outputs '("out" "doc" "python")) (arguments (list #:configure-flags #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) + "-DDOCUMENTATION=ON" "-DEXAMPLES=OFF" "-DFTDIPP=ON" "-DLIB_SUFFIX=''" ; place libraries in /lib, not /lib64 @@ -74,11 +77,20 @@ (define-public libftdi (rename-file (string-append #$output "/share/libftdi/examples") (string-append #$output:python - "/share/libftdi/examples")))))) + "/share/libftdi/examples"))))) + (add-after 'install-python-binding 'install-documentation + (lambda _ + (let ((share (string-append #$output:doc "/share"))) + (copy-recursively "doc/man" + (string-append share "/man")) + (copy-recursively "doc/html" + (string-append share "/doc/" + #$name "-" #$version + "/html")))))) #:test-target "check" #:tests? #f)) ; tests fail without access to USB (native-inputs - (list pkg-config python swig)) + (list doxygen graphviz pkg-config python swig)) (inputs (list boost libconfuse)) (propagated-inputs -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 11:46:13 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 15:46:13 +0000 Received: from localhost ([127.0.0.1]:41115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCt-0005cZ-TX for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:13 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeHCn-0005aP-EZ for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 11:46:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id DBE98E2E1A for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YiTWkHCVdsIF for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:54 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 3165DE2E19 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 15:45:54 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH 7/8] gnu: libftdi: Update to 1.5. Date: Thu, 7 Sep 2023 11:45:49 -0400 Message-Id: <40a4075d34a5a29b74c6bd9cb9d36698e5d24eeb.1694100583.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/libftdi.scm (libftdi): Update to 1.5. [source]: Apply patch. [arguments]<#:configure-flags>: Add "-DFTDIPP", "-DPYTHON_BINDINGS". --- gnu/local.mk | 1 + gnu/packages/libftdi.scm | 10 +++-- .../libftdi-fix-paths-when-FTDIPP-set.patch | 39 +++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch diff --git a/gnu/local.mk b/gnu/local.mk index 54aec9316a..1f1f9450ab 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1445,6 +1445,7 @@ dist_patch_DATA = \ %D%/packages/patches/json-c-0.12-CVE-2020-12762.patch \ %D%/packages/patches/julia-SOURCE_DATE_EPOCH-mtime.patch \ %D%/packages/patches/julia-Use-MPFR-4.2.patch \ + %D%/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch \ %D%/packages/patches/libgeotiff-fix-tests-with-proj-9.1.1.patch \ %D%/packages/patches/libobjc2-unbundle-robin-map.patch \ %D%/packages/patches/librime-fix-build-with-gcc10.patch \ diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index d9ebd4a2df..ae3e6cf660 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -37,7 +37,7 @@ (define-module (gnu packages libftdi) (define-public libftdi (package (name "libftdi") - (version "1.4") + (version "1.5") (source (origin (method url-fetch) (uri (string-append @@ -45,7 +45,9 @@ (define-public libftdi "libftdi1-" version ".tar.bz2")) (sha256 (base32 - "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) + "0jdh5r499wbz83vmpskczq5m3cfc1mcv8xqisj5i95k1r3lr2w3w")) + (patches + (search-patches "libftdi-fix-paths-when-FTDIPP-set.patch")))) (build-system cmake-build-system) (outputs '("out" "python")) (arguments @@ -54,7 +56,9 @@ (define-public libftdi #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" - "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + "-DFTDIPP=ON" + "-DLIB_SUFFIX=''" ; place libraries in /lib, not /lib64 + "-DPYTHON_BINDINGS=ON") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-python-binding diff --git a/gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch b/gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch new file mode 100644 index 0000000000..0a81cceb26 --- /dev/null +++ b/gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch @@ -0,0 +1,39 @@ +commit cdb28383402d248dbc6062f4391b038375c52385 +Author: Fabrice Fontaine +Date: Fri Jul 17 21:25:03 2020 +0200 + + CMakeLists.txt: fix paths when FTDIPP is set + + Use the same project name (i.e. libftdi1 and not libftdipp1) when FTDIPP + is enabled as suggested by Aurelien Jarno in + http://developer.intra2net.com/mailarchive/html/libftdi/2020/msg00044.html + + Without this change, the libftdi1.pc config file defines the include + path as /usr/local/include/libftdipp1 while the ftdi.h file is actually + installed in /usr/local/include/libftdi1 + + This is an issue for example for libsigrok which will fail on: + + In file included from src/hardware/asix-sigma/protocol.c:27: + src/hardware/asix-sigma/protocol.h:28:10: fatal error: ftdi.h: No such file or directory + 28 | #include + | ^~~~~~~~ + + Fixes: + - http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe + + Signed-off-by: Fabrice Fontaine + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5aecafc..3b0b87c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -136,7 +136,7 @@ endif () + + add_subdirectory(src) + if ( FTDIPP ) +- project(libftdipp1 C CXX) ++ project(libftdi1 C CXX) + add_subdirectory(ftdipp) + endif () + if ( PYTHON_BINDINGS ) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:37:23 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:37:23 +0000 Received: from localhost ([127.0.0.1]:41202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI0Q-0003qs-JX for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:37:22 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:33480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI0O-0003qd-Ho for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:37:21 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id CEA1462D6A for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:37:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ihi5377P-taK for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:37:11 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 9F70162CA4 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:37:11 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 0/9] gnu: libftdi: Update to 1.5; other improvements. Date: Thu, 7 Sep 2023 12:37:09 -0400 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) Here's a v2 of this patch series that adds a commit updating the package's source URL to use HTTPS instead of HTTP, silencing a warning from guix lint. (There's always something...) Everything else is unchanged. Here's the original cover letter: This patch series updates and improves the package for libftdi, a library for communicating with USB-to-serial adapter ICs from FTDI. The patches - Refresh gently the formatting of the package; - Disable the building of example programs, which aren't installed anyway; - Enable the building of libftdi's ftdi_eeprom utility, its bindings for C++ and Python, and its API documentation; and - Update libftdi to its latest version, 1.5. I've kept the package in its own module as moving it to embedded.scm, where it probably belongs, triggers the circular-dependency problem described in issue 65716.[0] I've tested this on AArch64 and x86-64 with an FT232H module and everything appears fine. All of libftdi's 14 dependents continue to build with the exception of arachne-pnr, an existing failure.[1] [0] https://issues.guix.gnu.org/65716 [1] http://ci.guix.gnu.org/search?query=arachne-pnr --- Simon South (9): gnu: libftdi: Update package style. gnu: libftdi: Use HTTPS for package source. gnu: libftdi: Do not build example programs. gnu: libftdi: Install libraries to /lib instead of /lib64. gnu: libftdi: Build ftdi_eeprom. gnu: libftdi: Build C++ bindings. gnu: libftdi: Build Python bindings. gnu: libftdi: Update to 1.5. gnu: libftdi: Build API documentation. gnu/local.mk | 1 + gnu/packages/libftdi.scm | 77 ++++++++++++++++--- .../libftdi-fix-paths-when-FTDIPP-set.patch | 39 ++++++++++ 3 files changed, 106 insertions(+), 11 deletions(-) create mode 100644 gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch base-commit: 811f4fc509a57ff14b1dd03d76fea66085e3f5e1 -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:09 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:09 +0000 Received: from localhost ([127.0.0.1]:41211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1B-0003sj-32 for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:09 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI19-0003rr-Ev for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 75E7763128 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Ib-g2J-qTJa for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 086CE63126 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 1/9] gnu: libftdi: Update package style. Date: Thu, 7 Sep 2023 12:37:50 -0400 Message-Id: <5a534789eab223f4d1f5a8c8b4b275c0f175f095.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm: Re-order #:use-module statements. (libftdi): Wrap long lines; reformat gently. [license]: Use "license:" prefix. --- gnu/packages/libftdi.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index e39e0b3d71..4cfa1d3424 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -18,12 +18,12 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages libftdi) - #:use-module (guix licenses) + #:use-module (guix build-system cmake) #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) - #:use-module (gnu packages libusb) - #:use-module (guix build-system cmake)) + #:use-module (gnu packages libusb)) (define-public libftdi (package @@ -32,18 +32,17 @@ (define-public libftdi (source (origin (method url-fetch) (uri (string-append - "http://www.intra2net.com/en/developer/libftdi/download/libftdi1-" - version ".tar.bz2")) + "http://www.intra2net.com/en/developer/libftdi/download/" + "libftdi1-" version ".tar.bz2")) (sha256 (base32 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) (propagated-inputs - (list libusb)) ; required by libftdi1.pc + (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") (synopsis "FTDI USB driver with bitbang mode") (description - "libFTDI is a library to talk to FTDI chips: FT232BM, -FT245BM, FT2232C, FT2232D, FT245R and FT232H including the popular -bitbangmode.") - (license lgpl2.1))) + "libFTDI is a library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, +FT2232D, FT245R and FT232H including the popular bitbangmode.") + (license license:lgpl2.1))) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:10 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:10 +0000 Received: from localhost ([127.0.0.1]:41213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1B-0003sm-Mk for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:10 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI19-0003s6-Ud for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id C8F306312A for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6NLzobi9JhmE for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 51FA3630C0 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 2/9] gnu: libftdi: Use HTTPS for package source. Date: Thu, 7 Sep 2023 12:37:51 -0400 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[source]: Use HTTPS. --- gnu/packages/libftdi.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 4cfa1d3424..b881aa5cc2 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -32,7 +32,7 @@ (define-public libftdi (source (origin (method url-fetch) (uri (string-append - "http://www.intra2net.com/en/developer/libftdi/download/" + "https://www.intra2net.com/en/developer/libftdi/download/" "libftdi1-" version ".tar.bz2")) (sha256 (base32 -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:10 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:10 +0000 Received: from localhost ([127.0.0.1]:41215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1C-0003st-2L for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:10 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1A-0003sC-2s for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 02D89630C0 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d-TkGBvgN1Mt for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id AC0DB63126 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:00 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 3/9] gnu: libftdi: Do not build example programs. Date: Thu, 7 Sep 2023 12:37:52 -0400 Message-Id: <5cfc5123f570e6c833b94e6f1ca4a6690bbcfa5c.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[arguments]: Add with "-DEXAMPLES" configure flag. --- gnu/packages/libftdi.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index b881aa5cc2..74df12a354 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -20,6 +20,7 @@ (define-module (gnu packages libftdi) #:use-module (guix build-system cmake) #:use-module (guix download) + #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) @@ -38,6 +39,8 @@ (define-public libftdi (base32 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DEXAMPLES=OFF"))) (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:15 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:15 +0000 Received: from localhost ([127.0.0.1]:41221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1G-0003tL-ES for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:15 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1A-0003sD-A8 for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 5306B6312B for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ltAWB80Zbrzd for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 0B50C63126 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 4/9] gnu: libftdi: Install libraries to /lib instead of /lib64. Date: Thu, 7 Sep 2023 12:37:53 -0400 Message-Id: <1a9db527c5b5c0c533e0700d38ec2a792c37c9c9.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[arguments]<#:configure-flags>: Add "-DLIB_SUFFIX". --- gnu/packages/libftdi.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 74df12a354..1e97793a93 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -40,7 +40,10 @@ (define-public libftdi "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) (arguments - (list #:configure-flags #~(list "-DEXAMPLES=OFF"))) + (list + #:configure-flags + #~(list "-DEXAMPLES=OFF" + "-DLIB_SUFFIX=''"))) ; place libraries in /lib, not /lib64 (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:17 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:17 +0000 Received: from localhost ([127.0.0.1]:41223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1J-0003tf-5e for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:17 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1F-0003sO-8e for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 7A7216312E for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id whLwOqatisb3 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id AECBD6312D for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 6/9] gnu: libftdi: Build C++ bindings. Date: Thu, 7 Sep 2023 12:37:55 -0400 Message-Id: <02903df5d05c34a8f0164a0024dcdc3441d9d53a.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) Enabling the C++ bindings allows the test suite to be run, although this fails without access to the host's USB interface. * gnu/packages/libftdi.scm (libftdi)[arguments]: Add #:test-target, #:tests?. (inputs): Add boost. --- gnu/packages/libftdi.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index b3fb717905..0a996b05e7 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -24,6 +24,7 @@ (define-module (gnu packages libftdi) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) + #:use-module (gnu packages boost) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages textutils)) @@ -47,11 +48,13 @@ (define-public libftdi #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" - "-DLIB_SUFFIX=''"))) ; place libraries in /lib, not /lib64 + "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + #:test-target "check" + #:tests? #f)) ; tests fail without access to USB (native-inputs (list pkg-config)) (inputs - (list libconfuse)) + (list boost libconfuse)) (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") @@ -59,5 +62,5 @@ (define-public libftdi (description "libFTDI is a library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, FT2232D, FT245R and FT232H including the popular bitbangmode.") - (license (list license:gpl2 ; ftdi_eeprom + (license (list license:gpl2 ; ftdi_eeprom, C++ bindings license:lgpl2.1)))) ; main library -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:18 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:18 +0000 Received: from localhost ([127.0.0.1]:41225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1J-0003tq-Hx for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:17 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1F-0003sP-8y for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:14 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 68E8863127 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aOfoMPoh3QF2 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 0EC876312E for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 7/9] gnu: libftdi: Build Python bindings. Date: Thu, 7 Sep 2023 12:37:56 -0400 Message-Id: <4d91581c587d44c5c1c6feb63289adaa49dbb865.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[outputs]: Add "python". [arguments]<#:phases>: Add with "install-python-binding" phase. [native-inputs]: Add python, swig. --- gnu/packages/libftdi.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 0a996b05e7..773b0ec73e 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Manolis Fragkiskos Ragkousis ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2023 Simon South ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,15 +19,19 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages libftdi) + #:use-module (guix build utils) #:use-module (guix build-system cmake) #:use-module (guix download) #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages boost) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages swig) #:use-module (gnu packages textutils)) (define-public libftdi @@ -42,6 +47,7 @@ (define-public libftdi (base32 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) (build-system cmake-build-system) + (outputs '("out" "python")) (arguments (list #:configure-flags @@ -49,10 +55,26 @@ (define-public libftdi #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-python-binding + (lambda _ + (let* ((python-version + #$(version-major+minor (package-version python))) + (python-lib-path + (string-append "/lib/python" python-version))) + (mkdir-p (string-append #$output:python "/lib")) + (mkdir-p (string-append #$output:python "/share/libftdi")) + (rename-file (string-append #$output python-lib-path) + (string-append #$output:python python-lib-path)) + (rename-file (string-append #$output + "/share/libftdi/examples") + (string-append #$output:python + "/share/libftdi/examples")))))) #:test-target "check" #:tests? #f)) ; tests fail without access to USB (native-inputs - (list pkg-config)) + (list pkg-config python swig)) (inputs (list boost libconfuse)) (propagated-inputs -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:18 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:18 +0000 Received: from localhost ([127.0.0.1]:41227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1K-0003ty-1S for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:18 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1F-0003sV-FI for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:14 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 02B7863130 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yb5VOcd-EFiq for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id B0E5A6312D for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 9/9] gnu: libftdi: Build API documentation. Date: Thu, 7 Sep 2023 12:37:58 -0400 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[outputs]: Add "doc" output. [arguments]<#:configure-flags>: Add "-DDOCUMENTATION". <#:phases>: Add "install-documentation" phase. [native-inputs]: Add doxygen, graphviz. --- gnu/packages/libftdi.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index bdfc635379..02efcbbbc0 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -28,6 +28,8 @@ (define-module (gnu packages libftdi) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages boost) + #:use-module (gnu packages documentation) + #:use-module (gnu packages graphviz) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -49,12 +51,13 @@ (define-public libftdi (patches (search-patches "libftdi-fix-paths-when-FTDIPP-set.patch")))) (build-system cmake-build-system) - (outputs '("out" "python")) + (outputs '("out" "doc" "python")) (arguments (list #:configure-flags #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) + "-DDOCUMENTATION=ON" "-DEXAMPLES=OFF" "-DFTDIPP=ON" "-DLIB_SUFFIX=''" ; place libraries in /lib, not /lib64 @@ -74,11 +77,20 @@ (define-public libftdi (rename-file (string-append #$output "/share/libftdi/examples") (string-append #$output:python - "/share/libftdi/examples")))))) + "/share/libftdi/examples"))))) + (add-after 'install-python-binding 'install-documentation + (lambda _ + (let ((share (string-append #$output:doc "/share"))) + (copy-recursively "doc/man" + (string-append share "/man")) + (copy-recursively "doc/html" + (string-append share "/doc/" + #$name "-" #$version + "/html")))))) #:test-target "check" #:tests? #f)) ; tests fail without access to USB (native-inputs - (list pkg-config python swig)) + (list doxygen graphviz pkg-config python swig)) (inputs (list boost libconfuse)) (propagated-inputs -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:18 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:18 +0000 Received: from localhost ([127.0.0.1]:41229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1K-0003u1-By for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:18 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1F-0003sU-Em for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:14 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 282D96312D for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sOEILW6vPW26 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 5F5076312F for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:02 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 8/9] gnu: libftdi: Update to 1.5. Date: Thu, 7 Sep 2023 12:37:57 -0400 Message-Id: <3c421142b509727b270471e8435819708945d75b.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/libftdi.scm (libftdi): Update to 1.5. [source]: Apply patch. [arguments]<#:configure-flags>: Add "-DFTDIPP", "-DPYTHON_BINDINGS". --- gnu/local.mk | 1 + gnu/packages/libftdi.scm | 10 +++-- .../libftdi-fix-paths-when-FTDIPP-set.patch | 39 +++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch diff --git a/gnu/local.mk b/gnu/local.mk index 54aec9316a..1f1f9450ab 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1445,6 +1445,7 @@ dist_patch_DATA = \ %D%/packages/patches/json-c-0.12-CVE-2020-12762.patch \ %D%/packages/patches/julia-SOURCE_DATE_EPOCH-mtime.patch \ %D%/packages/patches/julia-Use-MPFR-4.2.patch \ + %D%/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch \ %D%/packages/patches/libgeotiff-fix-tests-with-proj-9.1.1.patch \ %D%/packages/patches/libobjc2-unbundle-robin-map.patch \ %D%/packages/patches/librime-fix-build-with-gcc10.patch \ diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 773b0ec73e..bdfc635379 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -37,7 +37,7 @@ (define-module (gnu packages libftdi) (define-public libftdi (package (name "libftdi") - (version "1.4") + (version "1.5") (source (origin (method url-fetch) (uri (string-append @@ -45,7 +45,9 @@ (define-public libftdi "libftdi1-" version ".tar.bz2")) (sha256 (base32 - "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) + "0jdh5r499wbz83vmpskczq5m3cfc1mcv8xqisj5i95k1r3lr2w3w")) + (patches + (search-patches "libftdi-fix-paths-when-FTDIPP-set.patch")))) (build-system cmake-build-system) (outputs '("out" "python")) (arguments @@ -54,7 +56,9 @@ (define-public libftdi #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" - "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + "-DFTDIPP=ON" + "-DLIB_SUFFIX=''" ; place libraries in /lib, not /lib64 + "-DPYTHON_BINDINGS=ON") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-python-binding diff --git a/gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch b/gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch new file mode 100644 index 0000000000..0a81cceb26 --- /dev/null +++ b/gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch @@ -0,0 +1,39 @@ +commit cdb28383402d248dbc6062f4391b038375c52385 +Author: Fabrice Fontaine +Date: Fri Jul 17 21:25:03 2020 +0200 + + CMakeLists.txt: fix paths when FTDIPP is set + + Use the same project name (i.e. libftdi1 and not libftdipp1) when FTDIPP + is enabled as suggested by Aurelien Jarno in + http://developer.intra2net.com/mailarchive/html/libftdi/2020/msg00044.html + + Without this change, the libftdi1.pc config file defines the include + path as /usr/local/include/libftdipp1 while the ftdi.h file is actually + installed in /usr/local/include/libftdi1 + + This is an issue for example for libsigrok which will fail on: + + In file included from src/hardware/asix-sigma/protocol.c:27: + src/hardware/asix-sigma/protocol.h:28:10: fatal error: ftdi.h: No such file or directory + 28 | #include + | ^~~~~~~~ + + Fixes: + - http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe + + Signed-off-by: Fabrice Fontaine + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5aecafc..3b0b87c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -136,7 +136,7 @@ endif () + + add_subdirectory(src) + if ( FTDIPP ) +- project(libftdipp1 C CXX) ++ project(libftdi1 C CXX) + add_subdirectory(ftdipp) + endif () + if ( PYTHON_BINDINGS ) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 12:38:19 2023 Received: (at 65807) by debbugs.gnu.org; 7 Sep 2023 16:38:19 +0000 Received: from localhost ([127.0.0.1]:41231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1K-0003u9-SI for submit@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:19 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:48566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeI1A-0003sE-OA for 65807@debbugs.gnu.org; Thu, 07 Sep 2023 12:38:17 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id B23D76312C for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u5JgQva8-0jT for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) Received: from laptop.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 5DFFD63126 for <65807@debbugs.gnu.org>; Thu, 7 Sep 2023 16:38:01 +0000 (UTC) From: Simon South To: 65807@debbugs.gnu.org Subject: [PATCH v2 5/9] gnu: libftdi: Build ftdi_eeprom. Date: Thu, 7 Sep 2023 12:37:54 -0400 Message-Id: <6ad461d3ae01e565de0df8986a099cf935824dc7.1694104141.git.simon@simonsouth.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807 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 (---) * gnu/packages/libftdi.scm (libftdi)[arguments]<#:configure-flags>: Add "-DCMAKE_INSTALL_DOCDIR". [native-inputs]: Add with pkg-config. [inputs]: Add with libconfuse. [license]: Add GPL version 2. --- gnu/packages/libftdi.scm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 1e97793a93..b3fb717905 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -24,7 +24,9 @@ (define-module (gnu packages libftdi) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) - #:use-module (gnu packages libusb)) + #:use-module (gnu packages libusb) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages textutils)) (define-public libftdi (package @@ -42,8 +44,14 @@ (define-public libftdi (arguments (list #:configure-flags - #~(list "-DEXAMPLES=OFF" + #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" + #$output "/share/doc/" #$name "-" #$version) + "-DEXAMPLES=OFF" "-DLIB_SUFFIX=''"))) ; place libraries in /lib, not /lib64 + (native-inputs + (list pkg-config)) + (inputs + (list libconfuse)) (propagated-inputs (list libusb)) ; required by libftdi1.pc (home-page "https://www.intra2net.com/en/developer/libftdi/") @@ -51,4 +59,5 @@ (define-public libftdi (description "libFTDI is a library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, FT2232D, FT245R and FT232H including the popular bitbangmode.") - (license license:lgpl2.1))) + (license (list license:gpl2 ; ftdi_eeprom + license:lgpl2.1)))) ; main library -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 14 17:38:32 2023 Received: (at 65807-done) by debbugs.gnu.org; 14 Sep 2023 21:38:32 +0000 Received: from localhost ([127.0.0.1]:41370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgu2i-0002jQ-Ig for submit@debbugs.gnu.org; Thu, 14 Sep 2023 17:38:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgu2g-0002jD-0C for 65807-done@debbugs.gnu.org; Thu, 14 Sep 2023 17:38:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgu2U-0002ry-3V; Thu, 14 Sep 2023 17:38:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=kCPRKhWwZAvAbrXfT7XFBMES6p0QKNyigKh9HX/Dic0=; b=YP50hP1CZDaHRW9PwaQ5 ALggzgQq6L2dEDqvsnQi22J4s1TJQmWnG10ZmA8LnSVQIJIJJo5OgHcpNtS8VYx19bto7oOHNmBFP iG18MBw2VUwgxs+iaOX5h7EkhrDiOIXMQNb+XjAG5dXx2L7EYhFuLMwdGlQlLsN5tGvHOjhyHdGAk y6T7SxQ+o0h0ddgi3oIAmR80lkdljrUtVY4JVxDMnj+mmtV7NnSY/+yHeESvra8wi0DedJXKl/SQx aYaVi2ol1lvTAVm9d5epaZHBsSM7jSIuPfBWafWASOomK5LPKSBGZEoT0WnWWNsC7MBenhzxxP8al 9V7fdqHRmSfohw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon South Subject: Re: bug#65807: [PATCH 0/8] gnu: libftdi: Update to 1.5; other improvements. References: Date: Thu, 14 Sep 2023 23:38:14 +0200 In-Reply-To: (Simon South's message of "Thu, 7 Sep 2023 12:37:09 -0400") Message-ID: <87y1h8306x.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65807-done Cc: 65807-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 (---) Hello, Simon South skribis: > gnu: libftdi: Update package style. > gnu: libftdi: Use HTTPS for package source. > gnu: libftdi: Do not build example programs. > gnu: libftdi: Install libraries to /lib instead of /lib64. > gnu: libftdi: Build ftdi_eeprom. > gnu: libftdi: Build C++ bindings. > gnu: libftdi: Build Python bindings. > gnu: libftdi: Update to 1.5. > gnu: libftdi: Build API documentation. Applied, thanks! Ludo=E2=80=99. From unknown Sun Jun 15 08:43:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 Oct 2023 11:24:05 +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