source: general/prog/lazarus.xml@ d6d97a56

lazarus
Last change on this file since d6d97a56 was d6d97a56, checked in by Thomas Trepl (Moody) <thomas@…>, 2 years ago

Minor, mostly textual changes

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!--
8 NOTE:
9 Whenever upgrading to another version of Lazarus,
10 update qt5pas.xml, too!
11 -->
12 <!ENTITY lazarus-download-http "https://downloads.sourceforge.net/project/lazarus/Lazarus Zip _ GZip/Lazarus &lazarus-version;/lazarus-&lazarus-version;-&lazarus-patch-version;.tar.gz">
13 <!ENTITY lazarus-md5sum "c47680c84192008af1d05aa42b58c1da">
14 <!ENTITY lazarus-size "73.2 MB">
15 <!ENTITY lazarus-buildsize "817.2 MB">
16 <!ENTITY lazarus-time "1.5 SBU">
17]>
18
19<sect1 id="lazarus" xreflabel="lazarus-&lazarus-version;">
20 <?dbhtml filename="lazarus.html"?>
21
22 <sect1info>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Lazarus-&lazarus-version;</title>
27
28 <indexterm zone="lazarus">
29 <primary sortas="a-lazarus">lazarus</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to lazarus</title>
34
35 <para><!-- copied from https://www.lazarus-ide.org/ -->
36 Lazarus is a Delphi compatible cross-platform IDE for Rapid
37 Application Development. It has variety of components ready
38 for use and a graphical form designer to easily create complex
39 graphical user interfaces.
40 </para>
41
42 &lfs111_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&lazarus-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &lazarus-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &lazarus-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &lazarus-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &lazarus-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Lazarus Dependencies</bridgehead>
74 <para role="required">
75 <xref linkend="fpc"/>, and one of
76 <xref linkend="qt5"/> and <xref linkend="qt5pas"/> for QT based IDE, or
77 <xref linkend="gtk2"/> for Gtk2 based IDE
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/lazarus"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of Lazarus</title>
87
88 <para>
89 Ensure that the source tree is in proper state:
90 </para>
91
92<screen><userinput>make -j1 FPC=/usr/bin/fpc clean</userinput></screen>
93
94<!--
95 Looks like that even both versions (gtk2, qt5) can be on one machine
96 when the binaries 'lazarus' and 'startlazarus' are moved to
97 lazarus -> lazarus-gtk2
98 startlazarus -> startlazarus-gtk2
99 and after building the QT5 variant
100 lazarus -> lazarus-qt5
101 startlazarus -> startlazarus-qt5
102 and than symlink lazarus/startlazarus to the desired ones.
103 (it needs to be analyzed more deeply)
104
105 Instructions are taken from ArchLinux and adopted to LFS
106-->
107 <para>
108 If you want to build <application>Lazarus</application> with
109 the gtk2 toolkit, build the package by running the following
110 commands, otherwise skip the following instructions and proceed
111 to the instructions to build the QT5 based variant below.
112 </para>
113
114<screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=gtk2 bigide</userinput></screen>
115
116 <para>
117 If you have built the gtk2 variant, skip the QT5 section and
118 proceed to the installation. Otherwise
119 <application>Lazarus</application> is built using the
120 QT5 library by running the following commands:
121 </para>
122
123<screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=qt5 bigide</userinput></screen>
124
125 <para>
126 This package does not come with a test suite.
127 </para>
128
129 <para>
130 Now, install <application>lazarus</application> as the
131 <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make INSTALL_PREFIX=/usr distinstall
135
136mv /usr/share/lazarus/docs /usr/share/doc/lazarus
137
138mv /usr/share/lazarus /usr/lib/
139for L in $(find /usr/bin -type l); do
140 ln -svf "$(readlink $L | sed 's@/share/@/lib/@')" "$L"
141done
142
143sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
144 -i /usr/share/applications/lazarus.desktop
145
146install -Dm644 images/ide_icon48x48.png \
147 /usr/share/pixmaps/lazarus.png</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Program</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg>startlazarus, lazarus-ide, lrstolfm, updatepofiles, lazbuild, lazres</seg>
161 <seg>None</seg>
162 <seg>/usr/lib/lazarus</seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="lazarus-pgm">
172 <term><filename class="libraryfile">startlazarus</filename></term>
173 <listitem>
174 <para>
175 Starting the Delphi-like IDE
176 </para>
177 <indexterm zone="lazarus lazarus-pgm">
178 <primary sortas="b-lazarus">startlazarus</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.