Sign in Join
Wiki copytemporary

Lazarus Manager: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## Introduction
22
33This program is made to have latest news of lazarus/fpc development, because install everyday the daily snapshot is a little bit laborious.
44
55You 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.
66
77Finally, 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").
88
99**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).
1010
1111**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.**
1212
13-\
14-
1513## Windows
1614
1715Lazarus 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.
1816
1917From Windows (with android ndk, if required) it build:\
20-\
18+
2119* Lazarus branch with targets:
2220
2321- - i386-win32
2422 - X86_64-win64
2523
26-\
2724*Lazarus trunk with targets:
2825
2926- - i386-win32
3027 - X86_64-win64
3128 - arm-android
3229 - arm-linux
3330
34-\
35-
3631### First Installation
3732
3833Lazarus 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.
3934
4035Lazarus Manager saves latest settings used in **./config.ini**:
4136
4237- Drive
4338- Path
4439- Branches svn url
4540- Trunk svn url
4641- Android ndk paths
4742
4843The usage of Lazarus Manager is intuitive, so in first tab you will find base file urls.
4944
5045If you want to make shortcuts to desktop check the flag in left-bottom corner.
5146
52-<center>
53-
54-<figure>
55-<img src="Pre-Installation.png" title="Pre-Installation.png" />
56-<figcaption>Pre-Installation.png</figcaption>
57-</figure>
58-
59-</center>
47+![](/wiki-images/f/fb/Pre-Installation.png)
6048
6149**`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.`
6250
63-\
6451In "Stable Tree" tab there are the svn urls (you can change with newer revision when they will came out) and targets:
6552
66-<center>
67-
68-<figure>
69-<img src="Stable-Tree.png" title="Stable-Tree.png" />
70-<figcaption>Stable-Tree.png</figcaption>
71-</figure>
72-
73-</center>
53+![](/wiki-images/e/e0/Stable-Tree.png)
7454
7555If 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:
7656
7757- arm-linux-androideabi
7858- binutils
7959
80-\
8160E.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:
8261
8362- C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\arm-linux-androideabi\bin
8463- C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin
8564
86-<center>
87-
88-<figure>
89-<img src="Trunk-Tree.png" title="Trunk-Tree.png" />
90-<figcaption>Trunk-Tree.png</figcaption>
91-</figure>
92-
93-</center>
65+![](/wiki-images/5/5a/Trunk-Tree.png)
9466
9567In "Install/Update" tab you can do the first installation or just update actual installation:
9668
97-<center>
98-
99-<figure>
100-<img src="Install-Update.png" title="Install-Update.png" />
101-<figcaption>Install-Update.png</figcaption>
102-</figure>
103-
104-</center>
69+![](/wiki-images/c/cb/Install-Update.png)
10570
10671### Update
10772
10873In 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.\
109-\
74+
11075LazarusManager accepts three parameters:
11176
11277- First parameter
11378 - **autoupdate** (it indicates that Lazarus should be updated automatically to latest svn, without interactions)
11479
115-\
11680* Second parameter
11781
11882- - **both** (it updates **both** branch and trunk trees)
11983 - **branch** (it updates **branch** tree)
12084 - **trunk** (it updates **trunk** tree)
12185
122-\
12386* Third parameter (**NOTE: i386-win32 target is always included**)
12487
12588- - **all** (it updates **all** targets)
12689 - **x64b** (it updates **x86_64-win64 branch** target)
12790 - **x64t** (it updates **x86_64-win64 trunk** target)
12891 - **andarm** (it updates **arm-android trunk** target)
12992 - **linarm** (it updates **arm-linux trunk** target)
13093
131-\
13294Example 1:
13395
13496`LazarusManager.exe autoupdate both all`
13597
13698Example 2:
13799
138100`LazarusManager.exe autoupdate branch x64b`
139101
140102Wrong combinations are ignored, e.g.
141103
142104`LazarusManager.exe autoupdate branch andarm`
143105
144-\
145-
146106### Directory structure
147107
148-<figure>
149-<img src="Directories.png" title="Directories.png" />
150-<figcaption>Directories.png</figcaption>
151-</figure>
108+![](/wiki-images/c/c6/Directories.png)
152109
153110### How to start Lazarus
154111
155112Lazarus 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.
156113
157114To 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).
158115
159116### Configure first Lazarus launch
160117
161118Here it is an example of generic "first run", you need to use correct paths to ensure the right functionality.
162119
163-<figure>
164120<img src="Config.png" title="Configuration (click to zoom)" width="800" />
165-<figcaption>Configuration (click to zoom)</figcaption>
166-</figure>
167121
168122**NOTE**: remember to edit Tools -\> IDE Options -\> Environment to set paths concording the installation:
169123
170-<figure>
171-<img src="IDE_Options_Environment.png" title="IDE_Options_Environment.png" />
172-<figcaption>IDE_Options_Environment.png</figcaption>
173-</figure>
124+![](/wiki-images/2/26/IDE_Options_Environment.png)
174125
175126## Download
176127
177128The link below is dead\
178-<s>You can download Lazarus Manager from [here](http://www.kjow.net/lazarus-utilities/)</s>.
129+You can download Lazarus Manager from [here](http://www.kjow.net/lazarus-utilities/).
179130
180131## Extra Info
181132
182133- Lazarus Manager will save in the root you choose to install Lazarus a log.txt file with the entry **last** process made (e.g. First Installation, Update, etc).
183134
184135- In log form or in log.txt, at the end of installation there il a reminder of which paths you need to add at the Windows **System PATH**, e.g.:
185136
186137`...`\
187138`...`\
188139`...`\
189140`********************`\
190141`To complete the installation, please add these paths to System PATH:`\
191142`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`\
192143`********************`
193144
194145## See also
195146
196147- [[Installing Lazarus]] Official way to install Lazarus
197148- [[fpcup]] Another tool that installs/updates FPC+Lazarus for you.
198149- [[fpcupdeluxe]] Yet another tool that installs/updates FPC+Lazarus for you.
199150
200151## Credit
201152
202153Kjow 01:00, 10 January 2014 (CET)\
203154Latest Revision: Kjow 15:49, 10 January 2014 (CET)
204155
205156---
206157*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](/wiki-contact).*
207158Category: Lazarus

Back to history