[92dec5f6] | 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 |
|
---|
[214718a] | 7 | <!ENTITY libunique-download-http "&gnome-download-http;/libunique/1.1/libunique-&libunique-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libunique-download-ftp "&gnome-download-ftp;/libunique/1.1/libunique-&libunique-version;.tar.bz2">
|
---|
[a7b45fd] | 9 | <!ENTITY libunique-md5sum "7955769ef31f1bc4f83446dbb3625e6d">
|
---|
[214718a] | 10 | <!ENTITY libunique-size "328 KB">
|
---|
[a7b45fd] | 11 | <!ENTITY libunique-buildsize "4.7 MB">
|
---|
[214718a] | 12 | <!ENTITY libunique-time "0.1 SBU">
|
---|
[92dec5f6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libunique" xreflabel="libunique-&libunique-version;">
|
---|
| 16 | <?dbhtml filename="libunique.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libunique-&libunique-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libunique">
|
---|
| 26 | <primary sortas="a-libunique">libunique</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libunique</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>libunique</application> package contains a
|
---|
| 33 | library for writing single instance applications.</para>
|
---|
| 34 |
|
---|
[a7b45fd] | 35 | &lfs70_checked;
|
---|
| 36 |
|
---|
[92dec5f6] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&libunique-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&libunique-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &libunique-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &libunique-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &libunique-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &libunique-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">libunique Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para role="required"><xref linkend="gtk2"/></para>
|
---|
| 63 |
|
---|
[214718a] | 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 65 | <para role="optional"><xref linkend="dbus-glib"/></para>
|
---|
| 66 |
|
---|
[92dec5f6] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/libunique"/></para>
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of libunique</title>
|
---|
| 73 |
|
---|
| 74 | <para>Install <application>libunique</application> by running the following
|
---|
| 75 | commands:</para>
|
---|
| 76 |
|
---|
[75f50a9] | 77 | <screen><userinput>sed -i '/DG_DISABLE_DEPRECATED/d' unique/Makefile.in &&
|
---|
| 78 | ./configure --prefix=/usr --disable-static &&
|
---|
| 79 | sed -i 's# -Werror ##' unique/dbus/Makefile &&
|
---|
[92dec5f6] | 80 | make</userinput></screen>
|
---|
| 81 |
|
---|
| 82 | <para>This package does not come with a test suite.</para>
|
---|
| 83 |
|
---|
[a7b45fd] | 84 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 85 | user:</para>
|
---|
[92dec5f6] | 86 |
|
---|
| 87 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="commands">
|
---|
| 91 | <title>Command Explanations</title>
|
---|
| 92 |
|
---|
[75f50a9] | 93 | <para><command>sed -i '/DG_DISABLE_DEPRECATED/d' ...</command>:
|
---|
| 94 | <application>Libunique</application> uses functions that are deprecated in
|
---|
| 95 | the current version of <application>Glib</application>. This sed allows it
|
---|
| 96 | to compile using those deprecated functions.</para>
|
---|
| 97 |
|
---|
| 98 | <para><command>sed -i 's# -Werror ##' ...</command>: This sed disables
|
---|
| 99 | treating warnings as errors in the Makefile that deals with dbus.</para>
|
---|
| 100 |
|
---|
[e05cd03f] | 101 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[92dec5f6] | 102 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Library</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>None</seg>
|
---|
[a7b45fd] | 115 | <seg>libunique-1.0.so</seg>
|
---|
[214718a] | 116 | <seg>/usr/{include/unique-1.0/unique,share/gtk-doc/html/unique}</seg>
|
---|
[92dec5f6] | 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
| 119 |
|
---|
| 120 | <variablelist>
|
---|
| 121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 122 | <?dbfo list-presentation="list"?>
|
---|
| 123 | <?dbhtml list-presentation="table"?>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="libunique-1.0">
|
---|
[a7b45fd] | 126 | <term><filename class='libraryfile'>libunique-1.0.so</filename></term>
|
---|
[92dec5f6] | 127 | <listitem>
|
---|
[a7b45fd] | 128 | <para>contains the libunique API functions for single instance
|
---|
| 129 | support.</para>
|
---|
[92dec5f6] | 130 | <indexterm zone="libunique libunique-1.0">
|
---|
[a7b45fd] | 131 | <primary sortas="c-libunique-1.0">libunique-1.0.so</primary>
|
---|
[92dec5f6] | 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 | </variablelist>
|
---|
| 136 | </sect2>
|
---|
| 137 | </sect1>
|
---|