all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 27591@debbugs.gnu.org
Subject: [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm.
Date: Wed,  5 Jul 2017 22:31:03 +0200	[thread overview]
Message-ID: <20170705203104.20941-1-dannym@scratchpost.org> (raw)
In-Reply-To: <20170705202926.20803-1-dannym@scratchpost.org>

* 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")

  reply	other threads:[~2017-07-05 20:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170705203104.20941-1-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=27591@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.