From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: Add epic5. Date: Sat, 24 Sep 2016 13:04:47 +0000 Message-ID: <87shsp1ma8.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnmdX-0001lm-02 for guix-devel@gnu.org; Sat, 24 Sep 2016 09:05:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnmdS-0002RS-Cc for guix-devel@gnu.org; Sat, 24 Sep 2016 09:04:57 -0400 Received: from aibo.runbox.com ([91.220.196.211]:60321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnmdS-0002QX-0f for guix-devel@gnu.org; Sat, 24 Sep 2016 09:04:54 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bnmdO-0008OK-B4 for guix-devel@gnu.org; Sat, 24 Sep 2016 15:04:50 +0200 Received: from x5d83e522.dyn.telefonica.de ([93.131.229.34] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bnmdN-0002Ny-1l for guix-devel@gnu.org; Sat, 24 Sep 2016 15:04:49 +0200 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: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I tried to get ssl working via: =2D patching include/config.h =2D just export the variable which was in include/config.h without patching it. but it seems like epic5 does something different which 'justworks=E2=84=A2'= in ircii. epic5 is based on ircii. If ssl is mandatory, I'll check their git repository and see if there have been any commits recently fixing this. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-licenses-Add-epic.patch Content-Transfer-Encoding: quoted-printable From=2004cd790b1b08fe9fe09dddd896db267c78640872 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 13 Sep 2016 23:45:21 +0000 Subject: [PATCH 1/2] licenses: Add epic. * guix/licenses.scm (epic): New variable. =2D-- guix/licenses.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guix/licenses.scm b/guix/licenses.scm index 265f048..4abd539 100644 =2D-- a/guix/licenses.scm +++ b/guix/licenses.scm @@ -40,6 +40,7 @@ artistic2.0 clarified-artistic copyleft-next cpl1.0 + epic epl1.0 expat freetype @@ -209,6 +210,14 @@ at URI, which may be a file:// URI pointing the packag= e's tree." "http://directory.fsf.org/wiki/License:CPLv1.0" "https://www.gnu.org/licenses/license-list#CommonPublicLicense1= 0")) =20 +;; The epic license is equal to the standard three-clause BSD license exce= pt +;; that you are not permitted to remove the "Redistribution is permitted" +;; clause of the license if you distribute binaries. +(define epic + (license "epic" + "http://epicsol.org/copyright" + #f)) + (define epl1.0 (license "EPL 1.0" "http://directory.fsf.org/wiki/License:EPLv1.0" =2D-=20 2.10.0 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0002-gnu-Add-epic5.patch Content-Transfer-Encoding: quoted-printable From=20f61b13ef79a6f05ec358652fa428324d7b2858d9 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 13 Sep 2016 23:46:16 +0000 Subject: [PATCH 2/2] gnu: Add epic5. * gnu/packages/irc.scm (epic5): New variable. =2D-- gnu/packages/irc.scm | 80 ++++++++++++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 786cfbc..a108b2a 100644 =2D-- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -3,7 +3,7 @@ ;;; Copyright =C2=A9 2014 Kevin Lemonnier ;;; Copyright =C2=A9 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2015, 2016 Efraim Flashner =2D;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,9 +31,11 @@ #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages backup) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) + #:use-module (gnu packages databases) #:use-module (gnu packages file) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -46,6 +48,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages ruby) #:use-module (gnu packages qt) #:use-module (gnu packages tcl) #:use-module (gnu packages tls)) @@ -291,3 +294,78 @@ and extensible with plugins and scripts.") (description "sic is a simple IRC client, even more minimalistic than ii.") (license license:expat))) + +(define-public epic5 + (package + (name "epic5") + (version "2.0.1") + (source (origin + (method url-fetch) + (uri (string-append "http://ftp.epicsol.org/pub/epic/EPIC5-P= RODUCTION/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1ap73d5f4vccxjaaq249zh981z85106vvqmxfm4plvy76b40y9jm")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-perl + (lambda _ + (substitute* "regress/crash-irc" + (("perl5") (which "perl"))))) + (add-after 'unpack 'patch-bsdinstall + ;; We should include this in the build-system, bsdinstall is a = standard. + ;; If we just remove /bin/ some part of the bsdinstall breaks. + (lambda _ + (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") + (("/etc/") "")))) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + ;; The tarball uses a very old version of autconf. It doesn't + ;; understand extra flags like `--enable-fast-install', so + ;; we need to invoke it with just what it understands. + (let ((out (assoc-ref outputs "out"))) + ;; 'configure' doesn't 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) + "--with-ipv6" "--with-libarchive" + "--with-ssl" + (string-append "--with-tcl=3D" + (assoc-ref %build-inputs "tcl") + "/lib/tclConfig.sh"))))))))) + (inputs + `(("openssl" ,openssl) + ("ncurses" ,ncurses) + ("libarchive" ,libarchive) + ("perl" ,perl) + ("tcl" ,tcl) + ("ruby" ,ruby) + ("gdbm" ,gdbm))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://epicsol.org") + (synopsis "Epic5 IRC Client") + (description + "EPIC is a IRC client that has been under active development for 20+ = years +in 5 generations. It is stable and mature, and offers an excellent ircII +interface for those of us who are accustomed to the ircII way of doing thi= ngs.") + (license (list license:epic + license:bsd-3 + license:isc + license:bsd-4)))) =2D-=20 2.10.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 ng0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX5nnvAAoJEAKilhUMIBgjUzcP/jVz8o9n+f2q7fdHRh95tOjM 7epDKUld0+CJBh3dPeKcmKf9Ugc56jTuXAyzZYJsWHgoZ3hxZ+uFdfWf789WuILG D/iA8BRqAcekQO7SaTd/AOJz9uKCDKajxMNwrl//jSkG0ykNLiVIDSH6wHJmYKhr NYqmJo1VwUGqWhLAcMtcvwIbtu2u6MvUOmDw2toJ8aXmjPk5A+dn6rWK24OFXjk+ RGSlWXDFZ7WqBg82JSJpRYebLqpF9zfADI8aASGYIHzAmiFYPz1uB4IXQr0FdnD5 OUGJMQpVD/rsgPGHdRK/PP8h5j0aiUrVvzkypk6isz4/o/mF0IkUM5UizVLv4n7n nrW6+HHqYeSt0H2yciM36T/H3f4FQ4vI+ZYt9YPcJgVDBzFf3/j/sQ2iEwjVmfx0 fn0AfSyY8c4y+f/cmpDjaXFKxisV8fHvno3/W27OemauHgqDGfDaopUtSE79HJpH xNAnRsxw6iYfGiv6e+MKhabVBvO5JAoQSZq16uPok7Xc1cN5Tk7FsDYnQdXpjFB5 lrGNGegHxC9WtDQ04GAufOoQA3U1gVRyUb4SqbZHcjRbG1P42SM6gFsPaUqfEsee rWl18xCXTRq06h65BW3HrDzWN0ZHF+x7imWcJXEZj+xw66zlQG6TJBMemBfhd/gh 3p4KHCwSlc7KfJaMDGPd =Ojxw -----END PGP SIGNATURE----- --==-=-=--