glfs/kde/core/polkit-qt.xml
Krejzi 88c28a598c Updated to latest polkit-qt5 from upstream. Fixes to polkit-qt4 in KDE4 section.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13404 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-07-13 17:42:07 +00:00

165 lines
5.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY polkit-qt-download-http "&kde-download-http;apps/KDE4.x/admin/polkit-qt-1-&polkit-qt-version;.tar.bz2">
<!ENTITY polkit-qt-download-ftp "&kde-download-ftp;apps/KDE4.x/admin/polkit-qt-1-&polkit-qt-version;.tar.bz2">
<!ENTITY polkit-qt-md5sum "bee71b71c12797e6fc498540a06c829b">
<!ENTITY polkit-qt-size "68 KB">
<!ENTITY polkit-qt-buildsize "4.2 MB">
<!ENTITY polkit-qt-time "0.1 SBU">
]>
<sect1 id="polkit-qt" xreflabel="polkit-qt-&polkit-qt-version;">
<?dbhtml filename="polkit-qt.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Polkit-Qt-&polkit-qt-version;</title>
<indexterm zone="polkit-qt">
<primary sortas="a-polkit-qt">polkit-qt</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Polkit-Qt</title>
<para><application>Polkit-Qt</application> provides an API to
<application>polkit</application> in the Qt environment.</para>
&lfs75_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&polkit-qt-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&polkit-qt-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &polkit-qt-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &polkit-qt-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &polkit-qt-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &polkit-qt-time;</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required patch: <ulink
url="&patch-root;/polkit-qt-&polkit-qt-version;-fixes-1.patch"/></para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">Polkit-Qt Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="automoc4"/> and
<xref linkend="polkit"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/polkit-qt"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Polkit-Qt</title>
<para>Install <application>Polkit-Qt</application> by running the following
commands:</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DUSE_QT4=TRUE \
-Wno-dev .. &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
to apply higher level of the compiler optimizations.
</para>
<para>
<parameter>-DCMAKE_INSTALL_LIBDIR=lib</parameter>: This switch is
used to get libraries to install to <filename
class="directory">&kde-dir;/lib</filename> instead of <filename
class="directory">&kde-dir;/lib64</filename> on a 64 bit system.
</para>
<para>
<parameter>-DUSE_QT4=TRUE</parameter>: This switch is used to ensure
that <application>Qt4</application> version of the library is
built even if <application>Qt5</application> is present.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>none</seg>
<seg>libpolkit-qt-agent-1.so, libpolkit-qt-core-1.so and libpolkit-qt-gui-1.so</seg>
<seg>&kde-dir;/include/polkit-qt-1</seg>
</seglistitem>
</segmentedlist>
<!--
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="a-polkit-qt">
<term><command>polkit-qt</command></term>
<listitem>
<para>is a testing utility for polkit-qt-generated build trees.</para>
<indexterm zone="a-polkit-qt polkit-qt">
<primary sortas="b-polkit-qt">polkit-qt</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
-->
</sect2>
</sect1>