source: gnome/platform/libsecret.xml@ f54c9942

12.0 12.1 kea ken/TL2024 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 f54c9942 was 91318eb, checked in by Pierre Labastie <pierre.labastie@…>, 16 months ago

Add "setup" to meson commands

I've not been very consistent on typography, but it is a start

  • Property mode set to 100644
File size: 7.2 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
[43dc7d3]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">
[89efcadc]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)">
[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 <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
[4572fb2]128<screen><userinput>mkdir bld &amp;&amp;
129cd bld &amp;&amp;
130
[91318eb]131meson setup --prefix=/usr \
132 --buildtype=release \
133 -Dgtk_doc=false \
134 .. &amp;&amp;
[b266534e]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;
[4572fb2]145ninja</userinput></screen>
[dabe4b0]146
147 <para>
[67e58a5]148 Now, as the <systemitem class="username">root</systemitem> user:
[dabe4b0]149 </para>
150
[4572fb2]151<screen role="root"><userinput>ninja install</userinput></screen>
[67e58a5]152
[dabe4b0]153 <para>
[e2de81fd]154 To test the results, issue: <command>dbus-run-session ninja test</command>.
[dabe4b0]155 </para>
156
[e2de81fd]157 <para>
158 If gi-docgen is installed and the <option>-Dgtk_doc=false</option>
159 has been removed, as the &root; user, issue the following command to
160 fix the name of the installed documentation directory:
161 </para>
162
163<screen role="nodump"><userinput>mv -v /usr/share/doc/libsecret-{1,&libsecret-version;}</userinput></screen>
164
[dabe4b0]165 </sect2>
166
167 <sect2 role="commands">
168 <title>Command Explanations</title>
169
[adf17153]170 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
171 href="../../xincludes/meson-buildtype-release.xml"/>
172
[4572fb2]173 <para>
[b266534e]174 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
[4572fb2]175 </para>
[dabe4b0]176
177 <para>
[4572fb2]178 <option>-Dmanpage=false</option>: Use this switch if you
[dabe4b0]179 have not installed <xref linkend="libxslt"/> and DocBook
180 packages.
181 </para>
182
183 <para>
[4572fb2]184 <option>-Dgcrypt=false</option>: Use this switch if you have
[dabe4b0]185 not installed the recommended dependency of
186 <xref linkend="libgcrypt"/>.
187 </para>
188
189 </sect2>
190
191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Program</segtitle>
196 <segtitle>Installed Library</segtitle>
197 <segtitle>Installed Directories</segtitle>
198
199 <seglistitem>
200 <seg>
201 secret-tool
202 </seg>
203 <seg>
204 libsecret-1.so
205 </seg>
206 <seg>
207 /usr/include/libsecret-1 and
[e2de81fd]208 /usr/share/doc/libsecret-&libsecret-version;
[dabe4b0]209 </seg>
210 </seglistitem>
211 </segmentedlist>
212
213 <variablelist>
214 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
215 <?dbfo list-presentation="list"?>
216 <?dbhtml list-presentation="table"?>
217
218 <varlistentry id="secret-tool">
219 <term><command>secret-tool</command></term>
220 <listitem>
221 <para>
222 is a command line tool that can be used to store
[4c24eb0a]223 and retrieve passwords
[dabe4b0]224 </para>
225 <indexterm zone="libsecret secret-tool">
226 <primary sortas="b-secret-tool">secret-tool</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="libsecret-1">
232 <term><filename class="libraryfile">libsecret-1.so</filename></term>
233 <listitem>
234 <para>
[4c24eb0a]235 contains the <application>libsecret</application> API functions
[dabe4b0]236 </para>
237 <indexterm zone="libsecret libsecret-1">
238 <primary sortas="c-libsecret-1">libsecret-1.so</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect2>
246
247</sect1>
Note: See TracBrowser for help on using the repository browser.