unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add ircii.
Date: Fri, 05 Aug 2016 18:27:17 +0000	[thread overview]
Message-ID: <87fuqjxe9m.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <20160805175532.GA10389@jasmine>

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

Leo Famulari <leo@famulari.name> writes:

> On Fri, Aug 05, 2016 at 04:11:38PM +0000, ng0 wrote:
>> Leo Famulari <leo@famulari.name> writes:
>> 
>> > On Fri, Aug 05, 2016 at 03:48:53PM +0000, ng0 wrote:
>> >> It looks like this is not complete yet:
>> >> 
>> >> ng0@shadowwalker ~$ strace irc
>> >
>> > What should we be looking for in this trace?
>> 
>> Apparently nothing because I did not rtfm enough.
>> 
>> ...
>> export IRCSERVER="SSLIRC/chat.freenode.net:6697"
>> ...
>
> So the package is ready to merge?

From my perspective yes. We have to add a smaller socks server/library
than ghc-socks, when that is done I can add --with-socks. This patch
clarifies this in a comment.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-ircii.patch --]
[-- Type: text/x-patch, Size: 2503 bytes --]

From b011897bec126469990a2687795b339b599b102e Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Mon, 1 Aug 2016 19:31:23 +0000
Subject: [PATCH] gnu: Add ircii.

* gnu/packages/irc.scm (ircii): New variable.
---
 gnu/packages/irc.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 03f014a..11250a3 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -194,3 +194,50 @@ with a keyboard, though it also supports mouse.  It is customizable
 and extensible with plugins and scripts.")
     (home-page "http://www.weechat.org/")
     (license license:gpl3)))
+
+(define-public ircii
+  (package
+    (name "ircii")
+    (version "20151120")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://ircii.warped.com/"
+                                 name "-" version ".tar.gz"))
+             (sha256
+              (base32
+               "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm"))))
+    (build-system gnu-build-system)
+    ;; TODO: We should package a small socks4/5 library/server to configure
+    ;; ircii with socks client. `ghc-socks' pulls in lots of haskell, which
+    ;; is too big.
+    (arguments
+     `(#:tests? #f
+       #:configure-flags (list
+                          "--enable-ipv6"
+                          "--with-emacs-meta-keys"
+                          (string-append "--with-openssl="
+                                         (assoc-ref %build-inputs "openssl")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-bsdinstall-absolute-path-bins
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "bsdinstall"
+               (("/bin/strip") "strip")
+               (("/bin/cp") "cp")
+               (("/bin/chmod") "chmod")
+               (("/etc/chown") "chown")
+               (("/bin/chgrp") "chgrp")
+               (("/bin/mkdir") "mkdir")
+               (("/bin/rm") "rm")
+               (("/bin/mv") "mv")))))))
+    (inputs
+     `(("ncurses" ,ncurses)
+       ("openssl" ,openssl)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("perl" ,perl)))
+    (home-page "http://www.eterna.com.au/ircii/")
+    (synopsis "Terminal-based IRC and ICB client")
+    (description
+     "ircII is a terminal based IRC and ICB client for UNIX systems.")
+    (license license:bsd-3)))
-- 
2.9.2


[-- Attachment #3: Type: text/plain, Size: 129 bytes --]


-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

  reply	other threads:[~2016-08-05 18:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 19:34 [PATCH] gnu: Add ircii ng0
2016-08-02  0:54 ` Leo Famulari
2016-08-02  7:58   ` Andreas Enge
2016-08-02 11:30     ` ng0
2016-08-05  6:46       ` Ricardo Wurmus
2016-08-05 10:29         ` ng0
2016-08-05 11:17           ` Ricardo Wurmus
2016-08-05 12:55         ` ng0
2016-08-05 12:57           ` ng0
2016-08-05 13:01           ` ng0
2016-08-05 13:22             ` ng0
2016-08-05 15:48               ` ng0
2016-08-05 15:57                 ` Leo Famulari
2016-08-05 16:11                   ` ng0
2016-08-05 17:55                     ` Leo Famulari
2016-08-05 18:27                       ` ng0 [this message]
2016-08-05 19:11                         ` Leo Famulari
2016-08-09 19:38             ` Ricardo Wurmus
2016-08-09 19:47               ` Leo Famulari
2016-08-13  7:06                 ` ng0
2016-08-02 12:42   ` 宋文武
2016-08-02 15:19     ` ng0
2016-08-04 19:03       ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87fuqjxe9m.fsf@we.make.ritual.n0.is \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@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 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).