[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 |
|
---|
[06b343c5] | 33 | &lfs122_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"/>,
|
---|
[7c6b7d9c] | 81 | <xref linkend="doxygen"/>,
|
---|
| 82 | <xref linkend="fop"/>, and
|
---|
[fed88eef] | 83 | <ulink url="&gnome-download-http;/mm-common">mm-common</ulink>
|
---|
[4644be50] | 84 | </para>
|
---|
| 85 |
|
---|
[d192de30] | 86 |
|
---|
[0801c082] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of libsigc++</title>
|
---|
| 91 |
|
---|
[d4e57d7f] | 92 | <para>
|
---|
| 93 | Install <application>libsigc++</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
[0801c082] | 96 |
|
---|
[8252e757] | 97 | <screen><userinput>mkdir bld &&
|
---|
| 98 | cd bld &&
|
---|
| 99 |
|
---|
[e1eaf26] | 100 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[8252e757] | 101 | ninja</userinput></screen>
|
---|
[0801c082] | 102 |
|
---|
[d4e57d7f] | 103 | <para>
|
---|
[e1eaf26] | 104 | To test the results, issue: <command>ninja test</command>.
|
---|
[d4e57d7f] | 105 | </para>
|
---|
[0801c082] | 106 |
|
---|
[d4e57d7f] | 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
[0801c082] | 110 |
|
---|
[8252e757] | 111 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[0801c082] | 112 |
|
---|
| 113 | </sect2>
|
---|
[8252e757] | 114 |
|
---|
[2534fb9] | 115 | <sect2 role="commands">
|
---|
| 116 | <title>Command Explanations</title>
|
---|
| 117 |
|
---|
[7c6b7d9c] | 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 119 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 120 |
|
---|
[2534fb9] | 121 | <para>
|
---|
[d6fab82] | 122 | <option>-D build-documentation=true</option>: Use this switch if
|
---|
[8252e757] | 123 | <xref role="nodep" linkend="doxygen"/> is installed and you wish to
|
---|
| 124 | build and install the API documentation.
|
---|
[2534fb9] | 125 | </para>
|
---|
| 126 |
|
---|
[8252e757] | 127 | </sect2>
|
---|
[2534fb9] | 128 |
|
---|
[0801c082] | 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
[c3c56b2] | 133 | <segtitle>Installed Programs</segtitle>
|
---|
[0801c082] | 134 | <segtitle>Installed Library</segtitle>
|
---|
[b468e12] | 135 | <segtitle>Installed Directories</segtitle>
|
---|
[0801c082] | 136 |
|
---|
| 137 | <seglistitem>
|
---|
[c3c56b2] | 138 | <seg>
|
---|
| 139 | None
|
---|
| 140 | </seg>
|
---|
[d4e57d7f] | 141 | <seg>
|
---|
| 142 | libsigc-2.0.so
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
[9e3c5b9] | 145 | /usr/{include,lib}/sigc++-2.0 and
|
---|
[8252e757] | 146 | /usr/share/{devhelp/books,doc}/libsigc++-2.0 (if the documentation is enabled)
|
---|
[d4e57d7f] | 147 | </seg>
|
---|
[0801c082] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
[d4e57d7f] | 156 | <varlistentry id="libsigc-2">
|
---|
| 157 | <term><filename class="libraryfile">libsigc-2.0.so</filename></term>
|
---|
[0801c082] | 158 | <listitem>
|
---|
[d4e57d7f] | 159 | <para>
|
---|
[7c6b7d9c] | 160 | provides a typesafe callback system for standard C++
|
---|
[d4e57d7f] | 161 | </para>
|
---|
| 162 | <indexterm zone="libsigc libsigc-2">
|
---|
| 163 | <primary sortas="c-libsigc-2">libsigc-2.0.so</primary>
|
---|
[0801c082] | 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | </sect1>
|
---|