unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0.
@ 2023-12-19 14:21 Hilton Chain via Guix-patches via
  2023-12-24  5:27 ` 郑俊杰
  2024-01-13  8:08 ` [bug#67903] [PATCH v2 1/2] gnu: libcgroup: Adjust package style Hilton Chain via Guix-patches via
  0 siblings, 2 replies; 8+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-12-19 14:21 UTC (permalink / raw)
  To: 67903; +Cc: Hilton Chain, Leo Famulari, Tobias Geerinckx-Rice

* gnu/packages/linux.scm (libcgroup): Update to 3.1.0.
[arguments]<#:configure-flags>: Disable systemd.

Change-Id: I67fe380ebdf91ca254b3365b7f237a3d9ad4f0a5
---
 gnu/packages/linux.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3ca756dead..c4c366e21f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8798,7 +8798,7 @@ (define-public fbgrab
 (define-public libcgroup
   (package
     (name "libcgroup")
-    (version "2.0.2")
+    (version "3.1.0")
     (home-page "https://github.com/libcgroup/libcgroup")
     (source
      (origin
@@ -8806,14 +8806,15 @@ (define-public libcgroup
        (uri (string-append home-page "/releases/download/v"
                            version "/" name "-" version ".tar.gz"))
        (sha256
-        (base32 "1y0c9ncsawamj77raiw6qkbm5cdsyvhjb2mvgma1kxmgw0r3pxlf"))))
+        (base32 "0n0jkvmagw14vgwx3j5b6vv5h25lasrg2a7xihq9h11ww2qw8vlp"))))
     (build-system gnu-build-system)
     (arguments
      ;; Tests are virtualized with lxc, it is not very feasible
      ;; to make them executable under guix build. Also, note that
      ;; origin is using source tarball release which is prepared
      ;; after testing.
-     `(#:tests? #f))
+     `(#:tests? #f
+       #:configure-flags '("--disable-systemd")))
     (native-inputs
      (list bison flex))
     (inputs

base-commit: fa92a7c2fe0c5b9e9923ad5f53bafd41aa6dbe66
-- 
2.41.0





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

* [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0.
  2023-12-19 14:21 [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0 Hilton Chain via Guix-patches via
@ 2023-12-24  5:27 ` 郑俊杰
  2024-01-05  5:24   ` Hilton Chain via Guix-patches via
  2024-01-13  8:08 ` [bug#67903] [PATCH v2 1/2] gnu: libcgroup: Adjust package style Hilton Chain via Guix-patches via
  1 sibling, 1 reply; 8+ messages in thread
From: 郑俊杰 @ 2023-12-24  5:27 UTC (permalink / raw)
  To: Hilton Chain; +Cc: 67903, Tobias Geerinckx-Rice, Leo Famulari



> 在 2023年12月19日,22:51,Hilton Chain via Guix-patches via <guix-patches@gnu.org> 写道:
> 
> * gnu/packages/linux.scm (libcgroup): Update to 3.1.0.
> [arguments]<#:configure-flags>: Disable systemd.
> 
> Change-Id: I67fe380ebdf91ca254b3365b7f237a3d9ad4f0a5
> ---
> gnu/packages/linux.scm | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 3ca756dead..c4c366e21f 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -8798,7 +8798,7 @@ (define-public fbgrab
> (define-public libcgroup
>   (package
>     (name "libcgroup")
> -    (version "2.0.2")
> +    (version "3.1.0")
>     (home-page "https://github.com/libcgroup/libcgroup")
>     (source
>      (origin
> @@ -8806,14 +8806,15 @@ (define-public libcgroup
>        (uri (string-append home-page "/releases/download/v"
>                            version "/" name "-" version ".tar.gz"))

Can we switch to git-fetch? 
And don’t use home-page in source.

>        (sha256
> -        (base32 "1y0c9ncsawamj77raiw6qkbm5cdsyvhjb2mvgma1kxmgw0r3pxlf"))))
> +        (base32 "0n0jkvmagw14vgwx3j5b6vv5h25lasrg2a7xihq9h11ww2qw8vlp"))))
>     (build-system gnu-build-system)
>     (arguments
>      ;; Tests are virtualized with lxc, it is not very feasible
>      ;; to make them executable under guix build. Also, note that
>      ;; origin is using source tarball release which is prepared
>      ;; after testing.
> -     `(#:tests? #f))
> +     `(#:tests? #f
> +       #:configure-flags '("--disable-systemd")))

Maybe use gexp. 

>     (native-inputs
>      (list bison flex))
>     (inputs
> 
> base-commit: fa92a7c2fe0c5b9e9923ad5f53bafd41aa6dbe66
> --
> 2.41.0

Other LGTM 

> 
> 
> 
> 





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

* [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0.
  2023-12-24  5:27 ` 郑俊杰
@ 2024-01-05  5:24   ` Hilton Chain via Guix-patches via
  2024-01-05  5:45     ` Zheng Junjie
  0 siblings, 1 reply; 8+ messages in thread
From: Hilton Chain via Guix-patches via @ 2024-01-05  5:24 UTC (permalink / raw)
  To: 郑俊杰; +Cc: 67903, Tobias Geerinckx-Rice, Leo Famulari

Hi,

On Sun, 24 Dec 2023 13:27:13 +0800,
郑俊杰 wrote:
>
>
>
> > 在 2023年12月19日,22:51,Hilton Chain via Guix-patches via <guix-patches@gnu.org> 写道:
> >
> > * gnu/packages/linux.scm (libcgroup): Update to 3.1.0.
> > [arguments]<#:configure-flags>: Disable systemd.
> >
> > Change-Id: I67fe380ebdf91ca254b3365b7f237a3d9ad4f0a5
> > ---
> > gnu/packages/linux.scm | 7 ++++---
> > 1 file changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> > index 3ca756dead..c4c366e21f 100644
> > --- a/gnu/packages/linux.scm
> > +++ b/gnu/packages/linux.scm
> > @@ -8798,7 +8798,7 @@ (define-public fbgrab
> > (define-public libcgroup
> >   (package
> >     (name "libcgroup")
> > -    (version "2.0.2")
> > +    (version "3.1.0")
> >     (home-page "https://github.com/libcgroup/libcgroup")
> >     (source
> >      (origin
> > @@ -8806,14 +8806,15 @@ (define-public libcgroup
> >        (uri (string-append home-page "/releases/download/v"
> >                            version "/" name "-" version ".tar.gz"))
>
> Can we switch to git-fetch?

Is there any good reason?

> And don’t use home-page in source.

No problem.

> >        (sha256
> > -        (base32 "1y0c9ncsawamj77raiw6qkbm5cdsyvhjb2mvgma1kxmgw0r3pxlf"))))
> > +        (base32 "0n0jkvmagw14vgwx3j5b6vv5h25lasrg2a7xihq9h11ww2qw8vlp"))))
> >     (build-system gnu-build-system)
> >     (arguments
> >      ;; Tests are virtualized with lxc, it is not very feasible
> >      ;; to make them executable under guix build. Also, note that
> >      ;; origin is using source tarball release which is prepared
> >      ;; after testing.
> > -     `(#:tests? #f))
> > +     `(#:tests? #f
> > +       #:configure-flags '("--disable-systemd")))
>
> Maybe use gexp.

Will add in a later commit.

> >     (native-inputs
> >      (list bison flex))
> >     (inputs
> >
> > base-commit: fa92a7c2fe0c5b9e9923ad5f53bafd41aa6dbe66
> > --
> > 2.41.0
>
> Other LGTM

Thanks for the review!




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

* [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0.
  2024-01-05  5:24   ` Hilton Chain via Guix-patches via
@ 2024-01-05  5:45     ` Zheng Junjie
  2024-01-13  8:04       ` Hilton Chain via Guix-patches via
  0 siblings, 1 reply; 8+ messages in thread
From: Zheng Junjie @ 2024-01-05  5:45 UTC (permalink / raw)
  To: Hilton Chain; +Cc: 67903, Tobias Geerinckx-Rice, Leo Famulari


Hilton Chain <hako@ultrarare.space> writes:

> Hi,
>
> On Sun, 24 Dec 2023 13:27:13 +0800,
> 郑俊杰 wrote:
>>
>>
>>
>> > 在 2023年12月19日,22:51,Hilton Chain via Guix-patches via <guix-patches@gnu.org> 写道:
>> >
>> > * gnu/packages/linux.scm (libcgroup): Update to 3.1.0.
>> > [arguments]<#:configure-flags>: Disable systemd.
>> >
>> > Change-Id: I67fe380ebdf91ca254b3365b7f237a3d9ad4f0a5
>> > ---
>> > gnu/packages/linux.scm | 7 ++++---
>> > 1 file changed, 4 insertions(+), 3 deletions(-)
>> >
>> > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
>> > index 3ca756dead..c4c366e21f 100644
>> > --- a/gnu/packages/linux.scm
>> > +++ b/gnu/packages/linux.scm
>> > @@ -8798,7 +8798,7 @@ (define-public fbgrab
>> > (define-public libcgroup
>> >   (package
>> >     (name "libcgroup")
>> > -    (version "2.0.2")
>> > +    (version "3.1.0")
>> >     (home-page "https://github.com/libcgroup/libcgroup")
>> >     (source
>> >      (origin
>> > @@ -8806,14 +8806,15 @@ (define-public libcgroup
>> >        (uri (string-append home-page "/releases/download/v"
>> >                            version "/" name "-" version ".tar.gz"))
>>
>> Can we switch to git-fetch?
>
> Is there any good reason?

if use git-fetch, allow `guix build libcgroup
--with-{branch,commit,git-url} ...` work.



>
>> And don’t use home-page in source.
>
> No problem.
>
>> >        (sha256
>> > -        (base32 "1y0c9ncsawamj77raiw6qkbm5cdsyvhjb2mvgma1kxmgw0r3pxlf"))))
>> > +        (base32 "0n0jkvmagw14vgwx3j5b6vv5h25lasrg2a7xihq9h11ww2qw8vlp"))))
>> >     (build-system gnu-build-system)
>> >     (arguments
>> >      ;; Tests are virtualized with lxc, it is not very feasible
>> >      ;; to make them executable under guix build. Also, note that
>> >      ;; origin is using source tarball release which is prepared
>> >      ;; after testing.
>> > -     `(#:tests? #f))
>> > +     `(#:tests? #f
>> > +       #:configure-flags '("--disable-systemd")))
>>
>> Maybe use gexp.
>
> Will add in a later commit.
>
>> >     (native-inputs
>> >      (list bison flex))
>> >     (inputs
>> >
>> > base-commit: fa92a7c2fe0c5b9e9923ad5f53bafd41aa6dbe66
>> > --
>> > 2.41.0
>>
>> Other LGTM
>
> Thanks for the review!





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

* [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0.
  2024-01-05  5:45     ` Zheng Junjie
@ 2024-01-13  8:04       ` Hilton Chain via Guix-patches via
  0 siblings, 0 replies; 8+ messages in thread
From: Hilton Chain via Guix-patches via @ 2024-01-13  8:04 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 67903, Tobias Geerinckx-Rice, Leo Famulari

Hi,

On Fri, 05 Jan 2024 13:45:36 +0800,
Zheng Junjie wrote:
>
> Hilton Chain <hako@ultrarare.space> writes:
> >
> > On Sun, 24 Dec 2023 13:27:13 +0800,
> > 郑俊杰 wrote:
> >>
> >> > 在 2023年12月19日,22:51,Hilton Chain 写道:
> >> >
> >> > * gnu/packages/linux.scm (libcgroup): Update to 3.1.0.
> >> > [arguments]<#:configure-flags>: Disable systemd.
> >> >
> >> > Change-Id: I67fe380ebdf91ca254b3365b7f237a3d9ad4f0a5
> >> > ---
> >> > gnu/packages/linux.scm | 7 ++++---
> >> > 1 file changed, 4 insertions(+), 3 deletions(-)
> >> >
> >> > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> >> > index 3ca756dead..c4c366e21f 100644
> >> > --- a/gnu/packages/linux.scm
> >> > +++ b/gnu/packages/linux.scm
> >> > @@ -8798,7 +8798,7 @@ (define-public fbgrab
> >> > (define-public libcgroup
> >> >   (package
> >> >     (name "libcgroup")
> >> > -    (version "2.0.2")
> >> > +    (version "3.1.0")
> >> >     (home-page "https://github.com/libcgroup/libcgroup")
> >> >     (source
> >> >      (origin
> >> > @@ -8806,14 +8806,15 @@ (define-public libcgroup
> >> >        (uri (string-append home-page "/releases/download/v"
> >> >                            version "/" name "-" version ".tar.gz"))
> >>
> >> Can we switch to git-fetch?
> >
> > Is there any good reason?
>
> if use git-fetch, allow `guix build libcgroup
> --with-{branch,commit,git-url} ...` work.


Yes, that makes sense, but we still have ‘--with-version’, right?  It seems that
libcgroup's release tarball is created by ‘make dist’ and for this specific case
these options are of less use, I'd prefer not switching to git-fetch.

Thanks




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

* [bug#67903] [PATCH v2 1/2] gnu: libcgroup: Adjust package style.
  2023-12-19 14:21 [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0 Hilton Chain via Guix-patches via
  2023-12-24  5:27 ` 郑俊杰
@ 2024-01-13  8:08 ` Hilton Chain via Guix-patches via
  2024-01-13  8:08   ` [bug#67903] [PATCH v2 2/2] gnu: libcgroup: Update to 3.1.0 Hilton Chain via Guix-patches via
  1 sibling, 1 reply; 8+ messages in thread
From: Hilton Chain via Guix-patches via @ 2024-01-13  8:08 UTC (permalink / raw)
  To: 67903
  Cc: Hilton Chain, Hilton Chain, 郑俊杰,
	Zheng Junjie, Leo Famulari, Tobias Geerinckx-Rice

* gnu/packages/linux.scm (libcgroup)[source]<uri>: Remove use of ‘home-page’.

Change-Id: I93f22223a01b253b8b1cd7deea90e7f05736862f
---
 gnu/packages/linux.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a96c817729..4eee3c4af3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8804,8 +8804,9 @@ (define-public libcgroup
     (source
      (origin
        (method url-fetch)
-       (uri (string-append home-page "/releases/download/v"
-                           version "/" name "-" version ".tar.gz"))
+       (uri (string-append
+             "https://github.com/libcgroup/libcgroup/releases/download/v"
+             version "/" name "-" version ".tar.gz"))
        (sha256
         (base32 "1y0c9ncsawamj77raiw6qkbm5cdsyvhjb2mvgma1kxmgw0r3pxlf"))))
     (build-system gnu-build-system)

base-commit: c0b303aaa3d6154acbe054120d11467eb98e6d33
--
2.41.0




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

* [bug#67903] [PATCH v2 2/2] gnu: libcgroup: Update to 3.1.0.
  2024-01-13  8:08 ` [bug#67903] [PATCH v2 1/2] gnu: libcgroup: Adjust package style Hilton Chain via Guix-patches via
@ 2024-01-13  8:08   ` Hilton Chain via Guix-patches via
  2024-01-25 16:37     ` bug#67903: " Hilton Chain via Guix-patches via
  0 siblings, 1 reply; 8+ messages in thread
From: Hilton Chain via Guix-patches via @ 2024-01-13  8:08 UTC (permalink / raw)
  To: 67903
  Cc: Hilton Chain, Hilton Chain, 郑俊杰,
	Zheng Junjie, Leo Famulari, Tobias Geerinckx-Rice

* gnu/packages/linux.scm (libcgroup): Update to 3.1.0.
[arguments]<#:configure-flags>: Disable systemd.

Change-Id: Iabd8577243b741380fa0d69811fcbf8ad551ddb2
---
 gnu/packages/linux.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4eee3c4af3..8979e3b7cc 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8799,7 +8799,7 @@ (define-public fbgrab
 (define-public libcgroup
   (package
     (name "libcgroup")
-    (version "2.0.2")
+    (version "3.1.0")
     (home-page "https://github.com/libcgroup/libcgroup")
     (source
      (origin
@@ -8808,14 +8808,16 @@ (define-public libcgroup
              "https://github.com/libcgroup/libcgroup/releases/download/v"
              version "/" name "-" version ".tar.gz"))
        (sha256
-        (base32 "1y0c9ncsawamj77raiw6qkbm5cdsyvhjb2mvgma1kxmgw0r3pxlf"))))
+        (base32 "0n0jkvmagw14vgwx3j5b6vv5h25lasrg2a7xihq9h11ww2qw8vlp"))))
     (build-system gnu-build-system)
     (arguments
      ;; Tests are virtualized with lxc, it is not very feasible
      ;; to make them executable under guix build. Also, note that
      ;; origin is using source tarball release which is prepared
      ;; after testing.
-     `(#:tests? #f))
+     (list #:tests? #f
+           #:configure-flags
+           #~'("--disable-systemd")))
     (native-inputs
      (list bison flex))
     (inputs
-- 
2.41.0





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

* bug#67903: [PATCH v2 2/2] gnu: libcgroup: Update to 3.1.0.
  2024-01-13  8:08   ` [bug#67903] [PATCH v2 2/2] gnu: libcgroup: Update to 3.1.0 Hilton Chain via Guix-patches via
@ 2024-01-25 16:37     ` Hilton Chain via Guix-patches via
  0 siblings, 0 replies; 8+ messages in thread
From: Hilton Chain via Guix-patches via @ 2024-01-25 16:37 UTC (permalink / raw)
  To: 67903-done

Applied as 0252d69f911a5726a32695e6e57f3922c3414980 and
ed7eb108e5ba38135db99aa3b162f88797c372f9.  Closing.




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

end of thread, other threads:[~2024-01-25 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 14:21 [bug#67903] [PATCH] gnu: libcgroup: Update to 3.1.0 Hilton Chain via Guix-patches via
2023-12-24  5:27 ` 郑俊杰
2024-01-05  5:24   ` Hilton Chain via Guix-patches via
2024-01-05  5:45     ` Zheng Junjie
2024-01-13  8:04       ` Hilton Chain via Guix-patches via
2024-01-13  8:08 ` [bug#67903] [PATCH v2 1/2] gnu: libcgroup: Adjust package style Hilton Chain via Guix-patches via
2024-01-13  8:08   ` [bug#67903] [PATCH v2 2/2] gnu: libcgroup: Update to 3.1.0 Hilton Chain via Guix-patches via
2024-01-25 16:37     ` bug#67903: " Hilton Chain via Guix-patches via

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).