* [PATCH 1/2] gnu: Add unibilium.
@ 2017-01-18 15:34 Ricardo Wurmus
2017-01-18 15:34 ` [PATCH 2/2] gnu: Add libvterm Ricardo Wurmus
2017-01-19 13:03 ` [PATCH 1/2] gnu: Add unibilium Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2017-01-18 15:34 UTC (permalink / raw)
To: guix-devel
* gnu/packages/terminals.scm (unibilium): New variable.
---
gnu/packages/terminals.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 20897860d..ad44a9c23 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -362,3 +363,36 @@ scripts, notifying the user when something interesting occurs. Of course, it
has no notion of what's interesing, but it's very good at that notifying part.")
(home-page "http://www.johnath.com/beep")
(license license:gpl2+)))
+
+(define-public unibilium
+ (package
+ (name "unibilium")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mauke/unibilium/"
+ "archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n7a0jrlwhn9nnkna76sbnjrr808m0pmzbiwznmp7rhmjl4z2fk2"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list "CC=gcc"
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:test-target "test"
+ ;; FIXME: tests require "prove"
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs
+ `(("libtool" ,libtool)))
+ (home-page "https://github.com/mauke/unibilium")
+ (synopsis "Terminfo parsing library")
+ (description "Unibilium is a very basic terminfo library. It
+doesn't depend on curses or any other library. It also doesn't use
+global variables, so it should be thread-safe.")
+ (license license:lgpl3+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] gnu: Add libvterm.
2017-01-18 15:34 [PATCH 1/2] gnu: Add unibilium Ricardo Wurmus
@ 2017-01-18 15:34 ` Ricardo Wurmus
2017-01-19 13:04 ` Ludovic Courtès
2017-01-19 13:03 ` [PATCH 1/2] gnu: Add unibilium Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2017-01-18 15:34 UTC (permalink / raw)
To: guix-devel
* gnu/packages/terminals.scm (libvterm): New variable.
---
gnu/packages/terminals.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index ad44a9c23..dde8748c0 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -396,3 +396,38 @@ has no notion of what's interesing, but it's very good at that notifying part.")
doesn't depend on curses or any other library. It also doesn't use
global variables, so it should be thread-safe.")
(license license:lgpl3+)))
+
+(define-public libvterm
+ (package
+ (name "libvterm")
+ (version "0+bzr681")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://www.leonerd.org.uk/code/libvterm/"
+ "libvterm-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1s56c8p1qz6frkcri0hg4qyydv2wcccj6n2xmz1dwcdqn38ldsmb"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list "CC=gcc"
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs
+ `(("libtool" ,libtool)
+ ("perl" ,perl)))
+ (home-page "http://www.leonerd.org.uk/code/libvterm/")
+ (synopsis "VT220/xterm/ECMA-48 terminal emulator library")
+ (description "Libvterm is an abstract C99 library which implements
+a VT220 or xterm-like terminal emulator. It doesn't use any
+particular graphics toolkit or output system, instead it invokes
+callback function pointers that its embedding program should provide
+it to draw on its behalf. It avoids calling @code{malloc()} during
+normal running state, allowing it to be used in embedded kernel
+situations.")
+ (license license:expat)))
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] gnu: Add unibilium.
2017-01-18 15:34 [PATCH 1/2] gnu: Add unibilium Ricardo Wurmus
2017-01-18 15:34 ` [PATCH 2/2] gnu: Add libvterm Ricardo Wurmus
@ 2017-01-19 13:03 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-01-19 13:03 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:
> * gnu/packages/terminals.scm (unibilium): New variable.
[...]
> + (native-inputs
> + `(("libtool" ,libtool)))
Weird that it needs Libtool without also needing Autoconf and/or
Automake.
> + (home-page "https://github.com/mauke/unibilium")
> + (synopsis "Terminfo parsing library")
> + (description "Unibilium is a very basic terminfo library. It
s/very basic terminfo library/basic C terminfo library/
Otherise LGTM, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-19 13:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18 15:34 [PATCH 1/2] gnu: Add unibilium Ricardo Wurmus
2017-01-18 15:34 ` [PATCH 2/2] gnu: Add libvterm Ricardo Wurmus
2017-01-19 13:04 ` Ludovic Courtès
2017-01-19 13:03 ` [PATCH 1/2] gnu: Add unibilium 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.