all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#73615] [PATCH] gnu: gdb: Update to 15.2.
@ 2024-10-03 14:23 Ashish SHUKLA via Guix-patches via
  2024-10-03 19:36 ` Greg Hogan
  0 siblings, 1 reply; 4+ messages in thread
From: Ashish SHUKLA via Guix-patches via @ 2024-10-03 14:23 UTC (permalink / raw)
  To: 73615; +Cc: Ashish SHUKLA

* gnu/packages/gdb.scm (gdb-15): New variable.

Change-Id: I5c234c85b904a07e8b7d247e596cd2acf8f54536
---
 gnu/packages/gdb.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index 8fc2ec14a1..6146b104af 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -158,6 +158,19 @@ (define-public gdb-14
                 "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
     (properties '())))
 
+(define-public gdb-15
+  (package
+    (inherit gdb/pinned)
+    (version "15.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gdb/gdb-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0k9i8mizg4hby020k53kqmc835pajh9c8d5klv5s1ddm6p6hqdc3"))))
+    (properties '())))
+
 (define-public gdb
   ;; The "default" version.
   gdb-14)

base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f
-- 
2.46.2





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

* [bug#73615] [PATCH] gnu: gdb: Update to 15.2.
  2024-10-03 14:23 [bug#73615] [PATCH] gnu: gdb: Update to 15.2 Ashish SHUKLA via Guix-patches via
@ 2024-10-03 19:36 ` Greg Hogan
  2024-10-03 22:04   ` Ashish SHUKLA via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Hogan @ 2024-10-03 19:36 UTC (permalink / raw)
  To: Ashish SHUKLA; +Cc: 73615

On Thu, Oct 3, 2024 at 10:25 AM Ashish SHUKLA via Guix-patches via
<guix-patches@gnu.org> wrote:
>
> * gnu/packages/gdb.scm (gdb-15): New variable.
>
> Change-Id: I5c234c85b904a07e8b7d247e596cd2acf8f54536
> ---
>  gnu/packages/gdb.scm | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
> index 8fc2ec14a1..6146b104af 100644
> --- a/gnu/packages/gdb.scm
> +++ b/gnu/packages/gdb.scm
> @@ -158,6 +158,19 @@ (define-public gdb-14
>                  "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
>      (properties '())))
>
> +(define-public gdb-15
> +  (package
> +    (inherit gdb/pinned)
> +    (version "15.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://gnu/gdb/gdb-"
> +                                  version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "0k9i8mizg4hby020k53kqmc835pajh9c8d5klv5s1ddm6p6hqdc3"))))
> +    (properties '())))
> +
>  (define-public gdb
>    ;; The "default" version.
>    gdb-14)
>
> base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f
> --
> 2.46.2

Hi Ashish,

The message summary "gnu: gdb: Update to 15.2." does not match the
patch, which leaves the default gdb as gdb-14.

Do we want to add gdb-15 or can we replace gdb-14 as was done
previously (updating gdb 12 to 14 in commit 75bad753)?

Greg




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

* [bug#73615] [PATCH] gnu: gdb: Update to 15.2.
  2024-10-03 19:36 ` Greg Hogan
@ 2024-10-03 22:04   ` Ashish SHUKLA via Guix-patches via
  2024-10-06 11:05     ` Greg Hogan
  0 siblings, 1 reply; 4+ messages in thread
From: Ashish SHUKLA via Guix-patches via @ 2024-10-03 22:04 UTC (permalink / raw)
  To: Greg Hogan; +Cc: 73615

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

On Thu Oct 3, 2024 at 9:36 PM CEST, Greg Hogan wrote:
> On Thu, Oct 3, 2024 at 10:25 AM Ashish SHUKLA via Guix-patches via
> <guix-patches@gnu.org> wrote:
> >
> > * gnu/packages/gdb.scm (gdb-15): New variable.
> >
> > Change-Id: I5c234c85b904a07e8b7d247e596cd2acf8f54536
> > ---
> >  gnu/packages/gdb.scm | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> > diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
> > index 8fc2ec14a1..6146b104af 100644
> > --- a/gnu/packages/gdb.scm
> > +++ b/gnu/packages/gdb.scm
> > @@ -158,6 +158,19 @@ (define-public gdb-14
> >                  "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
> >      (properties '())))
> >
> > +(define-public gdb-15
> > +  (package
> > +    (inherit gdb/pinned)
> > +    (version "15.2")
> > +    (source (origin
> > +              (method url-fetch)
> > +              (uri (string-append "mirror://gnu/gdb/gdb-"
> > +                                  version ".tar.xz"))
> > +              (sha256
> > +               (base32
> > +                "0k9i8mizg4hby020k53kqmc835pajh9c8d5klv5s1ddm6p6hqdc3"))))
> > +    (properties '())))
> > +
> >  (define-public gdb
> >    ;; The "default" version.
> >    gdb-14)
> >
> > base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f
> > --
> > 2.46.2
>
> Hi Ashish,
>
> The message summary "gnu: gdb: Update to 15.2." does not match the
> patch, which leaves the default gdb as gdb-14.
>
> Do we want to add gdb-15 or can we replace gdb-14 as was done
> previously (updating gdb 12 to 14 in commit 75bad753)?

Hi Greg,

Thanks for reviewing the diff.

I agree the title of the diff is not quite accurate. Sorry about that.

I'm not sure the point of having an indirect reference, so this is why I
have not updated the `gdb' variable.

Let me know if it's needed. I can revise my commit then.

Thanks!
--
Ashish

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

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

* [bug#73615] [PATCH] gnu: gdb: Update to 15.2.
  2024-10-03 22:04   ` Ashish SHUKLA via Guix-patches via
@ 2024-10-06 11:05     ` Greg Hogan
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Hogan @ 2024-10-06 11:05 UTC (permalink / raw)
  To: Ashish SHUKLA; +Cc: 73615

On Thu, Oct 3, 2024 at 6:04 PM Ashish SHUKLA <ashish.is@lostca.se> wrote:
>
> I'm not sure the point of having an indirect reference, so this is why I
> have not updated the `gdb' variable.

Yes, that's a nice observation, if we only have one public choice then
why the default selector?

'guix refresh' shows gdb with 414 dependent packages. It would be
helpful if that partial dependency tree could be exported as in 'guix
graph' to better identity packages which could be pinned to reduce
that number. Even a simple option, means, or tool to filter out leaves
would greatly reduce the list.




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

end of thread, other threads:[~2024-10-06 11:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-03 14:23 [bug#73615] [PATCH] gnu: gdb: Update to 15.2 Ashish SHUKLA via Guix-patches via
2024-10-03 19:36 ` Greg Hogan
2024-10-03 22:04   ` Ashish SHUKLA via Guix-patches via
2024-10-06 11:05     ` Greg Hogan

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.