GNU bug report logs - #74384
[PATCH 0/2] gnu: stlink: Update to 1.8.0.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sat, 16 Nov 2024 16:42:01 UTC

Severity: normal

Tags: patch

Done: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74384 in the body.
You can then email your comments to 74384 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#74384; Package guix-patches. (Sat, 16 Nov 2024 16:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 16 Nov 2024 16:42:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 0/2] gnu: stlink: Update to 1.8.0.
Date: Sat, 16 Nov 2024 19:41:10 +0300
This patchset updates "stlink" package and improves its style by using GEXPs.

Artyom V. Poptsov (2):
  gnu: stlink: Update to 1.8.0.
  gnu: stlink: Use GEXPs.

 gnu/packages/embedded.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)


base-commit: b647d3a149c94ee84cde1af3af7442633afa3416
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74384; Package guix-patches. (Sat, 16 Nov 2024 16:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 74384 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 74384 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 2/2] gnu: stlink: Use GEXPs.
Date: Sat, 16 Nov 2024 19:42:49 +0300
* gnu/packages/embedded.scm (stlink): Use GEXPs.

Change-Id: I26e2649f29c1e742f848f3efc5a10c218bb5bb28
---
 gnu/packages/embedded.scm | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 6b3acefea2..0dcfc6669f 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1653,14 +1653,13 @@ (define-public stlink
          "1g5ahnj400sdf75k3xafawa6x0pzz7s86nqnfd65gqjr3bdlhlc6"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                      ;no tests
-       #:configure-flags
-       (let* ((out (assoc-ref %outputs "out"))
-              (etc (in-vicinity out "etc"))
-              (modprobe (in-vicinity etc "modprobe.d"))
-              (udev-rules (in-vicinity etc "udev/rules.d")))
-         (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules)
-               (string-append "-DSTLINK_MODPROBED_DIR=" modprobe)))))
+     (list #:tests? #f                      ;no tests
+           #:configure-flags
+           #~(let* ((etc (in-vicinity #$output "etc"))
+                    (modprobe (in-vicinity etc "modprobe.d"))
+                    (udev-rules (in-vicinity etc "udev/rules.d")))
+               (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules)
+                     (string-append "-DSTLINK_MODPROBED_DIR=" modprobe)))))
     (inputs
      (list libusb))
     (synopsis "Programmer for STM32 Discovery boards")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74384; Package guix-patches. (Sat, 16 Nov 2024 16:45:02 GMT) Full text and rfc822 format available.

Message #11 received at 74384 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 74384 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 1/2] gnu: stlink: Update to 1.8.0.
Date: Sat, 16 Nov 2024 19:42:48 +0300
* gnu/packages/embedded.scm (stlink): Update to 1.8.0.

Change-Id: I51a3c664c4035ec542fa82753dc8e6aa8a8c0256
---
 gnu/packages/embedded.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index cc999d35f8..6b3acefea2 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2022 Mathieu Othacehe <othacehe <at> gnu.org>
 ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke <at> gnu.org>
+;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1639,7 +1640,7 @@ (define-public stcgal
 (define-public stlink
   (package
     (name "stlink")
-    (version "1.7.0")
+    (version "1.8.0")
     (source
      (origin
        (method git-fetch)
@@ -1649,7 +1650,7 @@ (define-public stlink
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "03xypffpbp4imrczbxmq69vgkr7mbp0ps9dk815br5wwlz6vgygl"))))
+         "1g5ahnj400sdf75k3xafawa6x0pzz7s86nqnfd65gqjr3bdlhlc6"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f                      ;no tests
-- 
2.46.0





Reply sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
You have taken responsibility. (Sat, 23 Nov 2024 05:57:02 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Sat, 23 Nov 2024 05:57:02 GMT) Full text and rfc822 format available.

Message #16 received at 74384-done <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 74384-done <at> debbugs.gnu.org
Subject: Re: [PATCH 0/2] gnu: stlink: Update to 1.8.0.
Date: Sat, 23 Nov 2024 08:54:51 +0300
[Message part 1 (text/plain, inline)]
Merged to the "master" branch as:

--8<---------------cut here---------------start------------->8---
2e223bc57cffbd2639a6760179448ea6104a45e7 gnu: stlink: Use GEXPs.
90c7d7783378856e93318678b0134bf22f745840 gnu: stlink: Update to 1.8.0.
--8<---------------cut here---------------end--------------->8---

- avp

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Dec 2024 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.