The libsecret package contains a GObject based library for accessing the Secret Service API.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.5.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/libsecret/0.20/libsecret-0.20.5.tar.xz
Download MD5 sum: 5c9e5a011852c82fa9ed9e61ba91efb5
Download size: 184 KB
Estimated disk space required: 11 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
gobject-introspection-1.74.0, libgcrypt-1.10.1, and Vala-0.56.3
Gi-DocGen-2023.1 and docbook-xml-4.5, docbook-xsl-nons-1.79.2, libxslt-1.1.37 (to build manual pages), and Valgrind-3.20.0 (can be used in tests)
D-Bus Python-1.3.2, Gjs-1.74.1, PyGObject-3.42.2 (Python 3 module), and tpm2-tss
Any package requiring libsecret expects GNOME Keyring to be present at runtime.
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libsecret
Install libsecret by running the following commands:
mkdir bld && cd bld && meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. && ninja
Now, as the root
user:
ninja install
To test the results, issue: dbus-run-session ninja test.
If gi-docgen is installed and the -Dgtk_doc=false
has been removed, as the
root
user, issue the following
command to fix the name of the installed documentation directory:
mv -v /usr/share/doc/libsecret-{1,0.20.5}
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-Dgtk_doc=false
: Remove
this if you have Gi-DocGen-2023.1 installed and want to
rebuild the documentation with it.
-Dmanpage=false
: Use this switch if you
have not installed libxslt-1.1.37 and DocBook packages.
-Dgcrypt=false
: Use this switch if you
have not installed the recommended dependency of libgcrypt-1.10.1.