[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 |
|
---|
[43dc7d3] | 7 | <!ENTITY libsecret-download-http "&gnome-download-http;/libsecret/0.20/libsecret-&libsecret-version;.tar.xz">
|
---|
| 8 | <!ENTITY libsecret-download-ftp "&gnome-download-ftp;/libsecret/0.20/libsecret-&libsecret-version;.tar.xz">
|
---|
[89efcadc] | 9 | <!ENTITY libsecret-md5sum "5c9e5a011852c82fa9ed9e61ba91efb5">
|
---|
| 10 | <!ENTITY libsecret-size "184 KB">
|
---|
| 11 | <!ENTITY libsecret-buildsize "11 MB (with tests)">
|
---|
| 12 | <!ENTITY libsecret-time "0.3 SBU (with tests)">
|
---|
[dabe4b0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libsecret" xreflabel="libsecret-&libsecret-version;">
|
---|
| 16 | <?dbhtml filename="libsecret.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>libsecret-&libsecret-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libsecret">
|
---|
| 25 | <primary sortas="a-libsecret">libsecret</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to libsecret</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>libsecret</application> package contains a
|
---|
| 33 | GObject based library for accessing the Secret Service API.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[de22bfa] | 36 | &lfs111_checked;
|
---|
[dabe4b0] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&libsecret-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&libsecret-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &libsecret-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &libsecret-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &libsecret-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &libsecret-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">libsecret Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="glib2"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="gobject-introspection"/>,
|
---|
[ee835cc] | 82 | <xref linkend="libgcrypt"/>, and
|
---|
[dabe4b0] | 83 | <xref linkend="vala"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
| 88 | <xref linkend="gtk-doc"/> and
|
---|
| 89 | <xref linkend="DocBook"/>,
|
---|
[4572fb2] | 90 | <xref linkend="docbook-xsl"/>,
|
---|
| 91 | <xref linkend="libxslt"/> (to build manual pages), and
|
---|
| 92 | <xref linkend="valgrind"/> (can be used in tests)
|
---|
[dabe4b0] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional (Required for the testsuite)</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
| 97 | <xref linkend="dbus-python"/>,
|
---|
[89efcadc] | 98 | <xref linkend="gjs"/>,
|
---|
| 99 | <xref linkend="pygobject3"/> (Python 3 module), and
|
---|
| 100 | <ulink url="https://github.com/tpm2-software/tpm2-tss">tpm2-tss</ulink>
|
---|
[365d3d1] | 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 |
|
---|
| 126 | <para>
|
---|
| 127 | Install <application>libsecret</application> by running the following
|
---|
| 128 | commands:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
[4572fb2] | 131 | <screen><userinput>mkdir bld &&
|
---|
| 132 | cd bld &&
|
---|
| 133 |
|
---|
[adf17153] | 134 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
[4572fb2] | 135 | ninja</userinput></screen>
|
---|
[dabe4b0] | 136 |
|
---|
| 137 | <para>
|
---|
[67e58a5] | 138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[dabe4b0] | 139 | </para>
|
---|
| 140 |
|
---|
[4572fb2] | 141 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[67e58a5] | 142 |
|
---|
[dabe4b0] | 143 | <para>
|
---|
[8b569bd] | 144 | To test the results, issue: <command>ninja test</command>.
|
---|
[dabe4b0] | 145 | </para>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="commands">
|
---|
| 150 | <title>Command Explanations</title>
|
---|
| 151 |
|
---|
[adf17153] | 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 153 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 154 |
|
---|
[4572fb2] | 155 | <para>
|
---|
[aa41434] | 156 | <parameter>-Dgtk_doc=false</parameter>: Remove this if you have <xref linkend="gtk-doc"/> installed
|
---|
[4572fb2] | 157 | and want to rebuild the documentation with it.
|
---|
| 158 | </para>
|
---|
[dabe4b0] | 159 |
|
---|
| 160 | <para>
|
---|
[4572fb2] | 161 | <option>-Dmanpage=false</option>: Use this switch if you
|
---|
[dabe4b0] | 162 | have not installed <xref linkend="libxslt"/> and DocBook
|
---|
| 163 | packages.
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
| 166 | <para>
|
---|
[4572fb2] | 167 | <option>-Dgcrypt=false</option>: Use this switch if you have
|
---|
[dabe4b0] | 168 | not installed the recommended dependency of
|
---|
| 169 | <xref linkend="libgcrypt"/>.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | <sect2 role="content">
|
---|
| 175 | <title>Contents</title>
|
---|
| 176 |
|
---|
| 177 | <segmentedlist>
|
---|
| 178 | <segtitle>Installed Program</segtitle>
|
---|
| 179 | <segtitle>Installed Library</segtitle>
|
---|
| 180 | <segtitle>Installed Directories</segtitle>
|
---|
| 181 |
|
---|
| 182 | <seglistitem>
|
---|
| 183 | <seg>
|
---|
| 184 | secret-tool
|
---|
| 185 | </seg>
|
---|
| 186 | <seg>
|
---|
| 187 | libsecret-1.so
|
---|
| 188 | </seg>
|
---|
| 189 | <seg>
|
---|
| 190 | /usr/include/libsecret-1 and
|
---|
| 191 | /usr/share/gtk-doc/html/libsecret-1
|
---|
| 192 | </seg>
|
---|
| 193 | </seglistitem>
|
---|
| 194 | </segmentedlist>
|
---|
| 195 |
|
---|
| 196 | <variablelist>
|
---|
| 197 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 198 | <?dbfo list-presentation="list"?>
|
---|
| 199 | <?dbhtml list-presentation="table"?>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="secret-tool">
|
---|
| 202 | <term><command>secret-tool</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>
|
---|
| 205 | is a command line tool that can be used to store
|
---|
[4c24eb0a] | 206 | and retrieve passwords
|
---|
[dabe4b0] | 207 | </para>
|
---|
| 208 | <indexterm zone="libsecret secret-tool">
|
---|
| 209 | <primary sortas="b-secret-tool">secret-tool</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="libsecret-1">
|
---|
| 215 | <term><filename class="libraryfile">libsecret-1.so</filename></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>
|
---|
[4c24eb0a] | 218 | contains the <application>libsecret</application> API functions
|
---|
[dabe4b0] | 219 | </para>
|
---|
| 220 | <indexterm zone="libsecret libsecret-1">
|
---|
| 221 | <primary sortas="c-libsecret-1">libsecret-1.so</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | </variablelist>
|
---|
| 227 |
|
---|
| 228 | </sect2>
|
---|
| 229 |
|
---|
| 230 | </sect1>
|
---|