source: gnome/platform/libsecret.xml@ 247d1f4

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 247d1f4 was 247d1f4, checked in by Rahul Chandra <rahul@…>, 5 months ago

Update to libsecret-0.21.2 and fix date

  • Property mode set to 100644
File size: 6.8 KB
Line 
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 libsecret-download-http "&gnome-download-http;/libsecret/0.21/libsecret-&libsecret-version;.tar.xz">
8 <!ENTITY libsecret-download-ftp " ">
9 <!ENTITY libsecret-md5sum "6eeb3b95ba1a7d2f916243b439ee74be">
10 <!ENTITY libsecret-size "192 KB">
11 <!ENTITY libsecret-buildsize "10 MB (with tests)">
12 <!ENTITY libsecret-time "0.3 SBU (with tests)">
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
33 &lfs120_checked;
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"/>,
79 <xref linkend="libgcrypt"/>, or
80 <xref linkend="gnutls"/> (for cryptography), and
81 <xref linkend="vala"/>
82 </para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="gi-docgen"/> and
87 <xref linkend="DocBook"/>,
88 <xref linkend="docbook-xsl"/>,
89 <xref linkend="libxslt"/> (to build manual pages), and
90 <xref linkend="valgrind"/> (can be used in tests)
91 </para>
92
93 <bridgehead renderas="sect4">Optional (Required for the test suite)</bridgehead>
94 <para role="optional">
95 <xref linkend="dbus-python"/>,
96 <xref linkend="gjs"/>,
97 <xref linkend="pygobject3"/> (Python 3 module), and
98 <ulink url="https://github.com/tpm2-software/tpm2-tss">tpm2-tss</ulink>
99 <!-- Historically libsecret used to require Python2, but it has been
100 fully ported to Python3. -->
101 </para>
102
103 <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
104 <para role="required">
105 <xref role="runtime" linkend="gnome-keyring"/>
106 </para>
107
108 <note>
109 <para>
110 Any package requiring <application>libsecret</application>
111 expects <application>GNOME Keyring</application> to be
112 present at runtime.
113 </para>
114 </note>
115
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of libsecret</title>
120
121 <para>
122 Install <application>libsecret</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>mkdir bld &amp;&amp;
127cd bld &amp;&amp;
128
129meson setup --prefix=/usr \
130 --buildtype=release \
131 -Dgtk_doc=false \
132 .. &amp;&amp;
133ninja</userinput></screen>
134
135 <para>
136 If you have <xref linkend='gi-docgen'/> installed and wish to build
137 the API documentation for this package, issue:
138 </para>
139
140<screen role='nodump'><userinput>sed "s/api_version_major/'&libsecret-version;'/" \
141 -i ../docs/reference/libsecret/meson.build &amp;&amp;
142meson configure -Dgtk_doc=true &amp;&amp;
143ninja</userinput></screen>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>ninja install</userinput></screen>
150
151 <para>
152 To test the results, issue: <command>dbus-run-session ninja test</command>.
153 </para>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
161 href="../../xincludes/meson-buildtype-release.xml"/>
162
163 <para>
164 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
165 </para>
166
167 <para>
168 <option>-Dmanpage=false</option>: Use this switch if you
169 have not installed <xref linkend="libxslt"/> and DocBook
170 packages.
171 </para>
172
173 <para>
174 <option>-Dcrypto=gnutls, disabled</option>: Use this switch if you
175 want to use <xref linkend="gnutls"/> for cryptography or if either
176 <xref linkend="gnutls"/> or <xref linkend="libgcrypt"/> is
177 not installed.
178 </para>
179
180 </sect2>
181
182 <sect2 role="content">
183 <title>Contents</title>
184
185 <segmentedlist>
186 <segtitle>Installed Program</segtitle>
187 <segtitle>Installed Library</segtitle>
188 <segtitle>Installed Directories</segtitle>
189
190 <seglistitem>
191 <seg>
192 secret-tool
193 </seg>
194 <seg>
195 libsecret-1.so
196 </seg>
197 <seg>
198 /usr/include/libsecret-1 and
199 /usr/share/doc/libsecret-&libsecret-version;
200 </seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="secret-tool">
210 <term><command>secret-tool</command></term>
211 <listitem>
212 <para>
213 is a command line tool that can be used to store
214 and retrieve passwords
215 </para>
216 <indexterm zone="libsecret secret-tool">
217 <primary sortas="b-secret-tool">secret-tool</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="libsecret-1">
223 <term><filename class="libraryfile">libsecret-1.so</filename></term>
224 <listitem>
225 <para>
226 contains the <application>libsecret</application> API functions
227 </para>
228 <indexterm zone="libsecret libsecret-1">
229 <primary sortas="c-libsecret-1">libsecret-1.so</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.