From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFjZz-0000pS-1e for guix-patches@gnu.org; Tue, 30 May 2017 12:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFjZu-0005vm-Pn for guix-patches@gnu.org; Tue, 30 May 2017 12:01:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFjZu-0005vi-Mz for guix-patches@gnu.org; Tue, 30 May 2017 12:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFjZu-0003MN-Fa for guix-patches@gnu.org; Tue, 30 May 2017 12:01:02 -0400 Subject: bug#27150: plan9-like text editor wily Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFjYo-0008GW-QQ for guix-patches@gnu.org; Tue, 30 May 2017 11:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFjYl-0005dd-N0 for guix-patches@gnu.org; Tue, 30 May 2017 11:59:54 -0400 Received: from aibo.runbox.com ([91.220.196.211]:41316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFjYl-0005dR-Gf for guix-patches@gnu.org; Tue, 30 May 2017 11:59:51 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dFjYj-0001jq-R7 for guix-patches@gnu.org; Tue, 30 May 2017 17:59:49 +0200 Received: from net-188-219-232-165.cust.vodafonedsl.it ([188.219.232.165] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dFjYY-0001NQ-Eq for guix-patches@gnu.org; Tue, 30 May 2017 17:59:38 +0200 Date: Tue, 30 May 2017 15:59:28 +0000 From: ng0 Message-ID: <20170530155928.ykakyqwxv5uimz3a@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5ibicdivdroprykh" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27150@debbugs.gnu.org --5ibicdivdroprykh Content-Type: multipart/mixed; boundary="equ2fawlrxmzbpln" Content-Disposition: inline --equ2fawlrxmzbpln Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The text editor part works. I'm not sure if it is supposed to do more or be able to be useful for more... --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --equ2fawlrxmzbpln Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-wily.patch" Content-Transfer-Encoding: quoted-printable =46rom 551a544eab8f4295581ace79a5c8b5b2a9c3b581 Mon Sep 17 00:00:00 2001 =46rom: ng0 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)) =20 (define-public vis (package @@ -227,3 +228,50 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings= =2E 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=3D" 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 an= d keyboard +operations on plain text. Most of Wily's design (but none of its code) co= mes +from Rob Pike's acme.") + (license license:gpl3+))) --=20 2.13.0 --equ2fawlrxmzbpln-- --5ibicdivdroprykh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlktluAACgkQ4i+bv+40 hYhiaA//dIp3KZAzOO3DmfjUM9mVIihZKlPpKxg4hMABprDlAFCZ6HkATYa/iM2M wug3RJsBWRqLjGV9Iu+g2/yNDlMGZun4vfX850B0tkb723tb68730soEcxTDJuLA X2YK/uuAer3pS/WiFRdrGhCjUJZT+3OD816vW8C+h3XQqk8CVsaz+HBpgOiN+Xif odxZHPEcXKjKsVV1QRNnCUjtrGUJH7m6uqq924K8NcaFuj/XYqLjSgUlGuuq9ico iH8HzJZ9r0D9Gdbwz6K+pPJXHYFjegksfKqvWBiymVYpL7nKCTaBT5n0LiQ1+BOO lkiNPUu7rz4CgU8nuLVJ+aRBIjq+/1XZOm5XA89iU6NxHc/F7v4fZwkMYBU6AqBM cmL3rlHalRIPO1HUsqNiM/kPOiqY+xLXfTd9TFCd/+gMJMKr9ez5dppSO6xZPEUN XWlzXgaMgywVQrteRNOpds0x62nNSUs5k4cpk2W/app5ZdM1ouTqOT/kOgfwhat2 pVDYAL6Jk5g04uokjN3FNhK8yU7ctV62oMy7ttCy+G3LAPrZA2qpzJ+NSfLKxKy9 Smtwpx+7zeNDAR8tXQAW7Awih++tn7/pr/5pLvBOiKyXYmYiR7GHWLk+bk3KIYhr 0z8mAE+Of7MoojWgmoRih7al3Z0ebOahu9n1900avU/VCywQvyo= =hg6Q -----END PGP SIGNATURE----- --5ibicdivdroprykh--