1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 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 |
|
---|
8 | <sect1 id="kdesu" xreflabel="KDESu-&kf5-version;">
|
---|
9 | <?dbhtml filename="kdesu.html"?>
|
---|
10 |
|
---|
11 | <sect1info>
|
---|
12 | <othername>$LastChangedBy$</othername>
|
---|
13 | <date>$Date$</date>
|
---|
14 | </sect1info>
|
---|
15 |
|
---|
16 | <title>KDESu-&kf5-version;</title>
|
---|
17 |
|
---|
18 | <indexterm zone="kdesu">
|
---|
19 | <primary sortas="a-KDESu">KDESu</primary>
|
---|
20 | </indexterm>
|
---|
21 |
|
---|
22 | <sect2 role="package">
|
---|
23 | <title>Introduction to KDESu</title>
|
---|
24 |
|
---|
25 | <para>
|
---|
26 | The <application>KDESu</application> package contains a library
|
---|
27 | that provides functionality for building GUI front ends for
|
---|
28 | (password asking) console mode programs.
|
---|
29 | </para>
|
---|
30 |
|
---|
31 | &lfs75_checked;
|
---|
32 |
|
---|
33 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
34 | <itemizedlist spacing="compact">
|
---|
35 | <listitem>
|
---|
36 | <para>
|
---|
37 | Download (HTTP): <ulink url="&kdesu-download-http;"/>
|
---|
38 | </para>
|
---|
39 | </listitem>
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (FTP): <ulink url="&kdesu-download-ftp;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download MD5 sum: &kdesu-md5sum;
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download size: &kdesu-size;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Estimated disk space required: &kdesu-buildsize;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated build time: &kdesu-time;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | </itemizedlist>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect3">KDESu Dependencies</bridgehead>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
70 | <para role="required">
|
---|
71 | <xref linkend="kpty"/> and
|
---|
72 | <xref linkend="kservice"/>
|
---|
73 | </para>
|
---|
74 |
|
---|
75 | <para condition="html" role="usernotes">
|
---|
76 | User Notes: <ulink url="&blfs-wiki;/kdesu"/>
|
---|
77 | </para>
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2 role="installation">
|
---|
81 | <title>Installation of KDESu</title>
|
---|
82 |
|
---|
83 | <para>
|
---|
84 | Fix an issue that would prevent <command>kdesu</command> from working
|
---|
85 | at all:
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <screen><userinput>sed -i "/kdesu_stub/s:QByteArray:QByteArray(CMAKE_INSTALL_PREFIX) + \"/\" + &:g" src/suprocess.cpp</userinput></screen>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | Install <application>KDESu</application> by running the following
|
---|
92 | commands:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen><userinput>mkdir build &&
|
---|
96 | cd build &&
|
---|
97 |
|
---|
98 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
99 | -DCMAKE_BUILD_TYPE=Release \
|
---|
100 | -DLIB_INSTALL_DIR=lib \
|
---|
101 | -DBUILD_TESTING=OFF \
|
---|
102 | -DECM_MKSPECS_INSTALL_DIR=&qt5-mkspecs-dir; \
|
---|
103 | .. &&
|
---|
104 | make</userinput></screen>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | This package does not come with a test suite.
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
122 | href="../../xincludes/cmake-release.xml"/>
|
---|
123 |
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/kf5-libdir.xml"/>
|
---|
126 |
|
---|
127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
128 | href="../../xincludes/kf5-tests.xml"/>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
131 | href="../../xincludes/qt5-mkspecs-dir.xml"/>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="content">
|
---|
136 | <title>Contents</title>
|
---|
137 |
|
---|
138 | <segmentedlist>
|
---|
139 | <segtitle>Installed Programs</segtitle>
|
---|
140 | <segtitle>Installed Libraries</segtitle>
|
---|
141 | <segtitle>Installed Directories</segtitle>
|
---|
142 |
|
---|
143 | <seglistitem>
|
---|
144 | <seg>
|
---|
145 | None
|
---|
146 | </seg>
|
---|
147 | <seg>
|
---|
148 | libKF5Su.so
|
---|
149 | </seg>
|
---|
150 | <seg>
|
---|
151 | $KF5_PREFIX/include/KF5/KDESu and
|
---|
152 | $KF5_PREFIX/lib/cmake/KF5Su
|
---|
153 | </seg>
|
---|
154 | </seglistitem>
|
---|
155 | </segmentedlist>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | </sect1>
|
---|