[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">
|
---|
[8252e757] | 9 | <!ENTITY libsigc-md5sum "24fd397776fec4a1a30dd465fa243ff4">
|
---|
| 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 |
|
---|
[87351a9] | 37 | &lfs10_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">
|
---|
| 77 | <xref linkend="libxslt"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[4644be50] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
[8252e757] | 82 | <xref linkend="doxygen"/>
|
---|
[4644be50] | 83 | </para>
|
---|
| 84 |
|
---|
[d192de30] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/libsigc++"/></para>
|
---|
| 87 |
|
---|
[0801c082] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of libsigc++</title>
|
---|
| 92 |
|
---|
[8252e757] | 93 | <!--
|
---|
[9a363500] | 94 | <para>
|
---|
| 95 | First, fix the documentation directory name:
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <screen><userinput>sed -e '/^libdocdir =/ s/$(book_name)/libsigc++-&libsigc-version;/' -i docs/Makefile.in</userinput></screen>
|
---|
[8252e757] | 99 | -->
|
---|
[9a363500] | 100 |
|
---|
[d4e57d7f] | 101 | <para>
|
---|
| 102 | Install <application>libsigc++</application> by running the following
|
---|
| 103 | commands:
|
---|
| 104 | </para>
|
---|
[0801c082] | 105 |
|
---|
[8252e757] | 106 | <screen><userinput>mkdir bld &&
|
---|
| 107 | cd bld &&
|
---|
| 108 |
|
---|
| 109 | meson --prefix=/usr .. &&
|
---|
| 110 | ninja</userinput></screen>
|
---|
[0801c082] | 111 |
|
---|
[d4e57d7f] | 112 | <para>
|
---|
[8252e757] | 113 | To test the results, issue: <command>ninja test</command>.
|
---|
[d4e57d7f] | 114 | </para>
|
---|
[0801c082] | 115 |
|
---|
[d4e57d7f] | 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
[0801c082] | 119 |
|
---|
[8252e757] | 120 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[0801c082] | 121 |
|
---|
| 122 | </sect2>
|
---|
[8252e757] | 123 |
|
---|
[2534fb9] | 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
[8252e757] | 128 | <option>-Dbuild_documentation=true</option>: Use this switch if
|
---|
| 129 | <xref role="nodep" linkend="doxygen"/> is installed and you wish to
|
---|
| 130 | build and install the API documentation.
|
---|
[2534fb9] | 131 | </para>
|
---|
| 132 |
|
---|
[8252e757] | 133 | </sect2>
|
---|
[2534fb9] | 134 |
|
---|
[0801c082] | 135 | <sect2 role="content">
|
---|
| 136 | <title>Contents</title>
|
---|
| 137 |
|
---|
| 138 | <segmentedlist>
|
---|
[c3c56b2] | 139 | <segtitle>Installed Programs</segtitle>
|
---|
[0801c082] | 140 | <segtitle>Installed Library</segtitle>
|
---|
[b468e12] | 141 | <segtitle>Installed Directories</segtitle>
|
---|
[0801c082] | 142 |
|
---|
| 143 | <seglistitem>
|
---|
[c3c56b2] | 144 | <seg>
|
---|
| 145 | None
|
---|
| 146 | </seg>
|
---|
[d4e57d7f] | 147 | <seg>
|
---|
| 148 | libsigc-2.0.so
|
---|
| 149 | </seg>
|
---|
| 150 | <seg>
|
---|
[9e3c5b9] | 151 | /usr/{include,lib}/sigc++-2.0 and
|
---|
[8252e757] | 152 | /usr/share/{devhelp/books,doc}/libsigc++-2.0 (if the documentation is enabled)
|
---|
[d4e57d7f] | 153 | </seg>
|
---|
[0801c082] | 154 | </seglistitem>
|
---|
| 155 | </segmentedlist>
|
---|
| 156 |
|
---|
| 157 | <variablelist>
|
---|
| 158 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 159 | <?dbfo list-presentation="list"?>
|
---|
| 160 | <?dbhtml list-presentation="table"?>
|
---|
| 161 |
|
---|
[d4e57d7f] | 162 | <varlistentry id="libsigc-2">
|
---|
| 163 | <term><filename class="libraryfile">libsigc-2.0.so</filename></term>
|
---|
[0801c082] | 164 | <listitem>
|
---|
[d4e57d7f] | 165 | <para>
|
---|
[e9370d0] | 166 | contains the <application>libsigc++</application> API functions.
|
---|
[d4e57d7f] | 167 | </para>
|
---|
| 168 | <indexterm zone="libsigc libsigc-2">
|
---|
| 169 | <primary sortas="c-libsigc-2">libsigc-2.0.so</primary>
|
---|
[0801c082] | 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | </variablelist>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | </sect1>
|
---|