Changeset 8163ea8f


Ignore:
Timestamp:
01/22/2022 03:47:00 PM (4 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
lazarus
Children:
179da23c
Parents:
e6974d1
Message:

Upgrade to Lazarus-2.2.0 and simplify instructions

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lazarus.xml

    re6974d1 r8163ea8f  
    55  %general-entities;
    66
    7   <!ENTITY lazarus-download-http "https://downloads.sourceforge.net/project/lazarus/Lazarus Zip _ GZip/Lazarus &lazarus-version;/lazarus-&lazarus-version;.tar.gz">
    8   <!ENTITY lazarus-md5sum        "208dfeb20c528649d2598cc0eb341309">
    9   <!ENTITY lazarus-size          "66.3 MB">
    10   <!ENTITY lazarus-buildsize     "x.x MB">
    11   <!ENTITY lazarus-time          "x SBU">
     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;-0.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">
    1217]>
    1318
     
    6873    <bridgehead renderas="sect3">Lazarus Dependencies</bridgehead>
    6974    <para role="required">
    70       <xref linkend="rsync"/>,
    7175      <xref linkend="fpc"/>, and one of
    72       <xref linkend="qt5"/> and <xref linkend="qt5pas"/>, or
    73       <xref linkend="gtk2"/>
     76      <xref linkend="qt5"/> and <xref linkend="qt5pas"/> for QT based IDE, or
     77      <xref linkend="gtk2"/> for Gtk2 based IDE
    7478    </para>
    7579
     
    127131    </para>
    128132
    129 <!--            some of the dirs already exists -+
    130                                                  V    -->
    131 <screen role="root"><userinput>mkdir -pv /usr/{lib/lazarus,bin,share{/man/man1,/doc}}
    132 rsync -a \
    133     --exclude="CVS"     --exclude=".cvsignore" \
    134     --exclude="*.ppw"   --exclude="*.ppl" \
    135     --exclude="*.ow"    --exclude="*.a"\
    136     --exclude="*.rst"   --exclude=".#*" \
    137     --exclude="*.~*"    --exclude="*.bak" \
    138     --exclude="*.orig"  --exclude="*.rej" \
    139     --exclude=".xvpics" \
    140     --exclude="killme*" --exclude=".gdb_hist*" \
    141     --exclude="debian"  --exclude="COPYING*" \
    142     --exclude="*.app"   --exclude="tools/install" \
    143     . /usr/lib/lazarus
    144 ln -s /usr/lib/lazarus/lazbuild /usr/bin/lazbuild
    145 cp -R install/man/man1/* /usr/share/man/man1/
    146 mv /usr/lib/lazarus/docs /usr/share/doc/lazarus
     133<screen role="root"><userinput>make INSTALL_PREFIX=/usr distinstall
    147134
    148 mkdir -p /usr/lib/lazarus/docs
    149 ln -s /usr/share/doc/lazarus/chm /usr/lib/lazarus/docs/html
    150 ln -s /usr/share/doc/lazarus/lazdoc.css /usr/lib/lazarus/docs/lazdoc.css
     135mv /usr/share/lazarus/docs /usr/share/doc/lazarus
    151136
    152 install -D -m644 COPYING.modifiedLGPL.txt /usr/share/licenses/lazarus/COPYING.modifiedLGPL
     137mv /usr/share/lazarus /usr/lib/
     138for L in $(find /usr/bin -type l); do
     139    ln -svf "$(readlink $L | sed 's@/share/@/lib/@')" "$L"
     140done
    153141
    154142sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
    155     -e 's|\.png|\.xpm|' -i install/lazarus.desktop
    156 install -Dm644 install/lazarus.desktop /usr/share/applications/lazarus.desktop
    157 install -Dm644 images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png</userinput></screen>
     143    -i /usr/share/applications/lazarus.desktop
     144
     145install -Dm644 images/ide_icon48x48.png \
     146       /usr/share/pixmaps/lazarus.png</userinput></screen>
    158147
    159148  </sect2>
     
    168157
    169158      <seglistitem>
    170         <seg>lazarus, ...</seg>
     159        <seg>startlazarus, lazarus-ide, lrstolfm, updatepofiles, lazbuild, lazres</seg>
    171160        <seg>None</seg>
    172         <seg>None</seg>
     161        <seg>/usr/lib/lazarus</seg>
    173162      </seglistitem>
    174163    </segmentedlist>
     
    180169
    181170      <varlistentry id="lazarus-pgm">
    182         <term><filename class="libraryfile">lazarus</filename></term>
     171        <term><filename class="libraryfile">startlazarus</filename></term>
    183172        <listitem>
    184173          <para>
    185             the Delphi-like IDE
     174            Starting the Delphi-like IDE
    186175          </para>
    187176          <indexterm zone="lazarus lazarus-pgm">
    188             <primary sortas="b-lazarus">lazarus</primary>
     177            <primary sortas="b-lazarus">startlazarus</primary>
    189178          </indexterm>
    190179        </listitem>
  • general/prog/qt5pas.xml

    re6974d1 r8163ea8f  
    55  %general-entities;
    66
    7   <!ENTITY qt5pas-download-http "https://github.com/davidbannon/libqt5pas/archive/v&qt5pas-version;/libqt5pas-&qt5pas-version;.tar.gz">
    8   <!ENTITY qt5pas-md5sum        "f2171acbe358e16e7c4344928c53d2c3">
    9   <!ENTITY qt5pas-size          "471.6 KB">
     7  <!-- ENTITY qt5pas-download-http "https://github.com/davidbannon/libqt5pas/archive/v&qt5pas-version;/libqt5pas-&qt5pas-version;.tar.gz" -->
     8
     9  <!--
     10       NOTE:
     11       The url, size, md5sum is exactly same as in Lazarus as Qt5Pas
     12       is included in the Lazarus source package.
     13       It needs to be installed before Lazarus can be built based
     14       on QT.
     15  -->
     16     
     17  <!ENTITY lazarus-download-http "https://downloads.sourceforge.net/project/lazarus/Lazarus Zip _ GZip/Lazarus &lazarus-version;/lazarus-&lazarus-version;-0.tar.gz">
     18  <!ENTITY lazarus-md5sum        "c47680c84192008af1d05aa42b58c1da">
     19  <!ENTITY lazarus-size          "73.2 MB">
    1020  <!ENTITY qt5pas-buildsize     "2.5 MB">
    1121  <!ENTITY qt5pas-time          "7 SBU">
     
    3848      <listitem>
    3949        <para>
    40           Download (HTTP): <ulink url="&qt5pas-download-http;"/>
     50          Download (HTTP): <ulink url="&lazarus-download-http;"/>
    4151        </para>
    4252      </listitem>
    4353      <listitem>
    4454        <para>
    45           Download MD5 sum: &qt5pas-md5sum;
     55          Download MD5 sum: &lazarus-md5sum;
    4656        </para>
    4757      </listitem>
    4858      <listitem>
    4959        <para>
    50           Download size: &qt5pas-size;
     60          Download size: &lazarus-size;
    5161        </para>
    5262      </listitem>
     
    7888
    7989    <para>
    80       Build the package by running the following commands:
     90      The <application>qt5pas</application> package is included in
     91      the <application>Lazarus</application> source package but it
     92      needs to be built before Lazarus can be built with QT as
     93      graphical interface libraries.</para>
     94    <para>There is no need (no way) to specify the installation
     95      target (as usually done by passing --prefix to configure).
     96      Qt5pas will be installed in QT's library directory. Build the
     97      package by running the following commands:
    8198    </para>
    8299
    83 <screen><userinput>cd cbindings &amp;&amp;
     100<screen><userinput>cd lcl/interfaces/qt5/cbindings &amp;&amp;
    84101qmake-qt5 "QT += x11extras" &amp;&amp;
    85102make</userinput></screen>
  • packages.ent

    re6974d1 r8163ea8f  
    409409<!-- ENTITY freepascal-bin-version       "&freepascal-version;" -->
    410410<!ENTITY freepascal-bin-version       "3.2.0">
    411 <!ENTITY qt5pas-version               "1.2.9">
    412 <!ENTITY lazarus-version              "2.0.12">
     411<!ENTITY qt5pas-version               "2.6.&lazarus-version;">
     412<!ENTITY lazarus-version              "2.2.0">
     413<!ENTITY lazarus-tag                  "2_2_0">
    413414
    414415<!-- Perl module versions used in the Perl Modules instructions
Note: See TracChangeset for help on using the changeset viewer.