source: gnome/platform/libsecret.xml@ f357675

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 f357675 was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

  • Property mode set to 100644
File size: 6.7 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 "3f6e114a71e143b664919ba6f1f0ff1d">
10 <!ENTITY libsecret-size "188 KB">
11 <!ENTITY libsecret-buildsize "12 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"/>, and
80 <xref linkend="vala"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="gi-docgen"/> and
86 <xref linkend="DocBook"/>,
87 <xref linkend="docbook-xsl"/>,
88 <xref linkend="libxslt"/> (to build manual pages), and
89 <xref linkend="valgrind"/> (can be used in tests)
90 </para>
91
92 <bridgehead renderas="sect4">Optional (Required for the test suite)</bridgehead>
93 <para role="optional">
94 <xref linkend="dbus-python"/>,
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>
98 <!-- Historically libsecret used to require Python2, but it has been
99 fully ported to Python3. -->
100 </para>
101
102 <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
103 <para role="required">
104 <xref role="runtime" linkend="gnome-keyring"/>
105 </para>
106
107 <note>
108 <para>
109 Any package requiring <application>libsecret</application>
110 expects <application>GNOME Keyring</application> to be
111 present at runtime.
112 </para>
113 </note>
114
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
125<screen><userinput>mkdir bld &amp;&amp;
126cd bld &amp;&amp;
127
128meson setup --prefix=/usr \
129 --buildtype=release \
130 -Dgtk_doc=false \
131 .. &amp;&amp;
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/'&libsecret-version;'/" \
140 -i ../docs/reference/libsecret/meson.build &amp;&amp;
141meson configure -Dgtk_doc=true &amp;&amp;
142ninja</userinput></screen>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>ninja install</userinput></screen>
149
150 <para>
151 To test the results, issue: <command>dbus-run-session ninja test</command>.
152 </para>
153
154 </sect2>
155
156 <sect2 role="commands">
157 <title>Command Explanations</title>
158
159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
160 href="../../xincludes/meson-buildtype-release.xml"/>
161
162 <para>
163 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
164 </para>
165
166 <para>
167 <option>-Dmanpage=false</option>: Use this switch if you
168 have not installed <xref linkend="libxslt"/> and DocBook
169 packages.
170 </para>
171
172 <para>
173 <option>-Dgcrypt=false</option>: Use this switch if you have
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/doc/libsecret-&libsecret-version;
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>
Note: See TracBrowser for help on using the repository browser.