[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 |
|
---|
[dc6ba1c0] | 40 | &lfs74_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 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[41d905b4] | 79 | <para role="required">
|
---|
[1a7c10b9] | 80 | <xref linkend="gtk3"/>, and
|
---|
| 81 | <xref linkend="notification-daemon"/> (runtime)
|
---|
[41d905b4] | 82 | </para>
|
---|
| 83 |
|
---|
[4c2be438] | 84 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
| 86 | <xref linkend="gobject-introspection"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[4f51961] | 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[41d905b4] | 90 | <para role="optional">
|
---|
| 91 | <xref linkend="gtk-doc"/>
|
---|
| 92 | </para>
|
---|
[c4ee35e] | 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
[a2912ff] | 95 | <ulink url="&blfs-wiki;/libnotify"/>
|
---|
| 96 | </para>
|
---|
[c4ee35e] | 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of libnotify</title>
|
---|
| 101 |
|
---|
[a2912ff] | 102 | <para>
|
---|
| 103 | Install <application>libnotify</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
[c4ee35e] | 106 |
|
---|
[41d905b4] | 107 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[c4ee35e] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[a2912ff] | 110 | <para>
|
---|
| 111 | This package does not come with a test suite.
|
---|
| 112 | </para>
|
---|
[c4ee35e] | 113 |
|
---|
[a2912ff] | 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
[c4ee35e] | 117 |
|
---|
| 118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
[4f51961] | 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
| 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a2912ff] | 126 | href="../../xincludes/static-libraries.xml"/>
|
---|
[4f51961] | 127 |
|
---|
[41d905b4] | 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a2912ff] | 129 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[41d905b4] | 130 |
|
---|
[4f51961] | 131 | </sect2>
|
---|
| 132 |
|
---|
[c4ee35e] | 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Program</segtitle>
|
---|
| 138 | <segtitle>Installed Library</segtitle>
|
---|
[4f51961] | 139 | <segtitle>Installed Directories</segtitle>
|
---|
[c4ee35e] | 140 |
|
---|
| 141 | <seglistitem>
|
---|
[41d905b4] | 142 | <seg>
|
---|
| 143 | notify-send
|
---|
| 144 | </seg>
|
---|
| 145 | <seg>
|
---|
| 146 | libnotify.so
|
---|
| 147 | </seg>
|
---|
| 148 | <seg>
|
---|
[a2912ff] | 149 | /usr/include/libnotify and
|
---|
| 150 | /usr/share/gtk-doc/html/libnotify
|
---|
[41d905b4] | 151 | </seg>
|
---|
[c4ee35e] | 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
| 154 |
|
---|
| 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="notify-send">
|
---|
| 161 | <term><command>notify-send</command></term>
|
---|
| 162 | <listitem>
|
---|
[a2912ff] | 163 | <para>
|
---|
| 164 | is a command used to send notifications.
|
---|
| 165 | </para>
|
---|
[c4ee35e] | 166 | <indexterm zone="libnotify notify-send">
|
---|
| 167 | <primary sortas="b-notify-send">notify-send</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="libnotify-lib">
|
---|
[41d905b4] | 173 | <term><filename class='libraryfile'>libnotify.so</filename></term>
|
---|
[c4ee35e] | 174 | <listitem>
|
---|
[a2912ff] | 175 | <para>
|
---|
| 176 | contains the <application>libnotify</application> API functions.
|
---|
| 177 | </para>
|
---|
[c4ee35e] | 178 | <indexterm zone="libnotify libnotify">
|
---|
[41d905b4] | 179 | <primary sortas="c-libnotify">libnotify.so</primary>
|
---|
[c4ee35e] | 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | </variablelist>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | </sect1>
|
---|