Ignore:
Timestamp:
01/10/2012 09:25:24 PM (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:
07f0d321
Parents:
5eda319
Message:

Update to qt-4.8.0.
Editorial changes to KDE4 introductory text.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9175 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde4/intro/pre-install-config.xml

    r5eda319 r00785d8  
    1818  <sect2><title>Dependencies</title>
    1919
    20     <para><application>KDE4</application> is a huge software collection 
    21     providing a desktop, tools for system and development tasks as well as
    22     fun and educational stuff. It makes use of a tremendous amount of
    23     non-KDE packages. While nearly all of those packages are optional,
    24     some others are are highly recommended like <xref linkend="polkit"/>.</para>
    25 
    26     <para>The following list of packages should give you an overview
    27     about those packages and you may want to consider to install them
    28     first. Installing this packages will switch on some useful features
    29     in the resulting <application>KDE4</application>. Nevertheless the
    30     dependencies are shown on each of the following pages.
     20    <para><application>KDE4</application> is a huge software collection
     21    providing a desktop, tools for system and development tasks, and  fun and
     22    educational programs. It makes use of a tremendous amount of non-KDE
     23    packages. While nearly all of those packages are optional, some others are
     24    are highly recommended.</para>
     25
     26    <para>The following list of packages should give you an overview about
     27    those packages and you may want to consider installing them first.
     28    Installing these packages will enable some useful features in the resulting
     29    <application>KDE4</application> suite. Nevertheless the dependencies are
     30    shown on each of the following pages.
    3131
    3232    <itemizedlist>
    3333      <listitem>
    34         <para><ulink url="http://qjson.sourceforge.net">QJSON</ulink> (http://qjson.sourceforge.net) - Qt library for handling JavaScript objects. Unfortunatly, the release version 0.7.1 is to old to compile. Alternativly use the current SVN sources or apply a patch to bring the release to a usable status.</para>
    35         <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr &amp;&amp; make &amp;&amp; make install</command> in its own build directory.</para>
    36       </listitem>
    37       <listitem>
    38          <para><ulink url="http://gpsd.berlios.de/">libgps</ulink> (http://gpsd.berlios.de/) - interface to GPS devices (kdeedu)</para>
    39          <para>Compile it the usual way <command>configure &amp;&amp; make &amp;&amp; make install</command>.</para>
    40       </listitem>
    41       <listitem>
    42         <para><ulink url="http://eigen.tuxfamily.org/">eigen2</ulink> (http://eigen.tuxfamily.org/) - a C++ template library for linear algebra</para>
    43         <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr &amp;&amp; make &amp;&amp; make install</command>.</para>
    44       </listitem>
    45       <listitem>
    46         <para><xref linkend="desktop-file-utils"/> - a few command line utilities for working with desktop entries</para>
    47       </listitem>
    48       <listitem>
    49         <para><ulink url="http://www.riverbankcomputing.com/software/sip/intro">pySIP</ulink> (http://www.riverbankcomputing.com/software/sip/intro) - Python Service Integration Platform</para>
    50         <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp; make install</command>.</para>
    51       </listitem>
    52       <listitem>
    53         <para><ulink url="http://www.riverbankcomputing.com/software/pyqt/">pyQT4</ulink> (http://www.riverbankcomputing.com/software/pyqt/) - Python interface to Qt4 (kdebindings)</para>
    54         <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp; make install</command>.</para>
    55       </listitem>
    56       <listitem>
     34
     35        <para><ulink url="http://qjson.sourceforge.net">QJSON</ulink>
     36        (http://qjson.sourceforge.net) - Qt library for handling JavaScript
     37        objects. Unfortunatly, the release version 0.7.1 is to old to compile.
     38        Alternativly use the current SVN sources or apply a patch to bring the
     39        release to a usable status.</para>
     40       
     41        <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
     42        &amp;&amp; make &amp;&amp; make install</command> in its own build
     43        directory.</para>
     44     
     45      </listitem>
     46
     47      <listitem>
     48         
     49         <para><ulink url="http://gpsd.berlios.de/">libgps</ulink>
     50         (http://gpsd.berlios.de/) - interface to GPS devices (kdeedu)</para>
     51         <para>Compile it the usual way <command>configure &amp;&amp; make
     52         &amp;&amp; make install</command>.</para>
     53     
     54      </listitem>
     55
     56      <listitem>
     57       
     58        <para><ulink url="http://eigen.tuxfamily.org/">eigen2</ulink>
     59        (http://eigen.tuxfamily.org/) - a C++ template library for linear
     60        algebra</para>
     61       
     62        <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
     63        &amp;&amp; make &amp;&amp; make install</command>.</para>
     64     
     65      </listitem>
     66      <listitem>
     67       
     68        <para><xref linkend="desktop-file-utils"/> - a few command line
     69        utilities for working with desktop entries</para>
     70     
     71      </listitem>
     72      <listitem>
     73       
     74        <para><ulink
     75        url="http://www.riverbankcomputing.com/software/sip/intro">pySIP</ulink>
     76        (http://www.riverbankcomputing.com/software/sip/intro) - Python Service
     77        Integration Platform</para>
     78       
     79        <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp;
     80        make install</command>.</para>
     81     
     82      </listitem>
     83      <listitem>
     84       
     85        <para><ulink
     86        url="http://www.riverbankcomputing.com/software/pyqt/">pyQT4</ulink>
     87        (http://www.riverbankcomputing.com/software/pyqt/) - Python interface
     88        to Qt4 (kdebindings)</para>
     89       
     90        <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp;
     91        make install</command>.</para> </listitem>
     92     
     93      <listitem>
     94     
    5795        <para><xref linkend="ruby"/> - Ruby language (kdebindings)</para>
    58       </listitem>
    59       <listitem>
    60         <para><xref linkend="poppler"/> - Utility and library to show PDF files (kdegraphics)</para>
     96     
     97      </listitem>
     98      <listitem>
     99
     100        <para><xref linkend="poppler"/> - Utility and library to show PDF files
     101        (kdegraphics)</para>
     102       
    61103        <para>make sure the --enable-xpdf-headers switch is set</para>
    62       </listitem>
    63       <listitem>
    64         <para><xref linkend="libical"/> - library handling calendar entries (kdepimlibs)</para>
    65       </listitem>
    66       <listitem>
    67         <para><ulink url="http://cyberelk.net/tim/data/pycups/">pyCUPS</ulink> (http://cyberelk.net/tim/data/pycups/) - Python interface to CUPS (kdeadmin)</para>
    68         <para>Compile it with <command>make &amp;&amp; make install</command>.</para>
    69       </listitem>
    70       <listitem>
    71         <para><ulink url="http://cyberelk.net/tim/data/system-config-printer/">system-config-printer</ulink> (http://cyberelk.net/tim/data/system-config-printer/) - Printer config (kdeadmin)</para>
    72         <para>Compile it the usual way <command>configure &amp;&amp; make &amp;&amp; make install</command>.</para>
    73       </listitem>
    74       <listitem>
    75         <para><xref linkend="libidn"/> - en-/decode internationalized domain names (kdenetwork)</para>
    76       </listitem>
    77       <listitem>
    78         <para><xref linkend="polkit"/> - Policy handling (nearly all of KDE)</para>
    79       </listitem>
    80       <listitem>
    81         <para><xref linkend="consolekit"/> - Runtime dependency of polkit</para>
    82       </listitem>
    83       <listitem>
     104     
     105      </listitem>
     106      <listitem>
     107       
     108        <para><xref linkend="libical"/> - library handling calendar entries
     109        (kdepimlibs)</para>
     110     
     111      </listitem>
     112     
     113      <listitem>
     114       
     115        <para><ulink url="http://cyberelk.net/tim/data/pycups/">pyCUPS</ulink>
     116        (http://cyberelk.net/tim/data/pycups/) - Python interface to CUPS
     117        (kdeadmin)</para>
     118       
     119        <para>Compile it with <command>make &amp;&amp; make
     120        install</command>.</para>
     121     
     122      </listitem>
     123      <listitem>
     124       
     125        <para><ulink
     126        url="http://cyberelk.net/tim/data/system-config-printer/">system-config-printer</ulink>
     127        (http://cyberelk.net/tim/data/system-config-printer/) - Printer config
     128        (kdeadmin)</para>
     129       
     130        <para>Compile it the usual way <command>configure &amp;&amp; make
     131        &amp;&amp; make install</command>.</para>
     132
     133     
     134      </listitem>
     135      <listitem>
     136     
     137        <para><xref linkend="libidn"/> - en-/decode internationalized domain
     138        names (kdenetwork)</para>
     139     
     140      </listitem>
     141      <listitem>
     142       
     143        <para><xref linkend="polkit"/> - Policy handling (nearly all of
     144        KDE)</para>
     145     
     146      </listitem>
     147      <listitem>
     148       
     149        <para><xref linkend="consolekit"/> - Runtime dependency of
     150        polkit</para>
     151     
     152      </listitem>
     153      <listitem>
     154       
    84155        <para>U-tools - udisks and upower instead of HAL</para>
    85         <para>and all of its dependencies: <xref linkend="libatasmart"/>, <xref linkend="sg3_utils"/>,
    86         <xref linkend="libffi"/>, <xref linkend="acl"/>, <xref linkend="gobject-introspection"/>,
    87         <xref linkend="udev"/>, <xref linkend="device-mapper"/>, <xref linkend="parted"/> and than
    88         <xref linkend="udisks"/> and <xref linkend="upower"/></para>
    89       </listitem>
    90       <listitem>
     156       
     157        <para>and all of its dependencies:
     158          <xref linkend="libatasmart"/>,
     159          <xref linkend="sg3_utils"/>,
     160          <xref linkend="libffi"/>,
     161          <xref linkend="acl"/>,
     162          <xref linkend="gobject-introspection"/>,
     163          <xref linkend="udev"/>,
     164          <xref linkend="device-mapper"/>,
     165          <xref linkend="parted"/> and than
     166          <xref linkend="udisks"/> and
     167          <xref linkend="upower"/>
     168        </para>
     169     
     170      </listitem>
     171      <listitem>
     172       
    91173        <para><xref linkend="libiodbc"/> - iODBC library</para>
    92       </listitem>
    93       <listitem>
     174     
     175      </listitem>
     176     
     177      <listitem>
     178       
    94179        <para><xref linkend="virtuoso"/> - a Universal Database</para>
    95       </listitem>
    96       <listitem>
     180     
     181      </listitem>
     182      <listitem>
     183       
    97184        <para><xref linkend="exiv2"/> - Image data processing library</para>
    98       </listitem>
    99       <listitem>
     185     
     186      </listitem>
     187      <listitem>
     188       
    100189        <para>RDF tools - Handling of RDF data</para>
    101         <para>Including: <xref linkend="raptor"/>, <xref linkend="rasqal"/> and <xref linkend="redland"/></para>
    102       </listitem>
    103       <listitem>
     190       
     191        <para>Including: <xref linkend="raptor"/>, <xref linkend="rasqal"/> and
     192        <xref linkend="redland"/></para>
     193     
     194      </listitem>
     195      <listitem>
     196       
    104197        <para><xref linkend="clucene"/> - Text search engine</para>
    105       </listitem>
    106       <listitem>
     198     
     199      </listitem>
     200      <listitem>
     201       
    107202        <para><xref linkend="boost"/> - collection of free C++ libraries</para>
    108       </listitem>
    109       <listitem>
    110         <para><xref linkend="qca"/> - Cryptographic library for Qt platform</para>
    111       </listitem>
    112       <listitem>
    113         <para><xref linkend="libdbusmenu-qt"/> - Qt interface to D-Bus menue</para>
    114       </listitem>
    115       <listitem>
    116         <para><xref linkend="soprano"/> - object-oriented C++/Qt4 framework for RDF data</para>
    117       </listitem>
    118       <listitem>
     203     
     204      </listitem>
     205      <listitem>
     206       
     207        <para><xref linkend="qca"/> - Cryptographic library for Qt
     208        platform</para>
     209     
     210      </listitem>
     211      <listitem>
     212       
     213        <para><xref linkend="libdbusmenu-qt"/> - Qt interface to D-Bus
     214        menue</para>
     215     
     216      </listitem>
     217      <listitem>
     218       
     219        <para><xref linkend="soprano"/> - object-oriented C++/Qt4 framework for
     220        RDF data</para>
     221     
     222      </listitem>
     223     
     224      <listitem>
     225       
    119226        <para><xref linkend="strigi"/> - Desktop indexing engine</para>
    120       </listitem>
    121       <listitem>
    122         <para><ulink url="http://www.grantlee.org">Grantlee</ulink> (http://www.grantlee.org) - a template system for Qt</para>
    123         <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr &amp;&amp; make &amp;&amp; make install</command> in its own build directory.</para>
     227     
     228      </listitem>
     229      <listitem>
     230       
     231        <para><ulink url="http://www.grantlee.org">Grantlee</ulink>
     232        (http://www.grantlee.org) - a template system for Qt</para>
     233       
     234        <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
     235        &amp;&amp; make &amp;&amp; make install</command> in its own build
     236        directory.</para>
     237     
    124238      </listitem>
    125239    </itemizedlist>
     
    128242
    129243  <sect2><title>Installing in /usr</title>
     244   
    130245    <para>One option is to put <application>KDE4</application> into the
    131     <filename class='directory'>/usr</filename> hierarchy.  This creates
    132     a simpler setup but is more difficult to try multiple versions
    133     of <application>KDE4</application>.</para>
     246    <filename class='directory'>/usr</filename> hierarchy.  This creates a
     247    simpler setup but is more difficult to try multiple versions of
     248    <application>KDE4</application>.</para>
    134249
    135250<screen><userinput>export &kde4-dir-var;=/usr</userinput></screen>
     
    137252 
    138253  <sect2><title>Installing in /opt</title>
     254   
    139255    <para>A method of building multiple versions installs
    140256    <application>KDE4</application> in the <filename
     
    145261    <para>If you are not installing <application>KDE4</application> in
    146262    <filename class="directory">/usr</filename>, you will need to make some
    147     additional configuration changes. Best practice is to add those to your 
     263    additional configuration changes. Best practice is to add those to your
    148264    system or personal profile:</para>
    149265
     
    162278
    163279export KDE4_PREFIX KDE4DIR KDEDIR
    164 export PATH PKG_CONFIG_PATH XDG_DATA_DIRS XDG_CONFIG_DIRS
    165280
    166281# End /etc/profile.d/kde4.sh
     
    197312
    198313    <tip>
    199       <para>Sometimes, the installation pathes are patched into installed
    200       files. This is the reason why <filename class="directory">/opt/kde4</filename>
    201       is used as installation prefix instead of <filename class="directory">/opt/kde-&kde4-version;</filename>.
    202       After installing <application>KDE4</application>, you may consider to
    203       rename the directory and create a symlink:</para>
     314
     315      <para>Sometimes, the installation paths are coded into installed files.
     316      This is the reason why <filename class="directory">/opt/kde4</filename>
     317      is used as installation prefix instead of <filename
     318      class="directory">/opt/kde-&kde4-version;</filename>.  After installing
     319      <application>KDE4</application>, you may rename the directory and create
     320      a symlink:</para>
    204321
    205322<screen role="root"><userinput>mv /opt/kde{4,-&kde4-version;} &amp;&amp;
    206 ln -v -sf kde-&kde4-version; /opt/kde4</userinput></screen>
    207 
    208       <para>Later on, you may want to install other versions of <application>KDE4</application>.
    209       To do that, just remove the symlink and use <filename class="directory">/opt/kde4</filename>
    210       as prefix again (<application>KDE4</application> must not be started). Which
    211       version of <application>KDE4</application> you use depends only on
    212       where the symlink points to. No other reconfiguration will be needed.</para>
     323ln -vsf kde-&kde4-version; /opt/kde4</userinput></screen>
     324
     325      <para>Later on, you may want to install other versions of
     326      <application>KDE4</application>.  To do that, just remove the symlink and
     327      use <filename class="directory">/opt/kde4</filename> as ithe prefix again
     328      (<application>KDE4</application> must not be started). Which version of
     329      <application>KDE4</application> you use depends only on where the symlink
     330      points to. No other reconfiguration will be needed.</para>
     331
    213332    </tip>
    214333
     
    216335 
    217336  <sect2><title>The QT4DIR variable</title>
    218   <para>Some additional packages which are based on <application>Qt4</application>
    219   will be installed. One of them is <application>Phonon</application>, a direct
    220   replacement of the implementation which comes with <application>Qt4</application>.
    221   It's recommended to place such libraries in the same hierarchy where <application>Qt4</application>
    222   itself resides. Later on, it is refered to <envar>QT4DIR</envar>. If you have placed
    223   <application>Qt4</application> in <filename class='directory'>/usr</filename>,
    224   set <envar>QT4DIR</envar>:</para>
     337 
     338  <para>Some additional packages which are based on
     339  <application>Qt4</application> will be installed. One of them is
     340  <application>Phonon</application>, a direct replacement of the implementation
     341  which comes with <application>Qt4</application>.  It's recommended placing
     342  such libraries in the same hierarchy where <application>Qt4</application>
     343  itself resides. Later on, it is refered to as <envar>QT4DIR</envar>. If you have
     344  placed <application>Qt4</application> in <filename
     345  class='directory'>/usr</filename>, set <envar>QT4DIR</envar>:</para>
    225346 
    226347<screen><userinput>export QT4DIR=/usr</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.