libmcs-0.7.1

Introduction to libmcs

The libmcs package is a library and set of tools which abstract the storage of configuration settings away from userland applications. There are similar projects like this (such as GConf), but unlike those projects, libmcs strictly handles abstraction. It does not impose any specific data storage requirement, nor is it tied to any desktop environment or software suite.

Package Information

libmcs Dependencies

Required

libmowgli-0.9.95

Optional

GConf-2.28.1 and kdelibs-3.5.13

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mcs

Installation of libmcs

Install libmcs by running the following commands:

./configure --prefix=/usr &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m644 -D README /usr/share/doc/libmcs-0.7.1/README

Command Explanations

--with-qt-path=/usr/share/qt: If you have kdelibs-3.5.13 installed, you must pass additional parameters to the configure script to identify the location of Qt and, possibly, KDE libraries and interface headers.

--disable-kconfig: If configure finds libkdecore from kdelibs, it does not test to check it is indeed the kde3 version and will try to use it (and fail if it is the kde4 version). This switch will prevent that.

For additional information about the various storage backends (including the default XDG-compliant backend), see the README file in the source tree.

Configuring libmcs

There are various ways to configure libmcs to use a specific backend on a site-wide or individual user basis. If the default file-based storage backend is suitable, no configuration steps are required. See section 2 of the README file in the source tree for details.

Contents

Installed Programs: mcs-getconfval, mcs-info, mcs-query-backends and mcs-setconfval
Installed Libraries: libmcs.so and backend storage modules
Installed Directories: /usr/include/libmcs, /usr/lib/mcs and /usr/share/doc/libmcs-0.7.1

Short Descriptions

mcs-getconfval

queries libmcs for a configuration value.

mcs-info

displays information about the current installation and configuration of libmcs.

mcs-query-backends

queries libmcs to determine what backends are available.

mcs-setconfval

instructs libmcs to change a configuration value.

libmcs.so

contains the API functions required by the libmcs userspace tools.

Last updated on 2008-12-02 01:02:41 +0000