source: gnome/platform/libsecret.xml@ fcc4d96d

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

libsecret: test suite runs fine before installation, or in SSH

  • Property mode set to 100644
File size: 6.5 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 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>libsecret-&libsecret-version;</title>
23
24 <indexterm zone="libsecret">
25 <primary sortas="a-libsecret">libsecret</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to libsecret</title>
30
31 <para>
32 The <application>libsecret</application> package contains a
33 GObject based library for accessing the Secret Service API.
34 </para>
35
36 &lfs111_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&libsecret-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&libsecret-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &libsecret-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &libsecret-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &libsecret-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &libsecret-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">libsecret Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="glib2"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="gobject-introspection"/>,
82 <xref linkend="libgcrypt"/>, and
83 <xref linkend="vala"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="gtk-doc"/> and
89 <xref linkend="DocBook"/>,
90 <xref linkend="docbook-xsl"/>,
91 <xref linkend="libxslt"/> (to build manual pages), and
92 <xref linkend="valgrind"/> (can be used in tests)
93 </para>
94
95 <bridgehead renderas="sect4">Optional (Required for the testsuite)</bridgehead>
96 <para role="optional">
97 <xref linkend="dbus-python"/>,
98 <xref linkend="gjs"/>,
99 <xref linkend="pygobject3"/> (Python 3 module), and
100 <ulink url="https://github.com/tpm2-software/tpm2-tss">tpm2-tss</ulink>
101 <!-- Historically libsecret used to require Python2, but it has been
102 fully ported to Python3. -->
103 </para>
104
105 <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
106 <para role="required">
107 <xref role="runtime" linkend="gnome-keyring"/>
108 </para>
109
110 <note>
111 <para>
112 Any package requiring <application>libsecret</application>
113 expects <application>GNOME Keyring</application> to be
114 present at runtime.
115 </para>
116 </note>
117
118 <para condition="html" role="usernotes">
119 User Notes: <ulink url="&blfs-wiki;/libsecret"/>
120 </para>
121 </sect2>
122
123 <sect2 role="installation">
124 <title>Installation of libsecret</title>
125
126 <para>
127 Install <application>libsecret</application> by running the following
128 commands:
129 </para>
130
131<screen><userinput>mkdir bld &amp;&amp;
132cd bld &amp;&amp;
133
134meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &amp;&amp;
135ninja</userinput></screen>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>ninja install</userinput></screen>
142
143 <para>
144 To test the results, issue: <command>ninja test</command>.
145 </para>
146
147 </sect2>
148
149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
152 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
153 href="../../xincludes/meson-buildtype-release.xml"/>
154
155 <para>
156 <parameter>-Dgtk_doc=false</parameter>: Remove this if you have <xref linkend="gtk-doc"/> installed
157 and want to rebuild the documentation with it.
158 </para>
159
160 <para>
161 <option>-Dmanpage=false</option>: Use this switch if you
162 have not installed <xref linkend="libxslt"/> and DocBook
163 packages.
164 </para>
165
166 <para>
167 <option>-Dgcrypt=false</option>: Use this switch if you have
168 not installed the recommended dependency of
169 <xref linkend="libgcrypt"/>.
170 </para>
171
172 </sect2>
173
174 <sect2 role="content">
175 <title>Contents</title>
176
177 <segmentedlist>
178 <segtitle>Installed Program</segtitle>
179 <segtitle>Installed Library</segtitle>
180 <segtitle>Installed Directories</segtitle>
181
182 <seglistitem>
183 <seg>
184 secret-tool
185 </seg>
186 <seg>
187 libsecret-1.so
188 </seg>
189 <seg>
190 /usr/include/libsecret-1 and
191 /usr/share/gtk-doc/html/libsecret-1
192 </seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="secret-tool">
202 <term><command>secret-tool</command></term>
203 <listitem>
204 <para>
205 is a command line tool that can be used to store
206 and retrieve passwords
207 </para>
208 <indexterm zone="libsecret secret-tool">
209 <primary sortas="b-secret-tool">secret-tool</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libsecret-1">
215 <term><filename class="libraryfile">libsecret-1.so</filename></term>
216 <listitem>
217 <para>
218 contains the <application>libsecret</application> API functions
219 </para>
220 <indexterm zone="libsecret libsecret-1">
221 <primary sortas="c-libsecret-1">libsecret-1.so</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.