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