Changeset 7d55a6a


Ignore:
Timestamp:
05/12/2024 01:01:04 PM (11 days ago)
Author:
Thomas Trepl <thomas@…>
Branches:
lazarus
Parents:
a722d59
Message:

1) Textual changes
2) Let QT5 go...

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general/prog/fpc.xml

    ra722d59 r7d55a6a  
    191191      </para>
    192192      <para>
    193         Even a temporary binary compiler must be installed prior to
    194         compile the compiler from the source, it is assumed that the
    195         <application>FreePascal</application> sources has been
    196         extracted and the current directory has been changed to it just
    197         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.
    198198      </para>
    199199      <para>
     
    339339    <para>
    340340      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:
    343344    </para>
    344345   
    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" \
    346347    -i /etc/fpc.cfg</userinput></screen>
    347348
  • general/prog/lazarus.xml

    ra722d59 r7d55a6a  
    88      NOTE:
    99      Whenever upgrading to another version of Lazarus,
    10       update qt5pas.xml, too!
     10      update qt5pas.xml and qt6pas.xml, too!
    1111  -->
    1212  <!ENTITY lazarus-download-http "https://downloads.sourceforge.net/project/lazarus/Lazarus Zip _ GZip/Lazarus &lazarus-version;/lazarus-&lazarus-version;-0.tar.gz">
     
    6969    <bridgehead renderas="sect3">Lazarus Dependencies</bridgehead>
    7070    <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,
    7473      or
    7574      <xref linkend="gtk3"/> for Gtk3 based IDE
     
    9190
    9291<!--
    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 
    9596    lazarus      -> lazarus-gtk3
    9697    startlazarus -> startlazarus-gtk3
     98
    9799  and after building the QT5 variant
     100
    98101    lazarus      -> lazarus-qt5
    99102    startlazarus -> startlazarus-qt5
     103
    100104  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 LFS
    104105-->
    105106    <para>
    106107      If you want to build <application>Lazarus</application> with
    107108      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>
    112114<screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=gtk3 bigide</userinput></screen>
    113115
    114116    <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>
    121122<screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=qt5 bigide</userinput></screen>
    122123
     
    124125      Now proceed to the installation.
    125126    </para>
     127-->
    126128   
    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>
    131130<screen><userinput>make -j1 FPC=/usr/bin/fpc LCL_PLATFORM=qt6 bigide</userinput></screen>
    132131
    133132    <para>
    134       Likewise, a gtk2 variant can be built in similar way - just use
    135       LCL_PLATFORM=gtk2 in the <code>make ... bigide</code> command. It
    136       is not included here as gtk2 is quite outdated and no longer included
    137       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.
    138137    </para>
    139138
  • general/prog/prog.xml

    ra722d59 r7d55a6a  
    2222  <!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf213.xml"/-->
    2323<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bazaar.xml"/> -->
    24       <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cbindgen.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cbindgen.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clisp.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/>
     
    7575  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dummy-fpc.xml"/>
    7676  <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"/ -->
    7879  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt6pas.xml"/>
    7980  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lazarus.xml"/>
  • packages.ent

    ra722d59 r7d55a6a  
    400400<!ENTITY lazarus-chksum               "75b871d4d19d08570d2f282b0d8fed0e">
    401401<!ENTITY lazarus-pkgsize              "83.7 MB">
    402 <!ENTITY qt5pas-version               "&lazarus-version;">
     402<!-- ENTITY qt5pas-version               "&lazarus-version;"-->
    403403<!ENTITY qt6pas-version               "&lazarus-version;">
    404404
Note: See TracChangeset for help on using the changeset viewer.