source: general/prog/lazarus.xml@ 03ecbc8a

lazarus
Last change on this file since 03ecbc8a was a774a7f3, checked in by Thomas Trepl <thomas@…>, 14 months ago

Upgrade fpc/Lazarus version; Add 'uacme' tool

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