Changeset 6073ef0


Ignore:
Timestamp:
08/18/2015 12:33:49 AM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 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:
298fee30
Parents:
68d5b0e
Message:

Use $LXQT_PREFIX (can be /usr) in lxqt instead of forcing /opt/lxqt. I am not pleased by my ugly changes to the Final configuration part of the Post-Install instructions, but I think they will work and not do any harm.

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

Files:
20 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r68d5b0e r6073ef0  
    4848        <para>August 17th, 2015</para>
    4949        <itemizedlist>
     50          <listitem>
     51            <para>[ken] - use a variable to support building lxqt in
     52            /usr as an alternative to building in /opt/lxqt.</para>
     53          </listitem>
    5054          <listitem>
    5155            <para>[fernando] - Update to gedit-3.16.3.  Fixes
  • lxqt/apps/lximage-qt.xml

    r68d5b0e r6073ef0  
    9999cd       build &amp;&amp;
    100100
    101 cmake -DCMAKE_BUILD_TYPE=Release       \
    102       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     101cmake -DCMAKE_BUILD_TYPE=Release          \
     102      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    103103      ..       &amp;&amp;
    104104
    105 LIBRARY_PATH=/opt/qt5/lib:/opt/lxqt/lib make</userinput></screen>
     105LIBRARY_PATH=/opt/qt5/lib:$LXQT_PREFIX/lib make</userinput></screen>
    106106
    107107    <para>
     
    115115<screen role="root"><userinput>make install &amp;&amp;
    116116
    117 ln -svf /opt/lxqt/share/applications/lximage-qt.desktop \
     117ln -svf $LXQT_PREFIX/share/applications/lximage-qt.desktop \
    118118        /usr/share/applications &amp;&amp;
    119119
    120 ln -svf /opt/lxqt/share/applications/lximage-qt-screenshot.desktop \
     120ln -svf $LXQT_PREFIX/share/applications/lximage-qt-screenshot.desktop \
    121121        /usr/share/applications</userinput></screen>
    122122
     
    144144
    145145    <para>
    146       <envar>LIBRARY_PATH=/opt/qt5/lib:/opt/lxqt/lib</envar>: Fixes for the
     146      <envar>LIBRARY_PATH=/opt/qt5/lib:$LXQT_PREFIX/lib</envar>: Fixes for the
    147147      linker to find three libraries.
    148148    </para>
     
    166166        </seg>
    167167        <seg>
    168           /opt/lxqt/share/lximage-qt
     168          $LXQT_PREFIX/share/lximage-qt
    169169        </seg>
    170170      </seglistitem>
  • lxqt/desktop/liblxqt-mount.xml

    r68d5b0e r6073ef0  
    9595cd       build &amp;&amp;
    9696
    97 cmake -DCMAKE_BUILD_TYPE=Release       \
    98       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
    99       -DCMAKE_INSTALL_LIBDIR=lib       \
     97cmake -DCMAKE_BUILD_TYPE=Release          \
     98      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
     99      -DCMAKE_INSTALL_LIBDIR=lib          \
    100100      ..       &amp;&amp;
    101101
     
    130130        </seg>
    131131        <seg>
    132           /opt/lxqt/{include,lib/cmake}/lxqtmount
     132          $LXQT_PREFIX/{include,lib/cmake}/lxqtmount
    133133        </seg>
    134134      </seglistitem>
  • lxqt/desktop/liblxqt.xml

    r68d5b0e r6073ef0  
    105105cd       build &amp;&amp;
    106106
    107 cmake -DCMAKE_BUILD_TYPE=Release       \
    108       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
    109       -DCMAKE_INSTALL_LIBDIR=lib       \
     107cmake -DCMAKE_BUILD_TYPE=Release          \
     108      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
     109      -DCMAKE_INSTALL_LIBDIR=lib          \
    110110      ..       &amp;&amp;
    111111
     
    150150        </seg>
    151151        <seg>
    152           /opt/lxqt/{include,share{,/cmake}/lxqt}
     152          $LXQT_PREFIX/{include,share{,/cmake}/lxqt}
    153153        </seg>
    154154      </seglistitem>
  • lxqt/desktop/libqtxdg.xml

    r68d5b0e r6073ef0  
    102102cd       build &amp;&amp;
    103103
    104 cmake -DCMAKE_BUILD_TYPE=Release       \
    105       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
    106       -DCMAKE_INSTALL_LIBDIR=lib       \
     104cmake -DCMAKE_BUILD_TYPE=Release          \
     105      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
     106      -DCMAKE_INSTALL_LIBDIR=lib          \
    107107      ..       &amp;&amp;
    108108
     
    137137        </seg>
    138138        <seg>
    139           /opt/lxqt/{include,share}/qt5xdg
     139          $LXQT_PREFIX/{include,share}/qt5xdg
    140140        </seg>
    141141      </seglistitem>
  • lxqt/desktop/libsysstat.xml

    r68d5b0e r6073ef0  
    9595cd       build &amp;&amp;
    9696
    97 cmake -DCMAKE_BUILD_TYPE=Release       \
    98       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     97cmake -DCMAKE_BUILD_TYPE=Release          \
     98      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    9999      ..       &amp;&amp;
    100100
     
    129129        </seg>
    130130        <seg>
    131           /opt/lxqt/{include,share/cmake}/sysstat-qt5
     131          $LXQT_PREFIX/{include,share/cmake}/sysstat-qt5
    132132        </seg>
    133133      </seglistitem>
  • lxqt/desktop/lxqt-about.xml

    r68d5b0e r6073ef0  
    9494cd       build &amp;&amp;
    9595
    96 cmake -DCMAKE_BUILD_TYPE=Release       \
    97       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     96cmake -DCMAKE_BUILD_TYPE=Release          \
     97      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    9898      ..       &amp;&amp;
    9999
     
    128128        </seg>
    129129        <seg>
    130           /opt/lxqt/share/lxqt/lxqt-about
     130          $LXQT_PREFIX/share/lxqt/lxqt-about
    131131        </seg>
    132132      </seglistitem>
  • lxqt/desktop/lxqt-common.xml

    r68d5b0e r6073ef0  
    109109cd       build &amp;&amp;
    110110
    111 cmake -DCMAKE_BUILD_TYPE=Release       \
    112       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     111cmake -DCMAKE_BUILD_TYPE=Release          \
     112      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    113113      ..       &amp;&amp;
    114114
     
    152152        <seg>
    153153          /etc/xdg/pcmanfm-qt/lxqt and
    154           /opt/lxqt/share/{desktop-directories,lxqt/{graphics,openbox,themes}}
     154          $LXQT_PREFIX/share/{desktop-directories,lxqt/{graphics,openbox,themes}}
    155155        </seg>
    156156      </seglistitem>
  • lxqt/desktop/lxqt-config.xml

    r68d5b0e r6073ef0  
    9696cd       build &amp;&amp;
    9797
    98 cmake -DCMAKE_BUILD_TYPE=Release       \
    99       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     98cmake -DCMAKE_BUILD_TYPE=Release          \
     99      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    100100      ..       &amp;&amp;
    101101
     
    140140        </seg>
    141141        <seg>
    142           /opt/lxqt/share/lxqt/translations/lxqt-config{,-appearance,-cursor,-file-associations,-input,-monitor}
     142          $LXQT_PREFIX/share/lxqt/translations/lxqt-config{,-appearance,-cursor,-file-associations,-input,-monitor}
    143143        </seg>
    144144      </seglistitem>
  • lxqt/desktop/lxqt-globalkeys.xml

    r68d5b0e r6073ef0  
    9494cd       build &amp;&amp;
    9595
    96 cmake -DCMAKE_BUILD_TYPE=Release       \
    97       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
    98       -DCMAKE_INSTALL_LIBDIR=lib       \
     96cmake -DCMAKE_BUILD_TYPE=Release          \
     97      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
     98      -DCMAKE_INSTALL_LIBDIR=lib          \
    9999      ..       &amp;&amp;
    100100
     
    129129        </seg>
    130130        <seg>
    131           /opt/lxqt/include/lxqt-globalkeys,
    132           /opt/lxqt/share/lxqt/translations/lxqt-config-globalkeyshortcuts and
    133           /opt/lxqt/lib/cmake/lxqt-globalkeys{,-ui}
     131          $LXQT_PREFIX/include/lxqt-globalkeys,
     132          $LXQT_PREFIX/share/lxqt/translations/lxqt-config-globalkeyshortcuts and
     133          $LXQT_PREFIX/lib/cmake/lxqt-globalkeys{,-ui}
    134134        </seg>
    135135      </seglistitem>
  • lxqt/desktop/lxqt-notificationd.xml

    r68d5b0e r6073ef0  
    102102cd       build &amp;&amp;
    103103
    104 cmake -DCMAKE_BUILD_TYPE=Release       \
    105       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     104cmake -DCMAKE_BUILD_TYPE=Release          \
     105      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    106106      ..       &amp;&amp;
    107107
     
    150150        </seg>
    151151        <seg>
    152           /opt/lxqt/share/lxqt/translations/lxqt-{config-,}notificationd
     152          $LXQT_PREFIX/share/lxqt/translations/lxqt-{config-,}notificationd
    153153        </seg>
    154154      </seglistitem>
  • lxqt/desktop/lxqt-panel.xml

    r68d5b0e r6073ef0  
    128128cd       build &amp;&amp;
    129129
    130 cmake -DCMAKE_BUILD_TYPE=Release       \
    131       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
    132       -DCMAKE_INSTALL_LIBDIR=lib       \
     130cmake -DCMAKE_BUILD_TYPE=Release          \
     131      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
     132      -DCMAKE_INSTALL_LIBDIR=lib          \
    133133      ..       &amp;&amp;
    134134
     
    169169        </seg>
    170170        <seg>
    171           several plugins under /opt/lxqt/lib/lxqt-panel
     171          several plugins under $LXQT_PREFIX/lib/lxqt-panel
    172172        </seg>
    173173        <seg>
    174174          /etc/xdg/lxqt,
    175           /opt/lxqt/share/lxqt/{,translations/}lxqt-panel and
    176           /opt/lxqt/lib/lxqt-panel
     175          $LXQT_PREFIX/share/lxqt/{,translations/}lxqt-panel and
     176          $LXQT_PREFIX/lib/lxqt-panel
    177177        </seg>
    178178      </seglistitem>
  • lxqt/desktop/lxqt-policykit.xml

    r68d5b0e r6073ef0  
    103103cd       build &amp;&amp;
    104104
    105 cmake -DCMAKE_BUILD_TYPE=Release       \
    106       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     105cmake -DCMAKE_BUILD_TYPE=Release          \
     106      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    107107      ..       &amp;&amp;
    108108
     
    137137        </seg>
    138138        <seg>
    139           /opt/lxqt/share/lxqt/translations/lxqt-policykit-agent
     139          $LXQT_PREFIX/share/lxqt/translations/lxqt-policykit-agent
    140140        </seg>
    141141      </seglistitem>
  • lxqt/desktop/lxqt-powermanagement.xml

    r68d5b0e r6073ef0  
    9898cd       build &amp;&amp;
    9999
    100 cmake -DCMAKE_BUILD_TYPE=Release       \
    101       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     100cmake -DCMAKE_BUILD_TYPE=Release          \
     101      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    102102      ..       &amp;&amp;
    103103
     
    132132        </seg>
    133133        <seg>
    134           /opt/lxqt/share/lxqt/translations/lxqt-{config-,}powermanagement
     134          $LXQT_PREFIX/share/lxqt/translations/lxqt-{config-,}powermanagement
    135135        </seg>
    136136      </seglistitem>
  • lxqt/desktop/lxqt-qtplugin.xml

    r68d5b0e r6073ef0  
    9595cd       build &amp;&amp;
    9696
    97 cmake -DCMAKE_BUILD_TYPE=Release       \
    98       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     97cmake -DCMAKE_BUILD_TYPE=Release          \
     98      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    9999      ..       &amp;&amp;
    100100
  • lxqt/desktop/lxqt-runner.xml

    r68d5b0e r6073ef0  
    9999cd       build &amp;&amp;
    100100
    101 cmake -DCMAKE_BUILD_TYPE=Release       \
    102       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     101cmake -DCMAKE_BUILD_TYPE=Release          \
     102      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    103103      ..       &amp;&amp;
    104104
     
    154154        </seg>
    155155        <seg>
    156           /opt/lxqt/share/lxqt/{,translations/}lxqt-runner
     156          $LXQT_PREFIX/share/lxqt/{,translations/}lxqt-runner
    157157        </seg>
    158158      </seglistitem>
  • lxqt/desktop/lxqt-session.xml

    r68d5b0e r6073ef0  
    9898cd       build &amp;&amp;
    9999
    100 cmake -DCMAKE_BUILD_TYPE=Release       \
    101       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
     100cmake -DCMAKE_BUILD_TYPE=Release          \
     101      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
    102102      ..       &amp;&amp;
    103103
     
    172172        </seg>
    173173        <seg>
    174           /opt/lxqt/share/lxqt/translations/lxqt{,-config}-session
     174          $LXQT_PREFIX/share/lxqt/translations/lxqt{,-config}-session
    175175        </seg>
    176176      </seglistitem>
  • lxqt/desktop/pcmanfm-qt.xml

    r68d5b0e r6073ef0  
    103103cd       build &amp;&amp;
    104104
    105 cmake -DCMAKE_BUILD_TYPE=Release       \
    106       -DCMAKE_INSTALL_PREFIX=/opt/lxqt \
    107       -DCMAKE_INSTALL_LIBDIR=lib       \
     105cmake -DCMAKE_BUILD_TYPE=Release          \
     106      -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
     107      -DCMAKE_INSTALL_LIBDIR=lib          \
    108108      ..       &amp;&amp;
    109109
     
    138138        </seg>
    139139        <seg>
    140           /opt/lxqt/include/libfm-qt and /opt/lxqt/share/{libfm-qt,pcmanfm-qt}
     140          $LXQT_PREFIX/include/libfm-qt and $LXQT_PREFIX/lxqt/share/{libfm-qt,pcmanfm-qt}
    141141        </seg>
    142142      </seglistitem>
  • lxqt/desktop/post-install.xml

    r68d5b0e r6073ef0  
    3131    <bridgehead renderas="sect4">Required</bridgehead>
    3232    <para role="required">
    33       <xref linkend="openbox"/> (runtime - reputedly, it may be replaced by
    34       another WM, e.g.  <xref linkend="xfwm4"/>, but this has not been tested
    35       for BLFS)
     33      <xref linkend="openbox"/> (runtime) - this may be replaced by
     34      another WM, see the Configuring instructions in <xref
     35      linkend="lxqt-session"/>.
    3636    </para>
    3737
     
    5959    </para>
    6060
    61 <screen role="root"><userinput>ln -svfn /opt/lxqt/share/lxqt /usr/share/lxqt &amp;&amp;
     61<screen role="root"><userinput>test -n "$LXQT_PREFIX" || exit
     62test $LXQT_PREFIX = /usr ||
     63ln -svfn $LXQT_PREFIX/share/lxqt /usr/share/lxqt &amp;&amp;
    6264
    63 for i in /opt/lxqt/share/applications/*
     65test $LXQT_PREFIX = /usr ||
     66for i in $LXQT_PREFIX/share/applications/*
    6467do
    6568  ln -svf $i /usr/share/applications/
  • lxqt/desktop/pre-install.xml

    r68d5b0e r6073ef0  
    1616  <title>LXQt Desktop Pre-Install Instructions</title>
    1717
     18    <para>
     19      LXQt can be installed in /usr or /opt/lxqt.
     20    </para>
     21
     22  <sect2><title>Installing in /usr</title>
     23
     24    <para>
     25      Installing in <filename class="directory">/usr</filename> creates
     26      a simpler setup.  Run:</para>
     27
     28<screen><userinput>export LXQT_PREFIX=/usr</userinput></screen>
     29
     30    <para>
     31      Either add that to your own <filename>.bash_profile</filename>
     32      so that it will still be set if you build the packages over a
     33      period of time, or else add it to the system profile as the
     34      <systemitem class="username">root</systemitem> user:
     35    </para>
     36
     37<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
     38<literal>
     39# Begin LXQt addition
     40
     41export LXQT_PREFIX=/usr
     42
     43# End LXQt addition
     44</literal>
     45EOF</userinput></screen>
     46
     47    <para>
     48      The rest of this page is for people who wish to use the alternative prefix.
     49    </para>
     50
     51  </sect2>
     52
    1853  <sect2>
    1954    <title>Installing in /opt/lxqt</title>
    2055
    2156    <para>
    22       LXQt can be installed in /usr or /opt/lxqt.  The BLFS editors recommend
    23       the latter in the BLFS environment. The former has not been tested in
    24       BLFS.
     57      Installing in <filename class="directory">/opt/lxqt</filename> may simplify
     58      upgrading to a later version of LXQT.
    2559    </para>
    2660
     
    3266<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}</userinput></screen>
    3367
    34 <screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
     68<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
    3569<literal>
    3670# Begin LXQt addition
     71
     72export LXQT_PREFIX=/opt/lxqt
    3773
    3874pathappend /opt/lxqt/bin           PATH
     
    74110    </para>
    75111
    76 <screen role="root"><userinput>install -v -dm755                /opt/lxqt/share/icons &amp;&amp;
    77 ln -sfv /usr/share/icons/hicolor /opt/lxqt/share/icons</userinput></screen>
     112<screen role="root"><userinput>source /etc/profile                                       &amp;&amp;
     113install -v -dm755                $LXQT_PREFIX/share/icons &amp;&amp;
     114ln -sfv /usr/share/icons/hicolor $LXQT_PREFIX/share/icons</userinput></screen>
    78115
    79116
Note: See TracChangeset for help on using the changeset viewer.