source: gnome/platform/libsecret.xml@ edb88a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since edb88a6 was b266534e, checked in by Xi Ruoyao <xry111@…>, 16 months ago

libsecret: Make doc regenerate explicit

  • Property mode set to 100644
File size: 7.1 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.20/libsecret-&libsecret-version;.tar.xz">
8 <!ENTITY libsecret-download-ftp "&gnome-download-ftp;/libsecret/0.20/libsecret-&libsecret-version;.tar.xz">
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)">
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 &lfs112_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 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/libsecret"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of libsecret</title>
122
123 <para>
124 Install <application>libsecret</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>mkdir bld &amp;&amp;
129cd bld &amp;&amp;
130
131meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &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/'0.20.5'/" \
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 <para>
155 If gi-docgen is installed and the <option>-Dgtk_doc=false</option>
156 has been removed, as the &root; user, issue the following command to
157 fix the name of the installed documentation directory:
158 </para>
159
160<screen role="nodump"><userinput>mv -v /usr/share/doc/libsecret-{1,&libsecret-version;}</userinput></screen>
161
162 </sect2>
163
164 <sect2 role="commands">
165 <title>Command Explanations</title>
166
167 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
168 href="../../xincludes/meson-buildtype-release.xml"/>
169
170 <para>
171 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
172 </para>
173
174 <para>
175 <option>-Dmanpage=false</option>: Use this switch if you
176 have not installed <xref linkend="libxslt"/> and DocBook
177 packages.
178 </para>
179
180 <para>
181 <option>-Dgcrypt=false</option>: Use this switch if you have
182 not installed the recommended dependency of
183 <xref linkend="libgcrypt"/>.
184 </para>
185
186 </sect2>
187
188 <sect2 role="content">
189 <title>Contents</title>
190
191 <segmentedlist>
192 <segtitle>Installed Program</segtitle>
193 <segtitle>Installed Library</segtitle>
194 <segtitle>Installed Directories</segtitle>
195
196 <seglistitem>
197 <seg>
198 secret-tool
199 </seg>
200 <seg>
201 libsecret-1.so
202 </seg>
203 <seg>
204 /usr/include/libsecret-1 and
205 /usr/share/doc/libsecret-&libsecret-version;
206 </seg>
207 </seglistitem>
208 </segmentedlist>
209
210 <variablelist>
211 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
212 <?dbfo list-presentation="list"?>
213 <?dbhtml list-presentation="table"?>
214
215 <varlistentry id="secret-tool">
216 <term><command>secret-tool</command></term>
217 <listitem>
218 <para>
219 is a command line tool that can be used to store
220 and retrieve passwords
221 </para>
222 <indexterm zone="libsecret secret-tool">
223 <primary sortas="b-secret-tool">secret-tool</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="libsecret-1">
229 <term><filename class="libraryfile">libsecret-1.so</filename></term>
230 <listitem>
231 <para>
232 contains the <application>libsecret</application> API functions
233 </para>
234 <indexterm zone="libsecret libsecret-1">
235 <primary sortas="c-libsecret-1">libsecret-1.so</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 </variablelist>
241
242 </sect2>
243
244</sect1>
Note: See TracBrowser for help on using the repository browser.