unofficial mirror of guix-patches@gnu.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

* bug#27150: plan9-like text editor wily
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-05-31 15:02 UTC (permalink / raw)
  To: 27150-done

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

ng0 <ng0@pragmatique.xyz> skribis:

> 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.

Nice.  Applied with the minor changes below.

Thank you!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1965 bytes --]

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index b87114d37..a0ba1028f 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -248,10 +248,9 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.  e3 can be used on
        (modify-phases %standard-phases
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)
-             ;; The included configure script does not
-             ;; understand flags such as '--host'
+             ;; 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)))
                      '())
@@ -263,15 +262,16 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.  e3 can be used on
          (add-before 'install 'mkdir
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
-               (mkdir-p (string-append out "/bin"))))))))
+               (mkdir-p (string-append out "/bin"))
+               #t))))))
     (inputs
      `(("libx11" ,libx11)
        ("libxt" ,libxt)))
     (home-page "http://www.cse.yorku.ca/~oz/wily/")
-    (synopsis "Implementation of ACME")
+    (synopsis "Text editor inspired by 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.")
+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+)))

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

* bug#27150: plan9-like text editor wily
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-05-31 15:08 UTC (permalink / raw)
  To: 27150

ng0 <ng0@pragmatique.xyz> skribis:

> 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.

[...]

> +    (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+)))

On closer inspection, the license is not GPLv3+ at all, AFAICS.  There’s
an ‘Artistic’ file license with the old Artistic license, which is
non-free AFAIK.  And there’s code in libframe/ for instance marked as:

  /* Copyright (c) 1992 AT&T - All rights reserved. */

Lacking additional info, that makes it non-free.  There’s also a bunch
of Plan 9 headers and stuff taken as-is.

Do you know of free distros that provide Wily?  Could you check whether
I’m missing something?

Thanks,
Ludo’.

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

* bug#27150: plan9-like text editor wily
  2017-05-31 15:08 ` Ludovic Courtès
@ 2017-05-31 15:52   ` ng0
  2017-06-01 22:59     ` ng0
  0 siblings, 1 reply; 5+ messages in thread
From: ng0 @ 2017-05-31 15:52 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27150

Ludovic Courtès transcribed 1.2K bytes:
> ng0 <ng0@pragmatique.xyz> skribis:
> 
> > 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.
> 
> [...]
> 
> > +    (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+)))
> 
> On closer inspection, the license is not GPLv3+ at all, AFAICS.  There’s
> an ‘Artistic’ file license with the old Artistic license, which is
> non-free AFAIK.  And there’s code in libframe/ for instance marked as:
> 
>   /* Copyright (c) 1992 AT&T - All rights reserved. */
> 
> Lacking additional info, that makes it non-free.  There’s also a bunch
> of Plan 9 headers and stuff taken as-is.
> 
> Do you know of free distros that provide Wily?  Could you check whether
> I’m missing something?
> 
> Thanks,
> Ludo’.
> 

Oh no :(

I must have missed this, I really thought I checked for licenses!
So it keep in my package repository.

Sorry.
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588

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

* bug#27150: plan9-like text editor wily
  2017-05-31 15:52   ` ng0
@ 2017-06-01 22:59     ` ng0
  0 siblings, 0 replies; 5+ messages in thread
From: ng0 @ 2017-06-01 22:59 UTC (permalink / raw)
  To: Ludovic Courtès, 27150-done

[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]

ng0 transcribed 1.5K bytes:
> Ludovic Courtès transcribed 1.2K bytes:
> > ng0 <ng0@pragmatique.xyz> skribis:
> > 
> > > 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.
> > 
> > [...]
> > 
> > > +    (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+)))
> > 
> > On closer inspection, the license is not GPLv3+ at all, AFAICS.  There’s
> > an ‘Artistic’ file license with the old Artistic license, which is
> > non-free AFAIK.  And there’s code in libframe/ for instance marked as:
> > 
> >   /* Copyright (c) 1992 AT&T - All rights reserved. */
> > 
> > Lacking additional info, that makes it non-free.  There’s also a bunch
> > of Plan 9 headers and stuff taken as-is.
> > 
> > Do you know of free distros that provide Wily?  Could you check whether
> > I’m missing something?
> > 
> > Thanks,
> > Ludo’.
> > 
> 
> Oh no :(
> 
> I must have missed this, I really thought I checked for licenses!
> So it keep in my package repository.
> 
> Sorry.
> -- 
> ng0
> OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> 

I am closing this bug. With 'Artistic' as a license
this will never be included in Guix master, case is
clear.

Thanks for the review
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588

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

^ permalink raw reply	[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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).