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

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 9c959d8 was b8ba9f9, checked in by Xi Ruoyao <xry111@…>, 13 months ago

libsecret: Remove outdated mv command

Now the docdir is fixed before installation.

  • 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.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 &lfs113_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 setup --prefix=/usr \
132 --buildtype=release \
133 -Dgtk_doc=false \
134 .. &amp;&amp;
135ninja</userinput></screen>
136
137 <para>
138 If you have <xref linkend='gi-docgen'/> installed and wish to build
139 the API documentation for this package, issue:
140 </para>
141
142<screen role='nodump'><userinput>sed "s/api_version_major/'0.20.5'/" \
143 -i ../docs/reference/libsecret/meson.build &amp;&amp;
144meson configure -Dgtk_doc=true &amp;&amp;
145ninja</userinput></screen>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>ninja install</userinput></screen>
152
153 <para>
154 To test the results, issue: <command>dbus-run-session ninja test</command>.
155 </para>
156
157 </sect2>
158
159 <sect2 role="commands">
160 <title>Command Explanations</title>
161
162 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
163 href="../../xincludes/meson-buildtype-release.xml"/>
164
165 <para>
166 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
167 </para>
168
169 <para>
170 <option>-Dmanpage=false</option>: Use this switch if you
171 have not installed <xref linkend="libxslt"/> and DocBook
172 packages.
173 </para>
174
175 <para>
176 <option>-Dgcrypt=false</option>: Use this switch if you have
177 not installed the recommended dependency of
178 <xref linkend="libgcrypt"/>.
179 </para>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Program</segtitle>
188 <segtitle>Installed Library</segtitle>
189 <segtitle>Installed Directories</segtitle>
190
191 <seglistitem>
192 <seg>
193 secret-tool
194 </seg>
195 <seg>
196 libsecret-1.so
197 </seg>
198 <seg>
199 /usr/include/libsecret-1 and
200 /usr/share/doc/libsecret-&libsecret-version;
201 </seg>
202 </seglistitem>
203 </segmentedlist>
204
205 <variablelist>
206 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
207 <?dbfo list-presentation="list"?>
208 <?dbhtml list-presentation="table"?>
209
210 <varlistentry id="secret-tool">
211 <term><command>secret-tool</command></term>
212 <listitem>
213 <para>
214 is a command line tool that can be used to store
215 and retrieve passwords
216 </para>
217 <indexterm zone="libsecret secret-tool">
218 <primary sortas="b-secret-tool">secret-tool</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libsecret-1">
224 <term><filename class="libraryfile">libsecret-1.so</filename></term>
225 <listitem>
226 <para>
227 contains the <application>libsecret</application> API functions
228 </para>
229 <indexterm zone="libsecret libsecret-1">
230 <primary sortas="c-libsecret-1">libsecret-1.so</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.