[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[0801c082] | 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 |
|
---|
[e1eaf26] | 7 | <!ENTITY libsigc-download-http "&gnome-download-http;/libsigc++/&libsigc-minor;/libsigc++-&libsigc-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY libsigc-download-ftp " ">
|
---|
[5bc7f94a] | 9 | <!ENTITY libsigc-md5sum "891f1b2dbaebd8007eda8c639bbe1149">
|
---|
[c1d180b] | 10 | <!ENTITY libsigc-size "4.8 MB">
|
---|
[5bc7f94a] | 11 | <!ENTITY libsigc-buildsize "27 MB (with tests)">
|
---|
[8252e757] | 12 | <!ENTITY libsigc-time "0.2 SBU (with tests)">
|
---|
[0801c082] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libsigc" xreflabel="libsigc++-&libsigc-version;">
|
---|
| 16 | <?dbhtml filename="libsigc.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libsigc++-&libsigc-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libsigc">
|
---|
| 22 | <primary sortas="a-libsigc++">libsigc++</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libsigc++</title>
|
---|
| 27 |
|
---|
[d4e57d7f] | 28 | <para>
|
---|
| 29 | The <application>libsigc++</application> package implements a typesafe
|
---|
| 30 | callback system for standard C++.
|
---|
| 31 | </para>
|
---|
[0801c082] | 32 |
|
---|
[1241ea19] | 33 | &lfs121_checked;
|
---|
[38a2eac] | 34 |
|
---|
[0801c082] | 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[d4e57d7f] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&libsigc-download-http;"/>
|
---|
| 40 | </para>
|
---|
[0801c082] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[d4e57d7f] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&libsigc-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[0801c082] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[d4e57d7f] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &libsigc-md5sum;
|
---|
| 50 | </para>
|
---|
[0801c082] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[d4e57d7f] | 53 | <para>
|
---|
| 54 | Download size: &libsigc-size;
|
---|
| 55 | </para>
|
---|
[0801c082] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[d4e57d7f] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &libsigc-buildsize;
|
---|
| 60 | </para>
|
---|
[0801c082] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[d4e57d7f] | 63 | <para>
|
---|
| 64 | Estimated build time: &libsigc-time;
|
---|
| 65 | </para>
|
---|
[0801c082] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[4644be50] | 69 | <bridgehead renderas="sect3">libsigc++ Dependencies</bridgehead>
|
---|
| 70 |
|
---|
[8252e757] | 71 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 72 | <para role="recommended">
|
---|
[fed88eef] | 73 | <xref linkend="boost"/> and
|
---|
[8252e757] | 74 | <xref linkend="libxslt"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
[4644be50] | 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
[fed88eef] | 79 | <xref linkend="docbook-utils"/>,
|
---|
[c1d180b] | 80 | <xref linkend="docbook5"/>,
|
---|
[fed88eef] | 81 | <xref linkend="doxygen"/>, and
|
---|
| 82 | <ulink url="&gnome-download-http;/mm-common">mm-common</ulink>
|
---|
[4644be50] | 83 | </para>
|
---|
| 84 |
|
---|
[d192de30] | 85 |
|
---|
[0801c082] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of libsigc++</title>
|
---|
| 90 |
|
---|
[d4e57d7f] | 91 | <para>
|
---|
| 92 | Install <application>libsigc++</application> by running the following
|
---|
| 93 | commands:
|
---|
| 94 | </para>
|
---|
[0801c082] | 95 |
|
---|
[8252e757] | 96 | <screen><userinput>mkdir bld &&
|
---|
| 97 | cd bld &&
|
---|
| 98 |
|
---|
[e1eaf26] | 99 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[8252e757] | 100 | ninja</userinput></screen>
|
---|
[0801c082] | 101 |
|
---|
[d4e57d7f] | 102 | <para>
|
---|
[e1eaf26] | 103 | To test the results, issue: <command>ninja test</command>.
|
---|
[d4e57d7f] | 104 | </para>
|
---|
[0801c082] | 105 |
|
---|
[d4e57d7f] | 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
[0801c082] | 109 |
|
---|
[8252e757] | 110 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[0801c082] | 111 |
|
---|
| 112 | </sect2>
|
---|
[8252e757] | 113 |
|
---|
[2534fb9] | 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
[86e74b27] | 118 | <option>-Dbuild-documentation=true</option>: Use this switch if
|
---|
[8252e757] | 119 | <xref role="nodep" linkend="doxygen"/> is installed and you wish to
|
---|
| 120 | build and install the API documentation.
|
---|
[2534fb9] | 121 | </para>
|
---|
| 122 |
|
---|
[8252e757] | 123 | </sect2>
|
---|
[2534fb9] | 124 |
|
---|
[0801c082] | 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
[c3c56b2] | 129 | <segtitle>Installed Programs</segtitle>
|
---|
[0801c082] | 130 | <segtitle>Installed Library</segtitle>
|
---|
[b468e12] | 131 | <segtitle>Installed Directories</segtitle>
|
---|
[0801c082] | 132 |
|
---|
| 133 | <seglistitem>
|
---|
[c3c56b2] | 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
[d4e57d7f] | 137 | <seg>
|
---|
| 138 | libsigc-2.0.so
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
[9e3c5b9] | 141 | /usr/{include,lib}/sigc++-2.0 and
|
---|
[8252e757] | 142 | /usr/share/{devhelp/books,doc}/libsigc++-2.0 (if the documentation is enabled)
|
---|
[d4e57d7f] | 143 | </seg>
|
---|
[0801c082] | 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
[d4e57d7f] | 152 | <varlistentry id="libsigc-2">
|
---|
| 153 | <term><filename class="libraryfile">libsigc-2.0.so</filename></term>
|
---|
[0801c082] | 154 | <listitem>
|
---|
[d4e57d7f] | 155 | <para>
|
---|
[4c24eb0a] | 156 | contains the <application>libsigc++</application> API functions
|
---|
[d4e57d7f] | 157 | </para>
|
---|
| 158 | <indexterm zone="libsigc libsigc-2">
|
---|
| 159 | <primary sortas="c-libsigc-2">libsigc-2.0.so</primary>
|
---|
[0801c082] | 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | </variablelist>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|