source: general/genlib/libunique.xml@ 75f50a9

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 75f50a9 was 75f50a9, checked in by Andrew Benton <andy@…>, 10 years ago

libunique fixes
I'll update it to 1.1.6 tomorrow

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9181 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.8 KB
Line 
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 &amp;&amp;
83./configure --prefix=/usr --disable-static &amp;&amp;
84sed -i 's# -Werror ##' unique/dbus/Makefile &amp;&amp;
85make</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>
Note: See TracBrowser for help on using the repository browser.