{******************************************************************************* MainUnit: gvars.pas contains global variables, constants and resourcestrings *******************************************************************************} {******************************************************************************* LazUpdater runs SVN Update/Checkout, Make and Strip for FPC and Lazarus. Copyright (C) 2010 Ingo Steiniger This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . *******************************************************************************} unit gvars; {$mode objfpc}{$H+} interface const myVersion = 'LazUpdater V1.0.0'; Wait = ((double(1)/86400)/15); // 15 times per second FpcCfgUnix='# This file was created by '+myVersion+'.'+LineEnding+ '# It`s based on the Example fpc.cfg for Free Pascal Compiler'+LineEnding+ '#'+LineEnding+ ''+LineEnding+ '# ----------------------'+LineEnding+ '# Defines (preprocessor)'+LineEnding+ '# ----------------------'+LineEnding+ ''+LineEnding+ '#'+LineEnding+ '# nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed'+LineEnding+ '#'+LineEnding+ '# -d is the same as #DEFINE'+LineEnding+ '# -u is the same as #UNDEF'+LineEnding+ '#'+LineEnding+ ''+LineEnding+ '#'+LineEnding+ '# Some examples (for switches see below, and the -? helppages)'+LineEnding+ '#'+LineEnding+ '# Try compiling with the -dRELEASE or -dDEBUG on the commandline'+LineEnding+ '#'+LineEnding+ ''+LineEnding+ '# For a release compile with optimizes and strip debuginfo'+LineEnding+ '#IFDEF RELEASE'+LineEnding+ ' -O2'+LineEnding+ ' -Xs'+LineEnding+ ' #WRITE Compiling Release Version'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# For a debug version compile with debuginfo and all codegeneration checks on'+LineEnding+ '#IFDEF DEBUG'+LineEnding+ ' -g'+LineEnding+ ' -Crtoi'+LineEnding+ ' #WRITE Compiling Debug Version'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# set binutils prefix'+LineEnding+ ''+LineEnding+ '#IFNDEF CPUI386'+LineEnding+ '#IFNDEF CPUAMD64'+LineEnding+ '#DEFINE NEEDCROSSBINUTILS'+LineEnding+ '#ENDIF'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '#IFNDEF linux'+LineEnding+ '#DEFINE NEEDCROSSBINUTILS'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '#IFDEF FPC_CROSSCOMPILING'+LineEnding+ '#IFDEF NEEDCROSSBINUTILS'+LineEnding+ ' -XP$fpctarget-'+LineEnding+ '#ENDIF NEEDCROSSBINUTILS'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# ----------------'+LineEnding+ '# Parsing switches'+LineEnding+ '# ----------------'+LineEnding+ ''+LineEnding+ '# Pascal language mode'+LineEnding+ '# -Mfpc free pascal dialect (default)'+LineEnding+ '# -Mobjfpc switch some Delphi 2 extensions on'+LineEnding+ '# -Mdelphi tries to be Delphi compatible'+LineEnding+ '# -Mtp tries to be TP/BP 7.0 compatible'+LineEnding+ '# -Mgpc tries to be gpc compatible'+LineEnding+ '# -Mmacpas tries to be compatible to the macintosh pascal dialects'+LineEnding+ '#'+LineEnding+ '# Turn on Object Pascal extensions by default'+LineEnding+ '#-Mobjfpc'+LineEnding+ ''+LineEnding+ '# Assembler reader mode'+LineEnding+ '# -Rdefault use default assembler'+LineEnding+ '# -Ratt read AT&T style assembler'+LineEnding+ '# -Rintel read Intel style assembler'+LineEnding+ '#'+LineEnding+ '# All assembler blocks are AT&T styled by default'+LineEnding+ '#-Ratt'+LineEnding+ ''+LineEnding+ '# Semantic checking'+LineEnding+ '# -S2 same as -Mobjfpc'+LineEnding+ '# -Sc supports operators like C (*=,+=,/= and -=)'+LineEnding+ '# -Sa include assertion code.'+LineEnding+ '# -Sd same as -Mdelphi'+LineEnding+ '# -Se error options. is a combination of the following:'+LineEnding+ '# : compiler stops after the errors (default is 1)'+LineEnding+ '# w : compiler stops also after warnings'+LineEnding+ '# n : compiler stops also after notes'+LineEnding+ '# h : compiler stops also after hints'+LineEnding+ '# -Sg allow LABEL and GOTO'+LineEnding+ '# -Sh Use ansistrings'+LineEnding+ '# -Si support C++ styled INLINE'+LineEnding+ '# -Sk load fpcylix unit'+LineEnding+ '# -SI set interface style to '+LineEnding+ '# -SIcom COM compatible interface (default)'+LineEnding+ '# -SIcorba CORBA compatible interface'+LineEnding+ '# -Sm support macros like C (global)'+LineEnding+ '# -So same as -Mtp'+LineEnding+ '# -Sp same as -Mgpc'+LineEnding+ '# -Ss constructor name must be init (destructor must be done)'+LineEnding+ '# -St allow static keyword in objects'+LineEnding+ '# -Sx enable exception keywords (default in Delphi/ObjFPC modes)'+LineEnding+ '#'+LineEnding+ '# Allow goto, inline, C-operators, C-vars'+LineEnding+ '-Sgic'+LineEnding+ ''+LineEnding+ '# ---------------'+LineEnding+ '# Code generation'+LineEnding+ '# ---------------'+LineEnding+ ''+LineEnding+ '# Uncomment the next line if you always want static/dynamic units by default'+LineEnding+ '# (can be overruled with -CD, -CS at the commandline)'+LineEnding+ '#-CS'+LineEnding+ '#-CD'+LineEnding+ ''+LineEnding+ '# Set the default heapsize to 8Mb'+LineEnding+ '#-Ch8000000'+LineEnding+ ''+LineEnding+ '# Set default codegeneration checks (iocheck, overflow, range, stack)'+LineEnding+ '#-Ci'+LineEnding+ '#-Co'+LineEnding+ '#-Cr'+LineEnding+ '#-Ct'+LineEnding+ ''+LineEnding+ '# Optimizer switches'+LineEnding+ '# -Os generate smaller code'+LineEnding+ '# -O1 level 1 optimizations (quick optimizations, debuggable)'+LineEnding+ '# -O2 level 2 optimizations (-O1 + optimizations which make debugging more difficult)'+LineEnding+ '# -O3 level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)'+LineEnding+ '# -Op set target cpu for optimizing, see fpc -i for possible values'+LineEnding+ '#'+LineEnding+ '# See "fpc -i" also for more fine-grained control over which optimizations'+LineEnding+ '# to perform'+LineEnding+ ''+LineEnding+ '# -----------------------'+LineEnding+ '# Set Filenames and Paths'+LineEnding+ '# -----------------------'+LineEnding+ ''+LineEnding+ '# Slashes are also allowed under dos'+LineEnding+ ''+LineEnding+ '# path to the messagefile, not necessary anymore but can be used to override'+LineEnding+ '# the default language'+LineEnding+ '#-Fr/usr/lib/fpc/$fpcversion/msg/errore.msg'+LineEnding+ '#-Fr/usr/lib/fpc/$fpcversion/msg/errorn.msg'+LineEnding+ ''+LineEnding+ '# searchpath for includefiles'+LineEnding+ '#-Fi/pp/inc;/pp/rtl/inc'+LineEnding+ ''+LineEnding+ '#IFDEF FPCAPACHE_1_3'+LineEnding+ '-Fu*FPCPath*lib/fpc/$fpcversion/units/$fpctarget/httpd13/'+LineEnding+ '#ELSE'+LineEnding+ '#IFDEF FPCAPACHE_2_0'+LineEnding+ '-Fu*FPCPath*lib/fpc/$fpcversion/units/$fpctarget/httpd20'+LineEnding+ '#ELSE'+LineEnding+ '-Fu*FPCPath*lib/fpc/$fpcversion/units/$fpctarget/httpd22'+LineEnding+ '#ENDIF'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# searchpath for units and other system dependent things'+LineEnding+ '-Fu*FPCPath*lib/fpc/$fpcversion/units/$fpctarget'+LineEnding+ '-Fu*FPCPath*lib/fpc/$fpcversion/units/$fpctarget/*'+LineEnding+ '-Fu*FPCPath*lib/fpc/$fpcversion/units/$fpctarget/rtl'+LineEnding+ '#-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/'+LineEnding+ ''+LineEnding+ '# searchpath for libraries'+LineEnding+ '#ifdef cpux86_64'+LineEnding+ '-Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3'+LineEnding+ '#endif'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '#ifdef cpui386'+LineEnding+ '-Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3'+LineEnding+ '#endif'+LineEnding+ '#-Fl/pp/lib'+LineEnding+ '#-Fl/lib;/usr/lib'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '# -------------'+LineEnding+ '# Linking'+LineEnding+ '# -------------'+LineEnding+ ''+LineEnding+ '# generate always debugging information for GDB (slows down the compiling'+LineEnding+ '# process)'+LineEnding+ '# -gc generate checks for pointers'+LineEnding+ '# -gd use dbx'+LineEnding+ '# -gg use gsym'+LineEnding+ '# -gh use heap trace unit (for memory leak debugging)'+LineEnding+ '# -gl use line info unit to show more info for backtraces'+LineEnding+ '# -gv generates programs tracable with valgrind'+LineEnding+ '# -gw generate dwarf debugging info'+LineEnding+ '#'+LineEnding+ '# Enable debuginfo and use the line info unit by default'+LineEnding+ '#-gl'+LineEnding+ ''+LineEnding+ '# always pass an option to the linker'+LineEnding+ '#-k-s'+LineEnding+ ''+LineEnding+ '# Always strip debuginfo from the executable'+LineEnding+ '-Xs'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '# -------------'+LineEnding+ '# Miscellaneous'+LineEnding+ '# -------------'+LineEnding+ ''+LineEnding+ '# Write always a nice FPC logo ;)'+LineEnding+ '-l'+LineEnding+ ''+LineEnding+ '# Verbosity'+LineEnding+ '# e : Show errors (default) d : Show debug info'+LineEnding+ '# w : Show warnings u : Show unit info'+LineEnding+ '# n : Show notes t : Show tried/used files'+LineEnding+ '# h : Show hints c : Show conditionals'+LineEnding+ '# i : Show general info d : Show debug info'+LineEnding+ '# l : Show linenumbers r : Rhide/GCC compatibility mode'+LineEnding+ '# a : Show everything x : Executable info (Win32 only)'+LineEnding+ '# b : Write file names messages with full path'+LineEnding+ '# v : write fpcdebug.txt with p : Write tree.log with parse tree'+LineEnding+ '# lots of debugging info'+LineEnding+ '#'+LineEnding+ '# Display Info, Warnings and Notes'+LineEnding+ '-viwn'+LineEnding+ '# If you don`t want so much verbosity use'+LineEnding+ '#-vw'+LineEnding+ ''+LineEnding+ '#'+LineEnding+ '# That`s all folks'+LineEnding+ '#'+LineEnding; FpcCfgWin='# This file was created by '+myVersion+'.'+LineEnding+ '# It`s based on the Example fpc.cfg for Free Pascal Compiler'+LineEnding+ '#'+LineEnding+ ''+LineEnding+ '# ----------------------'+LineEnding+ '# Defines (preprocessor)'+LineEnding+ '# ----------------------'+LineEnding+ ''+LineEnding+ '#'+LineEnding+ '# nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed'+LineEnding+ '#'+LineEnding+ '# -d is the same as #DEFINE'+LineEnding+ '# -u is the same as #UNDEF'+LineEnding+ '#'+LineEnding+ ''+LineEnding+ '#'+LineEnding+ '# Some examples (for switches see below, and the -? helppages)'+LineEnding+ '#'+LineEnding+ '# Try compiling with the -dRELEASE or -dDEBUG on the commandline'+LineEnding+ '#'+LineEnding+ ''+LineEnding+ '# For a release compile with optimizes and strip debuginfo'+LineEnding+ '#IFDEF RELEASE'+LineEnding+ ' -O2'+LineEnding+ ' -Xs'+LineEnding+ ' #WRITE Compiling Release Version'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# For a debug version compile with debuginfo and all codegeneration checks on'+LineEnding+ '#IFDEF DEBUG'+LineEnding+ ' -g'+LineEnding+ ' -Crtoi'+LineEnding+ ' #WRITE Compiling Debug Version'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# set binutils prefix'+LineEnding+ ''+LineEnding+ '#IFNDEF CPUI386'+LineEnding+ '#IFNDEF CPUAMD64'+LineEnding+ '#DEFINE NEEDCROSSBINUTILS'+LineEnding+ '#ENDIF'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '#IFNDEF linux'+LineEnding+ '#DEFINE NEEDCROSSBINUTILS'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '#IFDEF FPC_CROSSCOMPILING'+LineEnding+ '#IFDEF NEEDCROSSBINUTILS'+LineEnding+ ' -XP$fpctarget-'+LineEnding+ '#ENDIF NEEDCROSSBINUTILS'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# ----------------'+LineEnding+ '# Parsing switches'+LineEnding+ '# ----------------'+LineEnding+ ''+LineEnding+ '# Pascal language mode'+LineEnding+ '# -Mfpc free pascal dialect (default)'+LineEnding+ '# -Mobjfpc switch some Delphi 2 extensions on'+LineEnding+ '# -Mdelphi tries to be Delphi compatible'+LineEnding+ '# -Mtp tries to be TP/BP 7.0 compatible'+LineEnding+ '# -Mgpc tries to be gpc compatible'+LineEnding+ '# -Mmacpas tries to be compatible to the macintosh pascal dialects'+LineEnding+ '#'+LineEnding+ '# Turn on Object Pascal extensions by default'+LineEnding+ '#-Mobjfpc'+LineEnding+ ''+LineEnding+ '# Assembler reader mode'+LineEnding+ '# -Rdefault use default assembler'+LineEnding+ '# -Ratt read AT&T style assembler'+LineEnding+ '# -Rintel read Intel style assembler'+LineEnding+ '#'+LineEnding+ '# All assembler blocks are AT&T styled by default'+LineEnding+ '#-Ratt'+LineEnding+ ''+LineEnding+ '# Semantic checking'+LineEnding+ '# -S2 same as -Mobjfpc'+LineEnding+ '# -Sc supports operators like C (*=,+=,/= and -=)'+LineEnding+ '# -Sa include assertion code.'+LineEnding+ '# -Sd same as -Mdelphi'+LineEnding+ '# -Se error options. is a combination of the following:'+LineEnding+ '# : compiler stops after the errors (default is 1)'+LineEnding+ '# w : compiler stops also after warnings'+LineEnding+ '# n : compiler stops also after notes'+LineEnding+ '# h : compiler stops also after hints'+LineEnding+ '# -Sg allow LABEL and GOTO'+LineEnding+ '# -Sh Use ansistrings'+LineEnding+ '# -Si support C++ styled INLINE'+LineEnding+ '# -Sk load fpcylix unit'+LineEnding+ '# -SI set interface style to '+LineEnding+ '# -SIcom COM compatible interface (default)'+LineEnding+ '# -SIcorba CORBA compatible interface'+LineEnding+ '# -Sm support macros like C (global)'+LineEnding+ '# -So same as -Mtp'+LineEnding+ '# -Sp same as -Mgpc'+LineEnding+ '# -Ss constructor name must be init (destructor must be done)'+LineEnding+ '# -St allow static keyword in objects'+LineEnding+ '# -Sx enable exception keywords (default in Delphi/ObjFPC modes)'+LineEnding+ '#'+LineEnding+ '# Allow goto, inline, C-operators, C-vars'+LineEnding+ '-Sgic'+LineEnding+ ''+LineEnding+ '# ---------------'+LineEnding+ '# Code generation'+LineEnding+ '# ---------------'+LineEnding+ ''+LineEnding+ '# Uncomment the next line if you always want static/dynamic units by default'+LineEnding+ '# (can be overruled with -CD, -CS at the commandline)'+LineEnding+ '#-CS'+LineEnding+ '#-CD'+LineEnding+ ''+LineEnding+ '# Set the default heapsize to 8Mb'+LineEnding+ '#-Ch8000000'+LineEnding+ ''+LineEnding+ '# Set default codegeneration checks (iocheck, overflow, range, stack)'+LineEnding+ '#-Ci'+LineEnding+ '#-Co'+LineEnding+ '#-Cr'+LineEnding+ '#-Ct'+LineEnding+ ''+LineEnding+ '# Optimizer switches'+LineEnding+ '# -Os generate smaller code'+LineEnding+ '# -O1 level 1 optimizations (quick optimizations, debuggable)'+LineEnding+ '# -O2 level 2 optimizations (-O1 + optimizations which make debugging more difficult)'+LineEnding+ '# -O3 level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)'+LineEnding+ '# -Op set target cpu for optimizing, see fpc -i for possible values'+LineEnding+ '#'+LineEnding+ '# See "fpc -i" also for more fine-grained control over which optimizations'+LineEnding+ '# to perform'+LineEnding+ ''+LineEnding+ '# -----------------------'+LineEnding+ '# Set Filenames and Paths'+LineEnding+ '# -----------------------'+LineEnding+ ''+LineEnding+ '# Slashes are also allowed under dos'+LineEnding+ ''+LineEnding+ '# path to the messagefile, not necessary anymore but can be used to override'+LineEnding+ '# the default language'+LineEnding+ '#-Fr/usr/lib/fpc/$fpcversion/msg/errore.msg'+LineEnding+ '#-Fr/usr/lib/fpc/$fpcversion/msg/errorn.msg'+LineEnding+ ''+LineEnding+ '# searchpath for includefiles'+LineEnding+ '#-Fi/pp/inc;/pp/rtl/inc'+LineEnding+ ''+LineEnding+ '#IFDEF FPCAPACHE_1_3'+LineEnding+ '-Fu*FPCPath*units/$fpctarget/httpd13/'+LineEnding+ '#ELSE'+LineEnding+ '#IFDEF FPCAPACHE_2_0'+LineEnding+ '-Fu*FPCPath*units/$fpctarget/httpd20'+LineEnding+ '#ELSE'+LineEnding+ '-Fu*FPCPath*units/$fpctarget/httpd22'+LineEnding+ '#ENDIF'+LineEnding+ '#ENDIF'+LineEnding+ ''+LineEnding+ '# searchpath for units and other system dependent things'+LineEnding+ '-Fu*FPCPath*units/$fpctarget'+LineEnding+ '-Fu*FPCPath*units/$fpctarget/*'+LineEnding+ '-Fu*FPCPath*units/$fpctarget/rtl'+LineEnding+ '#-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/'+LineEnding+ ''+LineEnding+ '# searchpath for libraries'+LineEnding+ '#ifdef cpux86_64'+LineEnding+ '#-Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3'+LineEnding+ '#endif'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '#ifdef cpui386'+LineEnding+ '#-Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3'+LineEnding+ '#endif'+LineEnding+ '#-Fl/pp/lib'+LineEnding+ '#-Fl/lib;/usr/lib'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '# -------------'+LineEnding+ '# Linking'+LineEnding+ '# -------------'+LineEnding+ ''+LineEnding+ '# generate always debugging information for GDB (slows down the compiling'+LineEnding+ '# process)'+LineEnding+ '# -gc generate checks for pointers'+LineEnding+ '# -gd use dbx'+LineEnding+ '# -gg use gsym'+LineEnding+ '# -gh use heap trace unit (for memory leak debugging)'+LineEnding+ '# -gl use line info unit to show more info for backtraces'+LineEnding+ '# -gv generates programs tracable with valgrind'+LineEnding+ '# -gw generate dwarf debugging info'+LineEnding+ '#'+LineEnding+ '# Enable debuginfo and use the line info unit by default'+LineEnding+ '#-gl'+LineEnding+ ''+LineEnding+ '# always pass an option to the linker'+LineEnding+ '#-k-s'+LineEnding+ ''+LineEnding+ '# Always strip debuginfo from the executable'+LineEnding+ '-Xs'+LineEnding+ ''+LineEnding+ ''+LineEnding+ '# -------------'+LineEnding+ '# Miscellaneous'+LineEnding+ '# -------------'+LineEnding+ ''+LineEnding+ '# Write always a nice FPC logo ;)'+LineEnding+ '-l'+LineEnding+ ''+LineEnding+ '# Verbosity'+LineEnding+ '# e : Show errors (default) d : Show debug info'+LineEnding+ '# w : Show warnings u : Show unit info'+LineEnding+ '# n : Show notes t : Show tried/used files'+LineEnding+ '# h : Show hints c : Show conditionals'+LineEnding+ '# i : Show general info d : Show debug info'+LineEnding+ '# l : Show linenumbers r : Rhide/GCC compatibility mode'+LineEnding+ '# a : Show everything x : Executable info (Win32 only)'+LineEnding+ '# b : Write file names messages with full path'+LineEnding+ '# v : write fpcdebug.txt with p : Write tree.log with parse tree'+LineEnding+ '# lots of debugging info'+LineEnding+ '#'+LineEnding+ '# Display Info, Warnings and Notes'+LineEnding+ '-viwn'+LineEnding+ '# If you don`t want so much verbosity use'+LineEnding+ '#-vw'+LineEnding+ ''+LineEnding+ '#'+LineEnding+ '# That`s all folks'+LineEnding+ '#'; type //some types for better readability TLUTaskNum = (tnUFPC, tnMFPC, tnIFPC, tnULaz, tnMLaz, tnMLazB, tnSLaz); TLUTaskStatus = (tsToDo, tsInProgress, tsDone, tsError, tsSkipped, tsUnchanged); //stores info of used compiler TLUFpcInfo = record Version, OS, CPU:String; end; //stores tasks to do TLUTask = record Activated:Boolean; Name:String; Status:TLUTaskStatus; end; var LUFpcInfo:TLUFpcInfo; LUFPCInstDir:String; LUConfigDir:String; LUConfigFile:String; HomeDir:String; SilentOut:Boolean; ActivateAsync:Boolean; //change this variable to (de)activate option for AsyncProcess resourcestring rsTheFileCould = 'The file "%s" could not be opend!'; rsNoConfigFile = 'No config file selected! Please do so first.'; rsNoConfigFile2 = 'No config file found! Please use the "create fpc.cfg" ' +'button.'; rsAreYouSureTo = 'Are you sure to delete "%s"?'; rsFileDeleted = 'File "%s" deleted.'; rsAnErrorOccur = 'An error occurred. Please make sure you have proper ' +'rights on this file.'; rsAnErrorOccur2 = 'An Error occurred. Please make sure the "Path to FPC-' +'Install-Directory" on tab "FPC" is filled in correctly!'; rsMaybeNotAllF = 'Maybe not all files are shown. Please check the "Path to ' +'FPC-Install-Directory" on tab "FPC"!'; rsCheckoutFPC = 'checkout FPC'; rsUpdateFPC = 'update FPC'; rsMakeFPCForce = 'make FPC (force)'; rsMakeFPC = 'make FPC'; rsInstallFPC = 'install FPC'; rsMakeLazarusF = 'make Lazarus (force)'; rsMakeLazarusF2 = 'make Lazarus (forced after FPC)'; rsCheckoutLaza = 'checkout Lazarus'; rsUpdateLazaru = 'update Lazarus'; rsBuildIDEWith = 'build Lazarus with LazBuild'; rsMakeLazarus = 'make Lazarus'; rsStripLazarus = 'strip Lazarus binaries'; rsErrorExecuti = 'Error executing "%s".%sEnsure program is installed, ' +'parameters set correctly and directory exist.'; rsLogForFPC = 'Log for FPC'; rsEndOfLogForF = 'End of Log for FPC'; rsLogForLazaru = 'Log for Lazarus'; rsEndOfLogForL = 'End of Log for Lazarus'; rsThereAreMore = 'There are more than 100 revisions to show. This can take ' +'a lot of time!%sDo you realy want to show the Log for FPC?'; rsThereAreMore2 = 'There are more than 100 revisions to show. This can ' +'take a lot of time!%sDo you realy want to show the Log for Lazarus?'; rsWarningThisF = 'Warning! This feature is in alpha state. You will ' +'possibly see no output.%sDo you still want to activate it?'; rsErrorPleaseC = 'Error: Please check "Path to FPC-Source"! Use only ' +'absolute paths like "C:\dev\fpc-src"(Windows) or "/home/john/dev/fpc-' +'src"(Linux/Mac).'; rsErrorPleaseC2 = 'Error: Please check "Path to FPC-Install-Directory"! ' +'Specify a absolute path like "C:\dev\fpc"(Windows) or "/home/john/dev/' +'fpc"(Linux/Mac).'; rsNoSVNFilesFo = 'No SVN-Files found in directory "%s"!%sDo you want to do ' +'a CheckOut?'; rsErrorPleaseC3 = 'Error: Please check "CheckOut-URL for Fpc"! Use only ' +'full adresses like "http://svn.freepascal.org/svn/lazarus/trunk".'; rsCheckOutAbor = 'CheckOut aborted by user.'; rsTheDirectory = 'The directory "%s" was not found. Shall I create it and ' +'do a CheckOut?'; rsErrorPleaseC4 = 'Error: Please check "CheckOut-URL for Fpc"! Use only ' +'full adresses like "http://svn.freepascal.org/svn/lazarus/trunk".'; rsErrorPleaseC5 = 'Error: Please check "Path to Lazarus"! Use only ' +'absolute paths like "C:\dev\lazarus"(Windows) or "/home/john/dev/' +'lazarus"(Linux/Mac).'; rsNoSVNFilesFo2 = 'No SVN-Files found in directory "%s"!%sDo you want to ' +'do a CheckOut?'; rsErrorPleaseC6 = 'Error: Please check "CheckOut-URL for Lazarus"! Use ' +'only full adresses like "http://svn.freepascal.org/svn/lazarus/trunk".'; rsTheDirectory2 = 'The directory "%s" was not found. Shall I create it and ' +'do a CheckOut?'; rsErrorPleaseC7 = 'Error: Please check "CheckOut-URL for Lazarus"! Use ' +'only full adresses like "http://svn.freepascal.org/svn/lazarus/trunk".'; rsLazarusMustB = 'Lazarus must be closed to do an update!%sIs it closed now?'; rsLazarusNotCl = 'Lazarus not closed! Aborted by user.'; rsSavingProfil = 'saving profile...'; rsStartedOnAt = 'started on %s at %s'; rsNoUpdateFoun = 'No update found!'; rsForcingMake = 'forcing "make"'; rsErrorWhileDo = 'Error while doing "strip".'; rsFinishedOnAt = 'finished on %s at %s'; rsTimeNeeded = 'time needed: %s'; rsThisWonTStop = 'This won`t stop child processes in background or may ' +'corrupt your installation!%sDo you really want to terminate the ' +'running process?'; rsProcessStopp = 'Process stopped by user.'; rsDoYouReallyW = 'Do you really want to terminate the running process?'; rsFirstStartDe = 'First start detected.%sPlease check "FPC"- and "Lazarus"-' +'pages for correct paths and options!'; rsToDo = 'to do'; rsInProgress = 'in progress'; rsDone = 'done'; rsERROR = 'ERROR'; rsSkipped = 'skipped'; rsUnchanged = 'unchanged'; rsThePATHHasBe = 'The PATH has been changed. Please reboot to make the ' +'change happen.'; rsEntryForPATH = 'Entry for PATH alrady exists. Nothing changed!'; rsPleaseCheckT = 'Please check the "Path to FPC-Install-Directory".'; rsNoSymlinksWe = 'No symlinks were created!%sPlease check the paths of FPC-' +'Tab.'; rsSymlinksWere = 'Symlinks were sucssesfully created!'; rsDeleteCurren = 'Delete current Profile?'; rsDefaultProfi = '"default"-profile can not be deleted!'; rsStartingSVNU = 'starting SVN Update for FPC'; rsSVNUpdateDon = 'SVN Update done'; rsSVNUpdateERR = 'SVN Update ERROR: %s'; rsStartingSVNC = 'starting SVN Checkout for FPC'; rsSVNCheckOutD = 'SVN CheckOut done.'; rsSVNCheckOutE = 'SVN CheckOut ERROR: %s'; rsSameVersionF = 'Same Version found! Stopping process.'; rsStartingMake = 'starting make for FPC'; rsMakeDone = 'make done'; rsMakeError = 'make Error: %s'; rsStartingMake2 = 'starting make install for FPC'; rsMakeInstallD = 'make install done'; rsStartingSVNC2 = 'starting SVN Checkout for Lazarus'; rsStartingSVNU2 = 'starting SVN Update for Lazarus'; rsStartingMake3 = 'starting make for Lazarus'; rsStartBuildin = 'start building Lazarus with LazBuild'; rsBuildingIDED = 'building Lazarus with LazBuild done'; rsMakeERROR2 = 'make ERROR: %s'; rsStripping = 'stripping %s'; rsERROR2 = 'ERROR: %s'; rsErrorExecuti2 = 'Error executing "%s".%sEnsure program is installed, ' +'parameters set correctly and directory exist.'; rsFileSaved = 'File saved.'; rsSaveModified = 'Save modified file?'; rsWrittenIn201 = '(c)2010-2011 by Ingo Steiniger'+LineEnding+ 'Developed with FPC/Lazarus'+LineEnding+ 'Licensed under GPL v3'+LineEnding+ LineEnding+ 'For more information read the manual.'; rsThisIsNotNec = 'This is not necessary on Windows!'; implementation end.