all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27150: plan9-like text editor wily
@ 2017-05-30 15:59 ng0
  2017-05-31 15:02 ` Ludovic Courtès
  2017-05-31 15:08 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: ng0 @ 2017-05-30 15:59 UTC (permalink / raw)
  To: 27150


[-- Attachment #1.1: Type: text/plain, Size: 171 bytes --]

The text editor part works.

I'm not sure if it is supposed to do more
or be able to be useful for more...
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588

[-- Attachment #1.2: 0001-gnu-Add-wily.patch --]
[-- Type: text/plain, Size: 3016 bytes --]

From 551a544eab8f4295581ace79a5c8b5b2a9c3b581 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@no-reply.pragmatique.xyz>
Date: Mon, 8 May 2017 18:08:24 +0000
Subject: [PATCH] gnu: Add wily.

* gnu/packages/text-editors.scm (wily): New variable.
---
 gnu/packages/text-editors.scm | 50 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 98df48119..b87114d37 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -39,7 +39,8 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages terminals)
-  #:use-module (gnu packages xml))
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg))
 
 (define-public vis
   (package
@@ -227,3 +228,50 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.  e3 can be used on
 16, 32, and 64-bit CPUs.")
     (supported-systems '("x86_64-linux" "i686-linux"))
     (license license:gpl2+)))
+
+(define-public wily
+  (package
+    (name "wily")
+    (version "0.13.42")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://sourceforge.net/projects/wily/files/"
+                           "baseline/" version "/wily-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1jy4czk39sh365b0mjpj4d5wmymj98x163vmwzyx3j183jqrhm2z"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ;No tests.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key outputs #:allow-other-keys)
+             ;; The included configure script does not
+             ;; understand flags such as '--host'
+             (let ((out (assoc-ref outputs "out")))
+               ;; 'configure' does not understand '--host'.
+               ,@(if (%current-target-system)
+                     `((setenv "CHOST" ,(%current-target-system)))
+                     '())
+               (setenv "CONFIG_SHELL" (which "bash"))
+               (setenv "SHELL" (which "bash"))
+               (zero?
+                (system* "./configure"
+                         (string-append "--prefix=" out))))))
+         (add-before 'install 'mkdir
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (mkdir-p (string-append out "/bin"))))))))
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxt" ,libxt)))
+    (home-page "http://www.cse.yorku.ca/~oz/wily/")
+    (synopsis "Implementation of ACME")
+    (description
+     "Wily is a mouse-oriented, text-based environment for programmers.
+It lets you interact with files, directories and programs through mouse and keyboard
+operations on plain text.  Most of Wily's design (but none of its code) comes
+from Rob Pike's acme.")
+    (license license:gpl3+)))
-- 
2.13.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-01 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30 15:59 bug#27150: plan9-like text editor wily ng0
2017-05-31 15:02 ` Ludovic Courtès
2017-05-31 15:08 ` Ludovic Courtès
2017-05-31 15:52   ` ng0
2017-06-01 22:59     ` ng0

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.