unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72350] [PATCH] gnu: skopeo: Update to 1.16.0.
@ 2024-07-29  9:43 Tomas Volf
  2024-07-30  9:09 ` bug#72350: " Zheng Junjie
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Volf @ 2024-07-29  9:43 UTC (permalink / raw)
  To: 72350; +Cc: Tomas Volf

* gnu/packages/virtualization.scm (skopeo): Update to 1.16.0.
[arguments]<#:phases>: Delete the `cc-to-gcc' phase.

Change-Id: I35a91219c3c920f37f496df6322ae1e40fa1ccc3
---
 gnu/packages/virtualization.scm | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 061748bb4a..6932086b0d 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2321,7 +2321,7 @@ (define-public umoci
 (define-public skopeo
   (package
     (name "skopeo")
-    (version "1.15.2")
+    (version "1.16.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2330,7 +2330,7 @@ (define-public skopeo
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "13y1fmv78hh5ycm7xlsg851y17s223q13b9srksnq6jcwgprqkm8"))))
+                "1vjhi4xvb3vdz9nm627bymih9nil1xm4m5zcmx088d76dnqm3l1k"))))
     (build-system gnu-build-system)
     (native-inputs
      (list go-1.21
@@ -2370,22 +2370,7 @@ (define-public skopeo
               ;; Required for detecting btrfs in hack/btrfs* due to bug in GNU
               ;; Make <4.4 causing CC not to be propagated into $(shell ...)
               ;; calls.  Can be removed once we update to >4.3.
-              ;;
-              ;; This techically does nothing *now*, but after upstream
-              ;; issue[1] is solved and 'cc-to-gcc phase is removed, it will
-              ;; start being required.
-              ;; 1: https://github.com/containers/skopeo/issues/2278
               (setenv "CC" #$(cc-for-target))))
-          (add-after 'unpack 'cc-to-gcc
-            (lambda _
-              (for-each (lambda (file)
-                          (substitute* file
-                            (("^cc( -.*)" all rest)
-                             (string-append "\"$CC\"" rest))))
-                        '("hack/btrfs_tag.sh"
-                          "hack/btrfs_installed_tag.sh"
-                          "hack/libdm_tag.sh"
-                          "hack/libsubid_tag.sh"))))
           (add-after 'install 'wrap-skopeo
             (lambda _
               (wrap-program (string-append #$output "/bin/skopeo")

base-commit: b45cfc2fac5a0a368f16b7f049a0a4ff3bfb2421
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#72350: [PATCH] gnu: skopeo: Update to 1.16.0.
  2024-07-29  9:43 [bug#72350] [PATCH] gnu: skopeo: Update to 1.16.0 Tomas Volf
@ 2024-07-30  9:09 ` Zheng Junjie
  0 siblings, 0 replies; 2+ messages in thread
From: Zheng Junjie @ 2024-07-30  9:09 UTC (permalink / raw)
  To: Tomas Volf; +Cc: 72350-done

[-- Attachment #1: Type: text/plain, Size: 2500 bytes --]

Tomas Volf <~@wolfsden.cz> writes:

> * gnu/packages/virtualization.scm (skopeo): Update to 1.16.0.
> [arguments]<#:phases>: Delete the `cc-to-gcc' phase.
>
> Change-Id: I35a91219c3c920f37f496df6322ae1e40fa1ccc3
> ---
>  gnu/packages/virtualization.scm | 19 ++-----------------
>  1 file changed, 2 insertions(+), 17 deletions(-)
>
> diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
> index 061748bb4a..6932086b0d 100644
> --- a/gnu/packages/virtualization.scm
> +++ b/gnu/packages/virtualization.scm
> @@ -2321,7 +2321,7 @@ (define-public umoci
>  (define-public skopeo
>    (package
>      (name "skopeo")
> -    (version "1.15.2")
> +    (version "1.16.0")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
> @@ -2330,7 +2330,7 @@ (define-public skopeo
>                (file-name (git-file-name name version))
>                (sha256
>                 (base32
> -                "13y1fmv78hh5ycm7xlsg851y17s223q13b9srksnq6jcwgprqkm8"))))
> +                "1vjhi4xvb3vdz9nm627bymih9nil1xm4m5zcmx088d76dnqm3l1k"))))
>      (build-system gnu-build-system)
>      (native-inputs
>       (list go-1.21
> @@ -2370,22 +2370,7 @@ (define-public skopeo
>                ;; Required for detecting btrfs in hack/btrfs* due to bug in GNU
>                ;; Make <4.4 causing CC not to be propagated into $(shell ...)
>                ;; calls.  Can be removed once we update to >4.3.
> -              ;;
> -              ;; This techically does nothing *now*, but after upstream
> -              ;; issue[1] is solved and 'cc-to-gcc phase is removed, it will
> -              ;; start being required.
> -              ;; 1: https://github.com/containers/skopeo/issues/2278
>                (setenv "CC" #$(cc-for-target))))
> -          (add-after 'unpack 'cc-to-gcc
> -            (lambda _
> -              (for-each (lambda (file)
> -                          (substitute* file
> -                            (("^cc( -.*)" all rest)
> -                             (string-append "\"$CC\"" rest))))
> -                        '("hack/btrfs_tag.sh"
> -                          "hack/btrfs_installed_tag.sh"
> -                          "hack/libdm_tag.sh"
> -                          "hack/libsubid_tag.sh"))))
>            (add-after 'install 'wrap-skopeo
>              (lambda _
>                (wrap-program (string-append #$output "/bin/skopeo")
>
> base-commit: b45cfc2fac5a0a368f16b7f049a0a4ff3bfb2421

push, close.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-30  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29  9:43 [bug#72350] [PATCH] gnu: skopeo: Update to 1.16.0 Tomas Volf
2024-07-30  9:09 ` bug#72350: " Zheng Junjie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).