From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4OcLO74og2DWEQEAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 22:06:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8HqVNr4og2CmNAAAbx9fmQ (envelope-from ) for ; Fri, 23 Apr 2021 20:06:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9EE4C1570F for ; Fri, 23 Apr 2021 22:06:22 +0200 (CEST) Received: from localhost ([::1]:39028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la24D-0000tk-MK for larch@yhetil.org; Fri, 23 Apr 2021 16:06:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la23u-0000qo-36 for guix-patches@gnu.org; Fri, 23 Apr 2021 16:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1la23t-0003R6-RP for guix-patches@gnu.org; Fri, 23 Apr 2021 16:06:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1la23t-00070N-K9 for guix-patches@gnu.org; Fri, 23 Apr 2021 16:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47963] [PATCH v4] gnu: Add eovim. References: <20210423024046.24776-1-jackhill@jackhill.us> In-Reply-To: <20210423024046.24776-1-jackhill@jackhill.us> Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Apr 2021 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47963@debbugs.gnu.org Received: via spool by 47963-submit@debbugs.gnu.org id=B47963.161920832126877 (code B ref 47963); Fri, 23 Apr 2021 20:06:01 +0000 Received: (at 47963) by debbugs.gnu.org; 23 Apr 2021 20:05:21 +0000 Received: from localhost ([127.0.0.1]:38935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la23F-0006zQ-00 for submit@debbugs.gnu.org; Fri, 23 Apr 2021 16:05:21 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:52066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la23D-0006zB-SG for 47963@debbugs.gnu.org; Fri, 23 Apr 2021 16:05:20 -0400 Received: from [2001:470:8:9f5:f850:c9a2:75c6:a2d9] (helo=alperton.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1la238-0003EU-EV for 47963@debbugs.gnu.org; Fri, 23 Apr 2021 16:05:14 -0400 From: Jack Hill Date: Fri, 23 Apr 2021 16:05:06 -0400 Message-Id: <20210423200506.5953-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619208382; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=aC3PrXDdF3v1bHvutpllQJU/+63+LDJSezHVwAjvRww=; b=geHtRj/ZRaafaFnm8FJUuUfPzC2zUnFwPNaOSbdr+CSc/7ZXtqqyWIG71oQGHqSXX8VNs7 0qlgJGzQbAC88MwPc9fRZgomisvEyYnDmQRsevsh+uMjl4ILeRryqUv4ioMLPAZfAnoGzz 0Md8RxLhK7PKEQZ9oNGLsa10mHM+RY8X/HTwDHVdg0VEm0YCDuEuyotGBQL/yiu05oVrQ1 JsXzCa6D+VlxaFyhP49OoexZ/Gvm5NJlcPSnCS3K3iQYLm2CJYkgNjEo64Tj7fyytUHGbl CtlGI5xOSYbA2Q0mH201y5UT2FugNAdkdVITPzj1dUzAdy2dWopufjgz3dagnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619208382; a=rsa-sha256; cv=none; b=PoV5XDGmELcQjkiyzemdQM+b9APqsUAUABictiM0UTFjE9aliSSmxoRV3HY4Q7Cdy6/iHQ AZhYg7EeGcUbpo+remlCWs8uepyhbJ8nE2LzLgzLQpMGMudno4h0v0ptcuC8D5X2uAWYEp KdbV+COpt9+m4qTe5tRYGcjoEzmghg7El1VBj/iv3yMkcUHOKcYGA48X283ZvB+PZ4fqa2 PCPQ4iXeeE6WJXgEYzA4yNI9+NclhEaW84aMRCAMbdb8wwgX0VI89Dm6kKxWAnWaevgycT LB2WqUDTgQ60mzlM/QGARdh3xd2nrsp6lxTdq/Y7JuG6Rh0xQjOgn44K+rYGbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9EE4C1570F X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: j+Wb2SBScfNT * gnu/packages/vim (eovim): New variable. --- Version 4: Tweaked the description a little bit more. Now it says "GUI" in the synopsis, but "Graphical" in the description. gnu/packages/vim.scm | 45 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 231fae9298..3b796fa341 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2019 HiPhish ;;; Copyright © 2019 Julien Lepiller ;;; Copyright © 2019, 2020 Jakub Kądziołka -;;; Copyright © 2020 Jack Hill +;;; Copyright © 2020, 2021 Jack Hill ;;; Copyright © 2021 Simon Tournier ;;; ;;; This file is part of GNU Guix. @@ -42,6 +42,7 @@ #:use-module (gnu packages attr) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages enlightenment) #:use-module (gnu packages fontutils) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) @@ -708,6 +709,48 @@ refactor Vim in order to: ;; except for parts that were contributed under the Vim license. (license (list license:asl2.0 license:vim)))) +(define-public eovim + (package + (name "eovim") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeanguyomarch/eovim/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06b7crmz3wvvq15ncl0jk20s8j1pmna2jin0k5y5n5qxpafbgp3k")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #false ;no tests + #:phases + (modify-phases %standard-phases + (add-after 'configure 'reference-nvim + (lambda* (#:key inputs #:allow-other-keys) + (let ((nvim (string-append (assoc-ref inputs "neovim") + "/bin/nvim"))) + ;; This substitution should change one line, and replaces the default + ;; value in the struct of options with an absolute store reference. + (substitute* "../source/src/main.c" + (("(^[[:blank:]]+\\.nvim = \")nvim" _ start) + (string-append start nvim)))))) + (add-before 'build 'set-home + (lambda _ (setenv "HOME" "/tmp")))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("efl" ,efl) + ("msgpack" ,msgpack) + ("neovim" ,neovim))) + (home-page "https://github.com/jeanguyomarch/eovim/") + (synopsis "EFL GUI for Neovim") + (description "Graphical Neovim interface based on the @acronym{EFL, Enlightenment +Foundation Libraries} toolkit. Its features include customizable appearance +and support for fonts with ligatures.") + (license license:expat))) + (define-public vifm (package (name "vifm") -- 2.31.1