Ignore:
Timestamp:
12/21/2011 04:45:39 AM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
09eebec
Parents:
3863533e
Message:

Changed KDE3 to Trinity-3.5.13.
The core files are done, but the additional and
development packages have not been updated yet

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/core/pre-install-config.xml

    r3863533e ra8d5ef7  
    1414  </sect1info>
    1515
    16   <title>KDE Pre-installation Configuration</title>
     16  <title>Trinity/KDE3 Pre-installation Configuration</title>
    1717
    18   <para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
     18  <para>Based on your preference, set TRINITY_PREFIX.</para>
     19 
     20  <para>One option is to put <application>Trinity/KDE3</application> into the
     21  <filename class='directory'>/usr</filename> hierarchy.  This creates a
     22  simpler setup but is more difficult to try multiple versions of
     23  <application>Trinity/KDE3</application>.</para>
    1924
    20   <para>One option is to put <application>KDE</application> into the
    21   <filename class='directory'>/usr</filename> hierarchy.  This creates
    22   a simpler setup but is more difficult to try multiple versions
    23   of <application>KDE</application>.</para>
     25<screen><userinput>export TRINITY_PREFIX=/usr</userinput></screen>
    2426
    25 <screen><userinput>export KDE_PREFIX=/usr</userinput></screen>
     27  <para>The Trinty developers and BLFS editors recommend installing Trinity in
     28  the <filename class='directory'>/opt</filename> directory in order to support
     29  using one version while building another.</para>
    2630
    27   <para>A method of building multiple versions installs
    28   <application>KDE</application> in the <filename
    29   class='directory'>/opt</filename> hierarchy:</para>
     31<screen><userinput>export TRINITY_PREFIX=/opt/trinity-&trinity-version;</userinput></screen>
    3032
    31 <screen><userinput>export KDE_PREFIX=/opt/kde-&kde-version;</userinput></screen>
     33  <para>Using this option requires updates to the PATH, PKG_CONFIG_PATH, and
     34  library search path:</para>
    3235
    33   <para>Remember to execute <command>ldconfig</command> after installation
    34   of libraries to update the library cache.</para>
     36  <itemizedlist>
     37    <listitem>
     38    <para>Update PATH</para>
     39<screen><userinput>export PATH=$TRINITY_PREFIX/bin:$PATH</userinput></screen>
     40    </listitem>
    3541
    36   <para>If you are not installing <application>KDE</application> in
    37   <filename class="directory">/usr</filename>, you will need to make some
    38   configuration changes:</para>
     42    <listitem>
     43    <para>Update PKG_CONFIG_PATH</para>
     44<screen><userinput>export PKG_CONFIG_PATH=$TRINITY_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH</userinput></screen>
     45    </listitem>
    3946
    40   <para>You should consider installing the <xref linkend="desktop-file-utils"/>
     47    <listitem>
     48    <para>Update the library search path</para>
     49<screen><userinput>export LD_LIBRARY_PATH=$TRINITY_PREFIX/lib:$LD_LIBRARY_PATH</userinput></screen>
     50    </listitem>
     51
     52  </itemizedlist>
     53
     54  <para>The instructions for making these changes permanent are in
     55  <xref linkend='kde-core-config'/>.</para>
     56
     57  <para>There are two other environment variables that need to be set to build
     58  <application>Trinity/KDE3</application>. These are needed for all the
     59  <userinput>cmake</userinput> based packages:</para>
     60
     61<screen><userinput>export CMAKE_PREFIX_PATH=/opt/qt:$TRINITY_PREFIX         &amp;&amp;
     62
     63CMAKE_INCLUDE_PATH=/opt/qt/include:/usr/include/dbus-1.0 &amp;&amp;
     64export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$TRINITY_PREFIX/include</userinput></screen>
     65
     66  <para>You should also consider installing the <xref linkend="desktop-file-utils"/>
    4167  package. Though not required, this package will allow you to easily use
    4268  existing <filename>.desktop</filename> files in
    4369  <filename class='directory'>/usr/share/applications</filename> (and any other
    4470  locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add
    45   these applications to the <application>KDE</application> menu system.</para>
    46 
    47   <para>Add to your system or personal profile:</para>
    48 
    49 <screen><literal>export PATH=$PATH:/opt/kde-&kde-version;/bin
    50 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</literal></screen>
    51 
    52   <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
    53 
    54 <screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
    55 <literal># Begin kde addition to /etc/ld.so.conf
    56 
    57 /opt/kde-&kde-version;/lib
    58 
    59 # End kde addition</literal>
    60 EOF</userinput></screen>
    61 
    62   <indexterm zone="kde-pre-install-config">
    63     <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
    64   </indexterm>
    65 
    66   <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
    67 
    68 <screen role="root"><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
    69 <literal># Begin kde addition to man_db.conf
    70 
    71 MANDATORY_MANPATH /opt/kde-&kde-version;/man
    72 
    73 # End kde addition to man_db.conf</literal>
    74 EOF</userinput></screen>
    75 
    76   <indexterm zone="kde-pre-install-config">
    77     <primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary>
    78   </indexterm>
    79 
    80   <tip>
    81     <para>If you prefer installing KDE in <filename
    82     class="directory">/opt</filename>, one trick to avoid the above configuration
    83     changes every time you install a new version is to replace <filename
    84     class="directory">/opt/kde-&kde-version;</filename> with <filename
    85     class="directory">/opt/kde</filename> and to create a symlink from <filename
    86     class="directory">/opt/kde-&kde-version;</filename> to <filename
    87     class="directory">/opt/kde</filename>.</para>
    88 
    89 <screen role="root"><userinput>ln -v -sf kde-&kde-version; /opt/kde</userinput></screen>
    90   </tip>
     71  these applications to the menu system.</para>
    9172
    9273</sect1>
Note: See TracChangeset for help on using the changeset viewer.