GNU logs - #36033, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#36033] Add Smalltalk Pharo VM
Resent-From: Brian Woodcox <bw@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 31 May 2019 19:58:01 +0000
Resent-Message-ID: <handler.36033.B.15593326797509 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 36033
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 36033 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15593326797509
          (code B ref -1); Fri, 31 May 2019 19:58:01 +0000
Received: (at submit) by debbugs.gnu.org; 31 May 2019 19:57:59 +0000
Received: from localhost ([127.0.0.1]:36319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hWnf5-0001x2-Cu
	for submit <at> debbugs.gnu.org; Fri, 31 May 2019 15:57:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34783)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bw@HIDDEN>) id 1hWnf3-0001wk-5T
 for submit <at> debbugs.gnu.org; Fri, 31 May 2019 15:57:57 -0400
Received: from lists.gnu.org ([209.51.188.17]:48183)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bw@HIDDEN>) id 1hWnex-0005eJ-UV
 for submit <at> debbugs.gnu.org; Fri, 31 May 2019 15:57:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49163)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bw@HIDDEN>) id 1hWnew-0004hD-RU
 for guix-patches@HIDDEN; Fri, 31 May 2019 15:57:51 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bw@HIDDEN>) id 1hWnev-0005by-Os
 for guix-patches@HIDDEN; Fri, 31 May 2019 15:57:50 -0400
Received: from mail.inskydata.com ([184.68.229.6]:40036
 helo=server.inskydata.com) by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bw@HIDDEN>) id 1hWnev-0005Zq-Bc
 for guix-patches@HIDDEN; Fri, 31 May 2019 15:57:49 -0400
Received: from [192.168.19.76] (unknown [192.168.19.76])
 by server.inskydata.com (Postfix) with ESMTPSA id 85E1B49FAF23
 for <guix-patches@HIDDEN>; Fri, 31 May 2019 13:46:56 -0600 (MDT)
From: Brian Woodcox <bw@HIDDEN>
Content-Type: multipart/mixed;
 boundary="Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E"
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Message-Id: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
Date: Fri, 31 May 2019 13:46:50 -0600
X-Mailer: Apple Mail (2.3445.6.18)
X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x
X-Received-From: 184.68.229.6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


--Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hello,

I have added the Pharo Smalltalk VM package with this patch.

After installing this package, a user can launch an image by executing =
pharos-vm in the directory that contains the pharos-vm.

To keep things consistent with the current Pharo release, I decided to =
use the sdl2@HIDDEN and libgit2@HIDDEN  If someone feels I should use =
the latest releases of these packages, I can submit a new patch.

Because of the way Pharo constructs the version and commit date for use =
internally in the Pharo VM, it is necessary to add this information to =
the package i.e. commit-info.

This is my first package, so go easy on me. :)

Cheers!


--Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E
Content-Disposition: attachment;
	filename=0001-Add-pharo-vm-package.patch
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="0001-Add-pharo-vm-package.patch"
Content-Transfer-Encoding: quoted-printable

=46rom=2049683e04e51cd904571008fa7979a3f58ae0134c=20Mon=20Sep=2017=20=
00:00:00=202001=0AFrom:=20"Brian=20C.=20Woodcox"=20<bw@HIDDEN>=0A=
Date:=20Fri,=2031=20May=202019=2013:14:54=20-0600=0ASubject:=20[PATCH]=20=
Add=20pharo-vm=20package=0A=0A---=0A=20gnu/packages/smalltalk.scm=20|=20=
206=20+++++++++++++++++++++++++++++++++++++=0A=201=20file=20changed,=20=
206=20insertions(+)=0A=0Adiff=20--git=20a/gnu/packages/smalltalk.scm=20=
b/gnu/packages/smalltalk.scm=0Aindex=209b36d83a80..f46cdd229e=20100644=0A=
---=20a/gnu/packages/smalltalk.scm=0A+++=20b/gnu/packages/smalltalk.scm=0A=
@@=20-4,6=20+4,7=20@@=0A=20;;;=20Copyright=20=C2=A9=202016=20Nicolas=20=
Goaziou=20<mail@HIDDEN>=0A=20;;;=20Copyright=20=C2=A9=202016=20=
Ludovic=20Court=C3=A8s=20<ludo@HIDDEN>=0A=20;;;=20Copyright=20=C2=A9=20=
2018=20Tobias=20Geerinckx-Rice=20<me@HIDDEN>=0A+;;;=20Copyright=20=C2=A9=
=202019=20Brian=20Woodcox=20<bw@HIDDEN>=0A=20;;;=0A=20;;;=20This=20=
file=20is=20part=20of=20GNU=20Guix.=0A=20;;;=0A@@=20-26,18=20+27,27=20@@=0A=
=20=20=20#:use-module=20(guix=20download)=0A=20=20=20#:use-module=20=
(guix=20build-system=20cmake)=0A=20=20=20#:use-module=20(guix=20=
build-system=20gnu)=0A+=20=20#:use-module=20(guix=20git-download)=0A+=20=20=
#:use-module=20(guix=20utils)=0A=20=20=20#:use-module=20(gnu=20packages=20=
audio)=0A=20=20=20#:use-module=20(gnu=20packages=20autotools)=0A=20=20=20=
#:use-module=20(gnu=20packages=20base)=0A+=20=20#:use-module=20(gnu=20=
packages=20curl)=0A=20=20=20#:use-module=20(gnu=20packages=20=
compression)=0A=20=20=20#:use-module=20(gnu=20packages=20fontutils)=0A=20=
=20=20#:use-module=20(gnu=20packages=20gl)=0A=20=20=20#:use-module=20=
(gnu=20packages=20glib)=0A+=20=20#:use-module=20(gnu=20packages=20gtk)=0A=
=20=20=20#:use-module=20(gnu=20packages=20libffi)=0A=20=20=20=
#:use-module=20(gnu=20packages=20libsigsegv)=0A=20=20=20#:use-module=20=
(gnu=20packages=20linux)=0A=20=20=20#:use-module=20(gnu=20packages=20=
pkg-config)=0A=20=20=20#:use-module=20(gnu=20packages=20pulseaudio)=0A+=20=
=20#:use-module=20(gnu=20packages=20python)=0A+=20=20#:use-module=20(gnu=20=
packages=20sdl)=0A+=20=20#:use-module=20(gnu=20packages=20ssh)=0A+=20=20=
#:use-module=20(gnu=20packages=20tls)=0A+=20=20#:use-module=20(gnu=20=
packages=20version-control)=0A=20=20=20#:use-module=20(gnu=20packages=20=
xorg))=0A=20=0A=20(define-public=20smalltalk=0A@@=20-151,3=20+161,199=20=
@@=20also=20includes=20a=20customisable=20framework=20for=20creating=20=
dynamic=20HTTP=20servers=20and=0A=20interactively=20extensible=20Web=20=
sites.")=0A=20=20=20=20=20(home-page=20"http://www.squeakvm.org")=0A=20=20=
=20=20=20(license=20license:x11)))=0A+=0A+(define=20sdl2-for-pharo-vm=0A=
+=20=20(package=0A+=20=20=20(inherit=20sdl2)=0A+=20=20=20(version=20=
"2.0.7")=0A+=20=20=20(source=20(origin=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20(method=20url-fetch)=0A+=20=20=20=20=20=20=20=20=20=20=20=20(uri=20=
(string-append=20"http://www.libsdl.org/release/SDL2-"=20version=20=
".tar.gz"))=0A+=20=20=20=20=20=20=20=20=20=20=20(sha256=0A+=20=20=20=20=20=
=20=20=20=20=20=20=20(base32=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
"0pjdpxla5kh1w1b0shxrx97a116vyy31njxi0jhyvqhk8d6cfdgf"))))))=0A+=0A=
+(define=20libgit2-for-pharo-vm=0A+=20=20(package=0A+=20=20=20(name=20=
"libgit2")=0A+=20=20=20(version=20"0.25.1")=0A+=20=20=20(source=20=
(origin=0A+=20=20=20=20=20=20=20=20=20=20=20=20(method=20url-fetch)=0A+=20=
=20=20=20=20=20=20=20=20=20=20=20(uri=20(string-append=20=
"https://github.com/libgit2/libgit2/"=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"archive/v"=20version=20".tar.gz"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=
(file-name=20(string-append=20name=20"-"=20version=20".tar.gz"))=0A+=20=20=
=20=20=20=20=20=20=20=20=20=20(sha256=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20(base32=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"0ywcxw1mwd56c8qc14hbx31bf198gxck3nja3laxyglv7l57qp26"))))=0A+=20=20=20=
(build-system=20cmake-build-system)=0A+=20=20=20(arguments=0A+=20=20=20=20=
`(#:phases=0A+=20=20=20=20=20=20(modify-phases=20%standard-phases=0A+=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(add-after=20=
'unpack=20'fix-hardcoded-paths=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(lambda=20_=0A+=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20(substitute*=20"tests/repo/init.c"=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("#!/bin/sh")=20=
(string-append=20"#!"=20(which=20"sh"))))=0A+=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(substitute*=20"tests/clar/fs.h"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20(("/bin/cp")=20(which=20"cp"))=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("/bin/rm")=20=
(which=20"rm")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#t))=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20Run=20checks=20more=20=
verbosely.=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20(replace=20'check=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20(lambda=20_=20(zero?=20(system*=20=
"./libgit2_clar"=20"-v"=20"-Q")))))))=0A+=20=20=20=20=20=20=20=20=20=20=20=
(inputs=0A+=20=20=20=20=20=20=20=20=20=20=20=20`(("libssh2"=20,libssh2)=0A=
+=20=20=20=20=20=20=20=20=20=20=20=20=20=20("libcurl"=20,curl)=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20("python"=20,python)=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20("openssl"=20,openssl)))=0A+=20=20=20=20=20=20=20=
=20=20=20=20(native-inputs=0A+=20=20=20=20=20=20=20=20=20=20=20=20=
`(("pkg-config"=20,pkg-config)))=0A+=20=20=20=20=20=20=20=20=20=20=20=
(home-page=20"http://libgit2.github.com/")=0A+=20=20=20=20=20=20=20=20=20=
=20=20(synopsis=20"Library=20providing=20Git=20core=20methods")=0A+=20=20=
=20=20=20=20=20=20=20=20=20(description=0A+=20=20=20=20=20=20=20=20=20=20=
=20=20"Libgit2=20is=20a=20portable,=20pure=20C=20implementation=20of=20=
the=20Git=20core=20methods=0A+provided=20as=20a=20re-entrant=20linkable=20=
library=20with=20a=20solid=20API,=20allowing=20you=20to=0A+write=20=
native=20speed=20custom=20Git=20applications=20in=20any=20language=20=
with=20bindings.")=0A+=20=20=20=20=20=20=20=20=20=20=20(license=20=
license:gpl2)))=0A+=0A+(define=20%commit=20=
"5a38b3483dc5c82c7ecc85a590fdf1b095377a1f")=0A+=0A+(define=20=
%pharo-vm-version=20"5.0")=0A+=0A+(define=20%url=20=
"https://github.com/OpenSmalltalk/opensmalltalk-vm.git")=0A+=0A+;;=20Git=20=
commit=20info=20i.e.=20version=20and=20commit=20date=0A+;;=20When=20a=20=
new=20version=20of=20the=20pharo=20vm=20is=20released,=20the=20values=20=
are=20contained=20in=0A+;;=20in=20the=20payload=20of=20the=20git=20=
commit.=0A+=0A+(define=20commit-info=20'("201901172323"=20.=20"Fri=20Jan=20=
18=2000:23:50=202019=20+0100"))=0A+=0A+(define=20%version=20=
(string-append=20%pharo-vm-version=20"-"=20(car=20commit-info)))=0A+=0A=
+(define-public=20pharo-vm=0A+=20=20(package=0A+=20=20=20=20(name=20=
"pharo-vm")=0A+=20=20=20=20(version=20%version)=0A+=20=20=20=20(source=20=
(origin=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(method=20=
git-fetch)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(uri=20=
(git-reference=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20(url=20%url)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20(commit=20%commit)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(file-name=20(string-append=20name=20"-"=20%commit=20"-checkout"))=0A+=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20(sha256=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20(base32=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20"0idmviam289aqd8ldh8yv38av1b20ifas4n0jjx5vp3hrphqaav5"))))=0A+=20=20=
=20=20(build-system=20gnu-build-system)=0A+=20=20=20=20(native-inputs=20=
`(("python"=20,python)))=0A+=20=20=20=20(inputs=0A+=20=20=20=20=20=
`(("mesa"=20,mesa)=0A+=20=20=20=20=20=20=20("cairo"=20,cairo)=0A+=20=20=20=
=20=20=20=20("freetype"=20,freetype)=0A+=20=20=20=20=20=20=20("git"=20=
,git)=0A+=20=20=20=20=20=20=20("libcurl"=20,curl)=0A+=20=20=20=20=20=20=20=
("guile-curl",=20guile-curl)=0A+=20=20=20=20=20=20=20("openssl"=20=
,openssl)=0A+=20=20=20=20=20=20=20("libssh2"=20,libssh2)=0A+=20=20=20=20=20=
=20=20("libgit2"=20,libgit2-for-pharo-vm)=0A+=20=20=20=20=20=20=20=
("sdl2"=20,sdl2-for-pharo-vm)))=0A+=20=20=20=20(arguments=0A+=20=20=20=20=
=20`(#:tests?=20#f=20;;=20no=20tests=20available=0A+=20=20=20=20=20=20=20=
#:configure-flags=20(list=20"--without-npsqueak"=0A+=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(string-append=20"""--with-vmversion=3D"""=20,%pharo-vm-version)=0A+=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20"--with-src=3Dspur64src"=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"TARGET_ARCH=3D-m64"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20"CFLAGS=3D-g=20-O2=20-DNDEBUG=20=
-DDEBUGVM=3D0=20-DPharoVM=20-msse2=20-DCOGMTVM=3D0"=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(string-append=20"LDFLAGS=3D-Wl,-rpath=3D"=0A+=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20(assoc-ref=20%outputs=20"out")=0A+=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20"/lib"))=0A+=20=
=20=20=20=20=20=20#:make-flags=20(list=20(string-append=20"prefix=3D"=20=
(assoc-ref=20%outputs=20"out")))=0A+=20=20=20=20=20=20=20#:phases=0A+=20=20=
=20=20=20=20=20(modify-phases=20%standard-phases=0A+=20=20=20=20=20=20=20=
=20=20(add-after=20'patch-source-shebangs=20'chdir=0A+=20=20=20=20=20=20=20=
=20=20=20=20(lambda=20_=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(chdir=20=
"build.linux64x64/pharo.cog.spur/build")=20#t))=0A+=20=20=20=20=20=20=20=20=
=20(add-before=20'configure=20'pre-configure=0A+=20=20=20=20=20=20=20=20=20=
=20=20(lambda=20_=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(define=20=
pharo-version=20(string-append=20"$Rev:=20"=20,(car=20commit-info)=20"=20=
$"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(define=20pharo-date=20=
(string-append=20"$Date:=20"=20,(cdr=20commit-info)=20"=20$"))=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20(define=20pharo-url=20(string-append=20=
"$URL:=20"=20,%url=20"=20$"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
(define=20pharo-hash=20(string-append=20"$CommitHash:=20"=20(string-take=20=
,%commit=208)=20=20"=20$"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
(copy-file=20"../plugins.int"=20"plugins.int")=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20(copy-file=20"../plugins.ext"=20"plugins.ext")=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20;;=20Fix=20version=20info=0A+=20=20=20=20=20=
=20=20=20=20=20=20=20=20(substitute*=20=
'("../../../platforms/Cross/plugins/sqPluginsSCCSVersion.h"=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"../../../platforms/Cross/vm/sqSCCSVersion.h")=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20(("\\$Rev\\$")=20pharo-version)=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20(("\\$Date\\$")=20pharo-date)=0A+=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20(("\\$URL\\$")=20pharo-url)=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20(("\\$CommitHash\\$")=20pharo-hash))=0A=
+=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20Fix=20hard=20coded=20paths=0A=
+=20=20=20=20=20=20=20=20=20=20=20=20=20(substitute*=20=
'("../../../platforms/unix/config/squeak.sh.in"=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"../../../platforms/unix/config/bin.squeak.sh.in")=0A+=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20(("/usr/bin/dirname")=20(which=20"dirname"))=0A+=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("/usr/bin/ldd")=20(which=20=
"ldd"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("/bin/fgrep")=20=
(which=20"fgrep")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
(substitute*=20'("../../../platforms/unix/config/configure")=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=
(("SHELL=3D\\$\\{CONFIG_SHELL-/bin/sh\\}")=0A+=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20(string-append=20"SHELL=3D"=20(which=20"sh"))))=0A+=20=
=20=20=20=20=20=20=20=20=20=20=20=20#t))=0A+=20=20=20=20=20=20=20=20=20=
(replace=20'configure=0A+=20=20=20=20=20=20=20=20=20=20=20(lambda*=20=
(#:key=20outputs=20(configure-flags=20'())=20#:allow-other-keys)=0A+=20=20=
=20=20=20=20=20=20=20=20=20=20=20(substitute*=20=
'("../../../platforms/unix/plugins/FT2Plugin/Makefile.in")=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20(("-I/usr/include/freetype2")=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20(string-append=20"-I"=20=
(assoc-ref=20%build-inputs=20"freetype")=0A+=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
"/include/freetype2")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(apply=20=
invoke=20"../../../platforms/unix/config/configure"=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20(string-append=20"--prefix=3D"=20=
(assoc-ref=20outputs=20"out"))=20configure-flags)=0A+=20=20=20=20=20=20=20=
=20=20=20=20=20=20#t))=0A+=20=20=20=20=20=20=20=20=20(add-after=20=
'install=20'post-install=0A+=20=20=20=20=20=20=20=20=20=20=20(lambda*=20=
(#:key=20outputs=20#:allow-other-keys)=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20;;=20Currently=20have=20to=20hard=20code=20version=0A+=20=20=20=20=20=
=20=20=20=20=20=20=20=20(define=20pharo-version=20,%version)=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20(let=20((out=20(assoc-ref=20outputs=20=
"out")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20rename=20=
and=20replace=20in=20file=20with=20pharo=0A+=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20(let=20((src-file=20(string-append=20out=20"/squeak"))=0A=
+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(dst-file=20(string-append=20out=20"/pharo")))=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20(unless=20(file-exists?=20dst-file)=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(rename-file=20src-file=20=
dst-file)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(substitute*=20dst-file=20(("squeak")=20"pharo"))))=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20;;=20rename=20and=20replace=20in=20file=20=
with=20pharo=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(let=20=
((src-file=20(string-append=20out=20"/bin/squeak"))=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(dst-file=20(string-append=20=
out=20"/bin/pharo")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20(unless=20(file-exists?=20dst-file)=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20(rename-file=20src-file=20dst-file)=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(substitute*=20dst-file=20=
(("squeak")=20"pharo"))))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
;;=20rename=20executable=20file=20to=20pharo=0A+=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20(let=20((src-file=20(string-append=20out=20=
"/lib/squeak/"=20pharo-version=20"/squeak"))=0A+=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20(dst-file=20(string-append=20out=20=
"/lib/squeak/"=20pharo-version=20"/pharo")))=0A+=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20(unless=20(file-exists?=20dst-file)=0A+=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(rename-file=20src-file=20=
dst-file)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20rename=20=
folder=20to=20pharo=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(let=20=
((src-folder=20(string-append=20out=20"/lib/squeak"))=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(dst-folder=20=
(string-append=20out=20"/lib/pharo")))=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20(unless=20(file-exists?=20dst-folder)=0A+=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20(copy-recursively=20=
(string-append=20src-folder=20"/"=20pharo-version)=0A+=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20(string-append=20dst-folder=20"/"=20pharo-version)=0A+=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20#:keep-mtime?=20#t)=0A+=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20(delete-file-recursively=20=
src-folder)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20=
remove=20folders=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(let=20=
((src-folder=20(string-append=20out=20"/doc")))=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20(if=20(file-exists?=20src-folder)=0A+=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
(delete-file-recursively=20src-folder)))=0A+=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20(let=20((src-folder=20(string-append=20out=20"/share")))=0A=
+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(file-exists?=20=
src-folder)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20(delete-file-recursively=20src-folder)))=0A+=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20;;=20add=20symlinks=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20=
"libgit2")=20"/lib/libgit2.so")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20=
pharo-version=20"/libgit2.so"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20=
"libssh2")=20"/lib/libssh2.so")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20=
pharo-version=20"/libssh2.so"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20=
"openssl")=20"/lib/libssl.so")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20=
pharo-version=20"/libssl.so"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20=
"freetype")"/lib/libfreetype.so.6")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20=
pharo-version=20"/libfreetype.so.6")))=0A+=20=20=20=20=20=20=20=20=20=20=20=
=20=20#t)))))=0A+=20=20=20=20(home-page=20=
"https://github.com/OpenSmalltalk/opensmalltalk-vm")=0A+=20=20=20=20=
(synopsis=20"Pharo=20Smalltalk=20virtual=20machine")=0A+=20=20=20=20=
(description=0A+=20=20=20=20=20"The=20virtual=20machine=20below=20the=20=
Pharo=20Smalltalk=20dialect")=0A+=20=20=20=20(license=20license:expat)))=0A=
--=20=0A2.21.0=0A=0A=

--Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Brian Woodcox <bw@HIDDEN>
Subject: bug#36033: Acknowledgement (Add Smalltalk Pharo VM)
Message-ID: <handler.36033.B.15593326797509.ack <at> debbugs.gnu.org>
References: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
X-Gnu-PR-Message: ack 36033
X-Gnu-PR-Package: guix-patches
Reply-To: 36033 <at> debbugs.gnu.org
Date: Fri, 31 May 2019 19:58:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 36033 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
36033: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36033
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#36033] Add Smalltalk Pharo VM
Resent-From: Brian Woodcox <bw@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 31 May 2019 23:32:02 +0000
Resent-Message-ID: <handler.36033.B.155934548416247 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36033
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 36033 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.155934548416247
          (code B ref -1); Fri, 31 May 2019 23:32:02 +0000
Received: (at submit) by debbugs.gnu.org; 31 May 2019 23:31:24 +0000
Received: from localhost ([127.0.0.1]:36599 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hWqzb-0004Dw-6A
	for submit <at> debbugs.gnu.org; Fri, 31 May 2019 19:31:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38307)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bw@HIDDEN>) id 1hWqzZ-0004Dg-O0
 for submit <at> debbugs.gnu.org; Fri, 31 May 2019 19:31:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:52758)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bw@HIDDEN>) id 1hWqzU-0003bH-Jc
 for submit <at> debbugs.gnu.org; Fri, 31 May 2019 19:31:16 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52684)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bw@HIDDEN>) id 1hWqzT-0005Bw-Gs
 for guix-patches@HIDDEN; Fri, 31 May 2019 19:31:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bw@HIDDEN>) id 1hWqzS-0003ZM-86
 for guix-patches@HIDDEN; Fri, 31 May 2019 19:31:15 -0400
Received: from mail.inskydata.com ([184.68.229.6]:28425
 helo=server.inskydata.com) by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bw@HIDDEN>) id 1hWqzS-0003Qd-2b
 for guix-patches@HIDDEN; Fri, 31 May 2019 19:31:14 -0400
Received: from [192.168.19.76] (unknown [192.168.19.76])
 by server.inskydata.com (Postfix) with ESMTPSA id 8EEC649FC821
 for <guix-patches@HIDDEN>; Fri, 31 May 2019 17:30:37 -0600 (MDT)
From: Brian Woodcox <bw@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Date: Fri, 31 May 2019 17:30:35 -0600
References: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
In-Reply-To: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
Message-Id: <1344126D-849F-447B-B8D5-8DD66E840381@HIDDEN>
X-Mailer: Apple Mail (2.3445.6.18)
X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x
X-Received-From: 184.68.229.6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

I notice that there were a couple of errors when this was posted.  The =
second one was out of my hands (caused by the mailing system).

> On May 31, 2019, at 1:46 PM, Brian Woodcox <bw@HIDDEN> wrote:
>=20
> Hello,
>=20
> I have added the Pharo Smalltalk VM package with this patch.
>=20
> After installing this package, a user can launch an image by executing =
pharos-vm in the directory that contains the pharos-vm.

The above line should read as:

After installing this package, a user can launch an image by executing =
pharo in the directory that contains the pharo image.

>=20
> To keep things consistent with the current Pharo release, I decided to =
use the sdl2@HIDDEN and libgit2@HIDDEN  If someone feels I should use =
the latest releases of these packages, I can submit a new patch.

The above line should read as:

To keep things consistent with the current Pharo release, I decided to =
use the sdl2 at 2.0.7 and libgit2 at 0.25.1.  If someone feels I should =
use the latest releases of these packages, I can submit a new patch.
>=20
> Because of the way Pharo constructs the version and commit date for =
use internally in the Pharo VM, it is necessary to add this information =
to the package i.e. commit-info.
>=20
> This is my first package, so go easy on me. :)
>=20
> Cheers!
>=20
> <0001-Add-pharo-vm-package.patch>

My apologies.

Brian.=




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#36033] Add Smalltalk Pharo VM
References: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
In-Reply-To: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
Resent-From: Brian Woodcox <bw@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 31 May 2019 23:34:01 +0000
Resent-Message-ID: <handler.36033.B36033.155934561316539 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36033
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 36033 <at> debbugs.gnu.org
Received: via spool by 36033-submit <at> debbugs.gnu.org id=B36033.155934561316539
          (code B ref 36033); Fri, 31 May 2019 23:34:01 +0000
Received: (at 36033) by debbugs.gnu.org; 31 May 2019 23:33:33 +0000
Received: from localhost ([127.0.0.1]:36611 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hWr1h-0004Ig-3J
	for submit <at> debbugs.gnu.org; Fri, 31 May 2019 19:33:33 -0400
Received: from mail.inskydata.com ([184.68.229.6]:58595
 helo=server.inskydata.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bw@HIDDEN>) id 1hWr1e-0004IN-Cl
 for 36033 <at> debbugs.gnu.org; Fri, 31 May 2019 19:33:31 -0400
Received: from [192.168.19.76] (unknown [192.168.19.76])
 by server.inskydata.com (Postfix) with ESMTPSA id 9971E49FC886
 for <36033 <at> debbugs.gnu.org>; Fri, 31 May 2019 17:33:01 -0600 (MDT)
From: Brian Woodcox <bw@HIDDEN>
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_D754E84B-78A4-4A62-A9BD-AFFE1E08F092"
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Message-Id: <5D2BCFF3-68DA-4497-A3D6-2B2048BCDC1D@HIDDEN>
Date: Fri, 31 May 2019 17:33:00 -0600
X-Mailer: Apple Mail (2.3445.6.18)
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--Apple-Mail=_D754E84B-78A4-4A62-A9BD-AFFE1E08F092
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I notice that there were a couple of errors when this was posted.  The =
second one was out of my hands (caused by the mailing system).

> On May 31, 2019, at 1:46 PM, Brian Woodcox <bw@HIDDEN =
<mailto:bw@HIDDEN>> wrote:
>=20
> Hello,
>=20
> I have added the Pharo Smalltalk VM package with this patch.
>=20
> After installing this package, a user can launch an image by executing =
pharos-vm in the directory that contains the pharos-vm.

The above line should read as:

After installing this package, a user can launch an image by executing =
pharo in the directory that contains the pharo image.

>=20
> To keep things consistent with the current Pharo release, I decided to =
use the sdl2@HIDDEN and libgit2@HIDDEN  If someone feels I should use =
the latest releases of these packages, I can submit a new patch.

The above line should read as:

To keep things consistent with the current Pharo release, I decided to =
use the sdl2 at 2.0.7 and libgit2 at 0.25.1.  If someone feels I should =
use the latest releases of these packages, I can submit a new patch.
>=20
> Because of the way Pharo constructs the version and commit date for =
use internally in the Pharo VM, it is necessary to add this information =
to the package i.e. commit-info.
>=20
> This is my first package, so go easy on me. :)
>=20
> Cheers!
>=20
> <0001-Add-pharo-vm-package.patch>

My apologies.

Brian.=

--Apple-Mail=_D754E84B-78A4-4A62-A9BD-AFFE1E08F092
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;" class=3D"">I notice that there =
were a couple of errors when this was posted. &nbsp;The second one was =
out of my hands (caused by the mailing system).<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On May 31, 2019, at 1:46 =
PM, Brian Woodcox &lt;<a href=3D"mailto:bw@HIDDEN" =
class=3D"">bw@HIDDEN</a>&gt; wrote:<br class=3D""><br =
class=3D"">Hello,<br class=3D""><br class=3D"">I have added the Pharo =
Smalltalk VM package with this patch.<br class=3D""><br class=3D"">After =
installing this package, a user can launch an image by executing =
pharos-vm in the directory that contains the pharos-vm.<br =
class=3D""></blockquote><br class=3D"">The above line should read as:<br =
class=3D""><br class=3D"">After installing this package, a user can =
launch an image by executing pharo in the directory that contains the =
pharo image.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">To keep things consistent with the current =
Pharo release, I decided to use the sdl2@HIDDEN and libgit2@HIDDEN =
&nbsp;If someone feels I should use the latest releases of these =
packages, I can submit a new patch.<br class=3D""></blockquote><br =
class=3D"">The above line should read as:<br class=3D""><br class=3D"">To =
keep things consistent with the current Pharo release, I decided to use =
the sdl2 at 2.0.7 and libgit2 at 0.25.1. &nbsp;If someone feels I should =
use the latest releases of these packages, I can submit a new patch.<br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">Because =
of the way Pharo constructs the version and commit date for use =
internally in the Pharo VM, it is necessary to add this information to =
the package i.e. commit-info.<br class=3D""><br class=3D"">This is my =
first package, so go easy on me. :)<br class=3D""><br =
class=3D"">Cheers!<br class=3D""><br =
class=3D"">&lt;0001-Add-pharo-vm-package.patch&gt;<br =
class=3D""></blockquote><br class=3D"">My apologies.<br class=3D""><br =
class=3D"">Brian.</body></html>=

--Apple-Mail=_D754E84B-78A4-4A62-A9BD-AFFE1E08F092--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#36033] Add Smalltalk Pharo VM
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 01 Jun 2019 13:24:02 +0000
Resent-Message-ID: <handler.36033.B36033.155939539531566 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36033
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: Brian Woodcox <bw@HIDDEN>
Cc: 36033 <at> debbugs.gnu.org
Received: via spool by 36033-submit <at> debbugs.gnu.org id=B36033.155939539531566
          (code B ref 36033); Sat, 01 Jun 2019 13:24:02 +0000
Received: (at 36033) by debbugs.gnu.org; 1 Jun 2019 13:23:15 +0000
Received: from localhost ([127.0.0.1]:37523 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hX3ya-0008D1-OL
	for submit <at> debbugs.gnu.org; Sat, 01 Jun 2019 09:23:14 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56265)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hX3yY-0008Co-Iz
 for 36033 <at> debbugs.gnu.org; Sat, 01 Jun 2019 09:23:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:38455)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hX3yT-0002kS-1P; Sat, 01 Jun 2019 09:23:05 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54896 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hX3yS-0002nb-Hx; Sat, 01 Jun 2019 09:23:04 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
Date: Sat, 01 Jun 2019 15:23:02 +0200
In-Reply-To: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN> (Brian
 Woodcox's message of "Fri, 31 May 2019 13:46:50 -0600")
Message-ID: <877ea5fnih.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Thanks for working on this, and congrats on your first package, which is
not an easy one!  :-)

Some preliminary comments:

Brian Woodcox <bw@HIDDEN> skribis:

> From 49683e04e51cd904571008fa7979a3f58ae0134c Mon Sep 17 00:00:00 2001
> From: "Brian C. Woodcox" <bw@HIDDEN>
> Date: Fri, 31 May 2019 13:14:54 -0600
> Subject: [PATCH] Add pharo-vm package

[...]

> +(define %url "https://github.com/OpenSmalltalk/opensmalltalk-vm.git")

My understanding (but I=E2=80=99m no expert) is that this is a VM that can =
run
Pharo bytecode, but it=E2=80=99s not =E2=80=9Cthe=E2=80=9D Pharo VM.  Is it=
 correct?

> +(define-public pharo-vm
> +  (package
> +    (name "pharo-vm")

Consequently, it looks like this should be called =E2=80=98opensmalltalk-vm=
=E2=80=99,
no?

> +    (arguments
> +     `(#:tests? #f ;; no tests available

Or maybe there=E2=80=99s a special command to run them?

> +               ;; add symlinks
> +               (symlink (string-append (assoc-ref %build-inputs "libgit2=
") "/lib/libgit2.so")
> +                        (string-append out "/lib/pharo/" pharo-version "=
/libgit2.so"))
> +               (symlink (string-append (assoc-ref %build-inputs "libssh2=
") "/lib/libssh2.so")
> +                        (string-append out "/lib/pharo/" pharo-version "=
/libssh2.so"))
> +               (symlink (string-append (assoc-ref %build-inputs "openssl=
") "/lib/libssl.so")
> +                        (string-append out "/lib/pharo/" pharo-version "=
/libssl.so"))
> +               (symlink (string-append (assoc-ref %build-inputs "freetyp=
e")"/lib/libfreetype.so.6")
> +                        (string-append out "/lib/pharo/" pharo-version "=
/libfreetype.so.6")))

Those symlinks look somewhat inelegant to me.  :-)

Could we instead arrange so that the VM searches for those files in
their right place?  Often that involves substituting things like
=E2=80=9Clibfoo.so=E2=80=9D in the code with the corresponding absolute fil=
e name (see
for example how this is done for Racket.)

Last question: does this Git checkout contain binaries, such as
Smalltalk images?  IOW, is this being built entirely from source, or is
it bootstrap from opaque binaries?  (I know that Pharo itself is or used
to be bootstrap from very old Smalltalk images and that work was ongoing
to get rid of them and have a nicer bootstrapping story.)

Thank you,
Ludo=E2=80=99.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#36033] Add Smalltalk Pharo VM
Resent-From: Brian Woodcox <bw@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 01 Jun 2019 15:10:02 +0000
Resent-Message-ID: <handler.36033.B36033.15594017819738 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36033
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 36033 <at> debbugs.gnu.org
Received: via spool by 36033-submit <at> debbugs.gnu.org id=B36033.15594017819738
          (code B ref 36033); Sat, 01 Jun 2019 15:10:02 +0000
Received: (at 36033) by debbugs.gnu.org; 1 Jun 2019 15:09:41 +0000
Received: from localhost ([127.0.0.1]:38441 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hX5dZ-0002Wt-2p
	for submit <at> debbugs.gnu.org; Sat, 01 Jun 2019 11:09:41 -0400
Received: from mail.inskydata.com ([184.68.229.6]:5718
 helo=server.inskydata.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bw@HIDDEN>) id 1hX5dW-0002Wc-NJ
 for 36033 <at> debbugs.gnu.org; Sat, 01 Jun 2019 11:09:35 -0400
Received: from [192.168.34.188] (unknown [192.168.34.188])
 by server.inskydata.com (Postfix) with ESMTPSA id F3F884A02983;
 Sat,  1 Jun 2019 09:09:04 -0600 (MDT)
Content-Type: multipart/alternative;
 boundary=Apple-Mail-9359EA69-7131-49E9-8557-C6482BD7ACAD
Mime-Version: 1.0 (1.0)
From: Brian Woodcox <bw@HIDDEN>
X-Mailer: iPad Mail (15F79)
In-Reply-To: <877ea5fnih.fsf@HIDDEN>
Date: Sat, 1 Jun 2019 09:08:27 -0600
Content-Transfer-Encoding: 7bit
Message-Id: <FE90B5E5-01E3-47C4-940C-774A23F74A19@HIDDEN>
References: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
 <877ea5fnih.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--Apple-Mail-9359EA69-7131-49E9-8557-C6482BD7ACAD
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thanks Ludo,

My comments are below.

> On Jun 1, 2019, at 7:23 AM, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>=20
> Hello,
>=20
> Thanks for working on this, and congrats on your first package, which is
> not an easy one!  :-)
>=20
> Some preliminary comments:
>=20
> Brian Woodcox <bw@HIDDEN> skribis:
>=20
>> =46rom 49683e04e51cd904571008fa7979a3f58ae0134c Mon Sep 17 00:00:00 2001
>> From: "Brian C. Woodcox" <bw@HIDDEN>
>> Date: Fri, 31 May 2019 13:14:54 -0600
>> Subject: [PATCH] Add pharo-vm package
>=20
> [...]
>=20
>> +(define %url "https://github.com/OpenSmalltalk/opensmalltalk-vm.git")
>=20
> My understanding (but I=E2=80=99m no expert) is that this is a VM that can=
 run
> Pharo bytecode, but it=E2=80=99s not =E2=80=9Cthe=E2=80=9D Pharo VM.  Is i=
t correct?

More info =E2=80=94> https://ci.inria.fr/pharo-contribution/job/UpdatedPharo=
ByExample/lastSuccessfulBuild/artifact/book-result/PharoTour/PharoTour.html
=E2=80=9C1. The virtual machine (VM) is the only component that is different=
 for each operating system. The VM is the execution engine (similar to a JVM=
). It takes Pharo bytcode that is generated each time user compiles a piece o=
f code, converts it to machine code and executes it. Pharo comes with the Co=
g VM a very fast JITing VM. The VM executable is named:=E2=80=9D

>=20
>> +(define-public pharo-vm
>> +  (package
>> +    (name "pharo-vm")
>=20
> Consequently, it looks like this should be called =E2=80=98opensmalltalk-v=
m=E2=80=99,
> no?
>=20
Not exactly =E2=80=94> https://github.com/pharo-project/pharo-vm

=E2=80=9CDear user, we have move PharoVM development to OpenSmalltalk-VM, pl=
ease go there if you are looking for building a VM.=E2=80=9D

In the OpenSmalltalk-VM repository they have build scripts for different vm=E2=
=80=99s such as squeak, pharo, etc..

So this is to distinguish the one we are packaging.

>> +    (arguments
>> +     `(#:tests? #f ;; no tests available
>=20
> Or maybe there=E2=80=99s a special command to run them?
>=20
>> +               ;; add symlinks
>> +               (symlink (string-append (assoc-ref %build-inputs "libgit2=
") "/lib/libgit2.so")
>> +                        (string-append out "/lib/pharo/" pharo-version "=
/libgit2.so"))
>> +               (symlink (string-append (assoc-ref %build-inputs "libssh2=
") "/lib/libssh2.so")
>> +                        (string-append out "/lib/pharo/" pharo-version "=
/libssh2.so"))
>> +               (symlink (string-append (assoc-ref %build-inputs "openssl=
") "/lib/libssl.so")
>> +                        (string-append out "/lib/pharo/" pharo-version "=
/libssl.so"))
>> +               (symlink (string-append (assoc-ref %build-inputs "freetyp=
e")"/lib/libfreetype.so.6")
>> +                        (string-append out "/lib/pharo/" pharo-version "=
/libfreetype.so.6")))
>=20
> Those symlinks look somewhat inelegant to me.  :-)

Me too, unfortunately, Pharo won=E2=80=99t run without (most of) these.  I d=
idn=E2=80=99t dig deep enough in the code, but if they made some changes, I a=
m pretty sure the symlinks could be done away with.  I found in some cases t=
hat pharo found a couple of libraries in the store during the build process.=


My hope is that other Pharo users might use Pharo in Guix and maybe this iss=
ue can be resolved over time.
>=20
> Could we instead arrange so that the VM searches for those files in
> their right place?  Often that involves substituting things like
> =E2=80=9Clibfoo.so=E2=80=9D in the code with the corresponding absolute fi=
le name (see
> for example how this is done for Racket.)

Possibly, I would have to look into it when I have some time.
>=20
> Last question: does this Git checkout contain binaries, such as
> Smalltalk images?  IOW, is this being built entirely from source, or is
> it bootstrap from opaque binaries?  (I know that Pharo itself is or used
> to be bootstrap from very old Smalltalk images and that work was ongoing
> to get rid of them and have a nicer bootstrapping story.)

Everything in this vm is being built from source.

I skip this file =E2=80=94> https://github.com/OpenSmalltalk/opensmalltalk-v=
m/blob/Cog/build.linux64x64/pharo.cog.spur/build/mvm

And use the packages in Guix instead.

The images (which are separate from this) are definitely are built by bootst=
rapping which will be left to the user at this point.

I think if the developers and users were using Guix, they would enjoy it, as=
 I have a script that will automatically populate the version and date value=
s from any commit.  And it could be installed as a separate package.

P.S. I am very new to Smalltalk as well.  Just started using it a couple of m=
onths ago and thought it would be great if it was on Guix.
>=20
> Thank you,
> Ludo=E2=80=99.

--Apple-Mail-9359EA69-7131-49E9-8557-C6482BD7ACAD
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Thanks Ludo,<div><br></div><div>My comments=
 are below.</div><div><br><div>On Jun 1, 2019, at 7:23 AM, Ludovic Court=C3=A8=
s &lt;<a href=3D"mailto:ludo@HIDDEN">ludo@HIDDEN</a>&gt; wrote:<br><br></d=
iv><blockquote type=3D"cite"><div><span>Hello,</span><br><span></span><br><s=
pan>Thanks for working on this, and congrats on your first package, which is=
</span><br><span>not an easy one! &nbsp;:-)</span><br><span></span><br><span=
>Some preliminary comments:</span><br><span></span><br><span>Brian Woodcox &=
lt;<a href=3D"mailto:bw@HIDDEN">bw@HIDDEN</a>&gt; skribis:</sp=
an><br><span></span><br><blockquote type=3D"cite"><span>=46rom 49683e04e51cd=
904571008fa7979a3f58ae0134c Mon Sep 17 00:00:00 2001</span><br></blockquote>=
<blockquote type=3D"cite"><span>From: "Brian C. Woodcox" &lt;<a href=3D"mail=
to:bw@HIDDEN">bw@HIDDEN</a>&gt;</span><br></blockquote><blockq=
uote type=3D"cite"><span>Date: Fri, 31 May 2019 13:14:54 -0600</span><br></b=
lockquote><blockquote type=3D"cite"><span>Subject: [PATCH] Add pharo-vm pack=
age</span><br></blockquote><span></span><br><span>[...]</span><br><span></sp=
an><br><blockquote type=3D"cite"><span>+(define %url "<a href=3D"https://git=
hub.com/OpenSmalltalk/opensmalltalk-vm.git">https://github.com/OpenSmalltalk=
/opensmalltalk-vm.git</a>")</span><br></blockquote><span></span><br><span>My=
 understanding (but I=E2=80=99m no expert) is that this is a VM that can run=
</span><br><span>Pharo bytecode, but it=E2=80=99s not =E2=80=9Cthe=E2=80=9D P=
haro VM. &nbsp;Is it correct?</span><br></div></blockquote><div><br></div><d=
iv>More info =E2=80=94&gt;&nbsp;<a href=3D"https://ci.inria.fr/pharo-contrib=
ution/job/UpdatedPharoByExample/lastSuccessfulBuild/artifact/book-result/Pha=
roTour/PharoTour.html">https://ci.inria.fr/pharo-contribution/job/UpdatedPha=
roByExample/lastSuccessfulBuild/artifact/book-result/PharoTour/PharoTour.htm=
l</a></div><div><p><span style=3D"background-color: rgba(255, 255, 255, 0);"=
><strong>=E2=80=9C1.</strong>&nbsp;The&nbsp;<strong>virtual machine</strong>=
&nbsp;(VM) is the only component that is different for each operating system=
. The VM is the execution engine (similar to a JVM). It takes Pharo bytcode t=
hat is generated each time user compiles a piece of code, converts it to mac=
hine code and executes it. Pharo comes with the Cog VM a very fast JITing VM=
. The VM executable is named:=E2=80=9D</span></p></div><blockquote type=3D"c=
ite"><div><span></span><br><blockquote type=3D"cite"><span>+(define-public p=
haro-vm</span><br></blockquote><blockquote type=3D"cite"><span>+ &nbsp;(pack=
age</span><br></blockquote><blockquote type=3D"cite"><span>+ &nbsp;&nbsp;&nb=
sp;(name "pharo-vm")</span><br></blockquote><span></span><br><span>Consequen=
tly, it looks like this should be called =E2=80=98opensmalltalk-vm=E2=80=99,=
</span><br><span>no?</span><br><span></span><br></div></blockquote>Not exact=
ly =E2=80=94&gt;&nbsp;<a href=3D"https://github.com/pharo-project/pharo-vm">=
https://github.com/pharo-project/pharo-vm</a></div><div><br></div><div><span=
 style=3D"background-color: rgba(255, 255, 255, 0);">=E2=80=9CDear user, we h=
ave move PharoVM development to&nbsp;<a href=3D"http://github.com/opensmallt=
alk/opensmalltalk-vm" style=3D"box-sizing: border-box; text-decoration: none=
;">OpenSmalltalk-VM</a>, please go there if you are looking for building a V=
M.=E2=80=9D</span></div><div><br></div><div>In the OpenSmalltalk-VM reposito=
ry they have build scripts for different vm=E2=80=99s such as squeak, pharo,=
 etc..</div><div><br></div><div>So this is to distinguish the one we are pac=
kaging.<br><br><blockquote type=3D"cite"><div><blockquote type=3D"cite"><spa=
n>+ &nbsp;&nbsp;&nbsp;(arguments</span><br></blockquote><blockquote type=3D"=
cite"><span>+ &nbsp;&nbsp;&nbsp;&nbsp;`(#:tests? #f ;; no tests available</s=
pan><br></blockquote><span></span><br><span>Or maybe there=E2=80=99s a speci=
al command to run them?</span><br><span></span><br><blockquote type=3D"cite"=
><span>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;;; add symlinks</span><br></blockquote><blockquote type=3D"=
cite"><span>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;(symlink (string-append (assoc-ref %build-inputs "libg=
it2") "/lib/libgit2.so")</span><br></blockquote><blockquote type=3D"cite"><s=
pan>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(string-=
append out "/lib/pharo/" pharo-version "/libgit2.so"))</span><br></blockquot=
e><blockquote type=3D"cite"><span>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(symlink (string-append (assoc-r=
ef %build-inputs "libssh2") "/lib/libssh2.so")</span><br></blockquote><block=
quote type=3D"cite"><span>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;(string-append out "/lib/pharo/" pharo-version "/libssh2.so"))=
</span><br></blockquote><blockquote type=3D"cite"><span>+ &nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(symlink (=
string-append (assoc-ref %build-inputs "openssl") "/lib/libssl.so")</span><b=
r></blockquote><blockquote type=3D"cite"><span>+ &nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(string-append out "/lib/pharo/" pharo-ve=
rsion "/libssl.so"))</span><br></blockquote><blockquote type=3D"cite"><span>=
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;(symlink (string-append (assoc-ref %build-inputs "freetype")"/lib/=
libfreetype.so.6")</span><br></blockquote><blockquote type=3D"cite"><span>+ &=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(string-append o=
ut "/lib/pharo/" pharo-version "/libfreetype.so.6")))</span><br></blockquote=
><span></span><br><span>Those symlinks look somewhat inelegant to me. &nbsp;=
:-)</span><br></div></blockquote><div><br></div>Me too, unfortunately, Pharo=
 won=E2=80=99t run without (most of) these. &nbsp;I didn=E2=80=99t dig deep e=
nough in the code, but if they made some changes, I am pretty sure the symli=
nks could be done away with. &nbsp;I found in some cases that pharo found a c=
ouple of libraries in the store during the build process.</div><div><br></di=
v><div>My hope is that other Pharo users might use Pharo in Guix and maybe t=
his issue can be resolved over time.<br><blockquote type=3D"cite"><div><span=
></span><br><span>Could we instead arrange so that the VM searches for those=
 files in</span><br><span>their right place? &nbsp;Often that involves subst=
ituting things like</span><br><span>=E2=80=9Clibfoo.so=E2=80=9D in the code w=
ith the corresponding absolute file name (see</span><br><span>for example ho=
w this is done for Racket.)</span><br></div></blockquote><div><br></div>Poss=
ibly, I would have to look into it when I have some time.<br><blockquote typ=
e=3D"cite"><div><span></span><br><span>Last question: does this Git checkout=
 contain binaries, such as</span><br><span>Smalltalk images? &nbsp;IOW, is t=
his being built entirely from source, or is</span><br><span>it bootstrap fro=
m opaque binaries? &nbsp;(I know that Pharo itself is or used</span><br><spa=
n>to be bootstrap from very old Smalltalk images and that work was ongoing</=
span><br><span>to get rid of them and have a nicer bootstrapping story.)</sp=
an><br></div></blockquote><div><br></div>Everything in this vm is being buil=
t from source.</div><div><br></div><div>I skip this file =E2=80=94&gt;&nbsp;=
<a href=3D"https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.=
linux64x64/pharo.cog.spur/build/mvm">https://github.com/OpenSmalltalk/opensm=
alltalk-vm/blob/Cog/build.linux64x64/pharo.cog.spur/build/mvm</a></div><div>=
<br></div><div>And use the packages in Guix instead.</div><div><br></div><di=
v>The images (which are separate from this) are definitely are built by boot=
strapping which will be left to the user at this point.</div><div><br></div>=
<div>I think if the developers and users were using Guix, they would enjoy i=
t, as I have a script that will automatically populate the version and date v=
alues from any commit. &nbsp;And it could be installed as a separate package=
.</div><div><br></div><div>P.S. I am very new to Smalltalk as well. &nbsp;Ju=
st started using it a couple of months ago and thought it would be great if i=
t was on Guix.<br><blockquote type=3D"cite"><div><span></span><br><span>Than=
k you,</span><br><span>Ludo=E2=80=99.</span><br></div></blockquote></div></b=
ody></html>=

--Apple-Mail-9359EA69-7131-49E9-8557-C6482BD7ACAD--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#36033] Add Smalltalk Pharo VM
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 13 Jun 2019 08:47:01 +0000
Resent-Message-ID: <handler.36033.B36033.156041560027813 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36033
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: Brian Woodcox <bw@HIDDEN>
Cc: 36033 <at> debbugs.gnu.org
Received: via spool by 36033-submit <at> debbugs.gnu.org id=B36033.156041560027813
          (code B ref 36033); Thu, 13 Jun 2019 08:47:01 +0000
Received: (at 36033) by debbugs.gnu.org; 13 Jun 2019 08:46:40 +0000
Received: from localhost ([127.0.0.1]:34506 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hbLNY-0007EU-4S
	for submit <at> debbugs.gnu.org; Thu, 13 Jun 2019 04:46:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59348)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hbLNX-0007EC-1s
 for 36033 <at> debbugs.gnu.org; Thu, 13 Jun 2019 04:46:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56411)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hbLNQ-0000sk-Q2; Thu, 13 Jun 2019 04:46:32 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=59896 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hbLNJ-0004Z7-49; Thu, 13 Jun 2019 04:46:26 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <BA4D78A3-087B-4FAD-8318-0C64EED37C3B@HIDDEN>
 <877ea5fnih.fsf@HIDDEN>
 <FE90B5E5-01E3-47C4-940C-774A23F74A19@HIDDEN>
Date: Thu, 13 Jun 2019 10:46:23 +0200
In-Reply-To: <FE90B5E5-01E3-47C4-940C-774A23F74A19@HIDDEN> (Brian
 Woodcox's message of "Sat, 1 Jun 2019 09:08:27 -0600")
Message-ID: <87k1dp6ffk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Brian,

Thanks for your explanations.  Please let me know if you have an updated
version of the patch, or if you need guidance on specific issues.

Ludo=E2=80=99.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.