source: gnome/platform/libsecret.xml@ 9f4090e

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 9f4090e was e99bb77, checked in by Douglas R. Reno <renodr@…>, 11 months ago

Update to libsecret-0.21.0

  • Property mode set to 100644
File size: 6.7 KB
RevLine 
[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
[e99bb77]7 <!ENTITY libsecret-download-http "&gnome-download-http;/libsecret/0.21/libsecret-&libsecret-version;.tar.xz">
8 <!ENTITY libsecret-download-ftp "&gnome-download-ftp;/libsecret/0.21/libsecret-&libsecret-version;.tar.xz">
9 <!ENTITY libsecret-md5sum "212af4c882ce7e29d15d50c880afc4a8">
10 <!ENTITY libsecret-size "188 KB">
11 <!ENTITY libsecret-buildsize "12 MB (with tests)">
12 <!ENTITY libsecret-time "0.4 SBU (with tests)">
[dabe4b0]13]>
14
15<sect1 id="libsecret" xreflabel="libsecret-&libsecret-version;">
16 <?dbhtml filename="libsecret.html"?>
17
18
19 <title>libsecret-&libsecret-version;</title>
20
21 <indexterm zone="libsecret">
22 <primary sortas="a-libsecret">libsecret</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libsecret</title>
27
28 <para>
29 The <application>libsecret</application> package contains a
30 GObject based library for accessing the Secret Service API.
31 </para>
32
[b4642992]33 &lfs113_checked;
[dabe4b0]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&libsecret-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&libsecret-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &libsecret-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &libsecret-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &libsecret-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &libsecret-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">libsecret Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="glib2"/>
74 </para>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="gobject-introspection"/>,
[ee835cc]79 <xref linkend="libgcrypt"/>, and
[dabe4b0]80 <xref linkend="vala"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
[e2de81fd]85 <xref linkend="gi-docgen"/> and
[dabe4b0]86 <xref linkend="DocBook"/>,
[4572fb2]87 <xref linkend="docbook-xsl"/>,
88 <xref linkend="libxslt"/> (to build manual pages), and
89 <xref linkend="valgrind"/> (can be used in tests)
[dabe4b0]90 </para>
91
[48771ae]92 <bridgehead renderas="sect4">Optional (Required for the test suite)</bridgehead>
[dabe4b0]93 <para role="optional">
94 <xref linkend="dbus-python"/>,
[89efcadc]95 <xref linkend="gjs"/>,
96 <xref linkend="pygobject3"/> (Python 3 module), and
97 <ulink url="https://github.com/tpm2-software/tpm2-tss">tpm2-tss</ulink>
[365d3d1]98 <!-- Historically libsecret used to require Python2, but it has been
99 fully ported to Python3. -->
[dabe4b0]100 </para>
101
[a44de1cd]102 <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
[1051f94e]103 <para role="required">
104 <xref role="runtime" linkend="gnome-keyring"/>
[a44de1cd]105 </para>
106
107 <note>
108 <para>
[9a363500]109 Any package requiring <application>libsecret</application>
[5cf89d2]110 expects <application>GNOME Keyring</application> to be
[a44de1cd]111 present at runtime.
112 </para>
113 </note>
114
[dabe4b0]115 </sect2>
116
117 <sect2 role="installation">
118 <title>Installation of libsecret</title>
119
120 <para>
121 Install <application>libsecret</application> by running the following
122 commands:
123 </para>
124
[4572fb2]125<screen><userinput>mkdir bld &amp;&amp;
[2bf49af8]126cd bld &amp;&amp;
[4572fb2]127
[91318eb]128meson setup --prefix=/usr \
129 --buildtype=release \
130 -Dgtk_doc=false \
131 .. &amp;&amp;
[b266534e]132ninja</userinput></screen>
133
134 <para>
135 If you have <xref linkend='gi-docgen'/> installed and wish to build
136 the API documentation for this package, issue:
137 </para>
138
139<screen role='nodump'><userinput>sed "s/api_version_major/'0.20.5'/" \
140 -i ../docs/reference/libsecret/meson.build &amp;&amp;
141meson configure -Dgtk_doc=true &amp;&amp;
[4572fb2]142ninja</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>
[e2de81fd]151 To test the results, issue: <command>dbus-run-session ninja test</command>.
[dabe4b0]152 </para>
153
154 </sect2>
155
156 <sect2 role="commands">
157 <title>Command Explanations</title>
158
[adf17153]159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/meson-buildtype-release.xml"/>
161
[4572fb2]162 <para>
[b266534e]163 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
[4572fb2]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
[e2de81fd]197 /usr/share/doc/libsecret-&libsecret-version;
[dabe4b0]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
[4c24eb0a]212 and retrieve passwords
[dabe4b0]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>
[4c24eb0a]224 contains the <application>libsecret</application> API functions
[dabe4b0]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>
Note: See TracBrowser for help on using the repository browser.