Re: [Sugar-devel] [PATCH] Build Squeak VM 4.0.3 from tarfile
On Tue, Sep 7, 2010 at 6:09 AM, Tomeu Vizoso wrote: > On Mon, Sep 6, 2010 at 13:08, Bert Freudenberg wrote: >> >> On 03.09.2010, at 10:47, Tomeu Vizoso wrote: >> >>> On Fri, Sep 3, 2010 at 00:10, Bert Freudenberg wrote: 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. >>> >>> Not sure how relevant it is, but someone at Collabora was adding cmake >>> support to upstream jhbuild recently. >>> >>> http://git.gnome.org/browse/jhbuild/commit/?id=aa564775b5c26527c5ff1d5ad8db8a3565d4dff2 >>> >>> Regards, >>> >>> Tomeu >> >> Is this an actual objection? What do I need to do to get this patch accepted? > > Was just a comment. > > For the others, Bert has been working with Sascha on this on #sugar. > I have noticed this happening several times lately. I think many of us have been reading Tomue's comments as objects when in fact many are meant to share information about possible solutions. david PS Bert if you ever need to stall before preparing a talk We still need to get squeak into Debian proper. It is packaged and in both debian and ubuntu, but we still need to finish the process of getting approval from the Debian FTP_masters to move squeak for contrib to main. I think the work is 90% done. It is still matter of helping them understand how squeak recursively builds itself and how that process can be monitored for security purposes. The standard packaging model is pristine tarball + patch set. david ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] Build Squeak VM 4.0.3 from tarfile
On Mon, Sep 6, 2010 at 13:08, Bert Freudenberg wrote: > > On 03.09.2010, at 10:47, Tomeu Vizoso wrote: > >> On Fri, Sep 3, 2010 at 00:10, Bert Freudenberg wrote: >>> 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. >> >> Not sure how relevant it is, but someone at Collabora was adding cmake >> support to upstream jhbuild recently. >> >> http://git.gnome.org/browse/jhbuild/commit/?id=aa564775b5c26527c5ff1d5ad8db8a3565d4dff2 >> >> Regards, >> >> Tomeu > > Is this an actual objection? What do I need to do to get this patch accepted? Was just a comment. For the others, Bert has been working with Sascha on this on #sugar. Regards, Tomeu > - Bert - > >>> Signed-off-by: Bert Freudenberg >>> --- >>> config/modulesets/glucose-external.modules | 15 +++- >>> config/modulesets/patches/squeak-autogen.patch | 28 >>> +++ >>> config/modulesets/patches/squeak-makefile.patch | 11 + >>> config/sysdeps/debian-family.xml | 1 + >>> config/sysdeps/fedora-family.xml | 1 + >>> config/sysdeps/mandrivalinux-2009.1.xml | 1 + >>> 6 files changed, 51 insertions(+), 6 deletions(-) >>> create mode 100644 config/modulesets/patches/squeak-autogen.patch >>> create mode 100644 config/modulesets/patches/squeak-makefile.patch >>> >>> 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/" /> >>> >> href="git://git.gnome.org"/> >>> - >> - href="http://squeakvm.org/svn/squeak/branches/"; >>> trunk-template="olpc"/> >>> + >> + href="http://squeakvm.org/unix/release/"/> >>> >> href="git://git.imendio.com/projects/"/> >>> >> @@ -61,10 +61,13 @@ >>> >>> >>> >>> - >>> - >>> - >>> - >>> + >>> + >> + repo="squeakvm.org" >>> + >>> hash="sha256:87cd3f708cb3d330f6d74931fd7488784f45b0f467f14e2dc6fbdc9d3df97189" >>> size="3623094"> >>> + >>> + >>> + >>> >>> >>> >>> diff --git a/config/modulesets/patches/squeak-autogen.patch >>> b/config/modulesets/patches/squeak-autogen.patch >>> new file mode 100644 >>> index 000..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 000..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 ce11329..9870451 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 83ec629..f97efb4 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/sy
Re: [Sugar-devel] [PATCH] Build Squeak VM 4.0.3 from tarfile
On 03.09.2010, at 10:47, Tomeu Vizoso wrote: > On Fri, Sep 3, 2010 at 00:10, Bert Freudenberg wrote: >> 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. > > Not sure how relevant it is, but someone at Collabora was adding cmake > support to upstream jhbuild recently. > > http://git.gnome.org/browse/jhbuild/commit/?id=aa564775b5c26527c5ff1d5ad8db8a3565d4dff2 > > Regards, > > Tomeu Is this an actual objection? What do I need to do to get this patch accepted? - Bert - >> Signed-off-by: Bert Freudenberg >> --- >> config/modulesets/glucose-external.modules | 15 +++- >> config/modulesets/patches/squeak-autogen.patch | 28 >> +++ >> config/modulesets/patches/squeak-makefile.patch | 11 + >> config/sysdeps/debian-family.xml|1 + >> config/sysdeps/fedora-family.xml|1 + >> config/sysdeps/mandrivalinux-2009.1.xml |1 + >> 6 files changed, 51 insertions(+), 6 deletions(-) >> create mode 100644 config/modulesets/patches/squeak-autogen.patch >> create mode 100644 config/modulesets/patches/squeak-makefile.patch >> >> 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/" /> >> > href="git://git.gnome.org"/> >> - > -href="http://squeakvm.org/svn/squeak/branches/"; >> trunk-template="olpc"/> >> + > + href="http://squeakvm.org/unix/release/"/> >> > href="git://git.imendio.com/projects/"/> >> > @@ -61,10 +61,13 @@ >> >> >> >> - >> - >> - >> - >> + >> +> + repo="squeakvm.org" >> + >> hash="sha256:87cd3f708cb3d330f6d74931fd7488784f45b0f467f14e2dc6fbdc9d3df97189" >> size="3623094"> >> + >> + >> + >> >> >> >> diff --git a/config/modulesets/patches/squeak-autogen.patch >> b/config/modulesets/patches/squeak-autogen.patch >> new file mode 100644 >> index 000..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 000..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 ce11329..9870451 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 83ec629..f97efb4 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 @@ >> >> >> >> + >> >> >> >> -- >> 1.7.2.2 >> >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> _
Re: [Sugar-devel] [PATCH] Build Squeak VM 4.0.3 from tarfile
On Fri, Sep 3, 2010 at 00:10, Bert Freudenberg wrote: > 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. Not sure how relevant it is, but someone at Collabora was adding cmake support to upstream jhbuild recently. http://git.gnome.org/browse/jhbuild/commit/?id=aa564775b5c26527c5ff1d5ad8db8a3565d4dff2 Regards, Tomeu > Signed-off-by: Bert Freudenberg > --- > config/modulesets/glucose-external.modules | 15 +++- > config/modulesets/patches/squeak-autogen.patch | 28 > +++ > config/modulesets/patches/squeak-makefile.patch | 11 + > config/sysdeps/debian-family.xml | 1 + > config/sysdeps/fedora-family.xml | 1 + > config/sysdeps/mandrivalinux-2009.1.xml | 1 + > 6 files changed, 51 insertions(+), 6 deletions(-) > create mode 100644 config/modulesets/patches/squeak-autogen.patch > create mode 100644 config/modulesets/patches/squeak-makefile.patch > > 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/" /> > href="git://git.gnome.org"/> > - - href="http://squeakvm.org/svn/squeak/branches/"; > trunk-template="olpc"/> > + + href="http://squeakvm.org/unix/release/"/> > href="git://git.imendio.com/projects/"/> > @@ -61,10 +61,13 @@ > > > > - > - > - > - > + > + + repo="squeakvm.org" > + > hash="sha256:87cd3f708cb3d330f6d74931fd7488784f45b0f467f14e2dc6fbdc9d3df97189" > size="3623094"> > + > + > + > > > > diff --git a/config/modulesets/patches/squeak-autogen.patch > b/config/modulesets/patches/squeak-autogen.patch > new file mode 100644 > index 000..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 000..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 ce11329..9870451 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 83ec629..f97efb4 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 @@ > > > > + > > > > -- > 1.7.2.2 > > > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [PATCH] 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 --- config/modulesets/glucose-external.modules | 15 +++- config/modulesets/patches/squeak-autogen.patch | 28 +++ config/modulesets/patches/squeak-makefile.patch | 11 + config/sysdeps/debian-family.xml|1 + config/sysdeps/fedora-family.xml|1 + config/sysdeps/mandrivalinux-2009.1.xml |1 + 6 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 config/modulesets/patches/squeak-autogen.patch create mode 100644 config/modulesets/patches/squeak-makefile.patch 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/" /> - http://squeakvm.org/svn/squeak/branches/"; trunk-template="olpc"/> + http://squeakvm.org/unix/release/"/> - - - - + + + + + diff --git a/config/modulesets/patches/squeak-autogen.patch b/config/modulesets/patches/squeak-autogen.patch new file mode 100644 index 000..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 000..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 ce11329..9870451 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 83ec629..f97efb4 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 @@ + -- 1.7.2.2 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel