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 polkit-qt-download-http "&kde-download-http;apps/KDE4.x/admin/polkit-qt-1-&polkit-qt-version;.tar.bz2">
|
---|
8 | <!ENTITY polkit-qt-download-ftp "&kde-download-ftp;apps/KDE4.x/admin/polkit-qt-1-&polkit-qt-version;.tar.bz2">
|
---|
9 | <!ENTITY polkit-qt-md5sum "bee71b71c12797e6fc498540a06c829b">
|
---|
10 | <!ENTITY polkit-qt-size "68 KB">
|
---|
11 | <!ENTITY polkit-qt-buildsize "4.2 MB">
|
---|
12 | <!ENTITY polkit-qt-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="polkit-qt" xreflabel="polkit-qt-&polkit-qt-version;">
|
---|
16 | <?dbhtml filename="polkit-qt.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Polkit-Qt-&polkit-qt-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="polkit-qt">
|
---|
26 | <primary sortas="a-polkit-qt">polkit-qt</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Polkit-Qt</title>
|
---|
31 |
|
---|
32 | <para><application>Polkit-Qt</application> provides an API to
|
---|
33 | <application>polkit</application> in the Qt environment.</para>
|
---|
34 |
|
---|
35 | &lfs77_checked; &gcc5_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&polkit-qt-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&polkit-qt-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &polkit-qt-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &polkit-qt-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &polkit-qt-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &polkit-qt-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <!--
|
---|
60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
61 | <itemizedlist spacing='compact'>
|
---|
62 | <listitem>
|
---|
63 | <para>Required patch: <ulink
|
---|
64 | url="&patch-root;/polkit-qt-&polkit-qt-version;-fixes-1.patch"/></para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 | -->
|
---|
68 | <bridgehead renderas="sect3">Polkit-Qt Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
71 | <para role="required">
|
---|
72 | <xref linkend="cmake"/>,
|
---|
73 | <xref linkend="polkit"/>, and
|
---|
74 | <xref linkend="qt4"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <para condition="html" role="usernotes">User Notes:
|
---|
78 | <ulink url="&blfs-wiki;/polkit-qt"/></para>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of Polkit-Qt</title>
|
---|
84 |
|
---|
85 | <para>Install <application>Polkit-Qt</application> by running the following
|
---|
86 | commands:</para>
|
---|
87 |
|
---|
88 | <screen><userinput>mkdir build &&
|
---|
89 | cd build &&
|
---|
90 |
|
---|
91 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
92 | -DCMAKE_BUILD_TYPE=Release \
|
---|
93 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
94 | -DUSE_QT4=TRUE \
|
---|
95 | -Wno-dev .. &&
|
---|
96 | make</userinput></screen>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | This package does not come with a test suite.
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
103 |
|
---|
104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="commands">
|
---|
109 | <title>Command Explanations</title>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
113 | to apply higher level of the compiler optimizations.
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <parameter>-DCMAKE_INSTALL_LIBDIR=lib</parameter>: This switch is
|
---|
118 | used to get libraries to install to <filename
|
---|
119 | class="directory">&kde-dir;/lib</filename> instead of <filename
|
---|
120 | class="directory">&kde-dir;/lib64</filename> on a 64 bit system.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | <parameter>-DUSE_QT4=TRUE</parameter>: This switch is used to ensure
|
---|
125 | that <application>Qt4</application> version of the library is
|
---|
126 | built even if <application>Qt5</application> is present.
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2 role="content">
|
---|
132 | <title>Contents</title>
|
---|
133 |
|
---|
134 | <segmentedlist>
|
---|
135 | <segtitle>Installed Programs</segtitle>
|
---|
136 | <segtitle>Installed Libraries</segtitle>
|
---|
137 | <segtitle>Installed Directories</segtitle>
|
---|
138 |
|
---|
139 | <seglistitem>
|
---|
140 | <seg>none</seg>
|
---|
141 | <seg>libpolkit-qt-agent-1.so, libpolkit-qt-core-1.so and libpolkit-qt-gui-1.so</seg>
|
---|
142 | <seg>&kde-dir;/include/polkit-qt-1</seg>
|
---|
143 | </seglistitem>
|
---|
144 | </segmentedlist>
|
---|
145 | <!--
|
---|
146 | <variablelist>
|
---|
147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
148 | <?dbfo list-presentation="list"?>
|
---|
149 | <?dbhtml list-presentation="table"?>
|
---|
150 |
|
---|
151 | <varlistentry id="a-polkit-qt">
|
---|
152 | <term><command>polkit-qt</command></term>
|
---|
153 | <listitem>
|
---|
154 | <para>is a testing utility for polkit-qt-generated build trees.</para>
|
---|
155 | <indexterm zone="a-polkit-qt polkit-qt">
|
---|
156 | <primary sortas="b-polkit-qt">polkit-qt</primary>
|
---|
157 | </indexterm>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | </variablelist>
|
---|
162 | -->
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | </sect1>
|
---|