I don't have Windows right now.
I found out an easy way to test my development repository changes also under Wine.
Lazarus runs amazingly well with Wine.
I installed the latest Lazarus release Windows version on Linux. It opens with Wine automatically, no problems.
Then I ran a bash script (copied below and attached). It deletes the source directories and replaces them with symbolic links to my development sources.
Then I started the Windows version again. It complains about wrong version and a missing package but that is OK.
Then I rebuilt it from Tools -> Configure Build Lazarus ... and I have the latest Windows version of Lazarus running on Linux! Absolutely cool. :)
I can check that my changes don't break the Windows version already before committing them.
Juha
---
#!/bin/bash
# Lazarus development version path.
LazDevelPath=~/SW/lazarus_gitsvn
# Lazarus release Windows version.
cd ~/.wine/drive_c/lazarus
for LazDir in components converter debugger designer doceditor docs examples ide images languages lcl packager test tools do
# Do not delete already linked directories.
if [[ -L "$LazDir" ]]; then
echo "Directory $LazDir is already linked"
continue
fi
echo "Linking directory $LazDir to development version"
# Delete a directory from Windows installation.
rm -rf $LazDir
# Replace it with a symbolic link to Linux development version.
ln -s $LazDevelPath/$LazDir $LazDirdone
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinkLazFromWineToLinux.sh
Type: application/x-sh
Size: 645 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150906/b6825422/attachment.sh>
