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