Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Lazarus Manager

Introduction

This program is made to have latest news of lazarus/fpc development, because install everyday the daily snapshot is a little bit laborious.

You can edit and improve Lazarus Manager sending me your feedback, maybe I will release the source code in future, but now I prefer to develop it myself.

Finally, these scripts are for who doesn't want waste time on installations/configurations, but wants to develop on quick time ("end-users", not "developers of the development system").

NOTE: Lazarus Manager is made by Kjow and are not supported by the FPC/Lazarus team. This is occasionally updated to latest revision, but there may be problems with last minute SVN changes (so, it might not work with the last minute version).

NOTE 2: Before Lazarus Manager, there were four scripts (2 for windows and 2 for Linux). These are obsolete. They don't work anymore due changes in Lazarus/FPC source and Windows/Linux structure. Don't ask for these, they don't exist anymore.

Windows

Lazarus Manager is a sort of "one-click" installation that permit to install Lazarus/FPC svn without anything else. It downloads all the necessary (svn client, utils, binutils, Lazarus branches/trunk svn, FPC branches/trunk svn), makes the directories structure and builds everything for also cross-compile for arm android/linux.

From Windows (with android ndk, if required) it build:\

*Lazarus trunk with targets:

First Installation

Lazarus Manager has some controls to check if something fails (e.g. android ndk path not found), anyway before start you should know something and set some little things.

Lazarus Manager saves latest settings used in ./config.ini:

The usage of Lazarus Manager is intuitive, so in first tab you will find base file urls.

If you want to make shortcuts to desktop check the flag in left-bottom corner.

text
NOTE: If you choose to select "One click installation" (recommended), buttons "Generate Directory Structure" and "Start Necessaries Download" are disabled and the installation process will do all the work for you.

In "Stable Tree" tab there are the svn urls (you can change with newer revision when they will came out) and targets:

If you need to cross-compile Lazarus app for Android, you need to download and extract the NDK in your hard disk, then you had to save two paths:

E.g. if you use Windows X64 (I tested on Windows 8.1 X64), download and initialize Android NDK for Windows X64. So, if you have version r9 of ndk the requested paths will be:

In "Install/Update" tab you can do the first installation or just update actual installation:

Update

In the end, if you want automatize update process you can make a link (or batch file) to LazarusManager.exe to put in Windows auto-start directory, or just launch it when necessary. An example of this link is supplied in zip file.\

LazarusManager accepts three parameters:

Example 1:

text
LazarusManager.exe autoupdate both all

Example 2:

text
LazarusManager.exe autoupdate branch x64b

Wrong combinations are ignored, e.g.

text
LazarusManager.exe autoupdate branch andarm

Directory structure

How to start Lazarus

Lazarus Manager will create in lazarus branch/trunk roots a shortcuts that make start Lazarus with config dir inside the same root instead of Windows user directory, so you can have how many installations you want.

To start Lazarus go to Lazarus root (branch or trunk) and double click on Lazarus_B_Develop for branch or Lazarus_T_Develop for trunk (NOTE: "Develop" is the general installation root, if you change it on install phase, it will be name as you choose).

Configure first Lazarus launch

Here it is an example of generic "first run", you need to use correct paths to ensure the right functionality.

NOTE: remember to edit Tools -> IDE Options -> Environment to set paths concording the installation:

Download

The link below is dead
You can download Lazarus Manager from here.

Extra Info

pascal
...
...
...
********************
To complete the installation, please add these paths to System PATH:
C:\Develop\fpc\Bootstrap;C:\Develop\fpc\Binutils;C:\Develop\fpc\Utils\bin\i386-win32;C:\Program Files\SlikSvn\bin\;C:\Develop\fpc\fpc_2.6.x\bin\i386-win32;C:\Develop\fpc\fpctrunk\bin\i386-win32
********************

See also

Credit

Kjow 01:00, 10 January 2014 (CET)
Latest Revision: Kjow 15:49, 10 January 2014 (CET)


From the Free Pascal wiki, page "Lazarus Manager", as it stood on 2020-01-03 after a change by Bart, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 4, last changed by WikiArchive .