From f8e858d3b3dfa798552a42986283c9c6c678bb3c Mon Sep 17 00:00:00 2001 From: Bert Freudenberg Date: Thu, 02 Sep 2010 21:19:03 +0000 Subject: Build Squeak VM 4.0.3 from tarfile This is almost the same as my patch from April, which never made it in. Instead of building from the outdated "olpc" subversion branch, the Squeak VM is build from a release tarball. It adds a cmake dependency, and gives an error if make is run without running autogen.sh first. Also adds a "clean" make target to please jhbuild. Signed-off-by: Bert Freudenberg --- diff --git a/config/modulesets/glucose-external.modules b/config/modulesets/glucose-external.modules index d76b1f0..0577963 100644 --- a/config/modulesets/glucose-external.modules +++ b/config/modulesets/glucose-external.modules @@ -5,8 +5,8 @@ href="git://dev.laptop.org/projects/" /> - + - - - - + + + + + diff --git a/config/modulesets/patches/squeak-autogen.patch b/config/modulesets/patches/squeak-autogen.patch new file mode 100644 index 0000000..ff9274d --- /dev/null +++ b/config/modulesets/patches/squeak-autogen.patch @@ -0,0 +1,28 @@ +--- /dev/null 2010-09-02 18:58:30.359785873 +0200 ++++ autogen.sh 2010-09-02 22:07:35.577316348 +0200 +@@ -0,0 +1,25 @@ ++#!/bin/sh ++EXCLUDE="gl FileCopyPlugin SqueakFFIPrims B3DAcceleratorPlugin PseudoTTYPlugin UnixOSProcessPlugin XDisplayControlPlugin" ++ ++test -d bld || mkdir bld ++ ++OPTIONS="" ++for p in $EXCLUDE ; do ++ OPTIONS="$OPTIONS --without-${p}" ++done ++ ++(cd bld && ../unix/cmake/configure $OPTIONS "$@") ++ ++cat > Makefile <<__EOF__ ++default: ++ make -C bld ++ ++install: ++ make -C bld install ++ ++check: ++ @echo SKIPPED: No tests defined for Squeak VM ++ ++clean: ++ rm -rf bld Makefile ++__EOF__ diff --git a/config/modulesets/patches/squeak-makefile.patch b/config/modulesets/patches/squeak-makefile.patch new file mode 100644 index 0000000..043dc7d --- /dev/null +++ b/config/modulesets/patches/squeak-makefile.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2010-09-02 22:11:03.702191222 +0200 ++++ Makefile 2010-09-02 22:21:14.580177789 +0200 +@@ -1,7 +1,5 @@ + all : .force +- test -d bld || mkdir bld +- (cd bld; ../unix/cmake/configure) +- (cd bld; make) ++ @test -d bld || (echo ERROR: run autogen.sh first; exit 1) + + install : all + (cd bld; make install) diff --git a/config/sysdeps/debian-family.xml b/config/sysdeps/debian-family.xml index aaae337..d7c1354 100644 --- a/config/sysdeps/debian-family.xml +++ b/config/sysdeps/debian-family.xml @@ -3,6 +3,7 @@ + diff --git a/config/sysdeps/fedora-family.xml b/config/sysdeps/fedora-family.xml index 3c84657..35ee6c0 100644 --- a/config/sysdeps/fedora-family.xml +++ b/config/sysdeps/fedora-family.xml @@ -7,6 +7,7 @@ + diff --git a/config/sysdeps/mandrivalinux-2009.1.xml b/config/sysdeps/mandrivalinux-2009.1.xml index 0acac46..7fa1131 100644 --- a/config/sysdeps/mandrivalinux-2009.1.xml +++ b/config/sysdeps/mandrivalinux-2009.1.xml @@ -9,6 +9,7 @@ + -- cgit v0.9.1