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 "ccd9c53364174cc8d13e18a1988faa76">
|
---|
10 | <!ENTITY libnotify-size "96 KB">
|
---|
11 | <!ENTITY libnotify-buildsize "2.9 MB">
|
---|
12 | <!ENTITY libnotify-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libnotify" xreflabel="libnotify-&libnotify-version;">
|
---|
16 | <?dbhtml filename="libnotify.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>libnotify-&libnotify-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="libnotify">
|
---|
25 | <primary sortas="a-libnotify">libnotify</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to libnotify</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>libnotify</application> library is used to send desktop
|
---|
33 | notifications to a notification daemon, as defined in the Desktop
|
---|
34 | Notifications spec. These notifications can be used to inform the user about
|
---|
35 | an event or display some form of information without getting in the user's
|
---|
36 | way.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs110a_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&libnotify-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&libnotify-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &libnotify-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &libnotify-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &libnotify-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &libnotify-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">libnotify Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="gtk3"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
83 | <para role="optional">
|
---|
84 | <xref linkend="gobject-introspection"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="gtk-doc"/> and
|
---|
90 | <xref linkend="xmlto"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
94 | <para role="required">
|
---|
95 | <xref role="runtime" linkend="notification-daemon"/> or
|
---|
96 | <xref role="nodep" 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>mkdir build &&
|
---|
120 | cd build &&
|
---|
121 |
|
---|
122 | meson --prefix=/usr \
|
---|
123 | --buildtype=release \
|
---|
124 | -Dgtk_doc=false \
|
---|
125 | -Dman=false .. &&
|
---|
126 | ninja</userinput></screen>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | This package does not come with a test suite.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="commands">
|
---|
141 | <title>Command Explanations</title>
|
---|
142 |
|
---|
143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
144 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | <parameter>-Dgtk_doc=false</parameter>: Remove this parameter if
|
---|
148 | <application>GTK-Doc</application> is installed and you wish to rebuild
|
---|
149 | and install the API documentation.
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2 role="content">
|
---|
155 | <title>Contents</title>
|
---|
156 |
|
---|
157 | <segmentedlist>
|
---|
158 | <segtitle>Installed Program</segtitle>
|
---|
159 | <segtitle>Installed Library</segtitle>
|
---|
160 | <segtitle>Installed Directories</segtitle>
|
---|
161 |
|
---|
162 | <seglistitem>
|
---|
163 | <seg>
|
---|
164 | notify-send
|
---|
165 | </seg>
|
---|
166 | <seg>
|
---|
167 | libnotify.so
|
---|
168 | </seg>
|
---|
169 | <seg>
|
---|
170 | /usr/include/libnotify and
|
---|
171 | /usr/share/gtk-doc/html/libnotify
|
---|
172 | </seg>
|
---|
173 | </seglistitem>
|
---|
174 | </segmentedlist>
|
---|
175 |
|
---|
176 | <variablelist>
|
---|
177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
178 | <?dbfo list-presentation="list"?>
|
---|
179 | <?dbhtml list-presentation="table"?>
|
---|
180 |
|
---|
181 | <varlistentry id="notify-send">
|
---|
182 | <term><command>notify-send</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | is a command used to send notifications
|
---|
186 | </para>
|
---|
187 | <indexterm zone="libnotify notify-send">
|
---|
188 | <primary sortas="b-notify-send">notify-send</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="libnotify-lib">
|
---|
194 | <term><filename class="libraryfile">libnotify.so</filename></term>
|
---|
195 | <listitem>
|
---|
196 | <para>
|
---|
197 | contains the <application>libnotify</application> API functions
|
---|
198 | </para>
|
---|
199 | <indexterm zone="libnotify libnotify">
|
---|
200 | <primary sortas="c-libnotify">libnotify.so</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | </variablelist>
|
---|
206 |
|
---|
207 | </sect2>
|
---|
208 |
|
---|
209 | </sect1>
|
---|