[c4ee35e] | 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 |
|
---|
[4f51961] | 7 | <!ENTITY libnotify-download-http "&gnome-download-http;/libnotify/0.7/libnotify-&libnotify-version;.tar.xz">
|
---|
[41d905b4] | 8 | <!ENTITY libnotify-download-ftp "&gnome-download-ftp;/libnotify/0.7/libnotify-&libnotify-version;.tar.xz">
|
---|
[1a7c10b9] | 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">
|
---|
[c4ee35e] | 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 |
|
---|
[a2912ff] | 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>
|
---|
[c4ee35e] | 39 |
|
---|
[019c292] | 40 | &lfs77_checked; &gcc5_checked;
|
---|
[4f51961] | 41 |
|
---|
[c4ee35e] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[a2912ff] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&libnotify-download-http;"/>
|
---|
| 47 | </para>
|
---|
[c4ee35e] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[a2912ff] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&libnotify-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[c4ee35e] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[a2912ff] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &libnotify-md5sum;
|
---|
| 57 | </para>
|
---|
[c4ee35e] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[a2912ff] | 60 | <para>
|
---|
| 61 | Download size: &libnotify-size;
|
---|
| 62 | </para>
|
---|
[c4ee35e] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[a2912ff] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &libnotify-buildsize;
|
---|
| 67 | </para>
|
---|
[c4ee35e] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[a2912ff] | 70 | <para>
|
---|
| 71 | Estimated build time: &libnotify-time;
|
---|
| 72 | </para>
|
---|
[c4ee35e] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">libnotify Dependencies</bridgehead>
|
---|
| 77 |
|
---|
[d0b1879] | 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
| 80 | <xref linkend="gtk3"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
[4c2be438] | 83 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
| 85 | <xref linkend="gobject-introspection"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
[4f51961] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[41d905b4] | 89 | <para role="optional">
|
---|
| 90 | <xref linkend="gtk-doc"/>
|
---|
| 91 | </para>
|
---|
[c4ee35e] | 92 |
|
---|
[28da91b1] | 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 |
|
---|
[c4ee35e] | 106 | <para condition="html" role="usernotes">User Notes:
|
---|
[a2912ff] | 107 | <ulink url="&blfs-wiki;/libnotify"/>
|
---|
| 108 | </para>
|
---|
[c4ee35e] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
| 112 | <title>Installation of libnotify</title>
|
---|
| 113 |
|
---|
[a2912ff] | 114 | <para>
|
---|
| 115 | Install <application>libnotify</application> by running the following
|
---|
| 116 | commands:
|
---|
| 117 | </para>
|
---|
[c4ee35e] | 118 |
|
---|
[41d905b4] | 119 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[c4ee35e] | 120 | make</userinput></screen>
|
---|
| 121 |
|
---|
[a2912ff] | 122 | <para>
|
---|
| 123 | This package does not come with a test suite.
|
---|
| 124 | </para>
|
---|
[c4ee35e] | 125 |
|
---|
[a2912ff] | 126 | <para>
|
---|
| 127 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 128 | </para>
|
---|
[c4ee35e] | 129 |
|
---|
| 130 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
[4f51961] | 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
| 136 |
|
---|
| 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a2912ff] | 138 | href="../../xincludes/static-libraries.xml"/>
|
---|
[4f51961] | 139 |
|
---|
[41d905b4] | 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a2912ff] | 141 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[41d905b4] | 142 |
|
---|
[4f51961] | 143 | </sect2>
|
---|
| 144 |
|
---|
[c4ee35e] | 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Program</segtitle>
|
---|
| 150 | <segtitle>Installed Library</segtitle>
|
---|
[4f51961] | 151 | <segtitle>Installed Directories</segtitle>
|
---|
[c4ee35e] | 152 |
|
---|
| 153 | <seglistitem>
|
---|
[41d905b4] | 154 | <seg>
|
---|
| 155 | notify-send
|
---|
| 156 | </seg>
|
---|
| 157 | <seg>
|
---|
| 158 | libnotify.so
|
---|
| 159 | </seg>
|
---|
| 160 | <seg>
|
---|
[a2912ff] | 161 | /usr/include/libnotify and
|
---|
| 162 | /usr/share/gtk-doc/html/libnotify
|
---|
[41d905b4] | 163 | </seg>
|
---|
[c4ee35e] | 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>
|
---|
[a2912ff] | 175 | <para>
|
---|
| 176 | is a command used to send notifications.
|
---|
| 177 | </para>
|
---|
[c4ee35e] | 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">
|
---|
[41d905b4] | 185 | <term><filename class='libraryfile'>libnotify.so</filename></term>
|
---|
[c4ee35e] | 186 | <listitem>
|
---|
[a2912ff] | 187 | <para>
|
---|
| 188 | contains the <application>libnotify</application> API functions.
|
---|
| 189 | </para>
|
---|
[c4ee35e] | 190 | <indexterm zone="libnotify libnotify">
|
---|
[41d905b4] | 191 | <primary sortas="c-libnotify">libnotify.so</primary>
|
---|
[c4ee35e] | 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | </variablelist>
|
---|
| 197 |
|
---|
| 198 | </sect2>
|
---|
| 199 |
|
---|
| 200 | </sect1>
|
---|