Added a copy of the Win32 README.

Updated the distribution scripts.
This commit is contained in:
Andy McFadden 2002-10-12 00:28:21 +00:00
parent 8b14fdaef8
commit a45ee42376
2 changed files with 49 additions and 37 deletions

8
nulib2/README-Win32.txt Normal file
View File

@ -0,0 +1,8 @@
This archive contains the NuLib2 exe for Win32, plus the sample
applications from the NufxLib distribution. These were built with
assertions and extended tests enabled, which adds a little bit to the
file size and reduces the performance somewhat, but it catches errors
earlier and makes the failure messages more useful.
The latest versions will always be available from http://www.nulib.com/.

View File

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2). # This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove # To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'. # everything before the `!/bin/sh' line above, then type `sh FILE'.
# #
# Made on 2001-06-12 12:57 PDT by <fadden@beast.localdomain>. # Made on 2002-10-11 17:29 PDT by <fadden@shiny>.
# Source directory was `/home/fadden/STAGE'. # Source directory was `/home/fadden/STAGE'.
# #
# Existing files will *not* be overwritten unless `-c' is specified. # Existing files will *not* be overwritten unless `-c' is specified.
@ -11,9 +11,9 @@
# This shar contains: # This shar contains:
# length mode name # length mode name
# ------ ---------- ------------------------------------------ # ------ ---------- ------------------------------------------
# 836 -rwxr-xr-x prep.sh # 856 -rwxr-xr-x prep.sh
# 471 -rwxr-xr-x post.sh # 477 -rwxr-xr-x post.sh
# 546 -rwxr-xr-x mkzip # 564 -rwxr-xr-x mkzip
# 4 -rw-r--r-- VERSION # 4 -rw-r--r-- VERSION
# #
save_IFS="${IFS}" save_IFS="${IFS}"
@ -49,9 +49,12 @@ else
export TEXTDOMAIN export TEXTDOMAIN
echo="$gettext_dir/gettext -s" echo="$gettext_dir/gettext -s"
fi fi
touch -am 1231235999 $$.touch >/dev/null 2>&1 if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
if test ! -f 1231235999 && test -f $$.touch; then shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
shar_touch=touch elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
shar_touch='touch -am $3$4$5$6$2 "$8"'
else else
shar_touch=: shar_touch=:
echo echo
@ -59,9 +62,9 @@ else
$echo "installing GNU \`touch', distributed in GNU File Utilities..." $echo "installing GNU \`touch', distributed in GNU File Utilities..."
echo echo
fi fi
rm -f 1231235999 $$.touch rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
# #
if mkdir _sh00768; then if mkdir _sh01765; then
$echo 'x -' 'creating lock directory' $echo 'x -' 'creating lock directory'
else else
$echo 'failed to create lock directory' $echo 'failed to create lock directory'
@ -102,6 +105,7 @@ mkdir $appdir
cd $appdir cd $appdir
zcat $HOME/BAK/nulib2.tar.gz | tar xvf - zcat $HOME/BAK/nulib2.tar.gz | tar xvf -
make distclean make distclean
rm README-Win32.txt
X X
sed -e "s/VERSION..= 0/VERSION = $version/" < Makefile.in > Makefile.new sed -e "s/VERSION..= 0/VERSION = $version/" < Makefile.in > Makefile.new
set +e ; diff Makefile.in Makefile.new ; set -e set +e ; diff Makefile.in Makefile.new ; set -e
@ -117,19 +121,19 @@ echo IMPORTANT: put the release into ChangeLog.txt
X X
Xexit 0 Xexit 0
SHAR_EOF SHAR_EOF
$shar_touch -am 05181614100 'prep.sh' && (set 20 02 10 11 15 40 07 'prep.sh'; eval "$shar_touch") &&
chmod 0755 'prep.sh' || chmod 0755 'prep.sh' ||
$echo 'restore of' 'prep.sh' 'failed' $echo 'restore of' 'prep.sh' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \ md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'prep.sh:' 'MD5 check failed' || $echo 'prep.sh:' 'MD5 check failed'
a2c73dae7e34b7ab5772a829ce1903e9 prep.sh 403d6849f37fe0aaf33d9380611e83b3 prep.sh
SHAR_EOF SHAR_EOF
else else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'prep.sh'`" shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'prep.sh'`"
test 836 -eq "$shar_count" || test 856 -eq "$shar_count" ||
$echo 'prep.sh:' 'original size' '836,' 'current size' "$shar_count!" $echo 'prep.sh:' 'original size' '856,' 'current size' "$shar_count!"
fi fi
fi fi
# ============= post.sh ============== # ============= post.sh ==============
@ -148,12 +152,12 @@ libdir=nufxlib-$version
appdir=nulib2-$version appdir=nulib2-$version
X X
set -x set -x
rm -f $appdir/MiscStuff.c #rm -f $appdir/MiscStuff.c
cp $libdir/MiscStuff.c $appdir #cp $libdir/MiscStuff.c $appdir
rm -f $appdir/MiscStuff.h #rm -f $appdir/MiscStuff.h
cp $libdir/MiscStuff.h $appdir #cp $libdir/MiscStuff.h $appdir
rm -f $appdir/SunOS4.h #rm -f $appdir/SunOS4.h
cp $libdir/SunOS4.h $appdir #cp $libdir/SunOS4.h $appdir
X X
tar cf nulibdist-$version.tar $libdir $appdir tar cf nulibdist-$version.tar $libdir $appdir
gzip -9 nulibdist-$version.tar gzip -9 nulibdist-$version.tar
@ -165,19 +169,19 @@ echo ""
X X
Xexit 0 Xexit 0
SHAR_EOF SHAR_EOF
$shar_touch -am 05181614100 'post.sh' && (set 20 02 10 11 13 56 59 'post.sh'; eval "$shar_touch") &&
chmod 0755 'post.sh' || chmod 0755 'post.sh' ||
$echo 'restore of' 'post.sh' 'failed' $echo 'restore of' 'post.sh' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \ md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'post.sh:' 'MD5 check failed' || $echo 'post.sh:' 'MD5 check failed'
3871ee74cbb280cad106da51ce873cba post.sh f662165f13315e3484e1e182d0e4afcb post.sh
SHAR_EOF SHAR_EOF
else else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'post.sh'`" shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'post.sh'`"
test 471 -eq "$shar_count" || test 477 -eq "$shar_count" ||
$echo 'post.sh:' 'original size' '471,' 'current size' "$shar_count!" $echo 'post.sh:' 'original size' '477,' 'current size' "$shar_count!"
fi fi
fi fi
# ============= mkzip ============== # ============= mkzip ==============
@ -193,16 +197,16 @@ X
version=`cat VERSION` version=`cat VERSION`
echo "Preparing for version=$version." echo "Preparing for version=$version."
X X
archive=$HOME/nulib2_win32.zip archive=nulib2_${version}_win32.zip
#basedir=/dosdev basedir=/dosc/Src
basedir=$HOME/tmp #basedir=$HOME/tmp
mansrc=$HOME/CVSsrc/nulib2/nulib2.1 mansrc=$HOME/Nulib2/nulib2/nulib2.1
manout=$HOME/nulib2.man manout=$HOME/nulib2.man
X X
rm -f $archive rm -f $archive
rm -f $manout rm -f $manout
X X
zip -9j $archive $basedir/README-Win32.txt zip -9j $archive $HOME/Nulib2/nulib2/README-Win32.txt
nroff -man $mansrc | col -b > $manout nroff -man $mansrc | col -b > $manout
zip -9jl $archive $manout zip -9jl $archive $manout
rm $manout rm $manout
@ -213,19 +217,19 @@ X
Xexit 0 Xexit 0
X X
SHAR_EOF SHAR_EOF
$shar_touch -am 05221917100 'mkzip' && (set 20 02 10 11 16 01 06 'mkzip'; eval "$shar_touch") &&
chmod 0755 'mkzip' || chmod 0755 'mkzip' ||
$echo 'restore of' 'mkzip' 'failed' $echo 'restore of' 'mkzip' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \ md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'mkzip:' 'MD5 check failed' || $echo 'mkzip:' 'MD5 check failed'
352a57a692602cd77bdda965ae4e31a3 mkzip dc224623d9d2d9df478bc622ecf7f61a mkzip
SHAR_EOF SHAR_EOF
else else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'mkzip'`" shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'mkzip'`"
test 546 -eq "$shar_count" || test 564 -eq "$shar_count" ||
$echo 'mkzip:' 'original size' '546,' 'current size' "$shar_count!" $echo 'mkzip:' 'original size' '564,' 'current size' "$shar_count!"
fi fi
fi fi
# ============= VERSION ============== # ============= VERSION ==============
@ -234,16 +238,16 @@ if test -f 'VERSION' && test "$first_param" != -c; then
else else
$echo 'x -' extracting 'VERSION' '(text)' $echo 'x -' extracting 'VERSION' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'VERSION' && sed 's/^X//' << 'SHAR_EOF' > 'VERSION' &&
101 110
SHAR_EOF SHAR_EOF
$shar_touch -am 05221727100 'VERSION' && (set 20 02 10 11 13 53 35 'VERSION'; eval "$shar_touch") &&
chmod 0644 'VERSION' || chmod 0644 'VERSION' ||
$echo 'restore of' 'VERSION' 'failed' $echo 'restore of' 'VERSION' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \ md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'VERSION:' 'MD5 check failed' || $echo 'VERSION:' 'MD5 check failed'
cf6a52053ff904bca9d96fd4e7740d7d VERSION 2fe51daae840593fb0f4076b307ccefb VERSION
SHAR_EOF SHAR_EOF
else else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'VERSION'`" shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'VERSION'`"
@ -251,5 +255,5 @@ SHAR_EOF
$echo 'VERSION:' 'original size' '4,' 'current size' "$shar_count!" $echo 'VERSION:' 'original size' '4,' 'current size' "$shar_count!"
fi fi
fi fi
rm -fr _sh00768 rm -fr _sh01765
exit 0 exit 0