GNU bug report logs - #72194
[PATCH] gnu: libgit2-1.8: Update to 1.8.1.

Previous Next

Package: guix-patches;

Reported by: ashish.is <at> lostca.se

Date: Fri, 19 Jul 2024 18:23:03 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#72194: closed ([PATCH] gnu: libgit2-1.8: Update to 1.8.1.)
Date: Mon, 19 Aug 2024 10:36:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 19 Aug 2024 12:34:13 +0200
with message-id <875xrwx0m2.fsf <at> gnu.org>
and subject line Re: [bug#72194] [PATCH] gnu: libgit2-1.8: Update to 1.8.1.
has caused the debbugs.gnu.org bug report #72194,
regarding [PATCH] gnu: libgit2-1.8: Update to 1.8.1.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
72194: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72194
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ashish.is <at> lostca.se
To: guix-patches <at> gnu.org
Cc: Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH] gnu: libgit2-1.8: Update to 1.8.1.
Date: Fri, 19 Jul 2024 14:37:32 +0200
From: Ashish SHUKLA <ashish.is <at> lostca.se>

* gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.1.
  [source]: deps/http-parser does not exist so update the list
  [arguments]: semantics of -DUSE_HTTP_PARSER has changed, so
  update configure-flags to reflect the same

Change-Id: Ifd9694a93326f7c3d368bd354a5fadf4e4b93119
---
 gnu/packages/version-control.scm | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3267a541a1..813f0cfdd1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -978,7 +978,7 @@ (define-public libgit2-1.7
 (define-public libgit2-1.8
   (package
     (inherit libgit2-1.7)
-    (version "1.8.0")
+    (version "1.8.1")
     (source (origin
               (inherit (package-source libgit2-1.7))
               (uri (git-reference
@@ -987,7 +987,23 @@ (define-public libgit2-1.8
               (file-name (git-file-name "libgit2" version))
               (sha256
                (base32
-                "0f0vqml6fp94z07xkpim2sdj2xvpxnsrwbm1q1dibx4vqjd7mh3q"))))))
+                "1mh55804cvxl2cyl4clinajzgfn3zmlhacnv1pdvdj4w6z2w4si7"))
+	      (snippet
+               '(begin
+                  (for-each delete-file-recursively
+                            '("deps/chromium-zlib"
+                              "deps/llhttp"
+                              "deps/ntlmclient"
+                              "deps/pcre"
+                              "deps/winhttp"
+                              "deps/zlib"))))))
+    (arguments (substitute-keyword-arguments (package-arguments libgit2-1.7)
+                 ((#:configure-flags flags #~(list))
+                  #~(map (lambda (arg)
+                           (if (string= "-DUSE_HTTP_PARSER=system" arg)
+                               "-DUSE_HTTP_PARSER=http-parser"
+                               arg))
+                         #$flags))))))
 
 (define-public libgit2-1.6
   (package

base-commit: 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f
-- 
2.45.2



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: ashish.is <at> lostca.se
Cc: 72194-done <at> debbugs.gnu.org
Subject: Re: [bug#72194] [PATCH] gnu: libgit2-1.8: Update to 1.8.1.
Date: Mon, 19 Aug 2024 12:34:13 +0200
ashish.is <at> lostca.se skribis:

> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> * gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.1.
>   [source]: deps/http-parser does not exist so update the list
>   [arguments]: semantics of -DUSE_HTTP_PARSER has changed, so
>   update configure-flags to reflect the same
>
> Change-Id: Ifd9694a93326f7c3d368bd354a5fadf4e4b93119

Applied, thanks!


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

Previous Next


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