source: kde/plasma5/plasma-all.xml@ 664b2e33

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 664b2e33 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

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

  • Property mode set to 100644
File size: 11.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY plasma5-download-http "http://download.kde.org/stable/plasma/&plasma5-version;">
8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
10 <!ENTITY plasma5-size "129 MB">
11 <!ENTITY plasma5-buildsize "933 GB">
12 <!ENTITY plasma5-time "15 SBU (using parallelism=6)">
13]>
14
15<sect1 id="plasma5-build" xreflabel="Plasma-&plasma5-version;">
16 <?dbhtml filename="plasma-all.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy: bdubbs $</othername>
20 <date>$Date: 2015-09-24 16:44:04 -0500 (Thu, 24 Sep 2015) $</date>
21 </sect1info>
22
23 <title>Building Plasma 5</title>
24
25 <indexterm zone="plasma5-build">
26 <primary sortas="a-kf5">KDE Plasma 5</primary>
27 </indexterm>
28
29 <para>KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
30 5 and QML. It has been derived from the monolithic KDE 4 desktop.
31 They implement the KDE Display Environment (Plasma 5).</para>
32
33 &lfs78_checked;
34
35 <para>The instructions below build all of the Plasma 5 packages in one
36 step by using a bash script.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &plasma5-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &plasma5-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &plasma5-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &plasma5-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <xref linkend="fontforge"/>,
65 <xref linkend="gtk2"/>,
66 <xref linkend="gtk3"/>,
67 <xref linkend="kf5-frameworks"/>,
68 <xref linkend="libpwquality"/>,
69 <xref linkend="libxkbcommon"/>,
70 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
71 <xref linkend="NetworkManager"/>,
72 <xref linkend="pulseaudio"/>,
73 <xref linkend="python2"/>,
74 <xref linkend="taglib"/>, and
75 <xref linkend="xcb-util-cursor"/>
76 </para>
77
78 <bridgehead renderas="sect4">Recommended</bridgehead>
79 <para role="recommended">
80 <xref linkend="libdbusmenu-qt"/>,
81 <xref linkend="libcanberra"/>,
82 <xref linkend="libinput"/>,
83 <xref linkend="linux-pam"/>,
84 <xref linkend="lm_sensors"/>,
85 <xref linkend="oxygen-icons"/>, and
86 <xref linkend="pciutils"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="glu"/>,
92 <xref linkend="xorg-synaptics-driver"/>,
93 <ulink url="https://github.com/ibus/ibus/wiki">ibus</ulink>,
94 <ulink url="http://gpsd.berlios.de">libgps</ulink>,
95 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
96 <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
97 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
98 <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
99 <ulink url="https://launchpad.net/qapt">Qapt</ulink>, and
100 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>
101 </para>
102
103 <para condition="html" role="usernotes">User Notes:
104 <ulink url="&blfs-wiki;/kf5"/></para>
105
106 <sect2>
107 <title>Downloading KDE Plasma5</title>
108
109 <para>
110 The easiest way to get the KDE Plasma5 packages is to use a single
111 <command>wget</command> to fetch them all at once:
112 </para>
113
114<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
115wget -r -nH --cut-dirs=3 -A '*.xz' -np $url</userinput>
116<literal>
117The options used here are:
118 -r recurse through child directories
119 -nH disable generation of host-prefixed directories
120 --cut-dirs=3 remove three levels of directories when saving
121 -A '*.xz' just get the *.xz files
122 -np don't get parent directories</literal></screen>
123
124 </sect2>
125
126 <sect2>
127 <title>Setting Package Order</title>
128
129 <para>
130 The order of building files is important due to internal dependencies.
131 Create the list of files in the proper order as follows:
132 </para>
133
134<screen><userinput>cat &gt; plasma-&kf5-version;.md5 &lt;&lt; "EOF"
135<literal>bb94a0d6f06583456b8f0a2eae07edd6 kde-cli-tools-5.4.2.tar.xz
13667683fc1ae1fdf014f567780502b574a kdecoration-5.4.2.tar.xz
137c0c0eef0f2bfb93a81e4e701d7557eb9 kwayland-5.4.2.tar.xz
1385b3c52fbf0172dfcf749cde12ebb48f3 libkscreen-5.4.2.tar.xz
139c770bd91e3947373c00938e2d85628d9 libksysguard-5.4.2.tar.xz
1400e1d48eba3d0261023954b46fe7af36e breeze-5.4.2.tar.xz
141c60184edbd89bfcf1ee1c03aefd741f8 kwin-5.4.2.tar.xz
14255eeb736365e902e957509a43884efd9 oxygen-5.4.2.tar.xz
14325bc526b21e9a0472e94a73b5f2d7d83 oxygen-fonts-5.4.2.tar.xz
144770b8c69df2c550ab66f0c316c3bf850 khelpcenter-5.4.2.tar.xz
1456714e90d548f37ec32d2cc166c68149c kinfocenter-5.4.2.tar.xz
1467551c199c5caffda59363757bbc57243 ksysguard-5.4.2.tar.xz
1479d7cfdee2d138983f4267ba1e6a69be6 systemsettings-5.4.2.tar.xz
148a4fe835089c213c52f1407715163bf80 plasma-workspace-5.4.2.tar.xz
149bc10f321f5ea2a605be29d8cba6b9bc5 bluedevil-5.4.2.tar.xz
150530e74504d38cfd6783421c017c56f55 khotkeys-5.4.2.tar.xz
151bfaf172def24ea772dfc58c798b68938 kmenuedit-5.4.2.tar.xz
1529b0b4e2268d87cc7699e1e74e6faa8c3 kscreen-5.4.2.tar.xz
153171c439473a4ab9cdbbed6732a70801b kwrited-5.4.2.tar.xz
1542298a15ef7957322b84829166824628c milou-5.4.2.tar.xz
15535c599c728739cded5596d4821b5a53f plasma-nm-5.4.2.tar.xz
156d48aab54cfe78cfc74d0c8ba099a905b plasma-workspace-wallpapers-5.4.2.tar.xz
15764ed6fe8c59c2812b9c34cd8a3827735 polkit-kde-agent-1-5.4.2.tar.xz
15844dec41f77080fd83f2122fc2762f09a powerdevil-5.4.2.tar.xz
159457b1b6d69fd52416485e08ed7744fe3 plasma-desktop-5.4.2.tar.xz
160b7049d459eccd6a5efbf55ff1c2121fb kdeplasma-addons-5.4.2.tar.xz
161f8415a6a0e25a609d30c3d3ee2c9c696 kwayland-integration-5.4.2.tar.xz
1628adf666f98baf8f4f381d5515db4100b kde-gtk-config-5.4.2.tar.xz
163e72368f28238ba7bacac81d5ff5e26f3 kgamma5-5.4.2.tar.xz
164f6fac3219aa8ba5056e06ad0c92773c9 ksshaskpass-5.4.2.tar.xz
165888836db6c8fb4f1cc381ed56a690204 kwallet-pam-5.4.2.tar.xz
16605b79b89c9708c046775448ec846c513 muon-5.4.2.tar.xz
16778e2931ed08b8fffae67d7aa0cd90f9f plasma-mediacenter-5.4.2.tar.xz
168b399b81c4d773355e5d5ef7b4d1a73a5 plasma-pa-5.4.2.tar.xz
169c9bbe9a824400cbe7982aac0d8bdf6a3 plasma-sdk-5.4.2.tar.xz
17061585733e7a5585ea9ed203ad9b2a1a0 sddm-kcm-5.4.2.tar.xz
1715b0cb53813fc5f9a1406260d2a1109c7 user-manager-5.4.2.tar.xz</literal>
172EOF</userinput></screen>
173
174 </sect2>
175
176 <sect2 role="installation">
177 <title>Installation of Plasma5</title>
178
179 &as_root;
180
181 <para>
182 First, start a subshell that will exit on error:
183 </para>
184
185
186<screen><userinput>bash -e</userinput></screen>
187
188 <para>
189 Install all of the packages by running the following
190 commands:
191 </para>
192
193<screen><userinput>while read -r line; do
194
195 # Get the file name, ignoring comments and blank lines
196 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
197 file=$(echo $line | cut -d" " -f2)
198
199 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
200 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
201
202 tar -xf $file
203 pushd $packagedir
204
205 mkdir build
206 cd build
207
208 OPTS=""
209
210 case $srcdir in
211 kwayland-&plasma5-version; )
212 OPTS="-DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/mkspecs/modules"
213 ;;
214
215 oxygen-fonts-&plasma5-version; )
216 OPTS="-DOXYGEN_FONT_INSTALL_DIR=/usr/share/fonts/truetype/oxygen"
217 ;;
218 esac
219
220 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
221 -DCMAKE_BUILD_TYPE=Release \
222 -DLIB_INSTALL_DIR=lib \
223 -DBUILD_TESTING=OFF \
224 $OPTS \
225 -Wno-dev .. &amp;&amp;
226
227 make
228 as_root make install
229 popd
230
231 rm -rf $packagedir
232 as_root /sbin/ldconfig
233
234done &lt; plasma-&kf5-version;.md5
235
236exit
237
238cd $KF5_PREFIX/share/plasma/plasmoids
239
240for j in $(find -name \*.js); do
241 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
242done</userinput></screen>
243
244 </sect2>
245
246 <sect2 role="commands">
247 <title>Command Explanations</title>
248
249 <para>
250 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
251 Create symbolic links so qml files can find needed javascript modules.
252 </para>
253
254 </sect2>
255 <sect2 role="starting">
256 <title>Starting Plasma5</title>
257
258 <para>
259 You can start <application>Plasma5</application> from runlevel 3, using
260 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
261 such as <xref linkend="sddm"/>.
262 </para>
263
264 <para>
265 To start <application>Plasma5</application> using <xref linkend="xinit"/>,
266 run the following commands:
267 </para>
268
269<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
270<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
271EOF
272
273startx</userinput></screen>
274
275 <para>
276 The X session starts on the first unused virtual terminal, normally vt7.
277 You can switch to another vt<emphasis>n</emphasis> simultaneously
278 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
279 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
280 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
281 <command>startx</command> was executed will display many messages,
282 including X starting messages, applications automatically started with
283 the session, and eventually, some warning and error messages. You may
284 prefer to redirect those messages to a log file, which not only will keep
285 the initial vt uncluttered, but can also be used for debugging purposes. This
286 can be done starting X with:
287 </para>
288
289 <screen><userinput>startx &amp;&gt; ~/.x-session-errors</userinput></screen>
290
291 <note>
292 <para>
293 You may wish to drop consolekit and/or dbus-launch, e.g., just using
294 startkde in ~/.xinitrc. However some capabilities such as mounting or
295 umounting file systems from a file manager will not be possible, or the
296 reboot option may be absent or inoperative, among other problems.
297 </para>
298 </note>
299 <para>
300 When shutting down or rebooting, the shutdown messages appear on the vt
301 where X was running. If you wish to see those messages, simultaneously
302 press keys Alt-F7 (assuming that X was running on vt7).
303 </para>
304
305 </sect2>
306
307 <sect2 role="content">
308 <title>Contents</title>
309
310 <segmentedlist>
311 <segtitle>Installed Programs</segtitle>
312 <segtitle>Installed Libraries</segtitle>
313 <segtitle>Installed Directories</segtitle>
314
315 <seglistitem>
316 <seg>
317 There are too many plasma programs (50 in /opt/kf5/bin) to list
318 separately here.
319 </seg>
320 <seg>
321 There are too many plasma libraries (39 in /opt/kf5/lib) to list
322 separately here.
323 </seg>
324 <seg>
325 There are too many plasma directories (over 1000 in /opt/kf5) to
326 list separately here.
327 </seg>
328 </seglistitem>
329 </segmentedlist>
330
331 </sect2>
332
333</sect1>
334
Note: See TracBrowser for help on using the repository browser.