all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@pragmatique.xyz>
To: 27150@debbugs.gnu.org
Subject: bug#27150: plan9-like text editor wily
Date: Tue, 30 May 2017 15:59:28 +0000	[thread overview]
Message-ID: <20170530155928.ykakyqwxv5uimz3a@abyayala> (raw)


[-- 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 --]

             reply	other threads:[~2017-05-30 16:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30 15:59 ng0 [this message]
2017-05-31 15:02 ` bug#27150: plan9-like text editor wily Ludovic Courtès
2017-05-31 15:08 ` Ludovic Courtès
2017-05-31 15:52   ` ng0
2017-06-01 22:59     ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170530155928.ykakyqwxv5uimz3a@abyayala \
    --to=ng0@pragmatique.xyz \
    --cc=27150@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.