mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
232 lines
6.6 KiB
XML
232 lines
6.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libsecret-download-http "&gnome-download-http;/libsecret/0.20/libsecret-&libsecret-version;.tar.xz">
|
|
<!ENTITY libsecret-download-ftp "&gnome-download-ftp;/libsecret/0.20/libsecret-&libsecret-version;.tar.xz">
|
|
<!ENTITY libsecret-md5sum "bf92f48afab2891f644f311e0f37683f">
|
|
<!ENTITY libsecret-size "520 KB">
|
|
<!ENTITY libsecret-buildsize "14 MB (with tests)">
|
|
<!ENTITY libsecret-time "0.2 SBU (with tests)">
|
|
]>
|
|
|
|
<sect1 id="libsecret" xreflabel="libsecret-&libsecret-version;">
|
|
<?dbhtml filename="libsecret.html"?>
|
|
|
|
<sect1info>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libsecret-&libsecret-version;</title>
|
|
|
|
<indexterm zone="libsecret">
|
|
<primary sortas="a-libsecret">libsecret</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libsecret</title>
|
|
|
|
<para>
|
|
The <application>libsecret</application> package contains a
|
|
GObject based library for accessing the Secret Service API.
|
|
</para>
|
|
|
|
&lfs110a_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libsecret-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libsecret-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libsecret-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libsecret-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libsecret-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libsecret-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">libsecret Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="glib2"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="gobject-introspection"/>,
|
|
<xref linkend="libgcrypt"/>, and
|
|
<xref linkend="vala"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="gtk-doc"/> and
|
|
<xref linkend="DocBook"/>,
|
|
<xref linkend="docbook-xsl"/>,
|
|
<xref linkend="libxslt"/> (to build manual pages), and
|
|
<xref linkend="valgrind"/> (can be used in tests)
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional (Required for the testsuite)</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="dbus-python"/>,
|
|
<xref linkend="gjs"/>, and
|
|
<xref linkend="pygobject3"/> (Python 3 module)
|
|
<!-- Historically libsecret used to require Python2, but it has been
|
|
fully ported to Python3. -->
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Runtime Dependency</bridgehead>
|
|
<para role="required">
|
|
<xref role="runtime" linkend="gnome-keyring"/>
|
|
</para>
|
|
|
|
<note>
|
|
<para>
|
|
Any package requiring <application>libsecret</application>
|
|
expects <application>GNOME Keyring</application> to be
|
|
present at runtime.
|
|
</para>
|
|
</note>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/libsecret"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libsecret</title>
|
|
|
|
<para>
|
|
Install <application>libsecret</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir bld &&
|
|
cd bld &&
|
|
|
|
meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
|
ninja</userinput></screen>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>ninja test</command>, after the
|
|
package is installed. The test suite should be run from a local GUI
|
|
session started with dbus-launch.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
<para>
|
|
<parameter>-Dgtk_doc=false</parameter>: Remove this if you have <xref linkend="gtk-doc"/> installed
|
|
and want to rebuild the documentation with it.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-Dmanpage=false</option>: Use this switch if you
|
|
have not installed <xref linkend="libxslt"/> and DocBook
|
|
packages.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-Dgcrypt=false</option>: Use this switch if you have
|
|
not installed the recommended dependency of
|
|
<xref linkend="libgcrypt"/>.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
secret-tool
|
|
</seg>
|
|
<seg>
|
|
libsecret-1.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/libsecret-1 and
|
|
/usr/share/gtk-doc/html/libsecret-1
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="secret-tool">
|
|
<term><command>secret-tool</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a command line tool that can be used to store
|
|
and retrieve passwords
|
|
</para>
|
|
<indexterm zone="libsecret secret-tool">
|
|
<primary sortas="b-secret-tool">secret-tool</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libsecret-1">
|
|
<term><filename class="libraryfile">libsecret-1.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>libsecret</application> API functions
|
|
</para>
|
|
<indexterm zone="libsecret libsecret-1">
|
|
<primary sortas="c-libsecret-1">libsecret-1.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|