[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 |
|
---|
[f726d564] | 7 | <!ENTITY libsecret-download-http "&gnome-download-http;/libsecret/0.19/libsecret-&libsecret-version;.tar.xz">
|
---|
| 8 | <!ENTITY libsecret-download-ftp "&gnome-download-ftp;/libsecret/0.19/libsecret-&libsecret-version;.tar.xz">
|
---|
[4572fb2] | 9 | <!ENTITY libsecret-md5sum "ea673119c00570d6434f8fd3636f1eb8">
|
---|
[f726d564] | 10 | <!ENTITY libsecret-size "512 KB">
|
---|
| 11 | <!ENTITY libsecret-buildsize "14 MB (add 5 MB for tests)">
|
---|
| 12 | <!ENTITY libsecret-time "0.1 SBU (add 0.3 SBU for tests)">
|
---|
[dabe4b0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libsecret" xreflabel="libsecret-&libsecret-version;">
|
---|
| 16 | <?dbhtml filename="libsecret.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libsecret-&libsecret-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libsecret">
|
---|
| 26 | <primary sortas="a-libsecret">libsecret</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libsecret</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libsecret</application> package contains a
|
---|
| 34 | GObject based library for accessing the Secret Service API.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[7ee3d2dc] | 37 | &lfs90_checked;
|
---|
[dabe4b0] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libsecret-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libsecret-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libsecret-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libsecret-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libsecret-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libsecret-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libsecret Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="glib2"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
| 82 | <xref linkend="gobject-introspection"/>,
|
---|
[ee835cc] | 83 | <xref linkend="libgcrypt"/>, and
|
---|
[dabe4b0] | 84 | <xref linkend="vala"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
| 89 | <xref linkend="gtk-doc"/> and
|
---|
| 90 | <xref linkend="DocBook"/>,
|
---|
[4572fb2] | 91 | <xref linkend="docbook-xsl"/>,
|
---|
| 92 | <xref linkend="libxslt"/> (to build manual pages), and
|
---|
| 93 | <xref linkend="valgrind"/> (can be used in tests)
|
---|
[dabe4b0] | 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Optional (Required for the testsuite)</bridgehead>
|
---|
| 97 | <para role="optional">
|
---|
| 98 | <xref linkend="dbus-python"/>,
|
---|
[ee835cc] | 99 | <xref linkend="gjs"/>, and
|
---|
[365d3d1] | 100 | <xref linkend="pygobject3"/> (Python 3 module)
|
---|
| 101 | <!-- Historically libsecret used to require Python2, but it has been
|
---|
| 102 | fully ported to Python3. -->
|
---|
[dabe4b0] | 103 | </para>
|
---|
| 104 |
|
---|
[a44de1cd] | 105 | <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
|
---|
[1051f94e] | 106 | <para role="required">
|
---|
| 107 | <xref role="runtime" linkend="gnome-keyring"/>
|
---|
[a44de1cd] | 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <note>
|
---|
| 111 | <para>
|
---|
[9a363500] | 112 | Any package requiring <application>libsecret</application>
|
---|
[5cf89d2] | 113 | expects <application>GNOME Keyring</application> to be
|
---|
[a44de1cd] | 114 | present at runtime.
|
---|
| 115 | </para>
|
---|
| 116 | </note>
|
---|
| 117 |
|
---|
[dabe4b0] | 118 | <para condition="html" role="usernotes">
|
---|
| 119 | User Notes: <ulink url="&blfs-wiki;/libsecret"/>
|
---|
| 120 | </para>
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of libsecret</title>
|
---|
| 125 |
|
---|
[4572fb2] | 126 | <para>
|
---|
| 127 | If <xref linkend="valgrind"/> is not installed, fix a file refering
|
---|
| 128 | it:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
[8f858c7] | 131 | <screen><userinput>sed '/valgrind/d' -i egg/egg-testing.c</userinput></screen>
|
---|
[4572fb2] | 132 |
|
---|
[dabe4b0] | 133 | <para>
|
---|
| 134 | Install <application>libsecret</application> by running the following
|
---|
| 135 | commands:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[4572fb2] | 138 | <screen><userinput>mkdir bld &&
|
---|
| 139 | cd bld &&
|
---|
| 140 |
|
---|
| 141 | meson --prefix=/usr -Dgtk_doc=false .. &&
|
---|
| 142 | ninja</userinput></screen>
|
---|
[dabe4b0] | 143 |
|
---|
| 144 | <para>
|
---|
[67e58a5] | 145 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[dabe4b0] | 146 | </para>
|
---|
| 147 |
|
---|
[4572fb2] | 148 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[67e58a5] | 149 |
|
---|
[dabe4b0] | 150 | <para>
|
---|
[4572fb2] | 151 | To test the results, issue: <command>ninja test</command>, after the
|
---|
[7fa80579] | 152 | package is installed. The test suite should be run from a local GUI
|
---|
| 153 | session started with dbus-launch.
|
---|
[dabe4b0] | 154 | </para>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | <sect2 role="commands">
|
---|
| 159 | <title>Command Explanations</title>
|
---|
| 160 |
|
---|
[4572fb2] | 161 | <para>
|
---|
| 162 | <option>-Dgtk_doc=false</option>: Remove this if you have <xref linkend="gtk-doc"/> installed
|
---|
| 163 | and want to rebuild the documentation with it.
|
---|
| 164 | </para>
|
---|
[dabe4b0] | 165 |
|
---|
| 166 | <para>
|
---|
[4572fb2] | 167 | <option>-Dmanpage=false</option>: Use this switch if you
|
---|
[dabe4b0] | 168 | have not installed <xref linkend="libxslt"/> and DocBook
|
---|
| 169 | packages.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
[4572fb2] | 173 | <option>-Dgcrypt=false</option>: Use this switch if you have
|
---|
[dabe4b0] | 174 | not installed the recommended dependency of
|
---|
| 175 | <xref linkend="libgcrypt"/>.
|
---|
| 176 | </para>
|
---|
| 177 |
|
---|
| 178 | </sect2>
|
---|
| 179 |
|
---|
| 180 | <sect2 role="content">
|
---|
| 181 | <title>Contents</title>
|
---|
| 182 |
|
---|
| 183 | <segmentedlist>
|
---|
| 184 | <segtitle>Installed Program</segtitle>
|
---|
| 185 | <segtitle>Installed Library</segtitle>
|
---|
| 186 | <segtitle>Installed Directories</segtitle>
|
---|
| 187 |
|
---|
| 188 | <seglistitem>
|
---|
| 189 | <seg>
|
---|
| 190 | secret-tool
|
---|
| 191 | </seg>
|
---|
| 192 | <seg>
|
---|
| 193 | libsecret-1.so
|
---|
| 194 | </seg>
|
---|
| 195 | <seg>
|
---|
| 196 | /usr/include/libsecret-1 and
|
---|
| 197 | /usr/share/gtk-doc/html/libsecret-1
|
---|
| 198 | </seg>
|
---|
| 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="secret-tool">
|
---|
| 208 | <term><command>secret-tool</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | is a command line tool that can be used to store
|
---|
| 212 | and retrieve passwords.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="libsecret secret-tool">
|
---|
| 215 | <primary sortas="b-secret-tool">secret-tool</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="libsecret-1">
|
---|
| 221 | <term><filename class="libraryfile">libsecret-1.so</filename></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>
|
---|
| 224 | contains the <application>libsecret</application> API functions.
|
---|
| 225 | </para>
|
---|
| 226 | <indexterm zone="libsecret libsecret-1">
|
---|
| 227 | <primary sortas="c-libsecret-1">libsecret-1.so</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | </variablelist>
|
---|
| 233 |
|
---|
| 234 | </sect2>
|
---|
| 235 |
|
---|
| 236 | </sect1>
|
---|