From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add ircii. Date: Fri, 05 Aug 2016 12:57:53 +0000 Message-ID: <87wpjvid9q.fsf@we.make.ritual.n0.is> References: <87fuqoe10m.fsf@we.make.ritual.n0.is> <20160802005413.GB15847@jasmine> <20160802075834.GB1957@solar> <878twf4dcu.fsf@we.make.ritual.n0.is> <87y44bhfvz.fsf@elephly.net> <87zioridda.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVehJ-00038c-1l for guix-devel@gnu.org; Fri, 05 Aug 2016 08:57:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVehG-0001vM-VG for guix-devel@gnu.org; Fri, 05 Aug 2016 08:57:56 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:59529 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVehG-0001vC-Ku for guix-devel@gnu.org; Fri, 05 Aug 2016 08:57:54 -0400 In-Reply-To: <87zioridda.fsf@we.make.ritual.n0.is> 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: Ricardo Wurmus Cc: guix-devel@gnu.org ng0 writes: > Ricardo Wurmus writes: > >> Why is this needed? Did you try using #:configure-flags instead of >> replacing the configure phase? You can refer to inputs with >> “%build-inputs” there. >> >> ~~ Ricardo >> > > Thanks, README made me try with ./configure --switches first. > Fixed in this version. I'm still testing why I can only connect to > chat.freenode.net:6667 and /SERVER chat.freenode.net:6697 fails. > I guess it might be fixed in the "nightly" build they provide in > addition to the stable one, but with no version numbers there. > > From f185e9b34922a4c6213ac5af3cd448b43a2d5798 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 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > > diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm > index 03f014a..45cc581 100644 > --- a/gnu/packages/irc.scm > +++ b/gnu/packages/irc.scm > @@ -194,3 +194,49 @@ 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: Configure with socks client (ghc-socks is too big). > + (arguments > + `(#:tests? #f > + #:configure-flags (list > + (string-append "--prefix=" (assoc-ref %outputs "out")) I doubt that this is needed. Let me try another build without it. > + "--enable-ipv6" > + (string-append "--with-openssl=" > + (assoc-ref %build-inputs "openssl")) > + "--with-emacs-meta-keys") > + #: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 > > > > -- > ♥Ⓐ ng0 > Current Keys: https://we.make.ritual.n0.is/ng0.txt > For non-prism friendly talk find me on http://www.psyced.org -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org