From 6d3147bcb7153c2b4ad6db356fd443f02fd847da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 31 Aug 2026 10:18:28 +0900 Subject: gnu: Remove libgit2-1.9/pinned. libgit2-1.9 has over 600 dependents and needs to be updated in a topic branch now, no different from a pinned variant. * gnu/packages/version-control.scm (libgit2-1.9/pinned): Delete variable. * gnu/packages/rust-apps.scm (rust-cargo-c)[inputs]: Replace libgit2-1.9/pinned with libgit2-1.9. * gnu/packages/video.scm (rav1e)[inputs]: Likewise. --- gnu/packages/rust-apps.scm | 2 +- gnu/packages/version-control.scm | 45 ---------------------------------------- gnu/packages/video.scm | 2 +- 3 files changed, 2 insertions(+), 47 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 7a188083f82..1a2a412457b 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -4253,7 +4253,7 @@ background agent taking care of maintaining the necessary state.") (list pkg-config)) (inputs (cons* curl - libgit2-1.9/pinned + libgit2-1.9 libssh2 openssl sqlite diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 4157187c015..5fdbf1dfce2 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1485,51 +1485,6 @@ write native speed custom Git applications in any language with bindings.") ;; GPLv2 with linking exception (license license:gpl2))) -(define-public libgit2-1.9/pinned - ;; This is a pinned version used as a dependency for 'rust-cargo-c'. - ;; Update periodically. - (package/inherit libgit2-1.9 - (version "1.9.2") - (source (origin - (inherit (package-source libgit2-1.9)) - (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 - "1f3wnw0s5fx4lf68i400mj6l7qyw9hf6mr7i2xlqqmp9q23q89sc")) - (patches - (search-patches "libgit2-uninitialized-proxy-settings.patch" - "libgit2-proxy-reconnection.patch" - "libgit2-path-max.patch")))) - (arguments - (list #:configure-flags - #~(list "-DUSE_NTLMCLIENT=OFF" ;TODO: package this - "-DREGEX_BACKEND=pcre2" - "-DUSE_HTTP_PARSER=http-parser" - "-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 - #~(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_tests" "-v" "-Q") - ;; Tests may be disabled if cross-compiling. - (format #t "Test suite not run.~%"))))))) - (inputs - (list libssh2 http-parser)) - (propagated-inputs - ;; These libraries are in 'Requires.private' in libgit2.pc. - (list openssl pcre2 zlib)) - (properties '((hidden? . #t))))) - (define-public libgit2-1.8 (package (inherit libgit2-1.9) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index c81680737cf..ac32b06a438 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -7090,7 +7090,7 @@ result in several formats: '()) (list pkg-config rust-cargo-c))) (inputs - (cons* libgit2-1.9/pinned zlib (cargo-inputs 'rav1e))) + (cons* libgit2-1.9 zlib (cargo-inputs 'rav1e))) (home-page "https://github.com/xiph/rav1e/") (synopsis "Fast and safe AV1 encoder") (description "@code{rav1e} is an AV1 video encoder. It is designed to -- cgit v1.2.3