Ignore:
Timestamp:
10/18/2016 07:09:20 PM (8 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
11c16fdc
Parents:
0622919d
Message:

Really Update LXQt Desktop

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17896 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lxqt/desktop/pre-install.xml

    r0622919d r31be310  
    2323    <para>
    2424      Due to recent changes in <command>grep</command> it is essential that
    25       the installing system be set to a UTF-8 locale. An example
    26       is <command>export LANG=en_US.utf8</command>, but any UTF-8 locale is
     25      the installing system be set to an UTF-8 locale. An example
     26      is <command>export LANG=en_US.UTF-8</command>, but any UTF-8 locale is
    2727      sufficient. Failure to do this will result in a faulty installation.
    2828    </para>
     
    126126      Some packages from the KDE Frameworks 5 bundle install files into D-Bus
    127127      directories. In order to have D-Bus find those files, the easiest
    128       way is to create the following symlink (as the <systemitem
    129       class="username">root</systemitem> user):
    130     </para>
    131 
    132 <screen role="root"><userinput>ln -sfv /usr/share/dbus-1 $LXQT_PREFIX/share</userinput></screen>
    133 
    134     <para>
    135       Some packages may also install icons from the <quote>hicolor</quote>
    136       icon set. Since that icon set is used by many packages, it is a good
    137       idea to create a symlink to the one in <filename
     128      way is to create a symlink. Some packages may also install icons from
     129      the <quote>hicolor</quote> icon set. Since that icon set is used by many
     130      packages, it is a good idea to create a symlink to the one in <filename
    138131      class="directory">/usr/share</filename> to avoid having multiple
    139       installations of <xref linkend="hicolor-icon-theme"/>.  Run the
     132      installations of <xref linkend="hicolor-icon-theme"/>. Run the
    140133      following commands as the <systemitem class="username">root</systemitem>
    141134      user:
     
    143136
    144137<screen role="root"><userinput>source /etc/profile                                       &amp;&amp;
     138ln -sfv /usr/share/dbus-1        $LXQT_PREFIX/share       &amp;&amp;
    145139install -v -dm755                $LXQT_PREFIX/share/icons &amp;&amp;
    146140ln -sfv /usr/share/icons/hicolor $LXQT_PREFIX/share/icons</userinput></screen>
    147 
    148141
    149142    <tip>
     
    172165  </sect2>
    173166
     167  <sect2>
     168    <title>Notes about building LXQt dependencies</title>
     169
     170    <para>
     171      <application>LXQt</application> obviously needs <xref linkend="qt5"/>,
     172      but not all Qt5 modules and dependencies are necessary. Since the aim
     173      of <application>LXQt</application> is to be light weight, it may be
     174      interesting to cut down the Qt5 overhead, and to build only parts of it.
     175      To build Qt and LXQT dependencies, the proposed order is the following:
     176    </para>
     177
     178    <procedure>
     179      <step>
     180        <para>
     181          Build <xref linkend="linux-pam"/>, <xref linkend="shadow"/>,
     182          and <xref linkend="sudo"/>, with their dependencies
     183        </para>
     184      </step>
     185
     186      <step>
     187        <para>
     188          Build the whole <xref linkend="x-window-system"/> chapter, with
     189          Wayland support, and replacing twm vith <xref linkend="openbox"/>
     190          (and its required dependencies). Some Xorg applications and fonts
     191          may be omitted, but with a negligible impact on build time and size
     192        </para>
     193      </step>
     194
     195      <step>
     196        <para>
     197          Build <xref linkend="gtk2"/> and its required and recommended
     198          dependencies. GTK+2 is needed for <xref linkend="libfm"/>, and
     199          brings the <command>gtk-update-icon-cache</command> executable,
     200          which is needed by libqtxdg
     201        </para>
     202      </step>
     203
     204      <step>
     205        <para>
     206          Build required Qt dependencies, and some of the recommended or
     207          optional dependencies, namely:
     208          <xref linkend="dbus"/>,
     209          <xref linkend="alsa-lib"/>,
     210          <xref linkend="pulseaudio"/>, and
     211          <xref linkend="libxkbcommon"/>
     212        </para>
     213      </step>
     214
     215      <step>
     216        <para>
     217          Build the required parts of <xref linkend="qt5"/>. To skip all
     218          modules but the four needed for LXQt, do:
     219        </para>
     220<screen role="nodump"><userinput>ls -Fd qt* | grep / | sed 's/^/-skip /;s/qt//;s@/@@' > tempconf
     221sed -i '/base/d;/tools/d;/x11extras/d;/svg/d' tempconf
     222# if you plan to build SDDM, add:
     223sed -i '/declarative/d'
     224./configure &lt;book flags&gt; $(cat tempconf)</userinput></screen>
     225        <para>
     226          The time needed to complete the Qt installation is thus reduced to
     227          around 6 SBU
     228        </para>
     229      </step>
     230
     231      <step>
     232        <para>
     233          Build miscelaneous dependencies (with their required ones):
     234          <xref linkend="libstatgrab"/>,
     235          <xref linkend="polkit"/>,
     236          <phrase revision="sysv">
     237            <xref linkend="consolekit"/>,
     238            <xref linkend="pm-utils"/>,
     239          </phrase>
     240          <xref linkend="lm_sensors"/>,
     241          <xref linkend="upower"/>, and
     242          <xref linkend="libfm"/>. If <xref linkend="cmake"/> has not been
     243          built during the preceding steps, build it now
     244        </para>
     245      </step>
     246
     247      <step>
     248        <para>
     249          Build KDE frameworks dependencies:
     250          <xref linkend="extra-cmake-modules"/>,
     251          <xref linkend="libdbusmenu-qt"/>, and
     252          <xref linkend="polkit-qt"/>
     253        </para>
     254      </step>
     255
     256      <step>
     257        <para>
     258          Finally, build some desktop utilities:
     259          <xref linkend="xdg-utils"/> (needs only xmlto),
     260          <xref linkend="xdg-user-dirs"/>,
     261          <xref linkend="oxygen-icons5"/> or other sets of icons
     262        </para>
     263      </step>
     264    </procedure>
     265
     266  </sect2>
     267
    174268</sect1>
Note: See TracChangeset for help on using the changeset viewer.