From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 1/2] gnu: Add perl-net-psyc. Date: Tue, 13 Sep 2016 15:16:44 -0400 Message-ID: <20160913191644.GC5986@jasmine> References: <20160913113237.17434-1-ng0@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjtCX-0002dc-W2 for guix-devel@gnu.org; Tue, 13 Sep 2016 15:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjtCT-00041B-O0 for guix-devel@gnu.org; Tue, 13 Sep 2016 15:17:00 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjtCR-0003xk-Eg for guix-devel@gnu.org; Tue, 13 Sep 2016 15:16:57 -0400 Content-Disposition: inline In-Reply-To: <20160913113237.17434-1-ng0@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: ng0 Cc: guix-devel@gnu.org On Tue, Sep 13, 2016 at 11:32:36AM +0000, ng0 wrote: > * gnu/packages/psyc.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. This package looks pretty good to me! > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (doc (string-append out "/share/doc/perl-net-psyc")) > + (man (string-append out "/share/man")) > + (bin (string-append out "/bin")) > + (libpsyc (string-append out "/lib/psyc/ion")) > + (libperl (string-append out "/lib/perl5/site_perl/" > + ,(package-version perl)))) > + > + (copy-recursively "lib/perl5" libperl) > + (copy-recursively "lib/psycion" libpsyc) > + (copy-recursively "bin" bin) > + (install-file "cgi/psycpager" (string-append doc "/cgi")) > + (copy-recursively "contrib" (string-append doc "/contrib")) > + (copy-recursively "hooks" (string-append doc "/hooks")) > + (copy-recursively "sdj" (string-append doc "/sdj")) > + (install-file "README.txt" doc) > + (install-file "TODO.txt" doc) > + (copy-recursively "share/man/man1" (string-append man "/man1")) > + (copy-recursively "share/man/man3" (string-append man "/man3")) > + #t))) But, there aren't any man pages in the built package. > + (description > + "@code{Net::PSYC} with support for TCP, UDP, Event.pm, @code{IO::Select} and > +Gtk2 event loops. This package includes 12 applications and additional scripts: > +psycion, a @uref{http://about.psyc.eu,PSYC} chat client, remotor, a control console > +for @uref{https://torproject.org,tor} router, and many more.") Also, I don't know this word "remotor". Is it related to PSYC?