unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19018: <ncursesw/ncurses.h> not provided by the ncurses library
@ 2014-11-11 12:53 宋文武
  2014-11-11 16:53 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: 宋文武 @ 2014-11-11 12:53 UTC (permalink / raw)
  To: 19018

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

Hi, gtypist check and use ncurses header from that location,
perhaps we should make a symlink in ncurses just as nixpkgs does.

And here is my patch for gtypist:

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-GNU-Typist.patch --]
[-- Type: text/x-patch, Size: 1793 bytes --]

From 4cfd5ede203eb3a105a7396ccf784f756150f90c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
Date: Tue, 11 Nov 2014 20:34:22 +0800
Subject: [PATCH] gnu: Add GNU Typist.

* gnu/packages/games.scm (gtypist): New variable.
---
 gnu/packages/games.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index df24c0d..5759c07 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -462,3 +462,27 @@ you control to bounce a ball around the game zone destroying blocks with a
 proton ball.  Each block carries a different point value.  The more blocks you
 destroy, the better your score.  The person with the highest score wins.")
     (license (x11-style "file://COPYING" "Very similar to the X11 licence."))))
+
+(define-public gtypist
+  (package
+    (name "gtypist")
+    (version "2.9.5")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/gtypist/gtypist-"
+                          version ".tar.xz"))
+      (sha256
+       (base32
+        "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)))
+    (home-page "http://www.gnu.org/software/gtypist/")
+    (synopsis "Universal typing tutor")
+    (description
+     "Typist is a typing tutor package built using Curses.  The package has
+tutorials, drills, and practice sessions to learn touch typing.  The emphasis
+is on the US computer keyboard layout, but lessons for Dvorak and other
+keyboard types and languages are also included.  The program also has Native
+Language Support and is distributed with messages in many different languages.")
+    (license gpl3+)))
-- 
1.9.2


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

* bug#19018: <ncursesw/ncurses.h> not provided by the ncurses library
  2014-11-11 12:53 bug#19018: <ncursesw/ncurses.h> not provided by the ncurses library 宋文武
@ 2014-11-11 16:53 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-11 16:53 UTC (permalink / raw)
  To: 宋文武; +Cc: 19018

宋文武 <iyzsong@gmail.com> skribis:

> Hi, gtypist check and use ncurses header from that location,
> perhaps we should make a symlink in ncurses just as nixpkgs does.

I wonder what the Right Thing is.  The ‘ncurses’ package explicitly
passes --includedir=$out/include because that’s what all the packages we
have so far expect.

If it turns out that a non-negligible number of packages expect headers
to be under $out/include/ncursesw, then I agree that we should make a
symlink.

In the meantime, since ncurses is a core package, could you just patch
gtypist (in a ‘snippet’) to use the right headers?

(BTW, make sure to add a copyright line for you in the package.)

Thanks in advance!

Ludo’.

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

end of thread, other threads:[~2014-11-11 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 12:53 bug#19018: <ncursesw/ncurses.h> not provided by the ncurses library 宋文武
2014-11-11 16:53 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).