updated build script (Re: [Mapserver-dev] ready for 4.2.4)
Sean Gillies
sgillies at frii.com
Thu Oct 7 11:34:50 EDT 2004
--Apple-Mail-1-744489553
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
I've updated the MS_VERSION to "4.2.4" and also updated the build
script to generate a Java mapscript interface. The Java tests
pass and so do the Python unit tests. Build script is attached.
Could we release friday afternoon after developers review the
status of their 4.2 bugs?
Sean
--Apple-Mail-1-744489553
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0700;
name="release-4.2.4.csh"
Content-Disposition: attachment;
filename=release-4.2.4.csh
#!/bin/csh
setenv CVSROOT /data2/cvsroot
unalias rm
set VERSION = "4.2.4"
cvs -Q export -r rel-4-2-4 mapserver
mv mapserver mapserver-$VERSION
cd mapserver-$VERSION
rm -rf gdft
flex -Pmsyy -i -omaplexer.c maplexer.l
bison -p msyy -d -omapparser.c mapparser.y
cd mapscript/perl
swig -perl5 -shadow -outdir . -o mapscript_wrap.c ../mapscript.i
# =====================================================================
# Create Python module wrappers
cd ../python
# ---------------------------------------------------------------------
# old school wrapper for Python 2.1 or older
swig -python -shadow -outdir . -o mapscript_wrap.c ../mapscript.i
# ---------------------------------------------------------------------
# modern wrapper for Python 2.2+
#
# the Python setup.py script will try to use modern_mapscript_wrap.c
# if it exists.
# test to see if swig supports modern
set num = `swig -python -help |& grep -c '\-modern'`
# if so, run swig again
if ($num =~ "1") mkdir modern; swig -python -modern -outdir modern -o modern/mapscript_wrap.c ../mapscript.i
# =====================================================================
# End Python wrappers
cd ../java
mkdir -p edu/umn/gis/mapscript
swig -java -package edu.umn.gis.mapscript -outdir edu/umn/gis/mapscript -o mapscript_wrap.c ../mapscript.i
# cd ../tcl
cd ../../..
tar cf mapserver-$VERSION.tar mapserver-$VERSION
gzip *.tar
cp mapserver-$VERSION.tar.gz /data2/web-docs/ms-cvs/docs/dist
chmod 755 /data2/web-docs/ms-cvs/docs/dist/mapserver-$VERSION.tar.gz
rm mapserver-$VERSION.tar.gz
--Apple-Mail-1-744489553
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
--Apple-Mail-1-744489553--
More information about the mapserver-dev
mailing list