From unknown Tue Jun 17 20:13:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55981 <55981@debbugs.gnu.org> To: bug#55981 <55981@debbugs.gnu.org> Subject: Status: [PATCH] gnu: teensy-loader-cli: Update to 2.2. Reply-To: bug#55981 <55981@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:13:42 +0000 retitle 55981 [PATCH] gnu: teensy-loader-cli: Update to 2.2. reassign 55981 guix-patches submitter 55981 peter@polidoro.io severity 55981 normal tag 55981 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 14:59:21 2022 Received: (at submit) by debbugs.gnu.org; 14 Jun 2022 18:59:21 +0000 Received: from localhost ([127.0.0.1]:35793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1Bky-0005Tn-I2 for submit@debbugs.gnu.org; Tue, 14 Jun 2022 14:59:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:45308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1Bkv-0005TZ-Gr for submit@debbugs.gnu.org; Tue, 14 Jun 2022 14:59:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1Bkv-0001V3-8a for guix-patches@gnu.org; Tue, 14 Jun 2022 14:59:13 -0400 Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:31739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1Bks-0005Kr-RB for guix-patches@gnu.org; Tue, 14 Jun 2022 14:59:12 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4FB8E8E1A3F; Tue, 14 Jun 2022 18:59:06 +0000 (UTC) Received: from pdx1-sub0-mail-a294.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 73D1E8E26EE; Tue, 14 Jun 2022 18:59:04 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1655233144; a=rsa-sha256; cv=none; b=upakzkrEQ0A6Qfl0Xu5ZG/HHu3rgiG8b/5QbTuLM1yAkVqMd9eBiT+6+4FUCRrChaZdnDw 1Zq0xu4CrLuEHDnBfGOdbMpRVuLDPmn457woi97bEuL1unsmVih2JaOv86peWHZ3uj9S7G ahB+heew2Kil2aNrI+s8NLzKHkeFkGNCAAfC74ZM2SN8jTZ6mTAjFVuDP2I+KtSfhqL0SM UtVNuqx8DsjIPJBWCznHnQkAnxPcA9hy5SP5liosNH7dLbXNt81sdHW9qdwShndc0geaEm gblI0sUCU/UIuUQ8WiO/jtrVNWSWM8NGt+MirBgfOXbEXlmyA4JxYJg6NR/Jsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1655233144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=qsG1dBjRlR9qd9jMbbVesNUpSvZdgfDa05Pdyqp40JI=; b=oHIMYa5ztW41uyJbUmIe3J/tmaTjauIkjb0A/QG3mQnkGzx6228I92B904D7ORA1EpgWl5 TF7oTA6/7y7KzNLpYAo4vX7piQtNTnNHgwpvwYQrFnS0dGh7DXwMjOiU9orXPzZZPosBVW KDioF8J9UVnKR7SH+y+GaN0jhs+3io1dW9nld/yRufdWKOqcZC192KodP4x7O2YW1ZkU16 TdBab20j3U8eaAzaccr+SF+USTcQt+4S5fbiiPSSc4ATpuSBl46HbuWomUwAv2LDLOZQGt 4TuZJnRGTEFSDp0WlT9ojGCRzy1w5nMAdbvhIacocuRamSTgX1ez6xM5pi31nA== ARC-Authentication-Results: i=1; rspamd-848669fb87-ms8g7; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Dime-Supply: 507108655610ea8b_1655233145782_3398504070 X-MC-Loop-Signature: 1655233145782:3064492483 X-MC-Ingress-Time: 1655233145782 Received: from pdx1-sub0-mail-a294.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.98.242.216 (trex/6.7.1); Tue, 14 Jun 2022 18:59:05 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (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) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a294.dreamhost.com (Postfix) with ESMTPSA id 4LMyQb5mp5z2T; Tue, 14 Jun 2022 11:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1655233144; bh=qsG1dBjRlR9qd9jMbbVesNUpSvZdgfDa05Pdyqp40JI=; h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding; b=ITPxK8fXs+X/gfeR9iP5J4PpDyePWK5IZmB/0/RAu9VERiqwB6e2YHLjTy7aoERLW Ygg1QhX8Umwkk5t0GddURnEkpf8HlwgI2fFbslrQltdEcXp5weNn8njiExKwgwvbf0 c3wHauCqdX1jfd9gLneMzwHtJ4PE2dwhBY8wHZizKu2mEPHx+Pyi/L94FPudcHgwCh IP2ReOVvE50c9RDcS8cL7i0RLLXBeONqFjkS9ZmrXvGQUAW4UjVvAq6hDIGfIs2/wT r6VfZbNag8//amGlHNrov6JSkwHJlWsyPM3V/a2AhNa7FfnkZdmxRkOGwQ/nxhZn5n u6OwYbJTl5JKA== From: peter@polidoro.io To: guix-patches@gnu.org Subject: [PATCH] gnu: teensy-loader-cli: Update to 2.2. Date: Tue, 14 Jun 2022 14:58:53 -0400 Message-Id: <703325a05d2d9ac343c1f5585260d00233b9a762.1655232993.git.peter@polidoro.io> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.209.62; envelope-from=peter@polidoro.io; helo=fossa.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Peter Polidoro 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.4 (--) From: Peter Polidoro * gnu/packages/flashing-tools.scm (teensy-loader-cli): Update to 2.2. --- gnu/packages/flashing-tools.scm | 83 +++++++++++++++------------------ 1 file changed, 38 insertions(+), 45 deletions(-) diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index 764fc9b422..08300cb860 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 Ricardo Wurmus ;;; Copyright © 2021 Mathieu Othacehe +;;; Copyright © 2022 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -217,56 +218,48 @@ (define-public dfu-util (license license:gpl2+))) (define-public teensy-loader-cli - ;; The repo does not tag versions nor does it use releases, but a commit - ;; message says "Importing 2.1", while the sourcce still says "2.0". So pin - ;; to a fixed commit. - (let ((commit "f289b7a2e5627464044249f0e5742830e052e360")) - (package - (name "teensy-loader-cli") - (version (git-version "2.1" "1" commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/PaulStoffregen/teensy_loader_cli") - (commit commit))) - (sha256 (base32 "0sssim56pwsxp5cp5dlf6mi9h5fx2592m6j1g7abnm0s09b0lpdx")) - (file-name (git-file-name name version)) - (modules '((guix build utils))) - (snippet - `(begin - ;; Remove example flash files and teensy rebooter flash binaries. - (for-each delete-file (find-files "." "\\.(elf|hex)$")) - ;; Fix the version - (substitute* "teensy_loader_cli.c" - (("Teensy Loader, Command Line, Version 2.0\\\\n") - (string-append "Teensy Loader, Command Line, " ,version "\\n"))) - #t)) + (package + (name "teensy-loader-cli") + (version "2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PaulStoffregen/teensy_loader_cli") + (commit version))) + (sha256 (base32 "12n8ifz4gph1anhwd8if3j1kw0wc3yxf48abbyxl8071l9vj3m0b")) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + `(begin + ;; Remove example flash files and teensy rebooter flash binaries. + (for-each delete-file (find-files "." "\\.(elf|hex)$")) + #t)) (patches (search-patches "teensy-loader-cli-help.patch")))) - (build-system gnu-build-system) - (arguments - '(#:tests? #f ;; Makefile has no test target - #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (install-file "teensy_loader_cli" bin) - #t)))))) - (inputs - (list libusb-compat)) - (synopsis "Command line firmware uploader for Teensy development boards") - (description - "The Teensy loader program communicates with your Teensy board when the + (build-system gnu-build-system) + (arguments + '(#:tests? #f ;; Makefile has no test target + #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "teensy_loader_cli" bin) + #t)))))) + (inputs + (list libusb-compat)) + (synopsis "Command line firmware uploader for Teensy development boards") + (description + "The Teensy loader program communicates with your Teensy board when the HalfKay bootloader is running, so you can upload new programs and run them. You need to add the udev rules to make the Teensy update available for non-root users.") - (home-page "https://www.pjrc.com/teensy/loader_cli.html") - (license license:gpl3)))) + (home-page "https://www.pjrc.com/teensy/loader_cli.html") + (license license:gpl3))) (define-public rkflashtool (let ((commit "8966c4e277de8148290554aaaa4146a3a84a3c53") -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 09:27:59 2022 Received: (at 55981-done) by debbugs.gnu.org; 17 Jun 2022 13:27:59 +0000 Received: from localhost ([127.0.0.1]:44378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2C11-00052s-8c for submit@debbugs.gnu.org; Fri, 17 Jun 2022 09:27:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2C0z-00052f-Lb for 55981-done@debbugs.gnu.org; Fri, 17 Jun 2022 09:27:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2C0u-0006eA-5Q; Fri, 17 Jun 2022 09:27:52 -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=4Ful8Ni/BzLLAjeQvy9NxlRkPA7y0+URw/L9PR0N04A=; b=NoA5zrIViAjk/n+C0T5H Q17kHPLOYNDiwslX0Od3zk4XXfzniKzrnzyqY8aFE/Pqg6ZzooaLt3yWsuJ/XUMQL5YRIVYXxfZjq nMC07bpg2epgh4RqvxaRBUIa/6nGEAM6NeERg9ewMDYWt+mdqyk+hV6pb5HXqwbSttp+/evQ43TkP lAuG7feLFfa/fNTImFmJSmvD0AgAJvjm0ZNo9npzrvf1mvAciQth3AZxLsQjmyeICFyh40kGBYqsE KY2IFX0otswMprXCvnTUfc8vGbFMTvLNJvzQKFl8gLrUBwAabs4M/uT+Gcf6ha0XcwsveOcAx2PSh aiZ0VFMEpybKIw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=37870 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2C0t-0000hE-HR; Fri, 17 Jun 2022 09:27:51 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: peter@polidoro.io Subject: Re: bug#55981: [PATCH] gnu: teensy-loader-cli: Update to 2.2. References: <703325a05d2d9ac343c1f5585260d00233b9a762.1655232993.git.peter@polidoro.io> Date: Fri, 17 Jun 2022 15:27:49 +0200 In-Reply-To: <703325a05d2d9ac343c1f5585260d00233b9a762.1655232993.git.peter@polidoro.io> (peter@polidoro.io's message of "Tue, 14 Jun 2022 14:58:53 -0400") Message-ID: <87a6abh12i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55981-done Cc: 55981-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 (---) peter@polidoro.io skribis: > From: Peter Polidoro > > * gnu/packages/flashing-tools.scm (teensy-loader-cli): Update to 2.2. Applied, thanks! Ludo'. From unknown Tue Jun 17 20:13:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Jul 2022 11:24:11 +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