Changeset a8d5ef7 for kde/core


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

Location:
kde/core
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.