removed old places, where CVS was used

git-svn-id: trunk@9598 -
This commit is contained in:
mattias 2006-07-12 20:11:50 +00:00
parent e9000b7286
commit ea32192248
8 changed files with 8 additions and 155 deletions

2
.gitattributes vendored
View File

@ -2552,7 +2552,6 @@ tools/install/create_lazarus_deb.sh svneol=native#text/plain
tools/install/create_lazarus_export_tgz.sh svneol=native#text/plain
tools/install/create_lazarus_rpm.sh svneol=native#text/plain
tools/install/create_lazarus_snapshot_rpm.sh svneol=native#text/plain
tools/install/create_lazarus_tgz_from_local_dir.sh svneol=native#text/plain
tools/install/cross_unix/HowToCreate_fpc_crosswin32_rpm.txt svneol=native#text/plain
tools/install/cross_unix/build_linux_cross_win32_rpm.sh svneol=native#text/plain
tools/install/cross_unix/update_cross_fpc.sh svneol=native#text/plain
@ -2563,7 +2562,6 @@ tools/install/debian_fpc/control svneol=native#text/plain
tools/install/debian_fpc/copyright svneol=native#text/plain
tools/install/debian_fpc/postinst svneol=native#text/plain
tools/install/do_nothing.sh svneol=native#text/plain
tools/install/download_and_build_fpc_rpm.sh svneol=native#text/plain
tools/install/file_filter.sh svneol=native#text/plain
tools/install/fpc-src.spec svneol=native#text/plain
tools/install/get_lazarus_version.sh svneol=native#text/plain

View File

@ -59,9 +59,6 @@ if [ "$WithTempDir" = "yes" ]; then
fi
mkdir -p $TmpDir
#ppc386 -Fu../../lcl/units/i386/linux cvsexportlocal.pas
#echo "extracting FPC from local cvs ..."
#./cvsexportlocal $FPCSrcDir $TmpDir
echo "extracting FPC from local svn ..."
svn export $FPCSrcDir $TmpDir/fpc
else

View File

@ -40,7 +40,7 @@ else
cp -a $SrcDir $DestDir
fi
echo "cleaning up (CVS, ppu, o) ..."
echo "cleaning up (svn, ppu, o) ..."
cd $DestDir
make distclean
for Ext in ppu ppw ppl o ow rst cvsignore bak orig rej xvpics; do
@ -50,6 +50,8 @@ find . -name "*.~*" -exec rm -f {} \;
find . -name "*.#*" -exec rm -f {} \;
# delete all CVS directories
find . -name "CVS" -exec rm -rf {} \;
# delete all .svn directories
find . -name ".svn" -exec rm -rf {} \;
# delete all executables
find . -perm +a+x -type f -exec rm -f {} \;
cd -

View File

@ -40,7 +40,7 @@ else
cp -a $LazSrcDir $LazDestDir
fi
echo "cleaning up (CVS, ppu, o) ..."
echo "cleaning up (svn, ppu, o) ..."
cd $LazDestDir
make clean
make -C examples clean
@ -52,6 +52,8 @@ find . -name "*.~*" -exec rm -f {} \;
find . -name "*.#*" -exec rm -f {} \;
# delete all CVS directories
find . -name "CVS" -exec rm -rf {} \;
# delete all SVN directories
find . -name ".svn" -exec rm -rf {} \;
# delete all executables
find . -perm +a+x -type f -exec rm -f {} \;
rm -rf tools/install/*.tgz

View File

@ -1,44 +0,0 @@
#!/usr/bin/env bash
set -x
set -e
LazSrcDir=$1
OutputFile=$2
if [ "x$LazSrcDir" = "x" ]; then
echo "Usage: $0 <lazarus_source_directory> <output-file>"
exit
fi
if [ ! -d $LazSrcDir/designer ]; then
echo "The directory does not look like a lazarus source directory (lazarus/)"
exit
fi
if [ "x$OutputFile" = "x" ]; then
echo "Usage: $0 <lazarus_source_directory> <output-file>"
exit -1
fi
TmpBaseDir=/tmp
TmpDir=$TmpBaseDir/lazarus
ppc386 -Fu../../lcl/units/i386/linux cvsexportlocal.pas
echo "extracting Lazarus from local cvs ..."
rm -rf $TmpDir
./cvsexportlocal $LazSrcDir $TmpDir
# pack
echo "packing ..."
cd /tmp
tar cvzf lazarus.tgz lazarus
cd -
mv /tmp/lazarus.tgz $OutputFile
rm -rf /tmp/lazarus
echo ""
echo "NOTE: DON'T FORGET TO PUT THE $OutFile INTO /usr/src/redhat/SOURCES/"
# end.

View File

@ -273,7 +273,7 @@ if [ $BuildCrossFPC = "yes" ]; then
cd $BuildRoot/install/cross/
cat buildcrosssnaphot | \
sed -e 's#^CROSSTOOLSROOT=.*$#CROSSTOOLSROOT='"$BuildRoot"'/binutils/cross/#' \
-e 's#^FPCCVS=.*$#FPCCVS='"$BuildRoot"'/fpc#' \
-e 's#^FPCSVN=.*$#FPCSVN='"$BuildRoot"'/fpc#' \
-e 's#^TARGETS_OS=.*$#TARGETS_OS='"$TargetOS"'#' \
-e 's#^TARGETS_CPU=.*$#TARGETS_CPU='"$TargetCPU"'#' \
-e 's#^MOS=cygwin$#MOS=mingw32#' \

View File

@ -1,102 +0,0 @@
#!/bin/bash
#
# Author: Mattias Gaertner
#
# Script to download fpc and create the rpms 'fpc' and 'fpc-src'.
set -x
set -e
#------------------------------------------------------------------------------
# parse parameters
#------------------------------------------------------------------------------
Usage="Usage: $0 devel|stable [nodocs]"
FPCVersion=$1
FPCVersionOk=no
for ver in devel stable; do
if [ "x$FPCVersion" = "x$ver" ]; then
FPCVersionOk=yes
fi
done
if [ "x$FPCVersionOk" = "xno" ]; then
echo $Usage
exit -1
fi
shift
WithDOCS=yes
if [ "x$1" = "xnodocs" ]; then
WithDOCS=no
shift
fi
if [ "x$1" != "x" ]; then
echo $Usage
exit -1
fi
# set here the fpc svn dates for the various versions
if [ "x$FPCVersion" = "xdevel" ]; then
Year=04
Month=06
Day=07
LazVersion=1.9.5
fi
if [ "x$FPCVersion" = "xstable" ]; then
Year=04
Month=06
Day=07
LazVersion=1.0.11
fi
Date=20$Year$Month$Day
LazRelease=laz.$Date
SrcTGZ=fpc-src-$LazVersion-$LazRelease.tgz
SrcPatch=fpc-src-patch
TmpDir=/tmp/fpc$LazVersion
SpecFile=$TmpDir/fpc/install/fpc.spec
# download fpc svn if necessary
if [ ! -f $SrcTGZ ]; then
./create_fpc_export_tgz.sh $SrcTGZ $FPCVersion $Month/$Day/$Year
fi
# unpack source into temporary directory
rm -rf $TmpDir
mkdir -p $TmpDir
cp $SrcTGZ $SrcPatch $TmpDir/
cd $TmpDir
tar xzf $SrcTGZ
cd -
# compile
Params="notemp $TmpDir/fpc $LazRelease"
if [ "$WithDOCS" = "no" ]; then
Params="nodocs $Params"
fi
./build_fpc_rpm.sh $Params
echo
echo building fpc-src rpm ...
set -x
# copy src tgz into building directory
cp $SrcTGZ /usr/src/redhat/SOURCES/
# create spec file
SpecFile=fpc-src-$LazVersion-$LazRelease.spec
cat fpc-src.spec | \
sed -e "s/LAZVERSION/$LazVersion/g" -e "s/LAZRELEASE/$LazRelease/" \
> $SpecFile
# build rpm
rpmbuild -ba $SpecFile || rpm -ba $SpecFile
# end.

View File

@ -8,7 +8,7 @@ SET ISCC="C:\Program Files\Inno Setup 5\iscc.exe"
:: Path to the fpc sources checked out of svn
SET FPCSVNDIR=C:\lazarus\source\fpc\fpcbuild-2.0.2\fpcsrc
:: Path to the lazarus sources checked out of cvs
:: Path to the lazarus sources checked out of svn
SET LAZSVNDIR=c:\lazarus\source\lazarus-0.9.16
:: Path to fpc 2.0.2 compiler