From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add ircii. Date: Fri, 05 Aug 2016 18:27:17 +0000 Message-ID: <87fuqjxe9m.fsf@we.make.ritual.n0.is> References: <20160802005413.GB15847@jasmine> <20160802075834.GB1957@solar> <878twf4dcu.fsf@we.make.ritual.n0.is> <87y44bhfvz.fsf@elephly.net> <87zioridda.fsf@we.make.ritual.n0.is> <87a8gr9xox.fsf@we.make.ritual.n0.is> <87y44buz88.fsf@we.make.ritual.n0.is> <87vazfusgq.fsf@we.make.ritual.n0.is> <20160805155731.GA20004@jasmine> <87bn176vr9.fsf@we.make.ritual.n0.is> <20160805175532.GA10389@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVjq5-0005HE-OS for guix-devel@gnu.org; Fri, 05 Aug 2016 14:27:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVjq3-00064e-B6 for guix-devel@gnu.org; Fri, 05 Aug 2016 14:27:20 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:60705 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVjq3-00064Z-08 for guix-devel@gnu.org; Fri, 05 Aug 2016 14:27:19 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 904f002f TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Fri, 5 Aug 2016 18:27:17 +0000 (UTC) In-Reply-To: <20160805175532.GA10389@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Leo Famulari writes: > On Fri, Aug 05, 2016 at 04:11:38PM +0000, ng0 wrote: >> Leo Famulari 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. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-ircii.patch >From b011897bec126469990a2687795b339b599b102e Mon Sep 17 00:00:00 2001 From: ng0 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org --=-=-=--