[dabe4b0] | 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-gnome-download-http
|
---|
| 8 | "&gnome-download-http;/polkit-gnome/&polkit-gnome-version;/polkit-gnome-&polkit-gnome-version;.tar.xz">
|
---|
| 9 | <!ENTITY polkit-gnome-download-ftp
|
---|
| 10 | "&gnome-download-ftp;/polkit-gnome/&polkit-gnome-version;/polkit-gnome-&polkit-gnome-version;.tar.xz">
|
---|
| 11 | <!ENTITY polkit-gnome-md5sum "50ecad37c8342fb4a52f590db7530621">
|
---|
| 12 | <!ENTITY polkit-gnome-size "305 KB">
|
---|
| 13 | <!ENTITY polkit-gnome-buildsize "5.0 MB">
|
---|
| 14 | <!ENTITY polkit-gnome-time "0.1 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="polkit-gnome" xreflabel="polkit-gnome-&polkit-gnome-version;">
|
---|
| 18 | <?dbhtml filename="polkit-gnome.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <title>polkit-gnome-&polkit-gnome-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="polkit-gnome">
|
---|
| 24 | <primary sortas="a-polkit-gnome">polkit-gnome</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to Polkit GNOME</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>Polkit GNOME</application> package provides an
|
---|
| 32 | Authentication Agent for <application>Polkit</application> that integrates
|
---|
| 33 | well with the <application>GNOME</application> Desktop environment.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[fbd04125] | 36 | &lfs120_checked;
|
---|
[dabe4b0] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&polkit-gnome-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&polkit-gnome-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &polkit-gnome-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &polkit-gnome-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &polkit-gnome-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &polkit-gnome-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[e713e66c] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Required patch:
|
---|
| 77 | <ulink url="&patch-root;/polkit-gnome-&polkit-gnome-version;-consolidated_fixes-1.patch"/>
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[dabe4b0] | 82 | <bridgehead renderas="sect3">Polkit GNOME Dependencies</bridgehead>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 85 | <para role="required">
|
---|
[e713e66c] | 86 | <!-- due to the patch -->
|
---|
| 87 | <xref linkend="accountsservice"/>,
|
---|
| 88 | <xref linkend="gtk3"/>, and
|
---|
[dabe4b0] | 89 | <xref linkend="polkit"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Polkit GNOME</title>
|
---|
| 96 |
|
---|
[e713e66c] | 97 | <para>
|
---|
| 98 | First, apply some fixes that allow for the proper user icon to be used,
|
---|
| 99 | as well as some security fixes:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput remap="pre">patch -Np1 -i ../polkit-gnome-&polkit-gnome-version;-consolidated_fixes-1.patch</userinput></screen>
|
---|
| 103 |
|
---|
[dabe4b0] | 104 | <para>
|
---|
| 105 | Install <application>Polkit GNOME</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
[682f45b2] | 109 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[dabe4b0] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | This package does not come with a test suite.
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="configuration">
|
---|
| 125 | <title>Configuring Polkit GNOME</title>
|
---|
| 126 |
|
---|
| 127 | <sect3>
|
---|
| 128 |
|
---|
| 129 | <title>Automatic Startup</title>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
[96923ef] | 132 | For the authentication framework to work,
|
---|
[dabe4b0] | 133 | <command>polkit-gnome-authentification-agent-1</command> needs to be
|
---|
| 134 | started. However, <command>make install</command> did not
|
---|
| 135 | install a startup file for the <application>Polkit GNOME</application>
|
---|
| 136 | so you have to create it by yourself.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <para>
|
---|
| 140 | Issue the following commands as the
|
---|
| 141 | <systemitem class="username">root</systemitem> user to create
|
---|
| 142 | a startup file for <application>Polkit GNOME</application>:
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <screen role="root"><userinput>mkdir -p /etc/xdg/autostart &&
|
---|
| 146 | cat > /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop << "EOF"
|
---|
| 147 | <literal>[Desktop Entry]
|
---|
| 148 | Name=PolicyKit Authentication Agent
|
---|
| 149 | Comment=PolicyKit Authentication Agent
|
---|
[3eadb03d] | 150 | Exec=/usr/libexec/polkit-gnome-authentication-agent-1
|
---|
[dabe4b0] | 151 | Terminal=false
|
---|
| 152 | Type=Application
|
---|
| 153 | Categories=
|
---|
| 154 | NoDisplay=true
|
---|
| 155 | OnlyShowIn=GNOME;XFCE;Unity;
|
---|
| 156 | AutostartCondition=GNOME3 unless-session gnome</literal>
|
---|
| 157 | EOF</userinput></screen>
|
---|
| 158 |
|
---|
| 159 | </sect3>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | <sect2 role="content">
|
---|
| 164 | <title>Contents</title>
|
---|
| 165 |
|
---|
| 166 | <segmentedlist>
|
---|
| 167 | <segtitle>Installed Program</segtitle>
|
---|
| 168 | <segtitle>Installed Libraries</segtitle>
|
---|
| 169 | <segtitle>Installed Directory</segtitle>
|
---|
| 170 |
|
---|
| 171 | <seglistitem>
|
---|
| 172 | <seg>
|
---|
| 173 | polkit-gnome-authentication-agent-1
|
---|
| 174 | </seg>
|
---|
| 175 | <seg>
|
---|
| 176 | None
|
---|
| 177 | </seg>
|
---|
| 178 | <seg>
|
---|
[682f45b2] | 179 | None
|
---|
[dabe4b0] | 180 | </seg>
|
---|
| 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="polkit-gnome-authentication-agent-1">
|
---|
| 190 | <term><command>polkit-gnome-authentication-agent-1</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>
|
---|
[4c24eb0a] | 193 | is the <application>Polkit</application> authentication agent
|
---|
[dabe4b0] | 194 | </para>
|
---|
| 195 | <indexterm zone="polkit-gnome polkit-gnome-authentication-agent-1">
|
---|
[4c24eb0a] | 196 | <primary sortas="b-polkit-gnome-authentication-agent-1">polkit-gnome-authentication-agent-1</primary>
|
---|
[dabe4b0] | 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | </variablelist>
|
---|
| 202 |
|
---|
| 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | </sect1>
|
---|