[0e25c32] | 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" [
|
---|
[288406c7] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[0e25c32] | 5 | %general-entities;
|
---|
| 6 |
|
---|
[bb8b9b5e] | 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">
|
---|
[9a21389] | 9 | <!ENTITY polkit-qt-md5sum "bee71b71c12797e6fc498540a06c829b">
|
---|
| 10 | <!ENTITY polkit-qt-size "68 KB">
|
---|
| 11 | <!ENTITY polkit-qt-buildsize "4.2 MB">
|
---|
[4d297e30] | 12 | <!ENTITY polkit-qt-time "0.1 SBU">
|
---|
[0e25c32] | 13 | ]>
|
---|
| 14 |
|
---|
[22899f9] | 15 | <sect1 id="polkit-qt" xreflabel="Polkit-Qt-&polkit-qt-version;">
|
---|
[0e25c32] | 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">
|
---|
[22899f9] | 26 | <primary sortas="a-Polkit-Qt">Polkit-Qt</primary>
|
---|
[0e25c32] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Polkit-Qt</title>
|
---|
| 31 |
|
---|
[0d7900a] | 32 | <para><application>Polkit-Qt</application> provides an API to
|
---|
[c9df31a] | 33 | <application>polkit</application> in the Qt environment.</para>
|
---|
[0e25c32] | 34 |
|
---|
[ac38e9dc] | 35 | &lfs77_checked;
|
---|
[0e25c32] | 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">
|
---|
[ac38e9dc] | 63 | <xref linkend="cmake"/>,
|
---|
| 64 | <xref linkend="polkit"/> and
|
---|
| 65 | <xref linkend="qt4"/>
|
---|
[0e25c32] | 66 | </para>
|
---|
| 67 |
|
---|
| 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/polkit-qt"/></para>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of Polkit-Qt</title>
|
---|
| 75 |
|
---|
[2a7334e8] | 76 | <para>Install <application>Polkit-Qt</application> by running the following
|
---|
[0e25c32] | 77 | commands:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput>mkdir build &&
|
---|
[18c9ee54] | 80 | cd build &&
|
---|
| 81 |
|
---|
[9a21389] | 82 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
[88c28a59] | 83 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 84 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
| 85 | -DUSE_QT4=TRUE \
|
---|
[9a21389] | 86 | -Wno-dev .. &&
|
---|
[0e25c32] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
[9ca304a] | 89 | <para>
|
---|
| 90 | This package does not come with a test suite.
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[0e25c32] | 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 94 |
|
---|
| 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
[88c28a59] | 102 | <para>
|
---|
| 103 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 104 | to apply higher level of the compiler optimizations.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | <parameter>-DCMAKE_INSTALL_LIBDIR=lib</parameter>: This switch is
|
---|
| 109 | used to get libraries to install to <filename
|
---|
| 110 | class="directory">&kde-dir;/lib</filename> instead of <filename
|
---|
| 111 | class="directory">&kde-dir;/lib64</filename> on a 64 bit system.
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
[2e633b6] | 114 | <!--
|
---|
[88c28a59] | 115 | <para>
|
---|
| 116 | <parameter>-DUSE_QT4=TRUE</parameter>: This switch is used to ensure
|
---|
| 117 | that <application>Qt4</application> version of the library is
|
---|
| 118 | built even if <application>Qt5</application> is present.
|
---|
| 119 | </para>
|
---|
[2e633b6] | 120 | -->
|
---|
[0e25c32] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
[4d297e30] | 129 | <segtitle>Installed Libraries</segtitle>
|
---|
| 130 | <segtitle>Installed Directories</segtitle>
|
---|
[0e25c32] | 131 |
|
---|
| 132 | <seglistitem>
|
---|
[2a7334e8] | 133 | <seg>none</seg>
|
---|
[2e633b6] | 134 | <seg>
|
---|
| 135 | libpolkit-qt5-agent-1.so,
|
---|
| 136 | libpolkit-qt5-core-1.so,
|
---|
| 137 | and libpolkit-qt5-gui-1.so
|
---|
| 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | /usr/include/polkit-qt5-1 and
|
---|
| 141 | /usr/lib/cmake/PolkitQt5-1
|
---|
| 142 | </seg>
|
---|
[0e25c32] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
[22899f9] | 145 |
|
---|
[0e25c32] | 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | </sect1>
|
---|