Subject: Subject: [PATCH] gnu: xfel: Update to 1.2.9
From: 路辉 <[email-masked]>
To: guix-patches <[email-masked]>
Date: Sat, 18 Feb 2023 12:40:14 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From d77279693be162d3efc0b9bcdfd76f73a66bbbab Mon Sep 17 00:00:00 2001
From: LuHui <[email-masked]>
Date: Sat, 18 Feb 2023 20:32:33 +0800
Subject: [PATCH] gnu: xfel: Update to 1.2.9

* gnu/packages/admin.scm (xfel): Update to 1.2.9
---
 gnu/packages/admin.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 055be32972..e612d7ec86 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2022, 2023 Matthew James Kraai <[email-masked]>
 ;;; Copyright © 2022 jgart <[email-masked]>
 ;;; Copyright © 2023 Juliana Sims <[email-masked]>
+;;; Copyright © 2023 Lu Hui <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3744,7 +3745,7 @@ (define-public sunxi-tools
 (define-public xfel
   (package
     (name "xfel")
-    (version "1.2.4")
+    (version "1.2.9")
     (source
      (origin
        (method git-fetch)
@@ -3752,7 +3753,7 @@ (define-public xfel
               (url "https://github.com/xboot/xfel.git")
               (commit (string-append "v" version))))
        (sha256
-         (base32 "0r4j63vh6279fj1yh71h08d1av3nc0majlad5yh6admsxiig101m"))
+         (base32 "0gs37w5zjfmyadm49hdalq6vr6gidc683agz3shncgj93x2hxx02"))
        (file-name (git-file-name name version))))
     (native-inputs
      (list pkg-config))
@@ -3770,12 +3771,14 @@ (define-public xfel
                 (("/usr/local") out)
                 (("/usr") out)
                 (("/etc/udev/rules.d")
-                 (string-append out "/lib/udev/rules.d"))))))
+                 (string-append out "/lib/udev/rules.d"))
+                (("udevadm control --reload") ; next version will remove this
+                  "")))))
          (delete 'configure))))
     (home-page "https://github.com/xboot/xfel")
     (synopsis "Remote debugging tool for Allwinner D1 computers")
-    (description "This package contains a debugging tool for Allwinner D1
-devices (connects via USB OTG).")
+    (description "This package contains a debugging tool for Allwinner soc
+(connects via USB OTG).")
     (license license:expat)))

 (define-public sedsed
-- 
2.39.1