unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: Add libvterm.
Date: Wed, 18 Jan 2017 16:34:19 +0100	[thread overview]
Message-ID: <20170118153419.11126-2-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20170118153419.11126-1-ricardo.wurmus@mdc-berlin.de>

* 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

  reply	other threads:[~2017-01-18 15:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 15:34 [PATCH 1/2] gnu: Add unibilium Ricardo Wurmus
2017-01-18 15:34 ` Ricardo Wurmus [this message]
2017-01-19 13:04   ` [PATCH 2/2] gnu: Add libvterm Ludovic Courtès
2017-01-19 13:03 ` [PATCH 1/2] gnu: Add unibilium 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20170118153419.11126-2-ricardo.wurmus@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@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 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).