[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 |
|
---|
| 11 |
|
---|
[a8d5ef7] | 12 | <title>Trinity/KDE3 Pre-installation Configuration</title>
|
---|
[fc20429] | 13 |
|
---|
[a8d5ef7] | 14 | <para>Based on your preference, set TRINITY_PREFIX.</para>
|
---|
[0d7900a] | 15 |
|
---|
[a8d5ef7] | 16 | <para>One option is to put <application>Trinity/KDE3</application> into the
|
---|
| 17 | <filename class='directory'>/usr</filename> hierarchy. This creates a
|
---|
| 18 | simpler setup but is more difficult to try multiple versions of
|
---|
| 19 | <application>Trinity/KDE3</application>.</para>
|
---|
[fc20429] | 20 |
|
---|
[a8d5ef7] | 21 | <screen><userinput>export TRINITY_PREFIX=/usr</userinput></screen>
|
---|
[fc20429] | 22 |
|
---|
[a8d5ef7] | 23 | <para>The Trinty developers and BLFS editors recommend installing Trinity in
|
---|
| 24 | the <filename class='directory'>/opt</filename> directory in order to support
|
---|
| 25 | using one version while building another.</para>
|
---|
[fc20429] | 26 |
|
---|
[a8d5ef7] | 27 | <screen><userinput>export TRINITY_PREFIX=/opt/trinity-&trinity-version;</userinput></screen>
|
---|
[fc20429] | 28 |
|
---|
[0d7900a] | 29 | <para>Using this option requires updates to the PATH, PKG_CONFIG_PATH, and
|
---|
[a8d5ef7] | 30 | library search path:</para>
|
---|
[fc20429] | 31 |
|
---|
[a8d5ef7] | 32 | <itemizedlist>
|
---|
| 33 | <listitem>
|
---|
| 34 | <para>Update PATH</para>
|
---|
| 35 | <screen><userinput>export PATH=$TRINITY_PREFIX/bin:$PATH</userinput></screen>
|
---|
| 36 | </listitem>
|
---|
[1986ade] | 37 |
|
---|
[a8d5ef7] | 38 | <listitem>
|
---|
| 39 | <para>Update PKG_CONFIG_PATH</para>
|
---|
| 40 | <screen><userinput>export PKG_CONFIG_PATH=$TRINITY_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH</userinput></screen>
|
---|
| 41 | </listitem>
|
---|
[fc20429] | 42 |
|
---|
[a8d5ef7] | 43 | <listitem>
|
---|
| 44 | <para>Update the library search path</para>
|
---|
| 45 | <screen><userinput>export LD_LIBRARY_PATH=$TRINITY_PREFIX/lib:$LD_LIBRARY_PATH</userinput></screen>
|
---|
| 46 | </listitem>
|
---|
[fc20429] | 47 |
|
---|
[a8d5ef7] | 48 | </itemizedlist>
|
---|
[fc20429] | 49 |
|
---|
[0d7900a] | 50 | <para>The instructions for making these changes permanent are in
|
---|
[a8d5ef7] | 51 | <xref linkend='kde-core-config'/>.</para>
|
---|
[fc20429] | 52 |
|
---|
[a8d5ef7] | 53 | <para>There are two other environment variables that need to be set to build
|
---|
[0d7900a] | 54 | <application>Trinity/KDE3</application>. These are needed for all the
|
---|
[a8d5ef7] | 55 | <userinput>cmake</userinput> based packages:</para>
|
---|
[fb31251] | 56 |
|
---|
[a8d5ef7] | 57 | <screen><userinput>export CMAKE_PREFIX_PATH=/opt/qt:$TRINITY_PREFIX &&
|
---|
[fc20429] | 58 |
|
---|
[a8d5ef7] | 59 | CMAKE_INCLUDE_PATH=/opt/qt/include:/usr/include/dbus-1.0 &&
|
---|
| 60 | export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$TRINITY_PREFIX/include</userinput></screen>
|
---|
[fc20429] | 61 |
|
---|
[a8d5ef7] | 62 | <para>You should also consider installing the <xref linkend="desktop-file-utils"/>
|
---|
| 63 | package. Though not required, this package will allow you to easily use
|
---|
| 64 | existing <filename>.desktop</filename> files in
|
---|
| 65 | <filename class='directory'>/usr/share/applications</filename> (and any other
|
---|
| 66 | locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add
|
---|
| 67 | these applications to the menu system.</para>
|
---|
[fc20429] | 68 |
|
---|
| 69 | </sect1>
|
---|