From patchwork Sun Jun 9 17:14:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 14271 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 36A7E17053; Sun, 9 Jun 2019 18:15:10 +0100 (BST) 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 autolearn=unavailable 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 C36DA17042 for ; Sun, 9 Jun 2019 18:15:08 +0100 (BST) Received: from localhost ([::1]:37178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha1PO-0005Wi-2H for patchwork@mira.cbaines.net; Sun, 09 Jun 2019 13:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33604) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha1PL-0005WC-C9 for guix-patches@gnu.org; Sun, 09 Jun 2019 13:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha1PJ-0007ig-Vy for guix-patches@gnu.org; Sun, 09 Jun 2019 13:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41767) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ha1PJ-0007iU-Su for guix-patches@gnu.org; Sun, 09 Jun 2019 13:15:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ha1PJ-0006I2-OK for guix-patches@gnu.org; Sun, 09 Jun 2019 13:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36151] [PATCH] gnu: Add emacsy. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Jun 2019 17:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36151 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36151@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156010048824139 (code B ref -1); Sun, 09 Jun 2019 17:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jun 2019 17:14:48 +0000 Received: from localhost ([127.0.0.1]:55311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ha1P0-0006HB-GI for submit@debbugs.gnu.org; Sun, 09 Jun 2019 13:14:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:51015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ha1Oz-0006H4-6S for submit@debbugs.gnu.org; Sun, 09 Jun 2019 13:14:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33498) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha1Ox-0005Sp-R0 for guix-patches@gnu.org; Sun, 09 Jun 2019 13:14:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ha1Ou-0007Po-R0; Sun, 09 Jun 2019 13:14:38 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=45412 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ha1Ou-0003Ac-C8; Sun, 09 Jun 2019 13:14:36 -0400 From: Jan Nieuwenhuizen Date: Sun, 09 Jun 2019 19:14:28 +0200 Message-ID: <87wohuu1e3.fsf@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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 Hi! It's not a pure guile package...should it still be named guile-emacsy, WDYT? Greetings, janneke From fea1be20d655096fbf31872650daca3ac28f0e41 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 9 Jun 2019 18:17:08 +0200 Subject: [PATCH] gnu: Add emacsy. * gnu/packages/guile-xyz.scm (emacsy): New variable. --- gnu/packages/guile-xyz.scm | 75 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index aee908a6f5..e66aa93f95 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -68,6 +68,7 @@ #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) + #:use-module (gnu packages noweb) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -2305,3 +2306,77 @@ formatting combinators specified by @uref{https://srfi.schemers.org/srfi-159/srfi-159.html, SRFI-159}. These are more expressive and flexible than the traditional @code{format} procedure.") (license license:bsd-3)))) + +(define-public emacsy + (let ((commit "29148e2a0d803bd74a83a3576f667108b374c6b3") + (revision "3")) + (package + (name "emacsy") + (version (string-append "0.1.2-" revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/janneke/emacsy.git") + (commit commit))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "1s6n1b8h2wzvpkdnl7y2hby846cglznysbq4xqd6yys57vmzgczs")))) + (build-system gnu-build-system) + (native-inputs + `(("emacsy-webkit-gtk" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/janneke/emacsy-webkit-gtk.git") + (commit "35ded1b3e997fd779a17e0c4a2c73741718562d9"))) + (file-name (string-append "emacsy-webkit-gtk" "-" version)) + (sha256 + (base32 + "1gp0li2rbp6in926r3hrww6cnh864pp46v1din2pgmd7vzzl7kg0")))) + ("hello-emacsy" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/janneke/hello-emacsy.git") + (commit "bb17461d766c26992426f2c7d094cf9476a42dcc"))) + (file-name (string-append "hello-emacsy" "-" version)) + (sha256 + (base32 + "1lag248jb7xs5iw8qb6q12wc65awmr2sa2qhrjvrkvsrilxbpnj4")))) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("bzip2" ,bzip2) + ("guile" ,guile-2.2) + ("gettext" ,gnu-gettext) + ("libtool" ,libtool) + ("noweb" ,noweb) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (propagated-inputs + `(("guile-lib" ,guile-lib) + ("guile-readline" ,guile-readline) + ("freeglut" ,freeglut) + ("gssettings-desktop-schemas" ,gsettings-desktop-schemas) + ("webkitgtk" ,webkitgtk))) + (inputs `(("guile" ,guile-2.2))) + (arguments + `(#:tests? #f ; several tests fail + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-examples + (lambda _ + (copy-recursively (assoc-ref %build-inputs "emacsy-webkit-gtk") + "example/emacsy-webkit-gtk") + (copy-recursively (assoc-ref %build-inputs "hello-emacsy") + "example/hello-emacsy"))) + (add-before 'configure 'setenv + (lambda _ + (setenv "GUILE_AUTO_COMPILE" "0")))))) + (home-page "https://github.com/shanecelis/emacsy/") + (synopsis "Embeddable GNU Emacs-like library for Guile") + (description + "Emacsy is an embeddable GNU Emacs-like library for GNU Guile. It +comes with a simple counter example using GLUT and WebKit browser examples.") + (license license:gpl3+))))