mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
KDE4/QT4/ConsoleKit conf.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9718 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b865548bfc
commit
8d86c672fb
12
general.ent
12
general.ent
@ -652,11 +652,11 @@ $Date$
|
||||
|
||||
<!-- Part VIII -->
|
||||
<!-- Chapters 29-31 -->
|
||||
<!ENTITY kde4-version "4.6.0">
|
||||
<!ENTITY kde4-version "4.8.1">
|
||||
<!ENTITY kde4-dldir "&kde4-version;">
|
||||
<!ENTITY kde4-branch "stable">
|
||||
<!ENTITY kde4-download-http "http://mirrors.isc.org/pub/kde/&kde4-branch;/&kde4-dldir;/src">
|
||||
<!ENTITY kde4-download-ftp "ftp://ftp.kde.org/pub/kde/&kde4-branch;/&kde4-dldir;/src">
|
||||
<!ENTITY kde4-download-http "http://mirrors.isc.org/pub/kde/stable/">
|
||||
<!ENTITY kde4-download-ftp "ftp://ftp.kde.org/pub/kde/stable/">
|
||||
<!ENTITY kde4-dir-var "KDE4_PREFIX">
|
||||
<!ENTITY kde4-dir "$&kde4-dir-var;">
|
||||
<!ENTITY automoc4-version "0.9.88">
|
||||
@ -687,8 +687,14 @@ $Date$
|
||||
<!ENTITY kde4plasma-addons-version "4.8.1">
|
||||
<!ENTITY libkexiv2-version "4.8.1">
|
||||
<!ENTITY kde4pim-version "4.4.10">
|
||||
<!ENTITY kde4games-version "4.6.0">
|
||||
<!ENTITY kde4edu-version "4.6.0">
|
||||
<!ENTITY kde4accessibility-version "4.6.0">
|
||||
<!ENTITY kde4toys-version "4.6.0">
|
||||
<!ENTITY kde4-download-http-pim "http://mirrors.isc.org/pub/kde/&kde4-branch;/kdepim-&kde4pim-version;/src">
|
||||
<!ENTITY kde4-download-ftp-pim "ftp://ftp.kde.org/pub/kde/&kde4-branch;/kdepim-&kde4pim-version;/src">
|
||||
<!ENTITY kde4sdk-version "4.6.0">
|
||||
<!ENTITY kde4webdev-version "4.6.0">
|
||||
<!ENTITY kdevplatform-version "1.2.0">
|
||||
<!ENTITY kdevelop4-version "4.2.0">
|
||||
<!ENTITY kdevelop4-php-version "&kdevplatform-version;">
|
||||
|
@ -41,6 +41,15 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>March 16th, 2012</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[rthomsen] - Modified configuration for KDE4, QT4 and ConsoleKit.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>March 15th, 2012</para>
|
||||
<itemizedlist>
|
||||
|
@ -4,15 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY kde4accessibility-download-http "&kde4-download-http;/kdeaccessibility-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4accessibility-download-ftp "&kde4-download-ftp;/kdeaccessibility-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4accessibility-download-http "&kde4-download-http;&kde4accessibility-version;/src/kdeaccessibility-&kde4accessibility-version;.tar.bz2">
|
||||
<!ENTITY kde4accessibility-download-ftp "&kde4-download-ftp;&kde4accessibility-version;/src/kdeaccessibility-&kde4accessibility-version;.tar.bz2">
|
||||
<!ENTITY kde4accessibility-md5sum "95bfb46141365d7330adfacd952584e9">
|
||||
<!ENTITY kde4accessibility-size "1.9 MB">
|
||||
<!ENTITY kde4accessibility-buildsize "34 MB">
|
||||
<!ENTITY kde4accessibility-time "0.7 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="kde4accessibility" xreflabel="kde4accessibility-&kde4-version;">
|
||||
<sect1 id="kde4accessibility" xreflabel="kdeaccessibility-&kde4accessibility-version;">
|
||||
<?dbhtml filename="kde4accessibility.html"?>
|
||||
|
||||
<sect1info>
|
||||
@ -20,7 +20,7 @@
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Kdeaccessibility-&kde4-version;</title>
|
||||
<title>Kdeaccessibility-&kde4accessibility-version;</title>
|
||||
|
||||
<indexterm zone="kde4accessibility">
|
||||
<primary sortas="a-kde4accessibility">kde4accessibility</primary>
|
||||
|
@ -4,15 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY kde4edu-download-http "&kde4-download-http;/kdeedu-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4edu-download-ftp "&kde4-download-ftp;/kdeedu-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4edu-download-http "&kde4-download-http;&kde4edu-version;/src/kdeedu-&kde4edu-version;.tar.bz2">
|
||||
<!ENTITY kde4edu-download-ftp "&kde4-download-ftp;&kde4edu-version;/src/kdeedu-&kde4edu-version;.tar.bz2">
|
||||
<!ENTITY kde4edu-md5sum "910301da580fb30c2d7fbb5b22b9a08c">
|
||||
<!ENTITY kde4edu-size "68 MB">
|
||||
<!ENTITY kde4edu-buildsize "936 MB">
|
||||
<!ENTITY kde4edu-time "14.8 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="kde4edu" xreflabel="kde4edu-&kde4-version;">
|
||||
<sect1 id="kde4edu" xreflabel="kdeedu-&kde4edu-version;">
|
||||
<?dbhtml filename="kde4edu.html"?>
|
||||
|
||||
<sect1info>
|
||||
@ -20,7 +20,7 @@
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Kdeedu-&kde4-version;</title>
|
||||
<title>Kdeedu-&kde4edu-version;</title>
|
||||
|
||||
<indexterm zone="kde4edu">
|
||||
<primary sortas="a-kde4edu">kde4edu</primary>
|
||||
|
@ -4,15 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY kde4games-download-http "&kde4-download-http;/kdegames-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4games-download-ftp "&kde4-download-ftp;/kdegames-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4games-download-http "&kde4-download-http;&kde4games-version;/src/kdegames-&kde4games-version;.tar.bz2">
|
||||
<!ENTITY kde4games-download-ftp "&kde4-download-ftp;&kde4games-version;/src/kdegames-&kde4games-version;.tar.bz2">
|
||||
<!ENTITY kde4games-md5sum "131260cb75a7590910b8b84f18e6b35e">
|
||||
<!ENTITY kde4games-size "58 MB">
|
||||
<!ENTITY kde4games-buildsize "521 MB">
|
||||
<!ENTITY kde4games-time "8.3 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="kde4games" xreflabel="kde4games-&kde4-version;">
|
||||
<sect1 id="kde4games" xreflabel="kdegames-&kde4games-version;">
|
||||
<?dbhtml filename="kde4games.html"?>
|
||||
|
||||
<sect1info>
|
||||
@ -20,7 +20,7 @@
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Kdegames-&kde4-version;</title>
|
||||
<title>Kdegames-&kde4games-version;</title>
|
||||
|
||||
<indexterm zone="kde4games">
|
||||
<primary sortas="a-kde4games">kde4games</primary>
|
||||
|
@ -4,15 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY kde4toys-download-http "&kde4-download-http;/kdetoys-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4toys-download-ftp "&kde4-download-ftp;/kdetoys-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4toys-download-http "&kde4-download-http;&kde4toys-version;/src/kdetoys-&kde4toys-version;.tar.bz2">
|
||||
<!ENTITY kde4toys-download-ftp "&kde4-download-ftp;&kde4toys-version;/src/kdetoys-&kde4toys-version;.tar.bz2">
|
||||
<!ENTITY kde4toys-md5sum "2025e1931ada4d1b1d37371df9847865">
|
||||
<!ENTITY kde4toys-size "400 KB">
|
||||
<!ENTITY kde4toys-buildsize "15 MB">
|
||||
<!ENTITY kde4toys-time "0.3 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="kde4toys" xreflabel="kde4toys-&kde4-version;">
|
||||
<sect1 id="kde4toys" xreflabel="kdetoys-&kde4toys-version;">
|
||||
<?dbhtml filename="kde4toys.html"?>
|
||||
|
||||
<sect1info>
|
||||
@ -20,7 +20,7 @@
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Kdetoys-&kde4-version;</title>
|
||||
<title>Kdetoys-&kde4toys-version;</title>
|
||||
|
||||
<indexterm zone="kde4toys">
|
||||
<primary sortas="a-kde4toys">kde4toys</primary>
|
||||
|
@ -113,9 +113,10 @@
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$KDE4_PREFIX \
|
||||
-DKDE_DEFAULT_HOME=.kde4 \
|
||||
-DSYSCONF_INSTALL_DIR=/etc/kde4 \
|
||||
.. &&
|
||||
-DKDE_DEFAULT_HOME=.kde4 \
|
||||
-DSYSCONF_INSTALL_DIR=/etc/kde4 \
|
||||
-DPYTHON_SITE_PACKAGES_INSTALL_DIR=/usr/lib/python2.7/site-packages \
|
||||
.. &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
@ -123,14 +124,15 @@ make</userinput></screen>
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
<!--
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><option>- -xyz</option>: This option is set for ...</para>
|
||||
<para><option>-DPYTHON_SITE_PACKAGES_INSTALL...</option>: This option is
|
||||
set to install the KDE4 Python objects in the correct place.</para>
|
||||
|
||||
</sect2>
|
||||
-->
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
|
@ -4,15 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY kde4sdk-download-http "&kde4-download-http;/kdesdk-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4sdk-download-ftp "&kde4-download-ftp;/kdesdk-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4sdk-download-http "&kde4-download-http;&kde4sdk-version;/src/kdesdk-&kde4sdk-version;.tar.bz2">
|
||||
<!ENTITY kde4sdk-download-ftp "&kde4-download-ftp;&kde4sdk-version;/src/kdesdk-&kde4sdk-version;.tar.bz2">
|
||||
<!ENTITY kde4sdk-md5sum "3bb8a404758e3fa9f2ca1658d175c094">
|
||||
<!ENTITY kde4sdk-size "6 MB">
|
||||
<!ENTITY kde4sdk-buildsize "589 MB">
|
||||
<!ENTITY kde4sdk-time "10.7 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="kde4sdk" xreflabel="kde4sdk-&kde4-version;">
|
||||
<sect1 id="kde4sdk" xreflabel="kdesdk-&kde4sdk-version;">
|
||||
<?dbhtml filename="kde4sdk.html"?>
|
||||
|
||||
<sect1info>
|
||||
@ -20,7 +20,7 @@
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Kdesdk-&kde4-version;</title>
|
||||
<title>Kdesdk-&kde4sdk-version;</title>
|
||||
|
||||
<indexterm zone="kde4sdk">
|
||||
<primary sortas="a-kde4sdk">kde4sdk</primary>
|
||||
|
@ -4,15 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY kde4webdev-download-http "&kde4-download-http;/kdewebdev-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4webdev-download-ftp "&kde4-download-ftp;/kdewebdev-&kde4-version;.tar.bz2">
|
||||
<!ENTITY kde4webdev-download-http "&kde4-download-http;&kde4webdev-version;/src/kdewebdev-&kde4webdev-version;.tar.bz2">
|
||||
<!ENTITY kde4webdev-download-ftp "&kde4-download-ftp;&kde4webdev-version;/src/kdewebdev-&kde4webdev-version;.tar.bz2">
|
||||
<!ENTITY kde4webdev-md5sum "9ea899175bc58d5a9333d858b12f705c">
|
||||
<!ENTITY kde4webdev-size "2.1 MB">
|
||||
<!ENTITY kde4webdev-buildsize "88 MB">
|
||||
<!ENTITY kde4webdev-time "1.8 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="kde4webdev" xreflabel="kde4webdev-&kde4-version;">
|
||||
<sect1 id="kde4webdev" xreflabel="kdewebdev-&kde4webdev-version;">
|
||||
<?dbhtml filename="kde4webdev.html"?>
|
||||
|
||||
<sect1info>
|
||||
@ -20,7 +20,7 @@
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Kdewebdev-&kde4-version;</title>
|
||||
<title>Kdewebdev-&kde4webdev-version;</title>
|
||||
|
||||
<indexterm zone="kde4webdev">
|
||||
<primary sortas="a-kde4webdev">kde4webdev</primary>
|
||||
|
@ -15,237 +15,12 @@
|
||||
|
||||
<title>KDE4 Pre-installation Configuration</title>
|
||||
|
||||
<sect2><title>Dependencies</title>
|
||||
|
||||
<para><application>KDE4</application> is a huge software collection
|
||||
providing a desktop, tools for system and development tasks, and fun and
|
||||
educational programs. It makes use of a tremendous amount of non-KDE
|
||||
packages. While nearly all of those packages are optional, some others are
|
||||
are highly recommended.</para>
|
||||
|
||||
<para>The following list of packages should give you an overview about
|
||||
those packages and you may want to consider installing them first.
|
||||
Installing these packages will enable some useful features in the resulting
|
||||
<application>KDE4</application> suite. Nevertheless the dependencies are
|
||||
shown on each of the following pages.
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
||||
<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>
|
||||
|
||||
<para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
|
||||
&& make && make install</command> in its own build
|
||||
directory.</para>
|
||||
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
||||
<para><ulink url="http://gpsd.berlios.de/">libgps</ulink>
|
||||
(http://gpsd.berlios.de/) - interface to GPS devices (kdeedu)</para>
|
||||
<para>Compile it the usual way <command>configure && make
|
||||
&& make install</command>.</para>
|
||||
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
||||
<para><ulink url="http://eigen.tuxfamily.org/">eigen2</ulink>
|
||||
(http://eigen.tuxfamily.org/) - a C++ template library for linear
|
||||
algebra</para>
|
||||
|
||||
<para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
|
||||
&& make && make install</command>.</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="desktop-file-utils"/> - a few command line
|
||||
utilities for working with desktop entries</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><ulink
|
||||
url="http://www.riverbankcomputing.com/software/sip/intro">pySIP</ulink>
|
||||
(http://www.riverbankcomputing.com/software/sip/intro) - Python Service
|
||||
Integration Platform</para>
|
||||
|
||||
<para>Compile it <command>python ./configure && make &&
|
||||
make install</command>.</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><ulink
|
||||
url="http://www.riverbankcomputing.com/software/pyqt/">pyQT4</ulink>
|
||||
(http://www.riverbankcomputing.com/software/pyqt/) - Python interface
|
||||
to Qt4 (kdebindings)</para>
|
||||
|
||||
<para>Compile it <command>python ./configure && make &&
|
||||
make install</command>.</para> </listitem>
|
||||
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="ruby"/> - Ruby language (kdebindings)</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="poppler"/> - Utility and library to show PDF files
|
||||
(kdegraphics)</para>
|
||||
|
||||
<para>make sure the --enable-xpdf-headers switch is set</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="libical"/> - library handling calendar entries
|
||||
(kdepimlibs)</para>
|
||||
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
||||
<para><ulink url="http://cyberelk.net/tim/data/pycups/">pyCUPS</ulink>
|
||||
(http://cyberelk.net/tim/data/pycups/) - Python interface to CUPS
|
||||
(kdeadmin)</para>
|
||||
|
||||
<para>Compile it with <command>make && make
|
||||
install</command>.</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<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>
|
||||
|
||||
<para>Compile it the usual way <command>configure && make
|
||||
&& make install</command>.</para>
|
||||
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="libidn"/> - en-/decode internationalized domain
|
||||
names (kdenetwork)</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="polkit"/> - Policy handling (nearly all of
|
||||
KDE)</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="consolekit"/> - Runtime dependency of
|
||||
polkit</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para>U-tools - udisks and upower instead of HAL</para>
|
||||
|
||||
<para>and all of its dependencies:
|
||||
<xref linkend="libatasmart"/>,
|
||||
<xref linkend="sg3_utils"/>,
|
||||
<xref linkend="libffi"/>,
|
||||
<xref linkend="acl"/>,
|
||||
<xref linkend="gobject-introspection"/>,
|
||||
<xref linkend="udev"/>,
|
||||
<xref linkend="lvm2"/>,
|
||||
<xref linkend="parted"/> and then
|
||||
<xref linkend="udisks"/> and
|
||||
<xref linkend="upower"/>
|
||||
</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="libiodbc"/> - iODBC library</para>
|
||||
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="virtuoso"/> - a Universal Database</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="exiv2"/> - Image data processing library</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para>RDF tools - Handling of RDF data</para>
|
||||
|
||||
<para>Including: <xref linkend="raptor"/>, <xref linkend="rasqal"/> and
|
||||
<xref linkend="redland"/></para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="clucene"/> - Text search engine</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="boost"/> - collection of free C++ libraries</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="qca"/> - Cryptographic library for Qt
|
||||
platform</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="libdbusmenu-qt"/> - Qt interface to D-Bus
|
||||
menue</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="soprano"/> - object-oriented C++/Qt4 framework for
|
||||
RDF data</para>
|
||||
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
||||
<para><xref linkend="strigi"/> - Desktop indexing engine</para>
|
||||
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
<para><ulink url="http://www.grantlee.org">Grantlee</ulink>
|
||||
(http://www.grantlee.org) - a template system for Qt</para>
|
||||
|
||||
<para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
|
||||
&& make && make install</command> in its own build
|
||||
directory.</para>
|
||||
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2><title>Installing in /usr</title>
|
||||
|
||||
<para>One option is to put <application>KDE4</application> into the
|
||||
<filename class='directory'>/usr</filename> hierarchy. This creates a
|
||||
simpler setup but is more difficult to try multiple versions of
|
||||
<application>KDE4</application>.</para>
|
||||
simpler setup but makes it more difficult to try multiple versions of
|
||||
<application>KDE</application>.</para>
|
||||
|
||||
<screen><userinput>export &kde4-dir-var;=/usr</userinput></screen>
|
||||
</sect2>
|
||||
@ -263,7 +38,7 @@
|
||||
additional configuration changes. Best practice is to add those to your
|
||||
system or personal profile:</para>
|
||||
|
||||
<screen><userinput>cat > /etc/profile.d/kde4.sh <<"EOF"
|
||||
<screen><userinput>cat > /etc/profile.d/kde4.sh << "EOF"
|
||||
# Begin /etc/profile.d/kde4.sh
|
||||
|
||||
&kde4-dir-var;=/opt/kde4
|
||||
@ -285,7 +60,7 @@ EOF
|
||||
<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
||||
|
||||
<screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF"
|
||||
<literal># Begin kde4 addition to /etc/ld.so.conf
|
||||
<literal># Begin kde4 addition
|
||||
|
||||
/opt/kde4/lib
|
||||
|
||||
@ -299,19 +74,27 @@ EOF</userinput></screen>
|
||||
<para>Add to your <filename>/etc/man_db.conf</filename>:</para>
|
||||
|
||||
<screen role="root"><userinput>cat >> /etc/man_db.conf << "EOF"
|
||||
<literal># Begin kde4 addition to man_db.conf
|
||||
<literal># Begin kde4 addition
|
||||
|
||||
MANDATORY_MANPATH /opt/kde4/man
|
||||
|
||||
# End kde4 addition to man_db.conf</literal>
|
||||
# End kde4 addition</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<indexterm zone="kde4-pre-install-config">
|
||||
<primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<tip>
|
||||
<para>Several KDE4 packages install files into D-BUS and polkit directories.
|
||||
When installing KDE4 in a location other than <filename class="directory">/usr</filename>,
|
||||
D-BUS and polkit need to find these files. The easiest way to achieve this is to create
|
||||
the following symlinks (as the <systemitem class="username">root</systemitem> user):</para>
|
||||
|
||||
<screen role="root"><userinput>install -d /opt/kde4/share &&
|
||||
ln -svf /usr/share/dbus-1 /opt/kde4/share &&
|
||||
ln -svf /usr/share/polkit-1 /opt/kde4/share</userinput></screen>
|
||||
|
||||
<tip>
|
||||
<para>Sometimes, the installation paths are coded into installed files.
|
||||
This is the reason why <filename class="directory">/opt/kde4</filename>
|
||||
is used as installation prefix instead of <filename
|
||||
@ -331,8 +114,7 @@ ln -vsf kde-&kde4-version; /opt/kde4</userinput></screen>
|
||||
|
||||
</tip>
|
||||
|
||||
</sect2>
|
||||
|
||||
<!-- Moved to QT4
|
||||
<sect2><title>The QT4DIR variable</title>
|
||||
|
||||
<para>Some additional packages which are based on
|
||||
@ -351,7 +133,6 @@ ln -vsf kde-&kde4-version; /opt/kde4</userinput></screen>
|
||||
|
||||
<screen><userinput>export QT4DIR=/opt/qt-&qt4-version;
|
||||
export PATH=$QT4DIR/bin:$PATH</userinput></screen>
|
||||
|
||||
-->
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY mplayer-download-http "http://www.linuxfromscratch.org/~andy/mplayer-15-03-12.tar.xz">
|
||||
<!ENTITY mplayer-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/svn/m/mplayer-15-03-12.tar.xz">
|
||||
<!ENTITY mplayer-download-ftp " ">
|
||||
<!ENTITY mplayer-md5sum "775fcefab99004de09d0fae2c52dc06b">
|
||||
<!ENTITY mplayer-size "9.9 MB">
|
||||
|
@ -130,8 +130,24 @@ make</userinput></screen>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>If you use <application>PAM</application> you need to configure
|
||||
<application>PAM</application> to activate <application>ConsoleKit
|
||||
</application> upon user login. This can be achieved by editing the
|
||||
<filename>/etc/pam.d/login</filename> file as the
|
||||
<systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen><userinput>cat >> /etc/pam.d/login << "EOF"
|
||||
#Begin ConsoleKit addition
|
||||
|
||||
<para>See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html</para>
|
||||
session optional pam_loginuid.so
|
||||
session optional pam_ck_connector.so nox11
|
||||
|
||||
#End ConsoleKit addition
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html for more
|
||||
configuration.</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
|
@ -256,18 +256,23 @@ ldconfig</userinput></screen>
|
||||
<primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>Update the <envar>PKG_CONFIG_PATH</envar> environment variable
|
||||
in your <filename>~/.bash_profile</filename> or
|
||||
<filename>/etc/profile</filename> with the following:</para>
|
||||
<para>As the <systemitem class="username">root</systemitem> user, create
|
||||
the <filename>/etc/profile.d/qt4.sh</filename> file:</para>
|
||||
|
||||
<screen><literal>PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig</literal></screen>
|
||||
<screen><userinput>cat > /etc/profile.d/qt4.sh << "EOF"
|
||||
# Begin /etc/profile.d/qt4.sh
|
||||
|
||||
<para>If you want the <application>Qt4</application> executables in your
|
||||
shell search path, update the <envar>PATH</envar> environment variable
|
||||
in your <filename>~/.bash_profile</filename> or
|
||||
<filename>/etc/profile</filename> to include
|
||||
<filename class='directory'>/opt/qt/bin</filename>.</para>
|
||||
QT4DIR=/opt/qt
|
||||
QTDIR=/opt/qt
|
||||
|
||||
pathappend /opt/qt/bin PATH
|
||||
pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH
|
||||
|
||||
export QT4DIR QTDIR
|
||||
|
||||
# End /etc/profile.d/qt4.sh
|
||||
EOF</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user