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