[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 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
| 14 | </sect1info>
|
---|
[fc20429] | 15 |
|
---|
[a8d5ef7] | 16 | <title>Trinity/KDE3 Pre-installation Configuration</title>
|
---|
[fc20429] | 17 |
|
---|
[a8d5ef7] | 18 | <para>Based on your preference, set TRINITY_PREFIX.</para>
|
---|
[0d7900a] | 19 |
|
---|
[a8d5ef7] | 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>
|
---|
[fc20429] | 24 |
|
---|
[a8d5ef7] | 25 | <screen><userinput>export TRINITY_PREFIX=/usr</userinput></screen>
|
---|
[fc20429] | 26 |
|
---|
[a8d5ef7] | 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>
|
---|
[fc20429] | 30 |
|
---|
[a8d5ef7] | 31 | <screen><userinput>export TRINITY_PREFIX=/opt/trinity-&trinity-version;</userinput></screen>
|
---|
[fc20429] | 32 |
|
---|
[0d7900a] | 33 | <para>Using this option requires updates to the PATH, PKG_CONFIG_PATH, and
|
---|
[a8d5ef7] | 34 | library search path:</para>
|
---|
[fc20429] | 35 |
|
---|
[a8d5ef7] | 36 | <itemizedlist>
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Update PATH</para>
|
---|
| 39 | <screen><userinput>export PATH=$TRINITY_PREFIX/bin:$PATH</userinput></screen>
|
---|
| 40 | </listitem>
|
---|
[1986ade] | 41 |
|
---|
[a8d5ef7] | 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>
|
---|
[fc20429] | 46 |
|
---|
[a8d5ef7] | 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>
|
---|
[fc20429] | 51 |
|
---|
[a8d5ef7] | 52 | </itemizedlist>
|
---|
[fc20429] | 53 |
|
---|
[0d7900a] | 54 | <para>The instructions for making these changes permanent are in
|
---|
[a8d5ef7] | 55 | <xref linkend='kde-core-config'/>.</para>
|
---|
[fc20429] | 56 |
|
---|
[a8d5ef7] | 57 | <para>There are two other environment variables that need to be set to build
|
---|
[0d7900a] | 58 | <application>Trinity/KDE3</application>. These are needed for all the
|
---|
[a8d5ef7] | 59 | <userinput>cmake</userinput> based packages:</para>
|
---|
[fb31251] | 60 |
|
---|
[a8d5ef7] | 61 | <screen><userinput>export CMAKE_PREFIX_PATH=/opt/qt:$TRINITY_PREFIX &&
|
---|
[fc20429] | 62 |
|
---|
[a8d5ef7] | 63 | CMAKE_INCLUDE_PATH=/opt/qt/include:/usr/include/dbus-1.0 &&
|
---|
| 64 | export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$TRINITY_PREFIX/include</userinput></screen>
|
---|
[fc20429] | 65 |
|
---|
[a8d5ef7] | 66 | <para>You should also consider installing the <xref linkend="desktop-file-utils"/>
|
---|
| 67 | package. Though not required, this package will allow you to easily use
|
---|
| 68 | existing <filename>.desktop</filename> files in
|
---|
| 69 | <filename class='directory'>/usr/share/applications</filename> (and any other
|
---|
| 70 | locations identified by <envar>XDG_DATA_DIRS</envar>), and automatically add
|
---|
| 71 | these applications to the menu system.</para>
|
---|
[fc20429] | 72 |
|
---|
| 73 | </sect1>
|
---|