glfs/kde/polkit-qt.xml
Bruce Dubbs 9e04432142 Remove KDE4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17157 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-03-24 00:23:12 +00:00

198 lines
6.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 PolicyKit in
the Qt environment. <!--Its libraries are used by both KDE4 and KF5, but they
must be linked to <xref linkend='qt4'/> and <xref linkend='qt5'/>
respectively. The two versions do not conflict with each other.--> </para>
&lfs79_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="cmake"/>,
<xref linkend="polkit"/>, and
<!--<xref linkend="qt4"/>--> or <xref linkend="qt5"/>
</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 the Qt4 based version of <application>Polkit-Qt</application>
by running the following commands:</para>
<screen><userinput>source /usr/bin/setqt4 &amp;&amp;
mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-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>
-->
<para>Install <!--the Qt5 based version of --><application>Polkit-Qt</application>
by running the following commands:</para>
<screen><userinput>source /usr/bin/setqt5 &amp;&amp;
mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-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-qt5-agent-1.so,
libpolkit-qt5-core-1.so, and
libpolkit-qt5-gui-1.so</seg>
<seg>
/usr/include/polkit-qt5-1 and
/usr/lib/cmake/PolkitQt5-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>