GNU bug report logs - #65779
[PATCH 0/2] uncrustify: Update to 0.77.1.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Wed, 6 Sep 2023 10:49:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 65779 in the body.
You can then email your comments to 65779 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#65779; Package guix-patches. (Wed, 06 Sep 2023 10:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 06 Sep 2023 10:49:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] uncrustify: Update to 0.77.1.
Date: Wed,  6 Sep 2023 18:48:21 +0800
uncrustify: Update to 0.77.1.

Zheng Junjie (2):
  gnu: uncrustify: Update to 0.77.1.
  gnu: uncrustify: use new style and gexp.

 gnu/packages/code.scm | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)


base-commit: 6113e0529d61df7425f64e30a6bf77f7cfdfe5a5
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65779; Package guix-patches. (Wed, 06 Sep 2023 10:52:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 65779 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: uncrustify: Update to 0.77.1.
Date: Wed,  6 Sep 2023 18:51:08 +0800
* gnu/packages/code.scm (uncrustify): Update to 0.77.1.
---
 gnu/packages/code.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 9cdda2b751..1bc6cd541e 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -787,7 +787,7 @@ (define-public makefile2graph
 (define-public uncrustify
   (package
     (name "uncrustify")
-    (version "0.75.1")
+    (version "0.77.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -796,7 +796,7 @@ (define-public uncrustify
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1mzzzd4alajjdshbjd2a5mddqcpag8yyss72n09mfpialzyf7g60"))))
+                "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm"))))
     (build-system cmake-build-system)
     (native-inputs
      `(("python" ,python-wrapper)))
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65779; Package guix-patches. (Wed, 06 Sep 2023 10:52:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 65779 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: uncrustify: use new style and gexp.
Date: Wed,  6 Sep 2023 18:51:09 +0800
* gnu/packages/code.scm (uncrustify): use new style and gexp.
[native-inputs]: remove label.
[arguments]: use gexp and remove tail #t.
---
 gnu/packages/code.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 1bc6cd541e..b2b36a2d6f 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -798,20 +798,18 @@ (define-public uncrustify
                (base32
                 "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm"))))
     (build-system cmake-build-system)
-    (native-inputs
-     `(("python" ,python-wrapper)))
+    (native-inputs (list python-wrapper))
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'unpack-etc
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             ;; Configuration samples are not installed by default.
-             (let* ((output (assoc-ref outputs "out"))
-                    (etcdir (string-append output "/etc")))
-               (for-each (lambda (l)
-                           (install-file l etcdir))
-                         (find-files "etc" "\\.cfg$")))
-             #t)))))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'unpack-etc
+                 (lambda* (#:key inputs outputs #:allow-other-keys)
+                   ;; Configuration samples are not installed by default.
+                   (let* ((output (assoc-ref outputs "out"))
+                          (etcdir (string-append output "/etc")))
+                     (for-each (lambda (l)
+                                 (install-file l etcdir))
+                               (find-files "etc" "\\.cfg$"))))))))
     (home-page "https://uncrustify.sourceforge.net/")
     (synopsis "Code formatter for C and other related languages")
     (description
-- 
2.41.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 14 Sep 2023 21:00:02 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Thu, 14 Sep 2023 21:00:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 65779-done <at> debbugs.gnu.org
Subject: Re: bug#65779: [PATCH 0/2] uncrustify: Update to 0.77.1.
Date: Thu, 14 Sep 2023 22:59:07 +0200
Zheng Junjie <zhengjunjie <at> iscas.ac.cn> skribis:

>   gnu: uncrustify: Update to 0.77.1.
>   gnu: uncrustify: use new style and gexp.

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Oct 2023 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 210 days ago.

Previous Next


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