guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit 44ca37e7ed0fce9325655eff48df62e05f24839a
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Wed Apr 29 16:07:32 2026 +0200

    gnu: Remove libgit2-1.3.
    
    * gnu/packages/version-control.scm (libgit2-1.3): Define as deprecated
    variant for libgit2-1.5.
    * gnu/packages/julia.scm (julia)[inputs]: Replace libgit2-1.3 with
    libgit2-1.5.
---
 gnu/packages/julia.scm           |  2 +-
 gnu/packages/version-control.scm | 39 +++------------------------------------
 2 files changed, 4 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index c14c197194f..a7c9caa21a4 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -511,7 +511,7 @@ using Dates: @dateformat_str, Date, DateTime, DateFormat, 
Time"))
        ("gmp" ,gmp)
        ("lapack" ,lapack)
        ("libblastrampoline" ,libblastrampoline)
-       ("libgit2" ,libgit2-1.3)
+       ("libgit2" ,libgit2-1.5)
        ("libnghttp2" ,nghttp2 "lib")
        ("libssh2" ,libssh2)
        ("libunwind" ,libunwind-julia)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6f7eebc2c4a..9902595cc80 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1597,46 +1597,13 @@ write native speed custom Git applications in any 
language with bindings.")
                '(begin
                   (delete-file-recursively "deps")))))))
 
+;; As of 2026-MM-DD.  If you see this warning, you're in trouble.
+(define-deprecated-package libgit2-1.3 libgit2-1.5)
+
 (define-public libgit2
   ;; Default version of libgit2.
   libgit2-1.9)
 
-(define-public libgit2-1.3
-  (package
-    (inherit libgit2-1.5)
-    (version "1.3.2")
-    (source (origin
-              (inherit (package-source libgit2-1.5))
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/libgit2/libgit2";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name "libgit2" version))
-              (sha256
-               (base32
-                "1dngga8jq419z6ps65wpmh2jihcf70k6r98pb1m1yiwj7qqh9792"))))
-    (arguments
-     (substitute-keyword-arguments (package-arguments libgit2-1.5)
-       ((#:configure-flags _ #~'())
-        ;; XXX: Drop '-DUSE_SHA1=HTTPS' to avoid a major rebuild.
-        #~(list "-DUSE_NTLMCLIENT=OFF"
-                "-DREGEX_BACKEND=pcre2"
-                "-DUSE_HTTP_PARSER=system"
-                "-DUSE_SSH=ON" ; cmake fails to find libssh if this is missing
-                ;; See https://github.com/libgit2/libgit2/issues/7169
-                #$@(if (target-32bit?)
-                       '("-DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64")
-                       '())))
-       ((#:phases _ '%standard-phases)
-        `(modify-phases %standard-phases
-           ;; Run checks more verbosely, unless we are cross-compiling.
-           (replace 'check
-             (lambda* (#:key (tests? #t) #:allow-other-keys)
-               (if tests?
-                   (invoke "./libgit2_clar" "-v" "-Q")
-                   ;; Tests may be disabled if cross-compiling.
-                   (format #t "Test suite not run.~%"))))))))))
-
 (define-public git-issue
   (let ((commit "d056998566d30235072b97982756ff607e9ecce9")
         (revision "0"))

Reply via email to