[7c6f36c5] | 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 |
|
---|
[50d2046] | 7 | <!ENTITY mcs-download-http "http://distfiles.atheme.org/libmcs-&mcs-version;.tgz">
|
---|
[7c6f36c5] | 8 | <!ENTITY mcs-download-ftp " ">
|
---|
[50d2046] | 9 | <!ENTITY mcs-md5sum "0f0c779609b3481a79937c2e86660a99">
|
---|
| 10 | <!ENTITY mcs-size "103 KB">
|
---|
| 11 | <!ENTITY mcs-buildsize "1.3 MB">
|
---|
[7c6f36c5] | 12 | <!ENTITY mcs-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="mcs" xreflabel="mcs-&mcs-version;">
|
---|
| 16 | <?dbhtml filename="mcs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>mcs-&mcs-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="mcs">
|
---|
| 26 | <primary sortas="a-mcs">mcs</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to mcs</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>mcs</application> package is a library and set of
|
---|
| 33 | tools which abstract the storage of configuration settings away from
|
---|
| 34 | userland applications. There are similar projects like this (such as
|
---|
| 35 | <application>GConf</application>), but unlike those projects,
|
---|
| 36 | <application>mcs</application> strictly handles abstraction. It does not
|
---|
| 37 | impose any specific data storage requirement, nor is it tied to any
|
---|
| 38 | desktop environment or software suite.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&mcs-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&mcs-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &mcs-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &mcs-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &mcs-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &mcs-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">mcs Dependencies</bridgehead>
|
---|
| 63 |
|
---|
[50d2046] | 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 65 | <para role="required"><xref linkend="Mowgli"/></para>
|
---|
| 66 |
|
---|
[7c6f36c5] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para role="optional"><xref linkend="GConf"/> and
|
---|
| 69 | <xref linkend="kdelibs"/></para>
|
---|
| 70 |
|
---|
| 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/mcs"/></para>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of mcs</title>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>mcs</application> by
|
---|
| 80 | running the following commands:</para>
|
---|
| 81 |
|
---|
[50d2046] | 82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[7c6f36c5] | 83 | make</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | <para>This package does not come with a test suite.</para>
|
---|
| 86 |
|
---|
| 87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>make install &&
|
---|
| 90 | install -v -m644 -D README /usr/share/doc/mcs-&mcs-version;/README</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
[50d2046] | 97 | <para><option>--with-qt-path=/usr/share/qt</option>: If you have
|
---|
| 98 | <xref linkend="kdelibs"/> installed, you must pass
|
---|
| 99 | additional parameters to the <command>configure</command> script to
|
---|
| 100 | identify the location of Qt and, possibly, KDE libraries and interface
|
---|
| 101 | headers.</para>
|
---|
[7c6f36c5] | 102 |
|
---|
| 103 | <para>For additional information about the various storage backends
|
---|
| 104 | (including the default XDG-compliant backend), see the
|
---|
| 105 | <filename>README</filename> file in the source tree.</para>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="configuration">
|
---|
| 110 | <title>Configuring mcs</title>
|
---|
| 111 |
|
---|
| 112 | <para>There are various ways to configure <application>mcs</application>
|
---|
[50d2046] | 113 | to use a specific backend on a site-wide or individual user basis. If the
|
---|
| 114 | default file-based storage backend is suitable, no configuration steps are
|
---|
[4eb3c86] | 115 | required. See section 2 of the <filename>README</filename> file in the
|
---|
[50d2046] | 116 | source tree for details. </para>
|
---|
[7c6f36c5] | 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
| 124 | <segtitle>Installed Programs</segtitle>
|
---|
| 125 | <segtitle>Installed Libraries</segtitle>
|
---|
| 126 | <segtitle>Installed Directories</segtitle>
|
---|
| 127 |
|
---|
| 128 | <seglistitem>
|
---|
| 129 | <seg>mcs-getconfval, mcs-info, mcs-query-backends and
|
---|
| 130 | mcs-setconfval</seg>
|
---|
| 131 | <seg>libmcs.so and backend storage modules</seg>
|
---|
| 132 | <seg>/usr/include/mcs, /usr/lib/mcs and
|
---|
| 133 | /usr/share/doc/mcs-&mcs-version;</seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="mcs-getconfval">
|
---|
| 143 | <term><command>mcs-getconfval</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>queries <application>mcs</application> for a configuration
|
---|
| 146 | value.</para>
|
---|
| 147 | <indexterm zone="mcs mcs-getconfval">
|
---|
| 148 | <primary sortas="b-mcs-getconfval">mcs-getconfval</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="mcs-info">
|
---|
| 154 | <term><command>mcs-info</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>displays information about the current installation and
|
---|
| 157 | configuration of <application>mcs</application>.</para>
|
---|
| 158 | <indexterm zone="mcs mcs-info">
|
---|
| 159 | <primary sortas="b-mcs-info">mcs-info</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="mcs-query-backends">
|
---|
| 165 | <term><command>mcs-query-backends</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>queries <application>mcs</application> to determine what
|
---|
| 168 | backends are available.</para>
|
---|
| 169 | <indexterm zone="mcs mcs-query-backends">
|
---|
| 170 | <primary sortas="b-mcs-query-backends">mcs-query-backends</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="mcs-setconfval">
|
---|
| 176 | <term><command>mcs-setconfval</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>instructs <application>mcs</application> to change a
|
---|
| 179 | configuration value.</para>
|
---|
| 180 | <indexterm zone="mcs mcs-setconfval">
|
---|
| 181 | <primary sortas="b-mcs-setconfval">mcs-setconfval</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="libmcs">
|
---|
| 187 | <term><filename class='libraryfile'>libmcs.so</filename></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>contains the API functions required by the
|
---|
| 190 | <application>mcs</application> userspace tools.</para>
|
---|
| 191 | <indexterm zone="mcs libmcs">
|
---|
| 192 | <primary sortas="c-libmcs.so">libmcs.so</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 | </variablelist>
|
---|
| 197 |
|
---|
| 198 | </sect2>
|
---|
| 199 |
|
---|
| 200 | </sect1>
|
---|