9
smalltalkImage="Pharo3.0"
12
doc="$docPath/fr/drgeo-html-fr.tgz"
15
vmPath="`pwd`/VMs/linux-mac-windows/$vm/DrGeo.app"
16
vmExec="$vmPath/Contents/Linux/pharo"
19
smalltalkImagePath="`pwd`/images/$smalltalkImage.image"
20
installScript="`pwd`/install-drgeo-workstation.st"
22
# Install package and clean up image
23
$vmExec $smalltalkImagePath $installScript
31
rsync -a --exclude '.bzr' --exclude '*~' $vmPath $install
32
cp ../doc/ChangeLog $install/DrGeo.app/
34
# install Example files
35
rsync -a --exclude '.bzr' `pwd`/examples $install/DrGeo.app
36
rsync -a --exclude '.bzr' `pwd`/examplesKids/* $install/DrGeo.app/examples/
38
# install Smalltalk sketches files
39
rsync -a --exclude '.bzr' `pwd`/SmalltalkSketches $install/DrGeo.app
41
# user sketches and exports folder, splash
42
mkdir $install/DrGeo.app/MySketches
43
mkdir $install/DrGeo.app/MyExports
44
rsync -a graphics/splash.bmp $install/DrGeo.app
46
# install Smalltalk Image
47
rsync -a images/drgeo.image $install/DrGeo.app/Contents/Resources
48
rsync -a images/drgeo.changes $install/DrGeo.app/Contents/Resources
49
# install Smalltalk Source
50
rsync -a images/PharoV20.sources $install/DrGeo.app/Contents/Resources
53
rsync -a fonts/*.tt? $install/DrGeo.app/Contents/Resources
55
rsync -a ../trunk/i18n/locale $install/DrGeo.app/Contents/Resources
58
mkdir $install/DrGeo.app/doc
59
#tar xfz $doc -C $install/DrGeo.app/doc
60
cp $docPath/README.*.txt $docPath/README.txt $install/DrGeo.app/doc
63
zip -r DrGeo.app-$rel.zip DrGeo.app -x \*/.bzr/* \*~
65
echo "--== DONE packaging unversal DrGeo==--"