From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: [PATCH] gnu: Add GNU Smalltalk. Date: Thu, 07 Feb 2013 04:12:06 -0500 Message-ID: <8738x8wkrk.fsf@karetnikov.org> References: <87r4kyxgrt.fsf@karetnikov.org> <87txpt2rrb.fsf@gnu.org> <87lib3u7aa.fsf@karetnikov.org> <87sj5bsqqs.fsf@gnu.org> <87a9rgwmas.fsf_-_@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3NWY-0006P5-8x for bug-guix@gnu.org; Thu, 07 Feb 2013 04:12:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3NWV-0002mU-2O for bug-guix@gnu.org; Thu, 07 Feb 2013 04:12:06 -0500 In-Reply-To: <87a9rgwmas.fsf_-_@karetnikov.org> (Nikita Karetnikov's message of "(unknown date)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= + gnu/packages/smalltalk \ Oops. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-GNU-Smalltalk.patch Content-Transfer-Encoding: quoted-printable From=207ba4649dd88e43aef264fafcae4a1589cd16a58d Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Thu, 7 Feb 2013 09:07:27 +0000 Subject: [PATCH] gnu: Add GNU Smalltalk. * gnu/packages/smalltalk.scm: New file. * Makefile.am (MODULES): Add it. =2D-- Makefile.am | 1 + gnu/packages/smalltalk.scm | 62 ++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 63 insertions(+), 0 deletions(-) create mode 100644 gnu/packages/smalltalk.scm diff --git a/Makefile.am b/Makefile.am index c44c159..b0643a9 100644 =2D-- a/Makefile.am +++ b/Makefile.am @@ -129,6 +129,7 @@ MODULES =3D \ gnu/packages/scheme.scm \ gnu/packages/screen.scm \ gnu/packages/shishi.scm \ + gnu/packages/smalltalk.scm \ gnu/packages/sqlite.scm \ gnu/packages/ssh.scm \ gnu/packages/subversion.scm \ diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm new file mode 100644 index 0000000..2330685 =2D-- /dev/null +++ b/gnu/packages/smalltalk.scm @@ -0,0 +1,62 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2013 Nikita Karetnikov +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages smalltalk) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages zip)) + +(define-public smalltalk + (package + (name "smalltalk") + (version "3.2.4") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/smalltalk/smalltalk-" + version ".tar.xz")) + (sha256 + (base32 + "1bdhbppjv1fswh4ls9q90zix38l1hg9qd4c4bz1pbg1af991xq3a")))) + (build-system gnu-build-system) + (inputs `(("zip" ,zip))) + (arguments + `(#:phases (alist-cons-before + 'configure 'fix-libc + (lambda _ + (let ((libc (assoc-ref %build-inputs "libc"))) + (substitute* "libc.la.in" + (("@LIBC_SO_NAME@") "libc.so") + (("@LIBC_SO_DIR@") (string-append libc "/lib"))))) + %standard-phases))) + (home-page "https://www.gnu.org/software/smalltalk/") + (synopsis + "GNU Smalltalk, a free implementation of the Smalltalk-80 language") + (description + "GNU Smalltalk is a free implementation of the Smalltalk-80 language. + +In the Smalltalk language, everything is an object. This includes numbers, +executable procedures (methods), stack frames (called method contexts or b= lock +contexts), etc. Each object is an \"instance\" of a \"class\". A class c= an +be thought of as a datatype and the set of functions that operate on that +datatype. An instance is a particular variable of that datatype. When you +want to perform an operation on an object, you send it a \"message\", and = the +object performs an operation that corresponds to that message.") + (license gpl2+))) =2D-=20 1.7.5.4 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRE2/9AAoJEM+IQzI9IQ38MGUP/2bJ/VWlf4BrWLpMXLZdFkpE Iid6gf18ulD/RgcMV6lM2HjWvs6wx2n36sfInUE42ejlNo5TRl8O4NAOqeB08dtN VJEfGSP1K3MavKNIAJBm2lmf03ixT3+sy80lwZ2L93QDZOoyqiOlT77xXCcozSkJ 7+yYGURKlnLakA/E8E/a1zjCKU9rwwR8IZCrpPv0UWZTF4zw9rqtaxOclBJn4qZC mCTqNLL5j7ny+5uv72+cNpIivROpxNzuQXQ+KkVzxbs9u75pd42FQdSrFTHnMWwJ nojNeIBq6D+sHeUHAlwSd1S0qDWsym4iI0S3hOMZgH/BZn/eHRQomdsANOaAu7Pp pgfNti6qIp3FnFukpq7+k6MjwKBqypFn5WDFeQvZQi8HrED55uxzBeAMSSmzgKF/ KQrwOPSWskpfQN6HYnvEsngQwgQG3SXougBVDzSli1lMgfWh4ZHEzBig4/M/JyJd 6v+MCaNKMODNYZu7J24HnBzSQwrQBg+UEXE51RTozeh7PfwXAR9Vwo8MZg5n60LZ qiZ+pxsY3UZ77GPj6uBGK9tPB/sNi5m3k64cwMa/cV8OZwu6exB7v2h9HcZV+fiO m6S04xPoWeJcezbiCVYehrdps6H38kmbecW1AJXLG+lWsAEKgMIKbb4koAdrfJZU 32RrlaAY7lmf+nP/rBKA =Z4dh -----END PGP SIGNATURE----- --==-=-=--