[60384c68] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[60384c68] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[fc20429] | 8 | <sect1 id="kde-pre-install-config">
|
---|
[c201c951] | 9 | <?dbhtml filename="pre-install-config.html"?>
|
---|
[fc20429] | 10 |
|
---|
[c201c951] | 11 | <sect1info>
|
---|
| 12 | <date>$Date$</date>
|
---|
| 13 | </sect1info>
|
---|
[fc20429] | 14 |
|
---|
[a8d5ef7] | 15 | <title>Trinity/KDE3 Pre-installation Configuration</title>
|
---|
[fc20429] | 16 |
|
---|
[a8d5ef7] | 17 | <para>Based on your preference, set TRINITY_PREFIX.</para>
|
---|
[0d7900a] | 18 |
|
---|
[a8d5ef7] | 19 | <para>One option is to put <application>Trinity/KDE3</application> into the
|
---|
| 20 | <filename class='directory'>/usr</filename> hierarchy. This creates a
|
---|
| 21 | simpler setup but is more difficult to try multiple versions of
|
---|
| 22 | <application>Trinity/KDE3</application>.</para>
|
---|
[fc20429] | 23 |
|
---|
[a8d5ef7] | 24 | <screen><userinput>export TRINITY_PREFIX=/usr</userinput></screen>
|
---|
[fc20429] | 25 |
|
---|
[a8d5ef7] | 26 | <para>The Trinty developers and BLFS editors recommend installing Trinity in
|
---|
| 27 | the <filename class='directory'>/opt</filename> directory in order to support
|
---|
| 28 | using one version while building another.</para>
|
---|
[fc20429] | 29 |
|
---|
[a8d5ef7] | 30 | <screen><userinput>export TRINITY_PREFIX=/opt/trinity-&trinity-version;</userinput></screen>
|
---|
[fc20429] | 31 |
|
---|
[0d7900a] | 32 | <para>Using this option requires updates to the PATH, PKG_CONFIG_PATH, and
|
---|
[a8d5ef7] | 33 | library search path:</para>
|
---|
[fc20429] | 34 |
|
---|
[a8d5ef7] | 35 | <itemizedlist>
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>Update PATH</para>
|
---|
| 38 | <screen><userinput>export PATH=$TRINITY_PREFIX/bin:$PATH</userinput></screen>
|
---|
| 39 | </listitem>
|
---|
[1986ade] | 40 |
|
---|
[a8d5ef7] | 41 | <listitem>
|
---|
| 42 | <para>Update PKG_CONFIG_PATH</para>
|
---|
| 43 | <screen><userinput>export PKG_CONFIG_PATH=$TRINITY_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH</userinput></screen>
|
---|
| 44 | </listitem>
|
---|
[fc20429] | 45 |
|
---|
[a8d5ef7] | 46 | <listitem>
|
---|
| 47 | <para>Update the library search path</para>
|
---|
| 48 | <screen><userinput>export LD_LIBRARY_PATH=$TRINITY_PREFIX/lib:$LD_LIBRARY_PATH</userinput></screen>
|
---|
| 49 | </listitem>
|
---|
[fc20429] | 50 |
|
---|
[a8d5ef7] | 51 | </itemizedlist>
|
---|
[fc20429] | 52 |
|
---|
[0d7900a] | 53 | <para>The instructions for making these changes permanent are in
|
---|
[a8d5ef7] | 54 | <xref linkend='kde-core-config'/>.</para>
|
---|
[fc20429] | 55 |
|
---|
[a8d5ef7] | 56 | <para>There are two other environment variables that need to be set to build
|
---|
[0d7900a] | 57 | <application>Trinity/KDE3</application>. These are needed for all the
|
---|
[a8d5ef7] | 58 | <userinput>cmake</userinput> based packages:</para>
|
---|
[fb31251] | 59 |
|
---|
[a8d5ef7] | 60 | <screen><userinput>export CMAKE_PREFIX_PATH=/opt/qt:$TRINITY_PREFIX &&
|
---|
[fc20429] | 61 |
|
---|
[a8d5ef7] | 62 | CMAKE_INCLUDE_PATH=/opt/qt/include:/usr/include/dbus-1.0 &&
|
---|
| 63 | export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$TRINITY_PREFIX/include</userinput></screen>
|
---|
[fc20429] | 64 |
|
---|
[a8d5ef7] | 65 | <para>You should also consider installing the <xref linkend="desktop-file-utils"/>
|
---|
| 66 | package. Though not required, this package will allow you to easily use
|
---|
| 67 | existing <filename>.desktop</filename> files in
|
---|
| 68 | <filename class='directory'>/usr/share/applications</filename> (and any other
|
---|
| 69 | locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add
|
---|
| 70 | these applications to the menu system.</para>
|
---|
[fc20429] | 71 |
|
---|
| 72 | </sect1>
|
---|