From patchwork Sun Oct 28 12:40:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 47 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 35BED16754; Sun, 28 Oct 2018 12:44:44 +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=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id C7E9816753 for ; Sun, 28 Oct 2018 12:44:42 +0000 (GMT) Received: from localhost ([::1]:40026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGkQs-0002rq-21 for patchwork@mira.cbaines.net; Sun, 28 Oct 2018 08:44:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGkON-0008Tq-1K for guix-patches@gnu.org; Sun, 28 Oct 2018 08:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGkOI-0004Wf-An for guix-patches@gnu.org; Sun, 28 Oct 2018 08:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGkOI-0004VU-5b for guix-patches@gnu.org; Sun, 28 Oct 2018 08:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGkOH-0007N5-VX for guix-patches@gnu.org; Sun, 28 Oct 2018 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33186] [PATCH 1/7] gnu: Add guile-newt. References: <20181028123511.21265-1-m.othacehe@gmail.com> In-Reply-To: <20181028123511.21265-1-m.othacehe@gmail.com> Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Oct 2018 12:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33186@debbugs.gnu.org Received: via spool by 33186-submit@debbugs.gnu.org id=B33186.154073047328210 (code B ref 33186); Sun, 28 Oct 2018 12:42:01 +0000 Received: (at 33186) by debbugs.gnu.org; 28 Oct 2018 12:41:13 +0000 Received: from localhost ([127.0.0.1]:46776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGkNQ-0007Ko-Bu for submit@debbugs.gnu.org; Sun, 28 Oct 2018 08:41:13 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGkNN-0007K4-DW for 33186@debbugs.gnu.org; Sun, 28 Oct 2018 08:41:07 -0400 Received: by mail-pg1-f194.google.com with SMTP id 23-v6so2570503pgc.8 for <33186@debbugs.gnu.org>; Sun, 28 Oct 2018 05:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hs9nwTIrS7SFX8HqO8oGk09AikAy2q1C9OnXKCWx2Xs=; b=XeGulEDgPDTs1S0cIJmnrBQPec8Obg8jmSpinckeXNrlbuwR8GdZ7C3aVCfube2hBJ SKTW3cFUMG1lwC8e0PNX+X90Cy26lnEomRuKMkD2cnhg9M59DCOv+/rJVSpBN3holgWZ FhufdvCssQDTLMhIZr1AfMoMcQGg1Y6rVCNcjQATxyk8oOxVDriIyk6OIBpHxEljrOLp upvejEIsqOlfg+mxPuXx3iKOwhHYLKumu6EY8KwLdXo9QwjWyTC+xPCIarhsPAXUzUe8 N2HsbNZx+ZT5ZP2ZLt2kGn5/g2RCczKCAc0yFGJ8ZAOEVP/KJPeWtNhl50arGuuOn6ew G23g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hs9nwTIrS7SFX8HqO8oGk09AikAy2q1C9OnXKCWx2Xs=; b=j/b7H6Hao3G5JGl8d1FX4lcTvpyauH0p5OPU9PgSuSsCpWcgD65C9ej6OpEaz08+lN U1emvBrS0aW0oYIl6KqM2X7p/FVxdmxDAPCBnovhKiq063wviPW8t3HZ2c4AnfunIlZz kZbfuKbax/QmGLFtLh+KFSknoxv3ao85mJ+h3AnqcjjuqMY0OoAILHlFGXBRQ4aciVAq 3yzNCb8+7XRfvbwgJdnW80hfv3vuYy3s/rlxlwkD2myX264WE54uTiODvvw9nMxESWwA e52S0sXfkHGXvXC98Ea2OVbRsCbyKPMwUFD+swLS+vnCyJcczmQZDcR4DdGFuYYHOEBq 0FJA== X-Gm-Message-State: AGRZ1gJQ1tF/JH2W78ugbnJjU8MPfS/FUbOGvtFtBRhuy9itsLWiEXPh vLINq4PD5kPdEFNBY7uRsWB2KHy9 X-Google-Smtp-Source: AJdET5eBNwVwORelMWyfEaoQL96DW71eqOMpgz1MXAomJdJm8GS69qrHn8F0Z2N8p3Tp1XPJrSOf1Q== X-Received: by 2002:a62:cac4:: with SMTP id y65-v6mr11025862pfk.27.1540730459091; Sun, 28 Oct 2018 05:40:59 -0700 (PDT) Received: from localhost.localdomain (p506075-ipngn200505niho.hiroshima.ocn.ne.jp. [180.49.233.75]) by smtp.gmail.com with ESMTPSA id c69-v6sm33201759pfg.2.2018.10.28.05.40.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 05:40:58 -0700 (PDT) From: Mathieu Othacehe Date: Sun, 28 Oct 2018 21:40:37 +0900 Message-Id: <20181028124043.21773-2-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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: 208.118.235.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 * gnu/packages/guile.scm (guile-newt): New variable. --- gnu/packages/guile.scm | 43 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 9e3300337..ba7aa63ad 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2017 Andy Wingo ;;; Copyright © 2017 David Thompson -;;; Copyright © 2017 Mathieu Othacehe +;;; Copyright © 2017, 2018 Mathieu Othacehe ;;; Copyright © 2017 Theodoros Foradis ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice @@ -68,6 +68,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages image) #:use-module (gnu packages version-control) + #:use-module (gnu packages slang) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (gnu packages networking) @@ -2286,4 +2287,44 @@ using S-expressions.") tracker's SOAP service, such as @url{https://bugs.gnu.org}.") (license license:gpl3+))) +;; There has not been any release yet. +(define-public guile-newt + (let ((commit "596ad760bee1be419d71271732f0f30eaee55143") + (revision "0")) + (package + (name "guile-newt") + (version (string-append "0-" revision "." (string-take commit 9))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/mothacehe/guile-newt") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "18qqbi0bc7vp2vlrhib3p3wwgn7wrlv5728dn0avirhw4fxxivnf")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags + '("GUILE_AUTO_COMPILE=0") ; to prevent guild errors + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) + (inputs + `(("guile" ,guile-2.2) + ("newt" ,newt))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (synopsis "Guile bindings to Newt") + (description + "This package provides bindings for Newt, a programming library for +color text mode, widget based user interfaces. The bindings are written in pure +Scheme by using Guile’s foreign function interface.") + (home-page "https://gitlab.com/mothacehe/guile-newt") + (license license:gpl3+)))) + ;;; guile.scm ends here