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 | &lfs76_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 | <bridgehead renderas="sect3">Polkit-Qt Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required">
|
---|
63 | <xref linkend="automoc4"/> and
|
---|
64 | <xref linkend="polkit"/>
|
---|
65 | </para>
|
---|
66 |
|
---|
67 | <para condition="html" role="usernotes">User Notes:
|
---|
68 | <ulink url="&blfs-wiki;/polkit-qt"/></para>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 role="installation">
|
---|
73 | <title>Installation of Polkit-Qt</title>
|
---|
74 |
|
---|
75 | <para>Install <application>Polkit-Qt</application> by running the following
|
---|
76 | commands:</para>
|
---|
77 |
|
---|
78 | <screen><userinput>mkdir build &&
|
---|
79 | cd build &&
|
---|
80 |
|
---|
81 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
82 | -DCMAKE_BUILD_TYPE=Release \
|
---|
83 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
84 | -DUSE_QT4=TRUE \
|
---|
85 | -Wno-dev .. &&
|
---|
86 | make</userinput></screen>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | This package does not come with a test suite.
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
93 |
|
---|
94 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="commands">
|
---|
99 | <title>Command Explanations</title>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
103 | to apply higher level of the compiler optimizations.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | <parameter>-DCMAKE_INSTALL_LIBDIR=lib</parameter>: This switch is
|
---|
108 | used to get libraries to install to <filename
|
---|
109 | class="directory">&kde-dir;/lib</filename> instead of <filename
|
---|
110 | class="directory">&kde-dir;/lib64</filename> on a 64 bit system.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | <parameter>-DUSE_QT4=TRUE</parameter>: This switch is used to ensure
|
---|
115 | that <application>Qt4</application> version of the library is
|
---|
116 | built even if <application>Qt5</application> is present.
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="content">
|
---|
122 | <title>Contents</title>
|
---|
123 |
|
---|
124 | <segmentedlist>
|
---|
125 | <segtitle>Installed Programs</segtitle>
|
---|
126 | <segtitle>Installed Libraries</segtitle>
|
---|
127 | <segtitle>Installed Directories</segtitle>
|
---|
128 |
|
---|
129 | <seglistitem>
|
---|
130 | <seg>none</seg>
|
---|
131 | <seg>libpolkit-qt-agent-1.so, libpolkit-qt-core-1.so and libpolkit-qt-gui-1.so</seg>
|
---|
132 | <seg>&kde-dir;/include/polkit-qt-1</seg>
|
---|
133 | </seglistitem>
|
---|
134 | </segmentedlist>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | </sect1>
|
---|