guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm.


From: Ludovic Courtès
Subject: [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm.
Date: Mon, 10 Jul 2017 12:26:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> * gnu/packages/linux.scm (ncurses/gpm): New variable.
> ---
>  gnu/packages/linux.scm | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index da41824cf..123cace2a 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -3003,6 +3003,19 @@ applications running on the Linux console.  It allows 
> users to select items
>  and copy/paste text in the console and in xterm.")
>      (license license:gpl2+)))
>  
> +(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))))

As discussed elsewhere, even better if we can avoid hardcoding “.so.2”
here.  If we can’t, that’s OK.

Thank you,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]