all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: 01/03: gnu: Add ncurses-with-gpm.
       [not found] ` <20170707052644.03EDF20DD7@vcs0.savannah.gnu.org>
@ 2017-07-07 11:14   ` Ludovic Courtès
  2017-07-11  9:42     ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-07 11:14 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Heya Danny,

I’m really happy to see you continue John’s heroic work on the
installer!  I’ll be happy to give it a spin when you deem appropriate.

dannym@scratchpost.org (Danny Milosavljevic) skribis:

> commit 6b6c8317097482487c41f302a2ae4fc27d9220f0
> Author: Danny Milosavljevic <dannym@scratchpost.org>
> Date:   Fri Jul 7 07:07:51 2017 +0200
>
>     gnu: Add ncurses-with-gpm.
>     
>     * gnu/packages/linux.scm (ncurses/gpm): New variable.

Side note:

> +(define-public ncurses/gpm
> +  (package
> +    (inherit ncurses)
> +    (name "ncurses-with-gpm")
> +    (arguments
> +        (substitute-keyword-arguments (package-arguments ncurses)
> +         ((#:configure-flags cf)
> +          `(cons (string-append "--with-gpm=" (assoc-ref %build-inputs "gpm") "/lib/libgpm.so.2") ,cf))))
> +    (inputs
> +     `(("gpm" ,gpm)))))

Does it need the full file name of the .so?  Would be nicer if this
could be avoided, to avoid breakage in the future.

(BTW, please wrap lines to 80 chars.  :-))

Ludo’.

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

* Re: 01/03: gnu: Add ncurses-with-gpm.
  2017-07-07 11:14   ` 01/03: gnu: Add ncurses-with-gpm Ludovic Courtès
@ 2017-07-11  9:42     ` Danny Milosavljevic
  2017-07-11 15:09       ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2017-07-11  9:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Hi Ludo,

On Fri, 07 Jul 2017 13:14:39 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> I’m really happy to see you continue John’s heroic work on the
> installer!  I’ll be happy to give it a spin when you deem appropriate.

Okay.  Still some loose ends to tie up first :)

> > +(define-public ncurses/gpm
> > +  (package
> > +    (inherit ncurses)
> > +    (name "ncurses-with-gpm")
> > +    (arguments
> > +        (substitute-keyword-arguments (package-arguments ncurses)
> > +         ((#:configure-flags cf)
> > +          `(cons (string-append "--with-gpm=" (assoc-ref %build-inputs "gpm") "/lib/libgpm.so.2") ,cf))))
> > +    (inputs
> > +     `(("gpm" ,gpm)))))  
> 
> Does it need the full file name of the .so?  Would be nicer if this
> could be avoided, to avoid breakage in the future.

I tried it - apparently it does need it.

With all this "ncurses/fixed" stuff in master, should I make it inherit from ncurses/fixed ?

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

* Re: 01/03: gnu: Add ncurses-with-gpm.
  2017-07-11  9:42     ` Danny Milosavljevic
@ 2017-07-11 15:09       ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-07-11 15:09 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

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

On Tue, Jul 11, 2017 at 11:42:23AM +0200, Danny Milosavljevic wrote:
> With all this "ncurses/fixed" stuff in master, should I make it
> inherit from ncurses/fixed ?

Recently, Mark added the macro (package/inherit) which does the Right
Thing when inheriting from a grafted package:

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=bedba064267490f2d9f7ee44e5ec103aacc82611

There are some recent examples in the commit log.

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

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

end of thread, other threads:[~2017-07-11 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170707052643.30851.55219@vcs0.savannah.gnu.org>
     [not found] ` <20170707052644.03EDF20DD7@vcs0.savannah.gnu.org>
2017-07-07 11:14   ` 01/03: gnu: Add ncurses-with-gpm Ludovic Courtès
2017-07-11  9:42     ` Danny Milosavljevic
2017-07-11 15:09       ` Leo Famulari

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.