Changeset a8d5ef7


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

Files:
1 added
14 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r3863533e ra8d5ef7  
    4040<!ENTITY sourceforge-repo2    "http://sourceforge.net">
    4141<!ENTITY gentoo-ftp-repo      "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
     42<!ENTITY trinity-repo-ftp     "ftp://anduin.&lfs-domainname;/trinity">
     43<!ENTITY trinity-repo-http    "http://anduin.&lfs-domainname;/sources/trinity">
    4244<!ENTITY publisher            "Unknown">
    4345
     
    552554
    553555<!-- Chapter 26 -->
    554 <!ENTITY qt-version                   "3.3.8b">
     556<!ENTITY qt-version                   "3.3.8d">
    555557<!ENTITY qt4-version                  "4.7.1">
    556558<!ENTITY GTK-version                  "1.2.10">
     
    592594<!-- Part VIII -->
    593595<!-- Chapter 28 & 29 -->
     596<!-- Chapter 28 & 29 -->
     597<!ENTITY trinity-version              "3.5.13">
    594598<!ENTITY kde-version                  "3.5.10">
    595599<!ENTITY arts-version                 "1.5.10">
  • general/sysutils/dbus-bindings.xml

    r3863533e ra8d5ef7  
    1919  <!ENTITY dbus-python-time          "0.2 SBU">
    2020
    21   <!ENTITY dbus-qt3-download-http "&files-anduin;/sources/dbus-qt3-&dbus-qt3-version;.tar.bz2">
    22   <!ENTITY dbus-qt3-download-ftp  " ">
    23   <!ENTITY dbus-qt3-md5sum        "307e119f501c207a437d1dd087c9af80">
    24   <!ENTITY dbus-qt3-size          "390 KB">
     21  <!ENTITY dbus-qt3-download-http "&trinity-repo-http;/dbus-tqt-&trinity-version;.tar.gz">
     22  <!ENTITY dbus-qt3-download-ftp  "&trinity-repo-ftp;/dbus-tqt-&trinity-version;.tar.gz">
     23  <!ENTITY dbus-qt3-md5sum        "46ae165c068271485c827f6fc6687a9a">
     24  <!ENTITY dbus-qt3-size          "234 KB">
    2525  <!ENTITY dbus-qt3-buildsize     "4 MB">
    26   <!ENTITY dbus-qt3-time          "0.1 SBU">
     26  <!ENTITY dbus-qt3-time          "less than 0.1 SBU">
    2727
    2828  <!ENTITY eggdbus-download-http   "http://hal.freedesktop.org/releases/eggdbus-&eggdbus-version;.tar.gz">
     
    329329
    330330  <!-- Begin D-Bus Qt3 Bindings -->
    331   <sect2 id="dbus-qt3" xreflabel="D-Bus Qt3 Bindings-&dbus-qt3-version;">
    332   <title>D-Bus Qt3 Bindings</title>
     331  <sect2 id="dbus-qt3" xreflabel="D-Bus Trinity Qt3 Bindings-&dbus-qt3-version;">
     332  <title>Trinity D-Bus Qt3 Bindings</title>
    333333
    334334  <indexterm zone="dbus-qt3">
     
    364364
    365365      <bridgehead renderas="sect5">Required</bridgehead>
    366       <para role="required"><xref linkend="dbus"/> and
    367       <xref linkend="qt"/></para>
     366      <para role="required">
     367        <xref linkend="dbus"/> and
     368        <xref linkend="qt"/>
     369      </para>
    368370
    369371      <para condition="html" role="usernotes">User Notes:
     
    373375
    374376    <sect3 role="installation">
    375       <title>Installation of D-Bus Qt3 Bindings</title>
    376 
    377       <para>Install <application>D-Bus Qt3 Bindings</application> by
     377      <title>Installation of D-Bus Trinity/Qt3 Bindings</title>
     378
     379      <note><para>Be sure your environment is set up as described in
     380      <xref linkend='kde-pre-install-config'/></para></note>
     381
     382      <para>Install <application>D-Bus Trinity/Qt3 Bindings</application> by
    378383      running the following commands:</para>
    379384
    380 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     385<screen><userinput>
     386BUILD=/tmp/build-dbus-tqt &amp;&amp;
     387DBUSTQT=`pwd`             &amp;&amp;
     388rm -rf   $BUILD           &amp;&amp;
     389mkdir -p $BUILD           &amp;&amp;
     390cd       $BUILD           &amp;&amp;
     391
     392cmake -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
     393      -DCMAKE_VERBOSE_MAKEFILE=ON            \
     394      $DBUSTQT            &amp;&amp;
     395
     396unset BUILD DBUSTQT       &amp;&amp;
    381397make</userinput></screen>
    382398
     
    395411        <segtitle>Installed Programs</segtitle>
    396412        <segtitle>Installed Library</segtitle>
    397         <segtitle>Installed Directories</segtitle>
     413        <segtitle>Installed Directory</segtitle>
    398414
    399415        <seglistitem>
    400416          <seg>None</seg>
    401           <seg>libdbus-qt-1.so</seg>
    402           <seg>None</seg>
     417          <seg>libdbus-tqt-1.so</seg>
     418          <seg>$TRINITY_PREFIX/include/dbus-1.0</seg>
    403419        </seglistitem>
    404420      </segmentedlist>
     
    410426
    411427        <varlistentry id="libdbus-qt-1">
    412           <term><filename class='libraryfile'>libdbus-qt-1.{so,a}</filename></term>
     428          <term><filename class='libraryfile'>libdbus-tqt-1.so</filename></term>
    413429          <listitem>
    414             <para>contains <application>Qt3</application> interface functions
     430            <para>contains <application>Trinity/Qt3</application> interface functions
    415431            to the D-Bus API.</para>
    416432            <indexterm zone="dbus-qt3 libdbus-qt-1">
    417               <primary sortas="c-libdbus-qt-1">libdbus-qt-1.{so,a}</primary>
     433              <primary sortas="c-libdbus-qt-1">libdbus-tqt-1.so</primary>
    418434            </indexterm>
    419435          </listitem>
  • introduction/welcome/changelog.xml

    r3863533e ra8d5ef7  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[bdubbs] - Changed KDE3 to Trinity-3.5.13.
     49          The core files are done, but the additional and
     50          development packages have not been updated yet.</para>
     51        </listitem>
     52        <listitem>
    4853          <para>[abenton] - Firefox and Xulrunner 9.0.</para>
    4954        </listitem>
  • kde/add/add.xml

    r3863533e ra8d5ef7  
    1616  <title>KDE Additional Packages</title>
    1717
     18  <warning><para>The Trinity/KDE3 update to BLFS is a work in progress.
     19  The packages below have not yet been updated.</para></warning>
     20
     21
    1822  <para>Each of the packages in this chapter depend on the base
    19   <application>KDE</application> installation procedures, but each is an
     23  <application>Trinity/KDE3</application> installation procedures, but each is an
    2024  independent group of programs that can be optionally installed.  Few users
    2125  will want to install every package, but instead review and install only the
     
    2933  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdeutils.xml"/>
    3034  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdeedu.xml"/>
    31   <!--
    32   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdesdk.xml"/>
    33   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdevelop.xml"/>
    34   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdewebdev.xml"/>
    35   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdebindings.xml"/>
    36   -->
    3735  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdeaccessibility.xml"/>
    3836  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdetoys.xml"/>
  • kde/core/arts.xml

    r3863533e ra8d5ef7  
    55  %general-entities;
    66
    7   <!ENTITY arts-download-http "&kde-download-http;/arts-&arts-version;.tar.bz2">
    8   <!ENTITY arts-download-ftp  "&kde-download-ftp;/arts-&arts-version;.tar.bz2">
    9   <!ENTITY arts-md5sum        "6da172aab2a4a44929b5fdfc30fa3efc">
    10   <!ENTITY arts-size          "956 KB">
    11   <!ENTITY arts-buildsize     "28 MB">
    12   <!ENTITY arts-time          "1.4 SBU">
     7  <!ENTITY arts-download-http "&trinity-repo-http;/arts-&trinity-version;.tar.gz">
     8  <!ENTITY arts-download-ftp  "&trinity-repo-ftp;/arts-&trinity-version;.tar.gz">
     9  <!ENTITY arts-md5sum        "109124dabb1aaa9d44eb32e43b549142">
     10  <!ENTITY arts-size          "920 KB">
     11  <!ENTITY arts-buildsize     "36 MB">
     12  <!ENTITY arts-time          "0.6 SBU">
    1313]>
    1414
    15 <sect1 id="aRts" xreflabel="aRts-&arts-version;">
     15<sect1 id="aRts" xreflabel="aRts-&trinity-version;">
    1616  <?dbhtml filename="aRts.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>aRts-&arts-version;</title>
     23  <title>aRts-&trinity-version;</title>
    2424
    2525  <indexterm zone='aRts'>
     
    3131
    3232    <para>The Analog Real-time Synthesizer (<application>aRts</application>)
    33     provides sound support for <application>KDE</application> and necessary
    34     libraries for <application>kdelibs</application>.</para>
     33    provides sound support for <application>Trinity</application> programs
     34    and libraries.</para>
    3535
    3636    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    5959
    6060    <bridgehead renderas="sect4">Required</bridgehead>
    61     <para role="required"><xref linkend="qt"/> and
    62     <xref linkend="glib2"/></para>
    63 
    64     <bridgehead renderas="sect4">Recommended</bridgehead>
    65     <para role="recommended"><xref linkend="libjpeg"/></para>
    66 
    67     <bridgehead renderas="sect4">Optional</bridgehead>
    68     <para role="optional"><xref linkend="libvorbis"/>,
    69     <xref linkend="alsa"/>,
    70     <xref linkend="audiofile"/>,
    71     <xref linkend="libmad"/>,
    72     <xref linkend="esound"/>,
    73 <!--    <xref linkend="nas"/>, -->
    74     <ulink url="http://www.mediaapplicationserver.net/">MAS</ulink>, and
    75     <ulink url="http://jackit.sourceforge.net/">JACK</ulink></para>
     61    <para role="required">
     62      <xref linkend="alsa"/>,
     63      <xref linkend="audiofile"/>,
     64      <xref linkend="cmake"/>,
     65      <xref linkend="glib2"/>
     66      <xref linkend="libmad"/>,
     67      <xref linkend="libvorbis"/>, and
     68      <xref linkend="qt"/>
     69    </para>
    7670
    7771    <para condition="html" role="usernotes">User Notes:
     
    8377    <title>Installation of aRts</title>
    8478
     79    <note><para>When extracted, the <application>aRts</application> tar
     80    file expands into the directory
     81    <filename class='directory'>dependencies/arts</filename>.</para></note>
     82
    8583    <para>Install <application>aRts</application> by running
    8684    the following commands:</para>
    8785
    88 <screen><userinput>./configure --prefix=&kde-dir; --disable-debug \
    89     --disable-dependency-tracking --enable-final &amp;&amp;
     86<screen><userinput>BUILD=/tmp/buildarts &amp;&amp;
     87ARTS=`pwd`           &amp;&amp;
     88rm -rf   $BUILD      &amp;&amp;
     89mkdir -p $BUILD      &amp;&amp;
     90cd       $BUILD      &amp;&amp;
     91
     92cmake $ARTS                              \
     93  -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
     94  -DCMAKE_VERBOSE_MAKEFILE=ON &amp;&amp;
     95
     96unset ARTS BUILD     &amp;&amp;
    9097make</userinput></screen>
    9198
    92     <para>This package does not come with a test suite that works with
    93     <application>GCC</application>-&gcc-version;.</para>
     99    <para>This package does not come with a test suite.</para>
    94100
    95101    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    102108    <title>Command Explanations</title>
    103109
    104     <para><parameter>--prefix=&kde-dir;</parameter>: This option
    105     tells the process to install the package in
    106     <filename class="directory">&kde-dir;</filename>.
    107     <application>aRts</application> is installed here as it's required
    108     before installing <application>KDE</application>.</para>
    109 
    110     <para><parameter>--disable-debug</parameter>: This option causes the
    111     package to be compiled without debugging code.</para>
    112 
    113     <para><parameter>--disable-dependency-tracking</parameter>: This option
    114     speeds up one time builds.</para>
    115 
    116     <para><parameter>--enable-final</parameter>: This option combines
    117     source code during compilation speeding up the build.  It also
    118     avoids a problem with missing headers in some files.</para>
     110    <para><userinput>ARTS=`pwd`</userinput>: This command saves the
     111    location of the <application>aRts</application> source code.</para>
     112
     113    <para><userinput>rm -rf /tmp/buildarts; mkdir -p /tmp/buildarts; cd
     114    /tmp/buildarts</userinput>:  The developers strongly recommend building
     115    Trinity components in a directory separate from the source code.  These
     116    commands ensure a clean starting location for the build process.</para>
     117
     118    <para><option>-DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX</option>: This option
     119    is the equivalent of the ./configure <option>--prefix</option>
     120    option.</para>
     121
     122    <para><option>-DCMAKE_VERBOSE_MAKEFILE=ON</option>: This option
     123    provides verrbose messages when <userinput>make</userinput> is
     124    run.</para>
    119125
    120126  </sect2>
     
    129135
    130136      <seglistitem>
    131         <seg>artsd, artswrapper, artsshell, artsplay, artsdsp, artscat, artscontrol,
    132         artsc-config, and mcopidl</seg>
     137        <seg>artsc-config, artscat, artsd, artsdsp, artsplay, artsrec,
     138        artsshell, artswrapper, and mcopidl </seg>
     139
    133140        <seg>aRts libraries</seg>
    134         <seg>The following subdirectories of &kde-dir;/: bin, include/arts,
    135         include/artsc, and lib/mcop</seg>
     141       
     142        <seg>The following subdirectories of $TRINITY_PREFIX: bin,
     143        include/arts, include/artsc, and lib/mcop</seg>
    136144      </seglistitem>
    137145    </segmentedlist>
     
    142150      <?dbhtml list-presentation="table"?>
    143151
     152      <varlistentry id="artsc-config">
     153        <term><command>artsc-config</command></term>
     154        <listitem>
     155          <para>is a utility to assist developers using the
     156          <application>aRts</application> C API.</para>
     157          <indexterm zone="aRts  artsc-config">
     158            <primary sortas="b-artsc-config">artsc-config</primary>
     159          </indexterm>
     160        </listitem>
     161      </varlistentry>
     162
     163      <varlistentry id="artscat">
     164        <term><command>artscat</command></term>
     165        <listitem>
     166          <para>is a simple utility to send raw audio data to the sound server.</para>
     167          <indexterm zone="aRts artscat">
     168            <primary sortas="b-artscat">artscat</primary>
     169          </indexterm>
     170        </listitem>
     171      </varlistentry>
     172
    144173      <varlistentry id="artsd">
    145174        <term><command>artsd</command></term>
     
    148177          <indexterm zone="aRts artsd">
    149178            <primary sortas="b-artsd">artsd</primary>
     179          </indexterm>
     180        </listitem>
     181      </varlistentry>
     182
     183      <varlistentry id="artsdsp">
     184        <term><command>artsdsp</command></term>
     185        <listitem>
     186          <para>provides an interim solution that allows most of legacy
     187          sound applications to run unchanged.</para>
     188          <indexterm zone="aRts artsdsp">
     189            <primary sortas="b-artsdsp">artsdsp</primary>
     190          </indexterm>
     191        </listitem>
     192      </varlistentry>
     193
     194      <varlistentry id="libaRts">
     195        <term><filename class='libraryfile'>aRts Libraries</filename></term>
     196        <listitem>
     197          <para>contains functions that support <application>aRts</application>
     198          programs.</para>
     199          <indexterm zone="aRts libaRts">
     200            <primary sortas="c-libaRts">aRts Libraries</primary>
     201          </indexterm>
     202        </listitem>
     203      </varlistentry>
     204
     205      <varlistentry id="artsplay">
     206        <term><command>artsplay</command></term>
     207        <listitem>
     208          <para>is a simple utility to play a sound file.</para>
     209          <indexterm zone="aRts artsplay">
     210            <primary sortas="b-artsplay">artsplay</primary>
     211          </indexterm>
     212        </listitem>
     213      </varlistentry>
     214
     215      <varlistentry id="artsrec">
     216        <term><command>artsrec</command></term>
     217        <listitem>
     218          <para>is a simple utility to record audio input.</para>
     219          <indexterm zone="aRts artsrec">
     220            <primary sortas="b-artsrec">artsrec</primary>
     221          </indexterm>
     222        </listitem>
     223      </varlistentry>
     224
     225      <varlistentry id="artsshell">
     226        <term><command>artsshell</command></term>
     227        <listitem>
     228          <para>is intended as a utility to perform miscellaneous functions
     229          related to the sound server.</para>
     230          <indexterm zone="aRts artsshell">
     231            <primary sortas="b-artsshell">artsshell</primary>
    150232          </indexterm>
    151233        </listitem>
     
    164246      </varlistentry>
    165247
    166       <varlistentry id="artsshell">
    167         <term><command>artsshell</command></term>
    168         <listitem>
    169           <para>is intended as a utility to perform miscellaneous functions
    170           related to the sound server.</para>
    171           <indexterm zone="aRts artsshell">
    172             <primary sortas="b-artsshell">artsshell</primary>
    173           </indexterm>
    174         </listitem>
    175       </varlistentry>
    176 
    177       <varlistentry id="artsplay">
    178         <term><command>artsplay</command></term>
    179         <listitem>
    180           <para>is a simple utility to play a sound file.</para>
    181           <indexterm zone="aRts artsplay">
    182             <primary sortas="b-artsplay">artsplay</primary>
    183           </indexterm>
    184         </listitem>
    185       </varlistentry>
    186 
    187       <varlistentry id="artsdsp">
    188         <term><command>artsdsp</command></term>
    189         <listitem>
    190           <para>provides an interim solution that allows most of legacy
    191           sound applications to run unchanged.</para>
    192           <indexterm zone="aRts artsdsp">
    193             <primary sortas="b-artsdsp">artsdsp</primary>
    194           </indexterm>
    195         </listitem>
    196       </varlistentry>
    197 
    198       <varlistentry id="artscat">
    199         <term><command>artscat</command></term>
    200         <listitem>
    201           <para>is a simple utility to send raw audio data to the sound server.</para>
    202           <indexterm zone="aRts artscat">
    203             <primary sortas="b-artscat">artscat</primary>
    204           </indexterm>
    205         </listitem>
    206       </varlistentry>
    207 
    208       <varlistentry id="artscontrol">
    209         <term><command>artscontrol</command></term>
    210         <listitem>
    211           <para>is a graphical utility for performing a number of tasks
    212           related to the sound server.</para>
    213           <indexterm zone="aRts  artscontrol">
    214             <primary sortas="b-artscontrol">artscontrol</primary>
    215           </indexterm>
    216         </listitem>
    217       </varlistentry>
    218 
    219       <varlistentry id="artsc-config">
    220         <term><command>artsc-config</command></term>
    221         <listitem>
    222           <para>is a utility to assist developers using the
    223           <application>aRts</application> C API.</para>
    224           <indexterm zone="aRts  artsc-config">
    225             <primary sortas="b-artsc-config">artsc-config</primary>
    226           </indexterm>
    227         </listitem>
    228       </varlistentry>
    229 
    230248      <varlistentry id="mcopidl">
    231249        <term><command>mcopidl</command></term>
     
    239257      </varlistentry>
    240258
    241       <varlistentry id="libaRts">
    242         <term><filename class='libraryfile'>aRts Libraries</filename></term>
    243         <listitem>
    244           <para>contains functions that support <application>aRts</application>
    245           programs.</para>
    246           <indexterm zone="aRts libaRts">
    247             <primary sortas="c-libaRts">aRts Libraries</primary>
    248           </indexterm>
    249         </listitem>
    250       </varlistentry>
    251 
    252259    </variablelist>
    253 
     260<!--
    254261    <para>To find out information about <application>aRts</application> and the
    255262    various programs included in the package, see <ulink
     
    259266    Documentation</ulink> and navigate to the <application>aRts</application>
    260267    documentation in your language.</para>
    261 
     268-->
    262269  </sect2>
    263270
  • kde/core/config.xml

    r3863533e ra8d5ef7  
    1414  </sect1info>
    1515
    16   <title>Configuring the Core KDE Packages</title>
     16  <title>Configuring the Core Trinity/KDE3 Packages</title>
    1717
    1818  <para>Back up your existing <filename>~/.xinitrc</filename> file
    1919  and create a new <filename>.xinitrc</filename> file to start
    20   <application>KDE</application>:</para>
     20  <application>Trinity/KDE3</application>:</para>
    2121
    2222<screen><userinput>echo "exec startkde" &gt; ~/.xinitrc</userinput></screen>
     
    2929  <application>D-BUS</application> session daemon here as well. Starting the
    3030  session daemon here has the added bonus that it will exit when you log out
    31   of your <application>KDE</application> session. If you wish to start the
     31  of your <application>Trinity/KDE3</application> session. If you wish to start the
    3232  daemon here, use the following command instead of the one shown above:</para>
    3333
     
    5353<screen role="root"><userinput>ldconfig</userinput></screen>
    5454
    55   <para>At this point you can bring up <application>KDE</application> with:</para>
     55  <para>At this point you can bring up <application>Trinity/KDE3</application> with:</para>
    5656
    5757<screen><userinput>startx</userinput></screen>
    5858
     59   <para>Set the PATHs used for the installation in the login startup
     60   files.  If you installed <application>Trinity/KDE3</application> in the
     61   recommended versioned directory, /opt/trinity-&trinity-version;, create a
     62   generic symbiolic link as the <systemitem class="username">root</systemitem>
     63   user:</para>
     64
     65<screen role='root'><userinput>ln -sf trinity-&trinity-version; /opt/trinity</userinput></screen>
     66
     67   <para>Now update the search path for dynamic libraries and update the cache. 
     68   As the <systemitem class="username">root</systemitem> user:</para>
     69
     70<screen role='root'><userinput>echo "/opt/trinity/lib" &gt;&gt; /etc/ld.so.conf &amp;&amp;
     71ldconfig</userinput></screen>
     72
     73   <para>Set the paths.  Thee are several ways to do this.  You can edit
     74   <filename>/etc/profile</filename>, or <filename>~/.bash_/profile</filename>
     75   to add the paths.  If you used the recommended procedure in <xref
     76   linkend='postlfs-config-profile'/>, run the following as the <systemitem
     77   class="username">root</systemitem> user:</para>
     78
     79<screen role='root'><userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
     80<literal>
     81pathprepend /opt/trinity/bin                   PATH
     82pathappend  /opt/trinity/share/man             MANPATH
     83pathappend  /opt/trinity/lib/pkgconfig         PKG_CONFIG_PATH</literal>
     84EOF</userinput></screen>
     85
     86  <para>To set the paths immediately, run <userinput>source /etc/profile</userinput>.</para>
     87
    5988</sect1>
  • kde/core/core.xml

    r3863533e ra8d5ef7  
    1414  <?dbhtml filename="core.html"?>
    1515
    16   <title>KDE Core Packages</title>
     16  <title>Trinity/KDE3 Core Packages</title>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pre-install-config.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="arts.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tqtinterface.xml"/>
    2021  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdelibs.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kdebase.xml"/>
  • kde/core/kdebase.xml

    r3863533e ra8d5ef7  
    55  %general-entities;
    66
    7   <!ENTITY kdebase-download-http "&kde-download-http;/kdebase-&kde-version;.tar.bz2">
    8   <!ENTITY kdebase-download-ftp  "&kde-download-ftp;/kdebase-&kde-version;.tar.bz2">
    9   <!ENTITY kdebase-md5sum        "88237188271fbf1e6bcd40180a75d953">
    10   <!ENTITY kdebase-size          "23.2 MB">
    11   <!ENTITY kdebase-buildsize     "185 MB (additional 8.4 MB for API docs)">
    12   <!ENTITY kdebase-time          "15.6 SBU (additional 0.1 SBU for API docs)">
     7  <!ENTITY kdebase-download-http "&trinity-repo-http;/kdebase-&kde-version;.tar.gz">
     8  <!ENTITY kdebase-download-ftp  "&trinity-repo-ftp;/kdebase-&kde-version;.tar.gz">
     9  <!ENTITY kdebase-md5sum        "d1f7e1f94eeb46b981fe1ba144179840">
     10  <!ENTITY kdebase-size          "28.3 MB">
     11  <!ENTITY kdebase-buildsize     "179 MB">
     12  <!ENTITY kdebase-time          "6.6 SBU">
    1313]>
    1414
     
    3131
    3232    <para><application>kdebase</application> is the last mandatory package
    33     required for the <application>K Desktop Environment</application>. It
     33    required for the <application>Trinity/KDE3 Desktop Environment</application>. It
    3434    provides various applications, infrastructure files and libraries.</para>
    3535
     
    5959
    6060    <bridgehead renderas="sect4">Required</bridgehead>
    61     <para role="required"><xref linkend="kdelibs"/></para>
     61    <para role="required">
     62      <xref linkend="kdelibs"/> and
     63      <xref linkend="dbus-qt3"/>
     64    </para>
    6265
    6366    <bridgehead renderas="sect4">Recommended</bridgehead>
    64     <para role="recommended"><xref linkend="libjpeg"/>,
    65     <xref linkend="libart_lgpl"/>,
    66     <xref linkend="libxml2"/>,
    67     <xref linkend="openssl"/>, and
    68     either <xref linkend="icedtea6"/> or <xref linkend="jdk"/></para>
     67    <para role="recommended">
     68      <xref linkend="aRts"/>,
     69      <xref linkend="libart_lgpl"/>, and
     70      <xref linkend="openssl"/>
     71    </para>
    6972
    7073    <bridgehead renderas="sect4">Optional</bridgehead>
    71     <para role="optional"><xref linkend="libusb-compat"/>,
    72     <xref linkend="linux-pam"/>,
    73     <xref linkend="openldap"/>,
    74     <xref linkend="cyrus-sasl"/>,
    75     <xref linkend="samba3"/>,
    76     <xref linkend="hal"/> and
    77     <xref linkend="dbus-qt3"/>,
    78     <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
    79     <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
    80     <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
    81     <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
    82     <ulink url="http://www.lm-sensors.org/">lm_sensors</ulink>
    83     (requires <ulink url="http://sourceforge.net/projects/linux-diag">Sysfs
    84     Utilities</ulink>),
    85     <ulink url="http://www.opensource.apple.com/darwinsource/tarballs/apsl/">mDNSResponder</ulink>,
    86     <xref linkend="sudo"/>,
    87     <xref linkend="graphviz"/>, and
    88     <xref linkend="doxygen"/></para>
     74    <para role="optional">
     75      <xref linkend="cyrus-sasl"/>,
     76      <xref linkend="hal"/>,
     77      <xref linkend="libusb-compat"/>,
     78      <xref linkend="linux-pam"/>,
     79      <xref linkend="openldap"/>,
     80      <xref linkend="samba3"/>,
     81      <xref linkend="sudo"/>,
     82      <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
     83      <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>
     84    </para>
     85
     86    <bridgehead renderas="sect4">Optional (for api documentation)</bridgehead>
     87    <para role="optional">
     88      <xref linkend="libxml2"/>,
     89      <xref linkend="graphviz"/>, and
     90      <xref linkend="doxygen"/>
     91    </para>
    8992
    9093    <para condition="html" role="usernotes">User Notes:
     
    109112    <para>One additional package that can be used at run time is <xref
    110113    linkend="pciutils"/>.  This enables the <application>KDE Info
    111     Center</application> to  use <application>lspci</application> for its "pci"
     114    Center</application> to use <application>lspci</application> for its "pci"
    112115    info section.</para>
    113116
     
    121124    <title>Installation of Kdebase</title>
    122125
    123     <note>
    124       <para>You should ensure a <systemitem
    125       class="groupname">nogroup</systemitem> group exists on your system before
    126       performing the <command>configure</command> command, as
    127       <application>kdebase</application> installs a program
    128       (<filename>$KDE_PREFIX/bin/kdesud</filename>) with group ownership of
    129       <systemitem class="groupname">nogroup</systemitem>.</para>
    130     </note>
    131 
    132     <para>This package does not come with a test suite.</para>
    133 
    134126    <para>Install <application>kdebase</application> with:</para>
    135127
    136 <!--    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    137     href="../../xincludes/kde-sysconfdir.xml"/> -->
    138 
    139 <screen><userinput>./configure --prefix=&kde-dir; --sysconfdir=/etc/kde \
    140     --disable-debug --disable-dependency-tracking &amp;&amp;
    141 make</userinput></screen>
     128<screen><userinput>MAKEDIR=/tmp/buildbase &amp;&amp;
     129KDEBASE=`pwd`          &amp;&amp;
     130rm -rf   $MAKEDIR      &amp;&amp;
     131mkdir -p $MAKEDIR      &amp;&amp;
     132cd       $MAKEDIR      &amp;&amp;
     133
     134cmake -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
     135      -DCMAKE_VERBOSE_MAKEFILE=ON            \
     136      -DWITH_ARTS=ON                         \
     137      -DWITH_SHADOW=ON                       \
     138      -DWITH_XCURSOR=ON                      \
     139      -DWITH_XFIXES=ON                       \
     140      -DWITH_XRANDR=ON                       \
     141      -DWITH_XRENDER=ON                      \
     142      -DWITH_XDAMAGE=ON                      \
     143      -DWITH_XEXT=ON                         \
     144      -DWITH_XDMCP=ON                        \
     145      -DWITH_XINERAMA=ON                     \
     146      -DWITH_SAMBA=ON                        \
     147      -DWITH_LIBUSB=ON                       \
     148      -DWITH_SUDO_KDESU_BACKEND=ON           \
     149      -DBUILD_ALL=ON                         \
     150      -DWITH_XCOMPOSITE=ON                   \
     151      $KDEBASE         &amp;&amp;
     152
     153unset KDEBASE MAKEDIR</userinput></screen>
     154
     155    <para>Some of the optional support programs for <application>kdebase</application>
     156    must be specified by the user.  The option is in the form "-DWITH_PKG=ON" and
     157    the following options are recognozed for 'PKG': , SAMBA, LIBUSB,
     158    SUDO_KDESU_BACKEND, LDAP, OPENEXR, SASL, LIBRAW1394, HAL, PAM, and I8K (Dell
     159    Laptop Extensions).</para>
     160
     161    <para>The <userinput>cmake</userinput> step does not pick up all the required
     162    libraries and paths.  One special problem is that libtirpc.so is required
     163    for nfs and is not detected.  Fix these problems with:</para>
     164
     165<screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib:/lib &amp;&amp;
     166find -name link.txt -exec sed -i -e "s@-lICE@&amp; -lX11 -lXrender -ltirpc@" {} \;</userinput></screen>
     167
     168    <para>Now, continue with the build:</para>
     169
     170<screen><userinput>make</userinput></screen>
    142171
    143172    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    149178
    150179  </sect2>
    151 <!--
    152   <sect2 role="commands">
    153     <title>Command Explanations</title>
    154 
    155     This is not true.  If KDE is configured correctly according to the
    156     instructions, the libraries are found just fine.  See the
    157     KDE Pre-installation Configuration section.
    158 
    159     <para><parameter>LD_LIBRARY_PATH="$KDE_PREFIX/lib" make</parameter>: A bug in
    160     the <application>kdebase</application> build system prevents
    161     <application>kdelibs</application> from being found by the Makefiles when
    162     <application>kdelibs</application> is installed in
    163     <filename class='directory'>/opt</filename>. Setting LD_LIBRARY_PATH works
    164     around the problem.</para>
    165 
    166   </sect2>
    167 -->
     180
    168181  <sect2 role="configuration">
    169182    <title>Configuring Kdebase</title>
    170 
    171183
    172184    <sect3><title>Configuration Information</title>
  • kde/core/kdelibs.xml

    r3863533e ra8d5ef7  
    55  %general-entities;
    66
    7   <!ENTITY kdelibs-download-http "&kde-download-http;/kdelibs-&kde-version;.tar.bz2">
    8   <!ENTITY kdelibs-download-ftp  "&kde-download-ftp;/kdelibs-&kde-version;.tar.bz2">
    9   <!ENTITY kdelibs-md5sum        "43cd55ed15f63b5738d620ef9f9fd568">
    10   <!ENTITY kdelibs-size          "14.9 MB">
    11   <!ENTITY kdelibs-buildsize     "254 MB (additional 426 MB for API docs)">
    12   <!ENTITY kdelibs-time          "13.1 SBU (additional 3.0 SBU for API docs)">
     7  <!ENTITY kdelibs-download-http "&trinity-repo-http;/kdelibs-&trinity-version;.tar.gz">
     8  <!ENTITY kdelibs-download-ftp  "&trinity-repo-ftp;/kdelibs-&trinity-version;.tar.gz">
     9  <!ENTITY kdelibs-md5sum        "f62eefb63b4ba2141b4c576f859806dd">
     10  <!ENTITY kdelibs-size          "16.6 MB">
     11  <!ENTITY kdelibs-buildsize     "408 MB">
     12  <!ENTITY kdelibs-time          "5.5 SBU">
    1313]>
    1414
     
    3131
    3232    <para>This package includes programs and libraries that are central to the
    33     development and execution of a <application>KDE</application> program,
     33    development and execution of a <application>Trinity/KDE3</application> program,
    3434    as well as internationalization files for these libraries, miscellaneous
    35     HTML documentation, theme modules and regression tests.</para>
     35    HTML documentation, and theme modules.</para>
    3636
    3737    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    5656      </listitem>
    5757    </itemizedlist>
    58 
     58<!--
    5959    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6060    <itemizedlist spacing="compact">
     
    6464      </listitem>
    6565    </itemizedlist>
    66 
     66-->
    6767    <bridgehead renderas="sect3">Kdelibs Dependencies</bridgehead>
    6868
    6969    <bridgehead renderas="sect4">Required</bridgehead>
    70     <para role="required"><xref linkend="qt"/></para>
     70    <para role="required"><xref linkend="tqtinterface"/></para>
    7171
    7272    <bridgehead renderas="sect4">Recommended</bridgehead>
    73     <para role="recommended"><xref linkend="aRts"/>,
    74     <xref linkend="libjpeg"/>,
    75     <xref linkend="libart_lgpl"/>,
    76     <xref linkend="libxml2"/>,
    77     <xref linkend="libxslt"/>,
    78     <xref linkend="pcre"/>,
    79     <xref linkend="gamin"/>,
    80     <xref linkend="openssl"/>, and
    81     <xref linkend="libidn"/></para>
     73    <para role="recommended">
     74      <xref linkend="aRts"/>,
     75      <xref linkend="libjpeg"/>,
     76      <xref linkend="libart_lgpl"/>,
     77      <xref linkend="libidn"/>, and
     78      <xref linkend="openssl"/>
     79    </para>
    8280
    8381    <bridgehead renderas="sect4">Optional</bridgehead>
    84     <para role="optional"><xref linkend="libtiff"/>,
    85     <xref linkend="aspell"/>,
    86     <xref linkend="cups"/>,
    87     <xref linkend="alsa"/>,
    88     <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
    89     <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
    90     <xref linkend="jasper"/>,
    91     <ulink url="http://www.lua.org/">Lua</ulink> (version &lt; 5.1),
    92     <ulink url="http://www.opensource.apple.com/darwinsource/tarballs/apsl/">mDNSResponder</ulink>,
    93     <ulink url="http://sourceforge.net/projects/libthai">LibThai</ulink>,
    94     <ulink url="http://www.ivrix.org.il/projects/spell-checker/">Hspell</ulink>,
    95     <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libacl</ulink>
    96     (requires <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>),
    97     <xref linkend="sudo"/>,
    98     <xref linkend="graphviz"/>, and
    99     <xref linkend="doxygen"/></para>
     82    <para role="optional">
     83      <xref linkend="aspell"/>,
     84      <xref linkend="cups"/>,
     85      <xref linkend="libtiff"/>,
     86      <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
     87      <ulink url="http://www.ivrix.org.il/projects/spell-checker/">Hspell</ulink>,
     88      <xref linkend="sudo"/>, and
     89      <ulink url="http://packages.debian.org/sid/libutempter">utempter</ulink>
     90    </para>
    10091
    10192    <para condition="html" role="usernotes">User Notes:
     
    10899    <title>Run-Time Dependencies</title>
    109100
    110     <para>The <application>KDE</application> libraries access other programs at
     101    <para>The <application>Trinity/KDE3</application> libraries access other programs at
    111102    run time. One additional package that has not been mentioned already is
    112103    <ulink url="http://packages.debian.org/unstable/source/pmount/">
     
    124115    <para>Install <application>kdelibs</application> with:</para>
    125116
    126 <screen><userinput>patch -Np1 -i ../kdelibs-&kde-version;-charset-1.patch &amp;&amp;
    127 sed -i -e 's|linux/inotify|sys/inotify|'                 \
    128        -e '/^static inline int inotify_init/,/^}/d'      \
    129        -e '/^static inline int inotify_add_watch/,/^}/d' \
    130        -e '/^static inline int inotify_rm_watch/,/^}/d'  \
    131        kio/kio/kdirwatch.cpp &amp;&amp;
    132 ./configure --prefix=$KDE_PREFIX  \
    133             --sysconfdir=/etc/kde \
    134             --disable-debug       \
    135             --disable-dependency-tracking &amp;&amp;
    136 make</userinput></screen>
     117<screen><userinput>MAKEDIR=/tmp/buildlibs &amp;&amp;
     118KDELIBS=`pwd`          &amp;&amp;
     119rm -rf   $MAKEDIR      &amp;&amp;
     120mkdir -p $MAKEDIR      &amp;&amp;
     121cd       $MAKEDIR      &amp;&amp;
     122
     123cmake -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
     124      -DCMAKE_VERBOSE_MAKEFILE=ON            \
     125      $KDELIBS         &amp;&amp;
     126unset KDELIBS MAKEDIR</userinput></screen>
     127
     128    <para>Some of the optional support programs for <application>kdelibs</application>
     129    must be specified by the user.  The option is in the form "-DWITH_PKG=ON" and
     130    the following options are recognozed for 'PKG': TIFF, LIBIDN, LIBART,
     131    OPENEXR, UTEMPTER, ASPELL, HSPELL, and AVAHI. Other optional support
     132    programs such as CUPS are automatically recognized if present.</para>
     133
     134    <para>If your installation of <application>Xorg</application> is
     135    not in the <filename class='directory'>/usr</filename> hierarchy,
     136    ensure the linking commands search in the correct place:</para>
     137   
     138<screen><userinput>find -name link.txt -exec sed -i -e "s@-lX11@&amp; -L$XORG_PREFIX/lib@" {} \;</userinput></screen>
     139
     140    <para>Continue with the build:</para>
     141
     142<screen><userinput>make</userinput></screen>
    137143
    138144    <note>
    139 
    140145      <para>If you wish to create the API documentation and you have
    141146      <application>Doxygen</application> and
     
    143148      <command>make install</command>. This applies to all packages which can
    144149      utilize <application>Doxygen</application>.</para>
    145 
    146       <para><emphasis>The usual building of the API documentation in this package
    147       will run forever because of a bug in <application>doxygen</application>
    148       versions 1.5.8 and earlier.</emphasis>  There is a symbolic link in the
    149       <filename class='directory'>kdeprint</filename> directory that is not
    150       handled properly.  To fix this, either update to the current version of
    151       <application>doxygen</application> or delete the link, generate the
    152       documentation, and recreate the symbolic link:</para>
    153 
    154       <screen><userinput>rm kdeprint/kdeprint &amp;&amp;
    155 make apidox &amp;&amp;
    156 ln -s  management kdeprint/kdeprint</userinput></screen>
    157150
    158151      <para>The <command>make apidox</command> command generates a lot of
     
    167160
    168161      <para>The documents generated are HTML and are found in <filename
    169       class='directory'>&kde-dir;/share/doc/HTML/en/kdelibs-apidocs</filename>.
     162      class='directory'>$TRINITY_PREFIX/share/doc/HTML/en/kdelibs-apidocs</filename>.
    170163      </para>
    171164    </note>
    172165
    173     <para>This package does not come with a test suite that works with
    174     <application>GCC</application>-&gcc-version;.</para>
     166    <para>This package does not come with a test suite.</para>
    175167
    176168    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    179171
    180172  </sect2>
    181 
     173<!--
    182174  <sect2 role="commands">
    183175    <title>Command Explanations</title>
     
    187179    instructions that are deleted are now within glibc.</para>
    188180
    189     <para><parameter>--prefix=&kde-dir;</parameter>: This option tells the process
     181    <para><parameter>- -prefix=&kde-dir;</parameter>: This option tells the process
    190182    to install the package in <filename class="directory">&kde-dir;</filename>.</para>
    191183
    192     <para><parameter>--disable-debug</parameter>: This option causes the
     184    <para><parameter>- -disable-debug</parameter>: This option causes the
    193185    package to be compiled without debugging code.</para>
    194186
    195     <para><parameter>--disable-dependency-tracking</parameter>: This option
     187    <para><parameter>- -disable-dependency-tracking</parameter>: This option
    196188    speeds up one time builds.</para>
    197189
    198     <para><parameter>--sysconfdir=/etc/kde</parameter>: This option places
     190    <para><parameter>- -sysconfdir=/etc/kde</parameter>: This option places
    199191    configuration files in compliance with the <ulink
    200192    url='http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION'
     
    205197
    206198  </sect2>
    207 
     199-->
    208200  <sect2 role="content">
    209201    <title>Contents</title>
     
    270262    <para>The number of programs and libraries installed by
    271263    <application>kdelibs</application> prohibits an explanation of each one
    272     in this section. Instead, see the <ulink url="http://docs.kde.org/">KDE
    273     Documentation</ulink>.</para>
     264    in this section.</para>
    274265
    275266  </sect2>
  • 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>
  • kde/kde-intro.xml

    r3863533e ra8d5ef7  
    1212
    1313<partintro>
    14   <title>Introduction to KDE</title>
     14  <title>Introduction to Trinity/KDE3</title>
    1515
    16   <note><para>A preliminary set of instructions for building KDE-4.3.x
    17   are in the BLFS wiki:
    18   <ulink url="&blfs-wiki;/KDE-4.3.x"/>.</para></note>
     16  <para>Trinity is a project that aims to keep the KDE 3.5 computing style
     17  alive, as well as keeping the existing code base current.  It is a
     18  comprehensive desktop environment that builds on an <application>X Window
     19  System</application> and <application>Qt</application> version 3 to provide a
     20  window manager and many user tools, including a browser, word processor,
     21  spreadsheet, presentation package, games, and numerous other utilities. It
     22  provides extensive capabilities for customization.</para>
    1923
    20 
    21   <para><application>KDE</application> is a comprehensive desktop environment
    22   that builds on an <application>X Window System</application> and
    23   <application>Qt</application> to provide a window manager and many user tools,
    24   including a browser, word processor, spreadsheet, presentation package, games,
    25   and numerous other utilities. It provides extensive capabilities for customization.</para>
    26 
    27   <para>The <application>KDE</application> instructions are divided into
     24  <para>The <application>Trinity/KDE3</application> instructions are divided into
    2825  three parts. The first part, the core packages, are needed for the rest of
    29   <application>KDE</application> to work. The second part presents additional
     26  <application>Trinity/KDE3</application> to work. The second part presents additional
    3027  packages which provide functionality in various areas (multimedia, graphics, etc.)
    3128  The third part provides resources for software and web developers.</para>
    3229
    33   <para>There are two alternatives for installing <application>KDE</application>.
    34   Option one, that is used by most of the commercial distributions, is to install
    35   <application>KDE</application> in the standard system prefix:
     30  <para>There are two alternatives for installing
     31  <application>Trinity/KDE3</application>.  Option one, that is used by most of
     32  the commercial distributions, is to install
     33  <application>Trinity/KDE3</application> in the standard system prefix:
    3634  <filename class="directory">/usr</filename>. This option allows the use of
    37   <application>KDE</application> without the need for any additional configuration such
    38   as modification of various environment variables or configuration files. Option two is
    39   to install it in a unique prefix such as <filename class="directory">/opt/kde</filename> or
    40   <filename class="directory">/opt/kde-&kde-version;</filename>. This option allows for
    41   easy removal of the <application>KDE</application> version or maintenance of
    42   multiple versions for testing.</para>
     35  <application>Trinity/KDE3</application> without the need for any additional
     36  configuration such as modification of various environment variables or
     37  configuration files. Option two, recommended by the Trinity developers and
     38  BLFS Editors is to install it in a unique prefix such as <filename
     39  class="directory">/opt/trinity</filename> or <filename
     40  class="directory">/opt/trinity-&trinity-version;</filename>. This option
     41  allows for easy removal of the <application>Trinity/KDE3</application>
     42  version or maintenance of multiple versions for testing.</para>
     43
     44  <para>The <application>Trinity/KDE3</application> pakages are undergoing
     45  constant upgrades.  With the 3.5.13 version, the core packages are
     46  configured with <userinput>cmake</userinput> and the rest are built using the
     47  traditional <userinput>configure</userinput> command.</para>
    4348
    4449  <tip>
    45     <para>All the <application>KDE</application> packages are comprised of various
    46     components. The default is to install most of the components. If specific components
    47     are to be eliminated, the official way is to set the variable
     50    <para>All the <application>Trinity/KDE3</application> packages that are
     51    built with <userinput>configure</userinput> are comprised of various
     52    components. The default is to install most of the components. If specific
     53    components are to be eliminated, the way is to set the variable
    4854    <envar>DO_NOT_COMPILE</envar>. This comes in handy when there are problems
    4955    compiling a particular component.</para>
    5056
    5157<screen><userinput>DO_NOT_COMPILE="component1 component2" \
    52     ./configure --prefix=&kde-dir; ...</userinput></screen>
     58    ./configure --prefix=$TRINITY_PREFIX ...</userinput></screen>
    5359
    54     <para>The core <application>KDE</application> packages also honor this
    55     variable, but omitting components from the core packages is not advisable since
    56     it may result in an incomplete <application>KDE</application> installation.</para>
    5760  </tip>
    5861
    59   <note>
    60     <para>In each of the packages, one other option to <command>configure</command>
    61     can be added: <option>--enable-final</option>. This option can speed up the build
    62     process, but requires a lot of memory. If you have less than 256MB of RAM,
    63     this option may cause swapping and significantly slow compilation.</para>
    64   </note>
    65 
    6662</partintro>
  • kde/kde.xml

    r3863533e ra8d5ef7  
    1111-->
    1212
    13 <part id="kde" xreflabel="KDE">
     13<part id="kde" xreflabel="Trinity/KDE3">
    1414  <?dbhtml filename="kde.html" dir="kde"?>
    1515
    16   <title>KDE</title>
     16  <title>Trinity/KDE3</title>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kde-intro.xml"/>
  • multimedia/libdriv/libmad.xml

    r3863533e ra8d5ef7  
    3333    MPEG audio decoder capable of 24-bit output.</para>
    3434
    35     &lfs65_checked;
     35    &lfs70_checked;
    3636
    3737    <bridgehead renderas="sect3">Package Information</bridgehead>
  • x/lib/qt.xml

    r3863533e ra8d5ef7  
    55  %general-entities;
    66
    7   <!ENTITY qt-download-http "http://get.qt.nokia.com/qt/source/qt-x11-free-&qt-version;.tar.gz">
    8   <!ENTITY qt-download-ftp  "ftp://ftp.trolltech.com/qt/source/qt-x11-free-&qt-version;.tar.gz">
    9   <!ENTITY qt-md5sum        "9f05b4125cfe477cc52c9742c3c09009">
    10   <!ENTITY qt-size          "16.5 MB">
    11   <!ENTITY qt-buildsize     "261 MB">
    12   <!ENTITY qt-time          "11 SBU (full), 7.5 SBU (sub-tools)">
     7  <!ENTITY qt-download-http "&trinity-repo-http;/qt3-3.3.8.d.tar.gz">
     8  <!ENTITY qt-download-ftp  "&trinity-repo-ftp;/qt3-3.3.8.d.tar.gz ">
     9  <!ENTITY qt-md5sum        "78dc675e84aed595375449818cbb589a">
     10  <!ENTITY qt-size          "16.8 MB">
     11  <!ENTITY qt-buildsize     "801 MB">
     12  <!ENTITY qt-time          "8.6 SBU">
    1313]>
    1414
     
    3535    dynamically linked to the <application>Qt</application> library. Two of
    3636    the major users of <application>Qt</application> are
    37     <application>KDE</application> and its foolow on project,
     37    <application>KDE</application> and its follow on project,
    3838    <application>Trinity</application>.</para>
    3939
     
    6060    </itemizedlist>
    6161
    62 
    63 
    64 
     62    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     63    <itemizedlist spacing='compact'>
     64      <listitem>
     65        <para>Required Patch: <ulink
     66          url="&patch-root;/qt3-3.3.8.d-libpng15-1.patch"/>
     67        </para>
     68      </listitem>
     69    </itemizedlist>
    6570
    6671    <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
     
    7075
    7176    <bridgehead renderas="sect4">Recommended</bridgehead>
    72     <para role="recommended"><xref linkend="libjpeg"/> and
    73     <xref linkend="libmng"/></para>
     77    <para role="recommended">
     78      <xref linkend="libjpeg"/> and
     79      <xref linkend="libmng"/>
     80    </para>
    7481
    7582    <para>Note: if for whatever reason you do not have the recommended
     
    8289    <bridgehead renderas="sect4">Optional</bridgehead>
    8390    <para role="optional">
    84 <!--    <xref linkend="nas"/>, -->
    85     <xref linkend="cups"/>,
    86     <xref linkend="mysql"/>,
    87     <xref linkend="postgresql"/>,
    88     <xref linkend="unixodbc"/>,
    89     <xref linkend="sqlite"/>, and
    90     <ulink url="http://firebird.sourceforge.net/">Firebird</ulink></para>
     91      <xref linkend="cups"/>,
     92      <xref linkend="mysql"/>,
     93      <xref linkend="postgresql"/>,
     94      <xref linkend="unixodbc"/>,
     95      <xref linkend="sqlite"/>, and
     96      <ulink url="http://firebird.sourceforge.net/">Firebird</ulink>
     97    </para>
    9198
    9299    <para condition="html" role="usernotes">User Notes:
     
    100107    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    101108    href="../../xincludes/X11R6_symlink.xml"/>
    102 
    103     <!--<para>The <application>Qt</application> source hard codes the location
    104     of the <application>X Window System</application> installation to
    105     <filename class="directory">/usr/X11R6</filename>.  If you've installed
    106     the <application>X Window System</application> in any prefix other than
    107     <filename class="directory">/usr/X11R6</filename>, then you should correct
    108     the <application>qmake</application> configuration files with the following
    109     commands, replacing <replaceable>&lt;PREFIX&gt;</replaceable> with the
    110     installation prefix of the
    111     <application>X Window System</application>:</para>
    112 
    113 <screen><userinput>for file in $(grep -lr "X11R6" *)
    114 do
    115     sed -i "s@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g" $file
    116 done</userinput></screen> -->
    117109
    118110    <para>There are several ways to install a complicated package such as
     
    158150      This is the method that most commercial distributions use.</para>
    159151
    160 <!--
    161       <note>
    162         <para>The installation incorrectly uses <command>cp</command> to
    163         install the files. This causes problems if the
    164         <application>Qt</application> libraries are already in use (e.g.,
    165         you are logged into your <application>KDE</application> desktop
    166         environment). To avoid problems, <command>cp -f</command> is
    167         replaced by <command>install</command> in
    168         <filename>qmake.conf</filename>.</para>
    169       </note>
    170 -->
    171 
    172152      <note>
    173153        <para>If <application>Qt</application> is being reinstalled, run the
     
    180160
    181161bash
    182 export PATH=$PWD/bin:$PATH &amp;&amp;
     162export PATH=$PWD/bin:$PATH                       &amp;&amp;
    183163export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &amp;&amp;
    184164
    185 ./configure -prefix /usr \
    186             -docdir /usr/share/doc/qt \
    187             -headerdir /usr/include/qt \
    188             -plugindir /usr/lib/qt/plugins \
    189             -datadir /usr/share/qt \
     165patch -Np1 -i ../qt3-3.3.8.d-libpng15-1.patch    &amp;&amp;
     166
     167./configure -prefix     /usr                \
     168            -docdir     /usr/share/doc/qt   \
     169            -headerdir  /usr/include/qt     \
     170            -plugindir  /usr/lib/qt/plugins \
     171            -datadir    /usr/share/qt       \
     172            -sysconfdir /etc/qt             \
    190173            -translationdir /usr/share/qt/translations \
    191             -sysconfdir /etc/qt \
    192             -qt-gif \
    193             -system-zlib \
    194             -system-libpng \
    195             -system-libjpeg \
    196             -system-libmng \
    197             -plugin-imgfmt-png \
    198             -plugin-imgfmt-jpeg \
    199             -plugin-imgfmt-mng \
    200             -no-exceptions \
    201             -thread \
     174            -qt-gif                         \
     175            -system-zlib                    \
     176            -system-libpng                  \
     177            -system-libjpeg                 \
     178            -system-libmng                  \
     179            -plugin-imgfmt-png              \
     180            -plugin-imgfmt-jpeg             \
     181            -plugin-imgfmt-mng              \
     182            -no-exceptions                  \
     183            -thread                         \
    202184            -tablet &amp;&amp;
    203185
     
    237219
    238220<screen><userinput>bash
    239 export QTDIR=$PWD &amp;&amp;
     221export QTDIR=$PWD                                &amp;&amp;
    240222export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &amp;&amp;
    241 export PATH=$PWD/bin:$PATH &amp;&amp;
     223export PATH=$PWD/bin:$PATH                       &amp;&amp;
     224
     225patch -Np1 -i ../qt3-3.3.8.d-libpng15-1.patch    &amp;&amp;
    242226
    243227./configure -prefix /opt/qt-&qt-version; \
    244             -sysconfdir /etc/qt \
    245             -qt-gif \
    246             -system-zlib \
    247             -system-libpng \
    248             -system-libjpeg \
    249             -system-libmng \
    250             -plugin-imgfmt-png \
    251             -plugin-imgfmt-jpeg \
    252             -plugin-imgfmt-mng \
    253             -no-exceptions \
    254             -thread \
     228            -sysconfdir /etc/qt   \
     229            -qt-gif               \
     230            -system-zlib          \
     231            -system-libpng        \
     232            -system-libjpeg       \
     233            -system-libmng        \
     234            -plugin-imgfmt-png    \
     235            -plugin-imgfmt-jpeg   \
     236            -plugin-imgfmt-mng    \
     237            -no-exceptions        \
     238            -thread               \
    255239            -tablet &amp;&amp;
    256240
     
    427411      <filename class='directory'>/opt/qt/bin</filename>.</para>
    428412
     413      <tip><para>The PATH, MANPATH, and PKG_CONFIG_PATH can be updated in
     414      the extrapaths.sh (or other script) in the /etc/profile.d directory
     415      if you set up the startup files as recommended in
     416      <xref linkend='postlfs-config-profile'/>.</para></tip>
     417
    429418      <para>As with most libraries, there is no explicit configuration to do.
    430419      After updating <filename>/etc/ld.so.conf</filename> as explained above,
Note: See TracChangeset for help on using the changeset viewer.