Changeset 7d55a6a
- Timestamp:
- 05/12/2024 01:01:04 PM (11 days ago)
- Branches:
- lazarus
- Parents:
- a722d59
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/fpc.xml
ra722d59 r7d55a6a 191 191 </para> 192 192 <para> 193 Even atemporary binary compiler must be installed prior to194 compile the compiler from the source , it is assumed that the195 <application>FreePascal</application> sources has been196 extracted and the current directory has been changed to it just197 like as usual.193 A temporary binary compiler must be installed prior to 194 compile the compiler from the source. It is assumed that 195 the <application>FreePascal</application> sources has been 196 extracted and the current directory has been changed to it 197 just like as usual. 198 198 </para> 199 199 <para> … … 339 339 <para> 340 340 If you are going to use QT (most likely when building Lazarus 341 with the QT library), add the QT library path to the config as the 342 <systemitem class="username">root</systemitem> user: 341 with the QT library), make sure QT6DIR ist set prior to running 342 the following command. Add the QT library path to the config as 343 the <systemitem class="username">root</systemitem> user: 343 344 </para> 344 345 345 <screen role="root"><userinput>sed -e "/^-Fl\/usr\/lib\/fpc/a -Fl /opt/qt5/lib" \346 <screen role="root"><userinput>sed -e "/^-Fl\/usr\/lib\/fpc/a -Fl&qt6-dir;/lib" \ 346 347 -i /etc/fpc.cfg</userinput></screen> 347 348 -
general/prog/lazarus.xml
ra722d59 r7d55a6a 8 8 NOTE: 9 9 Whenever upgrading to another version of Lazarus, 10 update qt5pas.xml , too!10 update qt5pas.xml and qt6pas.xml, too! 11 11 --> 12 12 <!ENTITY lazarus-download-http "https://downloads.sourceforge.net/project/lazarus/Lazarus Zip _ GZip/Lazarus &lazarus-version;/lazarus-&lazarus-version;-0.tar.gz"> … … 69 69 <bridgehead renderas="sect3">Lazarus Dependencies</bridgehead> 70 70 <para role="required"> 71 <xref linkend="fpc"/>, and one of 72 <xref linkend="qt5"/> and <xref linkend="qt5pas"/> for QT5 based IDE, 73 <xref linkend="qt6"/> and <xref linkend="qt6pas"/> for QT6 based IDE, 71 <xref linkend="fpc"/>, and 72 <xref linkend="qt6"/> plus <xref linkend="qt6pas"/> for QT6 based IDE, 74 73 or 75 74 <xref linkend="gtk3"/> for Gtk3 based IDE … … 91 90 92 91 <!-- 93 Looks like that even both versions (gtk3, qt5) can be on one machine 94 when the binaries 'lazarus' and 'startlazarus' are moved to 92 Looks like that even multible versions (gtk3, qt5, qt6) can be on 93 one machine at the same time when the binaries 'lazarus' and 94 'startlazarus' are moved to 95 95 96 lazarus -> lazarus-gtk3 96 97 startlazarus -> startlazarus-gtk3 98 97 99 and after building the QT5 variant 100 98 101 lazarus -> lazarus-qt5 99 102 startlazarus -> startlazarus-qt5 103 100 104 and than symlink lazarus/startlazarus to the desired ones. 101 (it needs to be analyzed more deeply)102 103 Instructions are taken from ArchLinux and adopted to LFS104 105 --> 105 106 <para> 106 107 If you want to build <application>Lazarus</application> with 107 108 the gtk3 toolkit, build the package by running the following 108 commands, otherwise skip the following instructions and proceed 109 to the instructions to build the QT5 based variant below. 110 </para> 111 109 commands, otherwise skip the GTK instructions and proceed 110 to the instructions to build the QT based variant below. 111 </para> 112 113 <para>Built GTK based IDE:</para> 112 114 <screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=gtk3 bigide</userinput></screen> 113 115 114 116 <para> 115 If the gtk3 variant has bee built, skip the QT5 and QT6 section and 116 proceed to the installation. 117 Otherwise <application>Lazarus</application> is to be built using 118 the QT5 library by running the following commands: 119 </para> 120 117 Now proceed to the installation (meaning skip the QT build below). 118 </para> 119 120 <!-- QT5 fades out of BLFS ... 121 <para>Built Qt5 based IDE:</para> 121 122 <screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=qt5 bigide</userinput></screen> 122 123 … … 124 125 Now proceed to the installation. 125 126 </para> 127 --> 126 128 127 <para> 128 <application>Lazarus</application> can also be built using the 129 QT6 library. Build it in similar way: 130 </para> 129 <para>Built Qt6 based IDE:</para> 131 130 <screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=qt6 bigide</userinput></screen> 132 131 133 132 <para> 134 Likewise, a gtk2 variant can be built in similar way - just use135 LCL_PLATFORM=gtk2 in the <code>make ... bigide</code> command. It136 is not included here as gtk2 is quite outdated and no longer included137 in the BLFS book.133 Likewise, a gtk2 or a qt5 variant can be built in similar way - just use 134 LCL_PLATFORM=gtk2 resp. LCL_PLATFORM=qt5 in the <code>make ... bigide</code> 135 command. It is not included here as gtk2 and qt5 are outdated 136 and no longer included in the BLFS book. 138 137 </para> 139 138 -
general/prog/prog.xml
ra722d59 r7d55a6a 22 22 <!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf213.xml"/--> 23 23 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bazaar.xml"/> --> 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cbindgen.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clisp.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/> … … 75 75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dummy-fpc.xml"/> 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fpc.xml"/> 77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt5pas.xml"/> 77 <!-- QT5 is fading out of BLFS .... --> 78 <!-- xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt5pas.xml"/ --> 78 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt6pas.xml"/> 79 80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lazarus.xml"/> -
packages.ent
ra722d59 r7d55a6a 400 400 <!ENTITY lazarus-chksum "75b871d4d19d08570d2f282b0d8fed0e"> 401 401 <!ENTITY lazarus-pkgsize "83.7 MB"> 402 <! ENTITY qt5pas-version "&lazarus-version;">402 <!-- ENTITY qt5pas-version "&lazarus-version;"--> 403 403 <!ENTITY qt6pas-version "&lazarus-version;"> 404 404
Note:
See TracChangeset
for help on using the changeset viewer.