From: Jan Nieuwenhuizen Date: Thu, 30 Mar 2000 15:50:26 +0000 (+0200) Subject: patch::: 1.3.41.jcn1 X-Git-Tag: release/1.3.42~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=36fbce3ce078cf39b61433ae22f81b625ae5b889;p=lilypond.git patch::: 1.3.41.jcn1 1.3.41.jcn1 =========== * More windows distribution changes: distribute minimal .zip too, and fixes to setup scripts. --- diff --git a/CHANGES b/CHANGES index 08e060e31d..3701ebff56 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +1.3.41.jcn1 +=========== + +* More windows distribution changes: distribute minimal .zip too, and +fixes to setup scripts. + 1.3.40.jcn3 =========== diff --git a/VERSION b/VERSION index 7c8fb20926..c00f04e683 100644 --- a/VERSION +++ b/VERSION @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=3 PATCH_LEVEL=41 -MY_PATCH_LEVEL= +MY_PATCH_LEVEL=jcn1 # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/buildscripts/make-cygwin-cross.sh b/buildscripts/make-cygwin-cross.sh index e6277959e0..ba14c333e1 100644 --- a/buildscripts/make-cygwin-cross.sh +++ b/buildscripts/make-cygwin-cross.sh @@ -73,6 +73,28 @@ flex gcc-2.95.2 " +binutils_after_rpm=' +cd $PREFIX/$TARGET_ARCH/bin \; +ln -f ../../bin/$TARGET_ARCH-ar ar \; +ln -f ../../bin/$TARGET_ARCH-as as \; +ln -f ../../bin/$TARGET_ARCH-dlltool dlltool \; +ln -f ../../bin/$TARGET_ARCH-ld ld \; +ln -f ../../bin/$TARGET_ARCH-nm nm \; +ln -f ../../bin/$TARGET_ARCH-objdump objdump \; +ln -f ../../bin/$TARGET_ARCH-objcopy objcopy \; +ln -f ../../bin/$TARGET_ARCH-ranlib ranlib \; +ln -f ../../bin/$TARGET_ARCH-strip strip \; +cd $PREFIX/bin \; +rm -f ar as dlltool ld nm objdump objcopy ranlib strip \; +' +gcc_after_rpm=' +cd $PREFIX/$TARGET_ARCH/bin \; +ln -f ../../bin/$TARGET_ARCH-gcc cc \; +ln -f ../../bin/$TARGET_ARCH-gcc gcc \; +ln -f ../../bin/$TARGET_ARCH-c++ c++ \; +ln -f ../../bin/$TARGET_ARCH-g++ g++ +' + #guile_after_rpm='ln -f $NATIVE_PREFIX/bin/i686-redhat-cygwin-guile-config $NATIVE_PREFIX/bin/i686-pc-cygwin-guile-config' lilypond_version=@TOPLEVEL_VERSION@ @@ -168,6 +190,9 @@ build () rpm -ivv --ignoreos --ignorearch --nodeps --force\ --dbpath $NATIVE_ROOT/var/lib/rpm \ $topdir/RPMS/$a/$name*.rpm + #urg + name_after_rpm="`expand $name _after_rpm`" + `eval $name_after_rpm` || exit 1 ) } @@ -244,11 +269,12 @@ db_cv_sprintf_count=yes db_cv_spinlocks=no EOF -cross_rpm_dir=$NATIVE_PREFIX/lib/rpm/$cta -cross_rpm_link=/usr/lib/rpm/$cta +mcta=$ARCH-cygwin +cross_rpm_dir=$NATIVE_PREFIX/lib/rpm/$mcta +cross_rpm_link=/usr/lib/rpm/$mcta mkdir -p $cross_rpm_dir rm -f $cross_rpm_link -ln -s $NATIVE_PREFIX/lib/rpm/$cta $cross_rpm_link +ln -s $NATIVE_PREFIX/lib/rpm/$mcta $cross_rpm_link native_rpm_dir=$NATIVE_PREFIX/lib/rpm/$ta native_rpm_link=/usr/lib/rpm/$ta @@ -263,6 +289,8 @@ base_macros=$NATIVE_PREFIX/lib/rpm/base-macros rm -f $base_macros cat > $base_macros < $base_macros <> $cross_macros < $distdir/setup.sh < $distdir/setup.sh < \$dll/cygwin1.dll -here=\`pwd\` -cd \$ROOT/.. && (PATH=\$dll \$here/rpm2cpio \$here/rpm*.rpm ) | cpio -ivmd -PATH=\$dll rpm --root=\$ROOT --initdb -cd \$here -for i in RPMS/$ta/*.rpm; do - PATH=\$dll rpm -ivv --ignoreos --ignorearch --nodeps --force\ - --dbpath \$ROOT/var/lib/rpm \ - \$i +gunzip rpm.gz || exit 1 +#dll=\$ROOT/net-485 +#mkdir -p \$dll +#gzip -dc cygwin.dll.gz > \$dll/cygwin1.dll +## this won't work: must be done outside of cygwin +#old_dll=\`which cygwin1.dll\` +#mv -f \$old_dll \$old_dll.orig\$\$ +#gunzip cygwin1.dll.gz +#cp -f cygwin1.dll \$old_dll +echo > rpmrc +mkdir -p \$ROOT/var/lib +mkdir -p \$ROOT/bin +echo > \$ROOT/bin/rpm +./rpm --root \$ROOT --rcfile rpmrc --initdb +./rpm --root \$ROOT --rcfile rpmrc --nodeps --ignorearch --ignoreos -Uhv \\ + RPMS/$ta/rpm-*.$ta.rpm \\ + RPMS/$ta/*.$ta.rpm done EOF cat > $distdir/setup.bat < newdll; echo \$wdll \$wdll.orig\$\$ > olddll' +if not errorlevel 0 goto nobash +#mv -f \$old_dll \$old_dll.orig\$\$ +#gunzip cygwin1.dll.gz +gunzip cygwin1.dll.gz +#cp -f cygwin1.dll \$old_dll +copy < olddll +copy < newdll bash setup.sh -if errorlevel 0 goto exit +if not errorlevel 0 goto nobash +goto :exit +:nobash @echo "setup.bat: can't find bash" @echo "setup.bat: please install usertools from" @echo "setup.bat: http://sourceware.cygnus.com/cygwin/" @@ -449,20 +487,14 @@ cat > $distdir/lilypond.sh < $distdir/midi2ly.sh < $distdir/lilypond.bat <