From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUVuE-00068e-Ti for guix-patches@gnu.org; Mon, 10 Jul 2017 06:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUVu9-0008Q2-Vq for guix-patches@gnu.org; Mon, 10 Jul 2017 06:27:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUVu9-0008Pt-Sr for guix-patches@gnu.org; Mon, 10 Jul 2017 06:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUVu9-0001o2-Mz for guix-patches@gnu.org; Mon, 10 Jul 2017 06:27:01 -0400 Subject: [bug#27591] [PATCH 1/2] gnu: Add ncurses-with-gpm. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170705202926.20803-1-dannym@scratchpost.org> <20170705203104.20941-1-dannym@scratchpost.org> Date: Mon, 10 Jul 2017 12:26:04 +0200 In-Reply-To: <20170705203104.20941-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Wed, 5 Jul 2017 22:31:03 +0200") Message-ID: <87van0611f.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 27591@debbugs.gnu.org Danny Milosavljevic 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 all= ows users to select items > and copy/paste text in the console and in xterm.") > (license license:gpl2+))) >=20=20 > +(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=3D" > + (assoc-ref %build-inputs "gpm") > + "/lib/libgpm.so.2") ,cf)))) As discussed elsewhere, even better if we can avoid hardcoding =E2=80=9C.so= .2=E2=80=9D here. If we can=E2=80=99t, that=E2=80=99s OK. Thank you, Ludo=E2=80=99.