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