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 libnotify-download-http "&gnome-download-http;/libnotify/0.7/libnotify-&libnotify-version;.tar.xz">
|
---|
8 | <!ENTITY libnotify-download-ftp "&gnome-download-ftp;/libnotify/0.7/libnotify-&libnotify-version;.tar.xz">
|
---|
9 | <!ENTITY libnotify-md5sum "a4997019d08f46f3bf57b78e6f795a59">
|
---|
10 | <!ENTITY libnotify-size "276 KB">
|
---|
11 | <!ENTITY libnotify-buildsize "4,9 MB">
|
---|
12 | <!ENTITY libnotify-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libnotify" xreflabel="libnotify-&libnotify-version;">
|
---|
16 | <?dbhtml filename="libnotify.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libnotify-&libnotify-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libnotify">
|
---|
26 | <primary sortas="a-libnotify">libnotify</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libnotify</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>libnotify</application> library is used to send desktop
|
---|
34 | notifications to a notification daemon, as defined in the Desktop
|
---|
35 | Notifications spec. These notifications can be used to inform the user about
|
---|
36 | an event or display some form of information without getting in the user's
|
---|
37 | way.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs77_checked; &gcc5_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&libnotify-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&libnotify-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &libnotify-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &libnotify-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &libnotify-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &libnotify-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">libnotify Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="gtk3"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
84 | <para role="optional">
|
---|
85 | <xref linkend="gobject-introspection"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
89 | <para role="optional">
|
---|
90 | <xref linkend="gtk-doc"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
94 | <para role="required">
|
---|
95 | <xref linkend="notification-daemon"/> or
|
---|
96 | <xref linkend="xfce4-notifyd"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <note>
|
---|
100 | <para>
|
---|
101 | <application>GNOME Shell</application> and <application>KDE KWin</application>
|
---|
102 | provide their own notification daemons.
|
---|
103 | </para>
|
---|
104 | </note>
|
---|
105 |
|
---|
106 | <para condition="html" role="usernotes">User Notes:
|
---|
107 | <ulink url="&blfs-wiki;/libnotify"/>
|
---|
108 | </para>
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="installation">
|
---|
112 | <title>Installation of libnotify</title>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | Install <application>libnotify</application> by running the following
|
---|
116 | commands:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
120 | make</userinput></screen>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | This package does not come with a test suite.
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | <sect2 role="commands">
|
---|
135 | <title>Command Explanations</title>
|
---|
136 |
|
---|
137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
138 | href="../../xincludes/static-libraries.xml"/>
|
---|
139 |
|
---|
140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
141 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
142 |
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="content">
|
---|
146 | <title>Contents</title>
|
---|
147 |
|
---|
148 | <segmentedlist>
|
---|
149 | <segtitle>Installed Program</segtitle>
|
---|
150 | <segtitle>Installed Library</segtitle>
|
---|
151 | <segtitle>Installed Directories</segtitle>
|
---|
152 |
|
---|
153 | <seglistitem>
|
---|
154 | <seg>
|
---|
155 | notify-send
|
---|
156 | </seg>
|
---|
157 | <seg>
|
---|
158 | libnotify.so
|
---|
159 | </seg>
|
---|
160 | <seg>
|
---|
161 | /usr/include/libnotify and
|
---|
162 | /usr/share/gtk-doc/html/libnotify
|
---|
163 | </seg>
|
---|
164 | </seglistitem>
|
---|
165 | </segmentedlist>
|
---|
166 |
|
---|
167 | <variablelist>
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 | <?dbfo list-presentation="list"?>
|
---|
170 | <?dbhtml list-presentation="table"?>
|
---|
171 |
|
---|
172 | <varlistentry id="notify-send">
|
---|
173 | <term><command>notify-send</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>
|
---|
176 | is a command used to send notifications.
|
---|
177 | </para>
|
---|
178 | <indexterm zone="libnotify notify-send">
|
---|
179 | <primary sortas="b-notify-send">notify-send</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="libnotify-lib">
|
---|
185 | <term><filename class='libraryfile'>libnotify.so</filename></term>
|
---|
186 | <listitem>
|
---|
187 | <para>
|
---|
188 | contains the <application>libnotify</application> API functions.
|
---|
189 | </para>
|
---|
190 | <indexterm zone="libnotify libnotify">
|
---|
191 | <primary sortas="c-libnotify">libnotify.so</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | </variablelist>
|
---|
197 |
|
---|
198 | </sect2>
|
---|
199 |
|
---|
200 | </sect1>
|
---|