GNU bug report logs - #70675
[PATCH] gnu: cmake: Update to 3.29.2.

Previous Next

Package: guix-patches;

Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>

Date: Tue, 30 Apr 2024 14:54:02 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.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 70675 in the body.
You can then email your comments to 70675 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#70675; Package guix-patches. (Tue, 30 Apr 2024 14:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Ziltener <dziltener <at> lyrion.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 30 Apr 2024 14:54:02 GMT) Full text and rfc822 format available.

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

From: Daniel Ziltener <dziltener <at> lyrion.ch>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: cmake: Update to 3.29.2.
Date: Tue, 30 Apr 2024 16:52:47 +0200
---
gnu/packages/cmake.scm | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 0c780fe420..d9cf9851e1 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -347,24 +347,17 @@ (define preserved-files 
',%preserved-third-party-files)
(define-public cmake
(package
(inherit cmake-minimal)
+ (version "3.29.2")
(name "cmake")
- (version "3.25.1")
(source (origin
- (inherit (package-source cmake-minimal))
- (method url-fetch)
- (uri (string-append "https://cmake.org/files/v"
- (version-major+minor version)
- "/cmake-" version ".tar.gz"))
- (snippet (match (origin-snippet (package-source cmake-minimal))
- (('begin ('define 'preserved-files ('quote x))
- rest ...)
- `(begin (define preserved-files
- ',(cons "Utilities/cmelf" x))
- ,@rest))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.kitware.com/cmake/cmake")
+ (commit (string-append "v" version))
+ (recursive? #t)))
(sha256
(base32
- "1n4inb3fvk70sni5gmkljqw3cyllalyg3fnr9rlr7x3aa44isl8w"))
- (patches (search-patches "cmake-curl-certificates-3.24.patch"))))
+ "0yjk4kqrln8smz457dxansfl69zyikr5015xm23xa4g7x1rihkgg"))))
(outputs '("out" "doc"))
(arguments
(substitute-keyword-arguments (package-arguments cmake-minimal)
@@ -373,10 +366,8 @@ (define-public cmake
(if (%current-target-system)
cmake-minimal-cross
cmake-minimal))
-
;; Enable debugging information for convenience.
((#:build-type _ #f) "RelWithDebInfo")
-
((#:configure-flags flags ''())
#~(append (list "-DSPHINX_INFO=ON" "-DSPHINX_MAN=ON" "-DSPHINX_HTML=ON"
(string-append "-DCMAKE_DOC_DIR=share/doc/cmake-"
@@ -401,7 +392,8 @@ (define-public cmake
(delete-file-recursively (string-append #$output html)))))))))
(inputs
(modify-inputs (package-inputs cmake-minimal)
- (prepend ncurses))) ;required for ccmake
+ (prepend ncurses) ;required for ccmake
+ (prepend cppdap)))
;; Extra inputs required to build the documentation.
(native-inputs
(modify-inputs (package-native-inputs cmake-minimal)

-- 
2.41.0






Reply sent to John Kehayias <john.kehayias <at> protonmail.com>:
You have taken responsibility. (Thu, 12 Sep 2024 19:21:01 GMT) Full text and rfc822 format available.

Notification sent to Daniel Ziltener <dziltener <at> lyrion.ch>:
bug acknowledged by developer. (Thu, 12 Sep 2024 19:21:02 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Daniel Ziltener <dziltener <at> lyrion.ch>
Cc: 70675-done <at> debbugs.gnu.org
Subject: Re: [bug#70675] [PATCH] gnu: cmake: Update to 3.29.2.
Date: Thu, 12 Sep 2024 19:20:33 +0000
Hello,

On Tue, Apr 30, 2024 at 04:52 PM, Daniel Ziltener wrote:

> ---
> gnu/packages/cmake.scm | 26 +++++++++-----------------
> 1 file changed, 9 insertions(+), 17 deletions(-)
>

Looks like the below patch had all formatting (spacing) removed. Thank
you for the submission though! I have submitted a newer cmake version
(without updating the default yet) to
<https://issues.guix.gnu.org/73209>.

Closing this one, but feel free to reopen with a properly formatted
patch to add this specific version of cmake, if that's what you intended.

John

> diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
> index 0c780fe420..d9cf9851e1 100644
> --- a/gnu/packages/cmake.scm
> +++ b/gnu/packages/cmake.scm
> @@ -347,24 +347,17 @@ (define preserved-files
> ',%preserved-third-party-files)
> (define-public cmake
> (package
> (inherit cmake-minimal)
> + (version "3.29.2")
> (name "cmake")
> - (version "3.25.1")
> (source (origin
> - (inherit (package-source cmake-minimal))
> - (method url-fetch)
> - (uri (string-append "https://cmake.org/files/v"
> - (version-major+minor version)
> - "/cmake-" version ".tar.gz"))
> - (snippet (match (origin-snippet (package-source cmake-minimal))
> - (('begin ('define 'preserved-files ('quote x))
> - rest ...)
> - `(begin (define preserved-files
> - ',(cons "Utilities/cmelf" x))
> - ,@rest))))
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://gitlab.kitware.com/cmake/cmake")
> + (commit (string-append "v" version))
> + (recursive? #t)))
> (sha256
> (base32
> - "1n4inb3fvk70sni5gmkljqw3cyllalyg3fnr9rlr7x3aa44isl8w"))
> - (patches (search-patches "cmake-curl-certificates-3.24.patch"))))
> + "0yjk4kqrln8smz457dxansfl69zyikr5015xm23xa4g7x1rihkgg"))))
> (outputs '("out" "doc"))
> (arguments
> (substitute-keyword-arguments (package-arguments cmake-minimal)
> @@ -373,10 +366,8 @@ (define-public cmake
> (if (%current-target-system)
> cmake-minimal-cross
> cmake-minimal))
> -
> ;; Enable debugging information for convenience.
> ((#:build-type _ #f) "RelWithDebInfo")
> -
> ((#:configure-flags flags ''())
> #~(append (list "-DSPHINX_INFO=ON" "-DSPHINX_MAN=ON" "-DSPHINX_HTML=ON"
> (string-append "-DCMAKE_DOC_DIR=share/doc/cmake-"
> @@ -401,7 +392,8 @@ (define-public cmake
> (delete-file-recursively (string-append #$output html)))))))))
> (inputs
> (modify-inputs (package-inputs cmake-minimal)
> - (prepend ncurses))) ;required for ccmake
> + (prepend ncurses) ;required for ccmake
> + (prepend cppdap)))
> ;; Extra inputs required to build the documentation.
> (native-inputs
> (modify-inputs (package-native-inputs cmake-minimal)





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

This bug report was last modified 150 days ago.

Previous Next


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