From patchwork Fri Feb 8 23:12:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Amirouche Boubekki X-Patchwork-Id: 1002 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5E5BA16BDD; Fri, 8 Feb 2019 23:13:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id F000E16BDB for ; Fri, 8 Feb 2019 23:13:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:36598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsFKY-000160-Jd for patchwork@mira.cbaines.net; Fri, 08 Feb 2019 18:13:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsFKU-00015s-4I for guix-patches@gnu.org; Fri, 08 Feb 2019 18:13:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsFKS-0002R9-1P for guix-patches@gnu.org; Fri, 08 Feb 2019 18:13:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsFKQ-0002Qg-MV for guix-patches@gnu.org; Fri, 08 Feb 2019 18:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsFKQ-0003GZ-FZ for guix-patches@gnu.org; Fri, 08 Feb 2019 18:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34393] [PATCH] gnu: terminals: Add termbox-truecolor Resent-From: Amirouche Boubekki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 23:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34393 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34393@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154966753912481 (code B ref -1); Fri, 08 Feb 2019 23:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2019 23:12:19 +0000 Received: from localhost ([127.0.0.1]:40294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsFJh-0003FC-0G for submit@debbugs.gnu.org; Fri, 08 Feb 2019 18:12:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsFJd-0003Eu-9n for submit@debbugs.gnu.org; Fri, 08 Feb 2019 18:12:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:37617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsFJY-00023i-4s for submit@debbugs.gnu.org; Fri, 08 Feb 2019 18:12:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsFJW-0000vw-Tg for guix-patches@gnu.org; Fri, 08 Feb 2019 18:12:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsFJV-00022K-RS for guix-patches@gnu.org; Fri, 08 Feb 2019 18:12:06 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:40623) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsFJV-000200-Gj for guix-patches@gnu.org; Fri, 08 Feb 2019 18:12:05 -0500 Received: from webmail.gandi.net (webmail1.sd4.0x35.net [10.200.201.1]) (Authenticated sender: amirouche@hypermove.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id C5A4D1BF208 for ; Fri, 8 Feb 2019 23:12:00 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 09 Feb 2019 00:12:00 +0100 From: Amirouche Boubekki Message-ID: <21686c5a9ff5047728ed5277a6bdd5a0@hypermove.net> X-Sender: amirouche@hypermove.net User-Agent: Roundcube Webmail/1.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From c97de00efc8dfe17a2cedda69033eaa710c42a6e Mon Sep 17 00:00:00 2001 From: Amirouche Date: Sat, 9 Feb 2019 00:07:48 +0100 Subject: [PATCH] gnu: Add termbox-truecolor. * gnu/packages/terminals.scm (termbox-truecolor): New variable. --- gnu/packages/terminals.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 7f52c6efd..0ff0eda35 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2018 Gabriel Hondet ;;; Copyright © 2019 Rutger Helling +;;; Copyright © 2019 Amirouche Boubekki ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,6 +37,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) #:use-module (guix build-system python) + #:use-module (guix build-system waf) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) @@ -1015,3 +1017,30 @@ arbitrary programs of your choice. This is useful for browsing the history comfortably in a pager or editor. @end itemize") (license license:gpl3+))) + +(define-public termbox-truecolor + (package + (name "termbox-truecolor") + (version "2019.01.06-c3afbfd") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/amirouche/termbox-truecolor.git") + (commit "c3afbfd8f31cce70ffb8c4ddd153489d9e363780"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "179py858dhhxkj6la84b224r2fjwavygf4daw4dgl3gvv8i07ryj")))) + (build-system waf-build-system) + (arguments + `(#:tests? #f)) + (synopsis "Library for writing text-based user interfaces (with true-color support)") + (description "Termbox is a library that provides minimalistic API which +allows the programmer to write text-based user interfaces. + +It is based on a simple abstraction: viewing terminals as a table of +fixed-size cells and input being a stream of structured messages. Copy & +pasting and wide characters (mostly Chinese, Japanese, Korean (CJK) +characters) are not really supported.") + (home-page "https://github.com/amirouche/termbox-truecolor/tree/truecolor") + (license license:expat))) -- 2.19.1