mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
01cd34615e
Minor edits Archive old KDE files git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17162 af4574ff-66df-0310-9fd7-8a98e5e911e0
270 lines
8.9 KiB
XML
270 lines
8.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY kde-workspace-download-http "&kde-download-attic;/&kde-workspace-dir;/src/kde-workspace-&kde-workspace-version;.tar.xz">
|
|
<!ENTITY kde-workspace-download-ftp " ">
|
|
<!ENTITY kde-workspace-md5sum "bd7fa9c894dda23e8d06fc6a49a561cf">
|
|
<!ENTITY kde-workspace-size "12.9 MB">
|
|
<!ENTITY kde-workspace-buildsize "304 MB">
|
|
<!ENTITY kde-workspace-time "13.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="kde-workspace" xreflabel="kde-workspace-&kde-workspace-version;">
|
|
<?dbhtml filename="kde-workspace.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Kde-workspace-&kde-workspace-version;</title>
|
|
|
|
<indexterm zone="kde-workspace">
|
|
<primary sortas="a-kde-workspace">kde-workspace</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Kde-workspace</title>
|
|
|
|
<para>
|
|
The Kde-workspace package contains components that are central to
|
|
providing the <application>KDE</application> desktop environment. Of
|
|
particular importance are KWin, the <application>KDE</application>
|
|
window manager, and Plasma, which provides the workspace interface.
|
|
</para>
|
|
|
|
&lfs79_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&kde-workspace-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&kde-workspace-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &kde-workspace-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &kde-workspace-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &kde-workspace-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &kde-workspace-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/kde-workspace-&kde4-version;-fixes-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
<bridgehead renderas="sect3">Kde-workspace Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="kactivities"/>,
|
|
<xref linkend="qimageblitz"/>,
|
|
<xref linkend="xcb-util-image"/>,
|
|
<xref linkend="xcb-util-renderutil"/>,
|
|
<xref linkend="xcb-util-keysyms"/>, and
|
|
<xref linkend="xcb-util-wm"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="kdepimlibs"/>,
|
|
<xref linkend="boost"/>,
|
|
<xref linkend="freetype2"/>,
|
|
<xref linkend="pciutils"/>, and
|
|
<xref linkend="consolekit"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="linux-pam"/>,
|
|
<xref linkend="libusb"/>,
|
|
<xref linkend="NetworkManager"/>,
|
|
<xref linkend="lm_sensors"/>,
|
|
<xref linkend="qjson"/>,
|
|
<ulink url="&kde-download-http;&kde-version;/src/">PyKDE4</ulink>,
|
|
<ulink url="http://code.google.com/p/google-gadgets-for-linux/">GoogleGadgets</ulink>,
|
|
<ulink url="ftp://ftp.kde.org/pub/kde/stable/prison/1.0/src/">Prison</ulink>,
|
|
<ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
|
|
<ulink url="http://www.catb.org/gpsd/">gpsd</ulink>,
|
|
<ulink url="http://www.xmms.org/">XMMS</ulink>,
|
|
<ulink url="http://qalculate.sourceforge.net/">libqalculate</ulink>
|
|
(wants <ulink url="http://www.ginac.de/CLN/">CLN</ulink>), and
|
|
<xref linkend="wayland"/>
|
|
</para>
|
|
|
|
<note>
|
|
<para>
|
|
Kde-workspace has a run-time dependency called
|
|
<application>Application menu for Qt</application> that allows the
|
|
application menubar to be inserted as a single button in the titlebar.
|
|
It can be found at
|
|
<ulink url="https://launchpad.net/appmenu-qt">appmenu-qt</ulink>.
|
|
</para>
|
|
</note>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/kde-workspace"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Kde-workspace</title>
|
|
|
|
<para>
|
|
It is recommended to have a dedicated user and group to take
|
|
control of the <command>kdm</command> daemon after it is
|
|
started. Issue the following commands as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>groupadd -g 37 kdm &&
|
|
useradd -c "KDM Daemon Owner" -d /var/lib/kdm -g kdm \
|
|
-u 37 -s /bin/false kdm &&
|
|
install -o kdm -g kdm -dm755 /var/lib/kdm</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>Kde-workspace</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>sed -e '/graphics.*TESTNAME/s/-signalplottertest/&2/' \
|
|
-e '/test TESTNAME/s/-signalplottertest/&3/' \
|
|
-i libs/ksysguard/tests/CMakeLists.txt
|
|
|
|
mkdir build &&
|
|
cd build &&
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
|
-DSYSCONF_INSTALL_DIR=/etc \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE \
|
|
-Wno-dev .. &&
|
|
make -j1</userinput></screen>
|
|
|
|
¶llel_issues;
|
|
|
|
<note><para>If building KDE in /opt, then an environment
|
|
variable <envar>LIBRARY_PATH=$KDE_PREFIX/lib:$LIBRARY_PATH</envar>
|
|
may be needed on the <command>make</command> line.</para></note>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
mkdir -p /usr/share/xsessions &&
|
|
ln -sf &kde-dir;/share/apps/kdm/sessions/kde-plasma.desktop \
|
|
/usr/share/xsessions/kde-plasma.desktop</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>-DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE</option>: This option is
|
|
set to install the KDE Python objects in the correct place.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring KDE Workspace</title>
|
|
|
|
<sect3>
|
|
<title>Linux PAM Configuration</title>
|
|
|
|
<para>
|
|
If you built <application>KDE Workspace</application> with
|
|
<application>Linux PAM</application> support, create necessary
|
|
configuration files by running the following commands as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>cat >> /etc/pam.d/kde << "EOF" &&
|
|
# Begin /etc/pam.d/kde
|
|
|
|
auth requisite pam_nologin.so
|
|
auth required pam_env.so
|
|
|
|
auth required pam_succeed_if.so uid >= 1000 quiet
|
|
auth include system-auth
|
|
|
|
account include system-account
|
|
password include system-password
|
|
session include system-session
|
|
|
|
# End /etc/pam.d/kde
|
|
EOF
|
|
cat > /etc/pam.d/kde-np << "EOF" &&
|
|
# Begin /etc/pam.d/kde-np
|
|
|
|
auth requisite pam_nologin.so
|
|
auth required pam_env.so
|
|
|
|
auth required pam_succeed_if.so uid >= 1000 quiet
|
|
auth required pam_permit.so
|
|
|
|
account include system-account
|
|
password include system-password
|
|
session include system-session
|
|
|
|
# End /etc/pam.d/kde-np
|
|
EOF
|
|
cat > /etc/pam.d/kscreensaver << "EOF"
|
|
# Begin /etc/pam.d/kscreensaver
|
|
|
|
auth include system-auth
|
|
account include system-account
|
|
|
|
# End /etc/pam.d/kscreensaver
|
|
EOF</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>genkdmconf, kaccess, kapplymousetheme, kblankscrn.kss,
|
|
kcheckrunning, kcminit, kcminit_startup, kdm, kdmctl,
|
|
kdostartupconfig4, kfontinst, kfontview, kinfocenter, klipper,
|
|
kmenuedit, krandom.kss, krandrstartup, krandrtray, krdb, krunner,
|
|
ksmserver, ksplashqml, ksplashsimple, ksplashx, ksplashx_scale,
|
|
kstartupconfig4, ksysguard, ksysguardd, ksystraycmd, kwin, kwin_gles,
|
|
kwrited, oxygen-demo, oxygen-settings, oxygen-shadow-demo,
|
|
plasma-desktop, plasma-netbook, plasma-overlay, plasma-windowed,
|
|
solid-action-desktop-gen, solid-network, startkde and systemsettings
|
|
</seg>
|
|
<seg>several in &kde-dir;/lib</seg>
|
|
<seg>several in &kde-dir;/include, &kde-dir;/lib and &kde-dir;/share
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|