GNU bug report logs - #27713
[PATCH] gnu: Move ncurses/gpm to (gnu packages ncurses).

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Sat, 15 Jul 2017 19:15:01 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27713 in the body.
You can then email your comments to 27713 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27713; Package guix-patches. (Sat, 15 Jul 2017 19:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 15 Jul 2017 19:15:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: guix-patches <at> gnu.org
Cc: dannym <at> scratchpost.org
Subject: [PATCH] gnu: Move ncurses/gpm to (gnu packages ncurses).
Date: Sat, 15 Jul 2017 21:15:21 +0200
* gnu/packages/linux.scm (ncurses/gpm): Move from here...
* gnu/packages/ncurses.scm (ncurses/gpm): ...to here.
---

I think this makes sense. What you, Danny?

Kind regards,

T G-R

 gnu/packages/linux.scm   | 12 ------------
 gnu/packages/ncurses.scm | 12 ++++++++++++
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 58f6f3662..1a9e9d709 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3013,18 +3013,6 @@ 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")
diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
index 0b23baf12..0262d4d7a 100644
--- a/gnu/packages/ncurses.scm
+++ b/gnu/packages/ncurses.scm
@@ -200,6 +200,18 @@ ncursesw library provides wide character support.")
             (origin-patches (package-source ncurses))
             (search-patches "ncurses-CVE-2017-10684-10685.patch")))))))
 
+(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 dialog
   (package
     (name "dialog")
-- 
2.13.1





Information forwarded to guix-patches <at> gnu.org:
bug#27713; Package guix-patches. (Sat, 15 Jul 2017 19:31:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: guix-patches <at> gnu.org
Subject: Re: [PATCH] gnu: Move ncurses/gpm to (gnu packages ncurses).
Date: Sat, 15 Jul 2017 21:30:00 +0200
Hi T G-R,

On Sat, 15 Jul 2017 21:15:21 +0200
Tobias Geerinckx-Rice <me <at> tobias.gr> wrote:

> * gnu/packages/linux.scm (ncurses/gpm): Move from here...
> * gnu/packages/ncurses.scm (ncurses/gpm): ...to here.
> ---
> 
> I think this makes sense. What you, Danny?

If it still finds gpm, sure.  But I don't like creating cycles between modules if it can be avoided.  I think that in a certain sense it is true that if gpm is Linux-specific, ncurses-with-gpm is Linux-specific as well.

> +    (inputs
> +     `(("gpm" ,gpm)))))
                  ^^^
Please make sure that "guix build ncurses-with-gpm" still works.




Reply sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
You have taken responsibility. (Mon, 24 Jul 2017 12:57:02 GMT) Full text and rfc822 format available.

Notification sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
bug acknowledged by developer. (Mon, 24 Jul 2017 12:57:02 GMT) Full text and rfc822 format available.

Message #13 received at 27713-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 27713-done <at> debbugs.gnu.org
Subject: Move ncurses/gpm to (gnu packages ncurses)
Date: Mon, 24 Jul 2017 14:56:24 +0200
Mark committed it as c67d80563fc7021484602889454de534469f2785.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 22 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.