Changeset 32936bc for lxqt/desktop


Ignore:
Timestamp:
07/13/2023 06:17:52 AM (11 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
b3867c5
Parents:
5ecd157
Message:

lxqt and qt5-alternate cleanups

Location:
lxqt/desktop
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • lxqt/desktop/liblxqt.xml

    r5ecd157 r32936bc  
    7171    <bridgehead renderas="sect4">Required</bridgehead>
    7272    <para role="required">
    73       <xref linkend="libqtxdg"/> and
     73      <xref linkend="libqtxdg"/>,
    7474      (<xref linkend="lxqt-kwindowsystem"/> or
    75       <xref role="nodep" linkend="kf5-frameworks"/>)
     75      <xref role="nodep" linkend="kf5-frameworks"/>), and
     76      <xref linkend="polkit-qt"/>
    7677    </para>
    77 <!--
    78     <bridgehead renderas="sect4">Optional</bridgehead>
    79     <para role="optional">
    80       <xref linkend="git"/> (to download translation files) or
    81       <xref linkend="lxqt-l10n"/> (to add localization files)
    82     </para>
    83 -->
    8478  </sect2>
    8579
     
    111105
    112106  </sect2>
    113 <!--
    114   <sect2 role="commands">
    115     <title>Command Explanations</title>
    116107
    117     <para>
    118       <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for
    119       <xref linkend="git"/>, which would otherwise be requested to download
    120       the translation files.
    121     </para>
    122 
    123   </sect2>
    124 -->
    125108  <sect2 role="content">
    126109    <title>Contents</title>
  • lxqt/desktop/libqtxdg.xml

    r5ecd157 r32936bc  
    9898cd       build &amp;&amp;
    9999
    100 cmake -DCMAKE_BUILD_TYPE=Release \
    101       -DCMAKE_INSTALL_PREFIX=/usr \
     100cmake -DCMAKE_INSTALL_PREFIX=/usr \
     101      -DCMAKE_BUILD_TYPE=Release \
    102102      -DCMAKE_INSTALL_LIBDIR=lib  \
    103103      ..       &amp;&amp;
  • lxqt/desktop/libsysstat.xml

    r5ecd157 r32936bc  
    7171    <bridgehead renderas="sect4">Required</bridgehead>
    7272    <para role="required">
    73       <xref linkend="cmake"/>, 
    74       <xref linkend="lxqt-build-tools"/>, and
    75       <xref linkend="qt5"/>
     73      <xref linkend="lxqt-build-tools"/>
    7674    </para>
    7775
     
    9290cd       build &amp;&amp;
    9391
    94 cmake -DCMAKE_BUILD_TYPE=Release \
    95       -DCMAKE_INSTALL_PREFIX=/usr \
     92cmake -DCMAKE_INSTALL_PREFIX=/usr \
     93      -DCMAKE_BUILD_TYPE=Release \
    9694      ..                          &amp;&amp;
    9795
  • lxqt/desktop/lxqt-about.xml

    r5ecd157 r32936bc  
    8787cd       build &amp;&amp;
    8888
    89 cmake -DCMAKE_BUILD_TYPE=Release \
    90       -DCMAKE_INSTALL_PREFIX=/usr \
     89cmake -DCMAKE_INSTALL_PREFIX=/usr \
     90      -DCMAKE_BUILD_TYPE=Release \
    9191      ..       &amp;&amp;
    9292make</userinput></screen>
  • lxqt/desktop/lxqt-admin.xml

    r5ecd157 r32936bc  
    8989cd       build &amp;&amp;
    9090
    91 cmake -DCMAKE_BUILD_TYPE=Release \
    92       -DCMAKE_INSTALL_PREFIX=/usr \
     91cmake -DCMAKE_INSTALL_PREFIX=/usr \
     92      -DCMAKE_BUILD_TYPE=Release \
    9393      ..       &amp;&amp;
    94 
    9594make</userinput></screen>
    9695
  • lxqt/desktop/lxqt-globalkeys.xml

    r5ecd157 r32936bc  
    8787cd       build &amp;&amp;
    8888
    89 cmake -DCMAKE_BUILD_TYPE=Release \
    90       -DCMAKE_INSTALL_PREFIX=/usr \
     89cmake -DCMAKE_INSTALL_PREFIX=/usr \
     90      -DCMAKE_BUILD_TYPE=Release \
    9191      ..                          &amp;&amp;
    92 
    9392make</userinput></screen>
    9493
  • lxqt/desktop/lxqt-kwayland.xml

    r5ecd157 r32936bc  
    8181    <para role="required">
    8282      <xref linkend="extra-cmake-modules"/>,
    83       <xref linkend="mesa"/> (built with <xref linkend="wayland"/> support), and
     83      <xref linkend="mesa"/> (built with <xref linkend="wayland"/> support),
     84      <xref linkend="plasma-wayland-protocols"/>, and
    8485      <xref linkend="qt5"/>
    8586    </para>
  • lxqt/desktop/lxqt-menu-data.xml

    r5ecd157 r32936bc  
    7171    <bridgehead renderas="sect4">Required</bridgehead>
    7272    <para role="required">
    73       <xref linkend="cmake"/>, 
    74       <xref linkend="lxqt-build-tools"/>, and
    75       <xref linkend="qt5"/>
     73      <xref linkend="lxqt-build-tools"/>
    7674    </para>
    7775
     
    9290cd       build &amp;&amp;
    9391
    94 cmake -DCMAKE_BUILD_TYPE=Release \
    95       -DCMAKE_INSTALL_PREFIX=/usr \
     92cmake -DCMAKE_INSTALL_PREFIX=/usr \
     93      -DCMAKE_BUILD_TYPE=Release \
    9694      ..  &amp;&amp;
    9795
  • lxqt/desktop/lxqt-openssh-askpass.xml

    r5ecd157 r32936bc  
    88  <!ENTITY lxqt-openssh-askpass-download-ftp  " ">
    99  <!ENTITY lxqt-openssh-askpass-md5sum        "fb65bd0b8389210345fcd26cc4a12a7e">
    10   <!ENTITY lxqt-openssh-askpass-size          "17 KB">
    11   <!ENTITY lxqt-openssh-askpass-buildsize     "8.0 MB">
    12   <!ENTITY lxqt-openssh-askpass-time          "0.5 SBU">
     10  <!ENTITY lxqt-openssh-askpass-size          "20 KB">
     11  <!ENTITY lxqt-openssh-askpass-buildsize     "1.2 MB">
     12  <!ENTITY lxqt-openssh-askpass-time          "less than 0.1 SBU">
    1313]>
    1414
     
    8787cd       build &amp;&amp;
    8888
    89 cmake -DCMAKE_BUILD_TYPE=Release \
    90       -DCMAKE_INSTALL_PREFIX=/usr \
     89cmake -DCMAKE_INSTALL_PREFIX=/usr \
     90      -DCMAKE_BUILD_TYPE=Release \
    9191      ..       &amp;&amp;
    92 
    9392make</userinput></screen>
    9493
  • lxqt/desktop/lxqt-panel.xml

    r5ecd157 r32936bc  
    7575      <xref linkend="lxqt-globalkeys"/>,
    7676      <xref linkend="lxqt-menu-data"/>,
    77       (<xref linkend="lxqt-solid"/>) or 
     77      (<xref linkend="lxqt-solid"/> or 
    7878       <xref role="nodep" linkend="kf5-frameworks"/>), and
    7979      <xref linkend="menu-cache"/>
  • lxqt/desktop/lxqt-qtplugin.xml

    r5ecd157 r32936bc  
    8888cd       build &amp;&amp;
    8989
    90 cmake -DCMAKE_BUILD_TYPE=Release \
    91       -DCMAKE_INSTALL_PREFIX=/usr \
     90cmake -DCMAKE_INSTALL_PREFIX=/usr \
     91      -DCMAKE_BUILD_TYPE=Release \
    9292      ..       &amp;&amp;
    9393
  • lxqt/desktop/lxqt-session.xml

    r5ecd157 r32936bc  
    99  <!ENTITY lxqt-session-md5sum        "6703a001a5acbf4dad6d13e1e5e9278c">
    1010  <!ENTITY lxqt-session-size          "184 KB">
    11   <!ENTITY lxqt-session-buildsize     "10 MB">
    12   <!ENTITY lxqt-session-time          "0.3 SBU">
     11  <!ENTITY lxqt-session-buildsize     "8.6 MB">
     12  <!ENTITY lxqt-session-time          "0.4 SBU">
    1313]>
    1414
     
    8888    </para>
    8989
    90 <screen><userinput>sed -e '/TryExec/s|=|='/usr'/bin/|' \
     90<screen><userinput>sed -e '/TryExec/s|=|=/usr/bin/|' \
    9191    -i xsession/lxqt.desktop.in &amp;&amp;
    9292
     
    9494cd       build &amp;&amp;
    9595
    96 cmake -DCMAKE_BUILD_TYPE=Release \
    97       -DCMAKE_INSTALL_PREFIX=/usr \
     96cmake -DCMAKE_INSTALL_PREFIX=/usr \
     97      -DCMAKE_BUILD_TYPE=Release \
    9898      ..       &amp;&amp;
    99 
    10099make</userinput></screen>
    101100
  • lxqt/desktop/lxqt-sudo.xml

    r5ecd157 r32936bc  
    88  <!ENTITY lxqt-sudo-download-ftp  " ">
    99  <!ENTITY lxqt-sudo-md5sum        "2832990a7fb1c401a72bba9dfadd1d14">
    10   <!ENTITY lxqt-sudo-size          "37 KB">
    11   <!ENTITY lxqt-sudo-buildsize     "8.0 MB">
    12   <!ENTITY lxqt-sudo-time          "0.5 SBU">
     10  <!ENTITY lxqt-sudo-size          "40 KB">
     11  <!ENTITY lxqt-sudo-buildsize     "1.6 MB">
     12  <!ENTITY lxqt-sudo-time          "less than 0.1 SBU">
    1313]>
    1414
     
    8888cd       build &amp;&amp;
    8989
    90 cmake -DCMAKE_BUILD_TYPE=Release \
    91       -DCMAKE_INSTALL_PREFIX=/usr \
     90cmake -DCMAKE_INSTALL_PREFIX=/usr \
     91      -DCMAKE_BUILD_TYPE=Release \
    9292      ..       &amp;&amp;
    93 
    9493make</userinput></screen>
    9594
  • lxqt/desktop/lxqt-themes.xml

    r5ecd157 r32936bc  
    9090cd       build &amp;&amp;
    9191
    92 cmake -DCMAKE_BUILD_TYPE=Release \
    93       -DCMAKE_INSTALL_PREFIX=/usr \
     92cmake -DCMAKE_INSTALL_PREFIX=/usr \
     93      -DCMAKE_BUILD_TYPE=Release \
    9494      ..       &amp;&amp;
    9595
  • lxqt/desktop/obconf-qt.xml

    r5ecd157 r32936bc  
    8989cd       build &amp;&amp;
    9090
    91 cmake -DCMAKE_BUILD_TYPE=Release \
    92       -DCMAKE_INSTALL_PREFIX=/usr \
    93       ..                           &amp;&amp;
     91cmake -DCMAKE_INSTALL_PREFIX=/usr \
     92      -DCMAKE_BUILD_TYPE=Release \
     93      ..                          &amp;&amp;
    9494make</userinput></screen>
    9595
  • lxqt/desktop/pcmanfm-qt.xml

    r5ecd157 r32936bc  
    7979    <bridgehead renderas="sect4">Recommended</bridgehead>
    8080    <para role="recommended">
    81       <xref linkend="oxygen-icons5"/> or another icon theme (depending on your
     81      <xref linkend="breeze-icons"/> or another icon theme (depending on your
    8282      choice, some icons will be missing in several places)
    8383    </para>
     
    9696cd       build &amp;&amp;
    9797
    98 cmake -DCMAKE_BUILD_TYPE=Release \
    99       -DCMAKE_INSTALL_PREFIX=/usr \
     98cmake -DCMAKE_INSTALL_PREFIX=/usr \
     99      -DCMAKE_BUILD_TYPE=Release \
    100100      ..       &amp;&amp;
    101 
    102101make</userinput></screen>
    103102
  • lxqt/desktop/post-install.xml

    r5ecd157 r32936bc  
    3434    <bridgehead renderas="sect4">Recommended</bridgehead>
    3535    <para role="recommended">
    36       <!--<phrase revision="sysv">
    37         <xref linkend="pm-utils"/>,
    38       </phrase>-->
     36      <xref linkend="breeze-icons"/> and
     37      <xref linkend="desktop-file-utils"/>
     38    </para>
     39
     40    <bridgehead renderas="sect4">Optional</bridgehead>
     41    <para role="optional">
    3942      <xref linkend="lightdm"/> or another Display Manager, e.g.
    40       <xref role="nodep" linkend="lxdm"/>,
    41       <xref linkend="desktop-file-utils"/>,
    42       <!--<xref linkend="shared-mime-info"/>,-->
    43       <!--<xref linkend="xdg-utils"/>,--> and
     43      <xref role="nodep" linkend="lxdm"/>, and
    4444      <xref linkend="xscreensaver"/>
    4545    </para>
     
    4949  <sect2 role="configuration">
    5050    <title>Final Configuration</title>
    51 <!--
    52     <para>
    53       If <application>LXQt</application> is installed in <filename
    54       class="directory">/usr</filename>, jump directly to <xref
    55       linkend="lxqt-final-updates"/>, otherwise run the commands in the
    56       next section.
    57     </para>
    5851
    59     <sect3>
    60       <title>Configuration needed only if installing into /opt</title>
    61       <para>
    62         If <application>LXQt</application> is installed into <filename
    63         class="directory">/opt</filename>, some files have to be copied to
    64         <filename class="directory">/usr/share</filename>, so that the system
    65         can find them. Run the following commands, as the &root; user:
    66       </para>
    67 
    68 <screen role="root"><userinput>ln -svfn /usr/share/lxqt /usr/share/lxqt
    69 
    70 cp -v {/usr,/usr}/share/xsessions/lxqt.desktop
    71 
    72 for i in /usr/share/applications/*; do
    73   ln -svf $i /usr/share/applications/
    74 done
    75 
    76 for i in /usr/share/desktop-directories/*; do
    77   ln -svf $i /usr/share/desktop-directories/
    78 done
    79 
    80 unset i
    81 
    82 ldconfig</userinput></screen>
    83 
    84     </sect3>
    85 -->
    8652    <sect3 id="lxqt-final-updates" xreflabel="LXQt Final Updates">
    8753      <title>LXQt Final Updates</title>
     
    162128    </para>
    163129
     130    <note>
     131      <para>
     132         The user configuration files will be created in the directory
     133         $HOME/.config/lxqt/.  To get widget icons to display properly,
     134         the lxqt.conf file may need to be manually edited to include the
     135         line "icon_theme=oxygen".
     136      </para>
     137    </note>
     138
    164139  </sect2>
    165140</sect1>
  • lxqt/desktop/pre-install.xml

    r5ecd157 r32936bc  
    1818
    1919    <para>
    20       <application>LXQt</application> obviously needs <xref linkend="qt5"/>,
    21       but not all Qt5 modules and dependencies are necessary. Since the aim
    22       of <application>LXQt</application> is to be light weight, it is possible
    23       to cut down the Qt5 overhead, and to build only parts of it.
    24      
     20      To build LXQt, the following steps are recommended:
    2521    </para>
    2622
     
    2824      <step>
    2925        <para>
    30           Build <xref linkend="linux-pam"/>, <xref linkend="shadow"/>,
    31           <xref linkend="libpwquality"/>, and <xref linkend="sudo"/>, with
    32           their dependencies.
     26
     27          First, build the whole <xref linkend="xorg"/>, including
     28          Wayland support with required and recommended dependencies.  Test
     29          that the environment works with twm as the window manager.  With
     30          experience, some of the packages can be omitted, but that is not
     31          recommended for first time users.
     32       
    3333        </para>
    3434      </step>
     
    3636      <step>
    3737        <para>
    38           Build the whole <xref linkend="x-window-system"/> chapter, including
    39           Wayland support and xcb-utils-xxx packages, with required and
    40           recommended dependencies, and replacing twm vith
    41           <xref linkend="openbox"/> (and its required dependencies). Some Xorg
    42           applications and fonts may be omitted, but with a negligible impact
    43           on build time and size.
     38          Second, build the required parts of Qt. The full package, <xref
     39          linkend="qt5"/> is quite long and has a lot of dependencies.  As an
     40          alternative, the required components needed for LXQt can be built
     41          using the procedures in <xref linkend="qt5-alternate"/>.
    4442        </para>
    4543      </step>
     
    4745      <step>
    4846        <para>
    49           Build some of the recommended Qt dependencies, namely:
    50           <xref linkend="double-conversion"/>,
    51           <xref linkend="libjpeg"/>,
    52           <xref linkend="libxkbcommon"/>, and
    53           <xref linkend="sqlite"/>.
    54         </para>
    55       </step>
    56 
    57       <step>
    58         <para>
    59           Build the required parts of <xref linkend="qt5"/>. To skip all
    60           modules but the those needed for LXQt, do:
    61         </para>
    62 <screen role="nodump"><userinput>ls -Fd qt* | grep / | sed 's/^/-skip /;s@/@@' > tempconf
    63 sed -ir '/base|tools|x11extras|svg|declarative|wayland/d' tempconf
    64 ./configure &lt;book flags&gt; $(cat tempconf)</userinput></screen>
    65         <para>
    66           The time needed to complete the Qt installation is thus reduced to
    67           around 11 SBU.
    68         </para>
    69       </step>
    70 
    71       <step>
    72         <para>
    73           Build miscellaneous dependencies (with their required ones):
    74           <xref linkend="json-glib"/>,
    75           <xref linkend="libexif"/>,
    76           <xref linkend="libstatgrab"/>,
    77           <xref linkend="lm_sensors"/>,
    78           <xref linkend="menu-cache"/>,
    79 
    80           <phrase revision="sysv">
    81             <xref linkend="pm-utils"/>,
    82           </phrase>
    83 
    84           <xref linkend="alsa-lib"/>,<!--recommended for pulseaudio, so has to
    85           be here since we tell to build only required dependencies.-->
    86           <xref linkend="polkit"/>,
    87           <xref linkend="pulseaudio"/>, and
    88           <xref linkend="upower"/>.
    89         </para>
    90       </step>
    91 
    92       <step>
    93         <para>
    94           Build KDE frameworks dependencies:
    95           <xref linkend="extra-cmake-modules"/>,
    96           <xref linkend="libdbusmenu-qt"/>,
    97           <xref linkend="plasma-wayland-protocols"/>, and
    98           <xref linkend="polkit-qt"/>.
    99         </para>
    100       </step>
    101 
    102       <step>
    103         <para>
    104           Finally, build some desktop utilities:
    105           <xref linkend="breeze-icons"/> or other sets of icons,
    106           <xref linkend="hicolor-icon-theme"/>,
    107           <xref linkend="desktop-file-utils"/> (needed to update the
    108           desktop database),
    109           <xref linkend="shared-mime-info"/> (needed to update the mime
    110           database),
    111           <xref linkend="xdg-utils"/> (needs only xmlto), and
    112           <xref linkend="xdg-user-dirs"/>.
     47          Finally build the LXQt desktop using the pages below in order.
     48          The packages in the applications section are optional, but as
     49          a minimum, <xref linkend="qterminal"/> is recommended.
    11350        </para>
    11451      </step>
  • lxqt/desktop/qtxdg-tools.xml

    r5ecd157 r32936bc  
    7171    <bridgehead renderas="sect4">Required</bridgehead>
    7272    <para role="required">
    73       <xref linkend="cmake"/>,
    74       <xref linkend="libqtxdg"/>, and
    75       <xref linkend="qt5"/> (qtbase)
     73      <xref linkend="libqtxdg"/>
    7674    </para>
    7775
Note: See TracChangeset for help on using the changeset viewer.