source: kde5/frameworks/kdesu.xml@ d72a39c

kde5-13430
Last change on this file since d72a39c was d72a39c, checked in by Krejzi <krejzi@…>, 10 years ago

Fix kdesu, symlink kdesu into user's path as done in kde-runtime.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/kde5@13433 af4574ff-66df-0310-9fd7-8a98e5e911e0

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