all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27591] [PATCH 0/2] Add guile-ncurses-with-gpm and ncurses-with-gpm.
@ 2017-07-05 20:29 Danny Milosavljevic
  2017-07-05 20:31 ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Danny Milosavljevic
  0 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-07-05 20:29 UTC (permalink / raw)
  To: 27591

For the installer.

Danny Milosavljevic (2):
  gnu: Add ncurses-with-gpm.
  gnu: Add guile-ncurses-with-gpm.

 gnu/packages/guile.scm |  7 +++++++
 gnu/packages/linux.scm | 13 +++++++++++++
 2 files changed, 20 insertions(+)

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

* [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm.
  2017-07-05 20:29 [bug#27591] [PATCH 0/2] Add guile-ncurses-with-gpm and ncurses-with-gpm Danny Milosavljevic
@ 2017-07-05 20:31 ` Danny Milosavljevic
  2017-07-05 20:31   ` [bug#27591] [PATCH 2/2] gnu: Add guile-ncurses-with-gpm Danny Milosavljevic
  2017-07-10 10:26   ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Danny Milosavljevic @ 2017-07-05 20:31 UTC (permalink / raw)
  To: 27591

* 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))))
+    (inputs
+     `(("gpm" ,gpm)))))
+
 (define-public btrfs-progs
   (package
     (name "btrfs-progs")

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

* [bug#27591] [PATCH 2/2] gnu: Add guile-ncurses-with-gpm.
  2017-07-05 20:31 ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Danny Milosavljevic
@ 2017-07-05 20:31   ` Danny Milosavljevic
  2017-07-10 10:26     ` Ludovic Courtès
  2017-07-10 10:26   ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-07-05 20:31 UTC (permalink / raw)
  To: 27591

* gnu/packages/guile.scm (guile-ncurses/gpm): New variable.
---
 gnu/packages/guile.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index d79094e1e..9724186cc 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -519,6 +519,13 @@ many readers as needed).")
 library.")
     (license license:lgpl3+)))
 
+(define-public guile-ncurses/gpm
+  (package
+    (inherit guile-ncurses)
+    (name "guile-ncurses-with-gpm")
+    (inputs `(("ncurses" ,ncurses/gpm)
+              ("guile" ,guile-2.2)))))
+
 (define-public mcron
   (package
     (name "mcron")

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

* [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm.
  2017-07-05 20:31 ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Danny Milosavljevic
  2017-07-05 20:31   ` [bug#27591] [PATCH 2/2] gnu: Add guile-ncurses-with-gpm Danny Milosavljevic
@ 2017-07-10 10:26   ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-07-10 10:26 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27591

Danny Milosavljevic <dannym@scratchpost.org> 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’.

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

* [bug#27591] [PATCH 2/2] gnu: Add guile-ncurses-with-gpm.
  2017-07-05 20:31   ` [bug#27591] [PATCH 2/2] gnu: Add guile-ncurses-with-gpm Danny Milosavljevic
@ 2017-07-10 10:26     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-07-10 10:26 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27591

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> * gnu/packages/guile.scm (guile-ncurses/gpm): New variable.
> ---
>  gnu/packages/guile.scm | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
> index d79094e1e..9724186cc 100644
> --- a/gnu/packages/guile.scm
> +++ b/gnu/packages/guile.scm
> @@ -519,6 +519,13 @@ many readers as needed).")
>  library.")
>      (license license:lgpl3+)))
>  
> +(define-public guile-ncurses/gpm
> +  (package
> +    (inherit guile-ncurses)
> +    (name "guile-ncurses-with-gpm")
> +    (inputs `(("ncurses" ,ncurses/gpm)
> +              ("guile" ,guile-2.2)))))

LGTM, thanks!

Ludo'.

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

end of thread, other threads:[~2017-07-10 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 20:29 [bug#27591] [PATCH 0/2] Add guile-ncurses-with-gpm and ncurses-with-gpm Danny Milosavljevic
2017-07-05 20:31 ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Danny Milosavljevic
2017-07-05 20:31   ` [bug#27591] [PATCH 2/2] gnu: Add guile-ncurses-with-gpm Danny Milosavljevic
2017-07-10 10:26     ` Ludovic Courtès
2017-07-10 10:26   ` [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm Ludovic Courtès

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.