From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: [PATCH] gnu: Add GNU Smalltalk. (was: GNU Smalltalk: libtool: link: cannot find name of link library for `*/libc.la') Date: Thu, 07 Feb 2013 03:38:30 -0500 Message-ID: <87a9rgwmas.fsf_-_@karetnikov.org> References: <87r4kyxgrt.fsf@karetnikov.org> <87txpt2rrb.fsf@gnu.org> <87lib3u7aa.fsf@karetnikov.org> <87sj5bsqqs.fsf@gnu.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]:41825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3N02-0001I6-9J for bug-guix@gnu.org; Thu, 07 Feb 2013 03:38:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3Mzz-0003UH-HK for bug-guix@gnu.org; Thu, 07 Feb 2013 03:38:30 -0500 In-Reply-To: <87sj5bsqqs.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?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="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > There=E2=80=99s a bit of a repetition here. :-) Oh, thanks. Can I push this one? --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-GNU-Smalltalk.patch Content-Transfer-Encoding: quoted-printable From=2010e8481edead0406e1d92f4c9e9f6436bd0ea639 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Thu, 7 Feb 2013 08:36:19 +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..cba5ac9 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 \ 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) iQIcBAEBAgAGBQJRE2gfAAoJEM+IQzI9IQ38I5QP/1gtRdBYJ6bSWeeCk8UYh0De NTI/stTMQRDSHAZs0/UrYc6VG5I3QP521EZuk7b/X5KLFVz+8euU8c2on2r/T6T/ abYciBb3Z2IHXsm17DrS+rJNt+3BT35UbY35OfkQtSjTbR3M8lsv/D3ZWNWNcywZ KFhZcZhAdClkOhi+uUViOcD25OY1DXKbDIGIFCpC0PEPtOR4q/laefMMToJ/6rbJ t2a4Q6r/WBuQyM0XTQR7tl1O3zIzQ+b0YEqW/JiLJNohuASxYgJvTn8zXNonzRSb +SJgIutLcJ0dvb2frg8sA4EQAJzcxWWGaRHsMrFGBchksprb9i1Ljca/FRxm7D0P mJki/ErxdUUIalOMSnp/OqR12IcKir8tkeGTXJD9n1oM/sVIBBNTymAjNEYEeNWI iFhwvUOXqpeJm4Wp03ThGGLYTjAXchUyLuWmhFuTqJ8UPcF5GSJEMIh8aduWYWb7 zkb/M96krTJm9RZ/z06FEoKE9QOa5f9pPu+mAG2Tt4fVw6UgoqE0MTgQnuMQue2z LOFM6L7rrG+heLyq1S8J27bXb02l/zb2Ekc1LKz3dbBlph4RjUQMS/1xZ90Ersnj Ar9kV+2uYXKcGef57CR2QRm3K0zsmlHgeuh73UNiyVu1D1RXWX+1MXKQTEJVbPiX weq9dEdZnXokxysdBCfU =pmoh -----END PGP SIGNATURE----- --==-=-=--