[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">
|
---|
[a6852d6] | 9 | <!ENTITY libnotify-md5sum "ccd9c53364174cc8d13e18a1988faa76">
|
---|
| 10 | <!ENTITY libnotify-size "96 KB">
|
---|
| 11 | <!ENTITY libnotify-buildsize "2.9 MB">
|
---|
[977a50a] | 12 | <!ENTITY libnotify-time "0.1 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 |
|
---|
[34fe2633] | 40 | &lfs91_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">
|
---|
[a6852d6] | 90 | <xref linkend="gtk-doc"/> and
|
---|
| 91 | <xref linkend="xmlto"/>
|
---|
[41d905b4] | 92 | </para>
|
---|
[c4ee35e] | 93 |
|
---|
[28da91b1] | 94 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
[1051f94e] | 95 | <para role="required">
|
---|
| 96 | <xref role="runtime" linkend="notification-daemon"/> or
|
---|
[cac7f93] | 97 | <xref role="nodep" linkend="xfce4-notifyd"/>
|
---|
[28da91b1] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <note>
|
---|
| 101 | <para>
|
---|
| 102 | <application>GNOME Shell</application> and <application>KDE KWin</application>
|
---|
| 103 | provide their own notification daemons.
|
---|
| 104 | </para>
|
---|
| 105 | </note>
|
---|
| 106 |
|
---|
[c4ee35e] | 107 | <para condition="html" role="usernotes">User Notes:
|
---|
[a2912ff] | 108 | <ulink url="&blfs-wiki;/libnotify"/>
|
---|
| 109 | </para>
|
---|
[c4ee35e] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
| 113 | <title>Installation of libnotify</title>
|
---|
| 114 |
|
---|
[a2912ff] | 115 | <para>
|
---|
| 116 | Install <application>libnotify</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
[c4ee35e] | 119 |
|
---|
[e363635] | 120 | <screen><userinput>mkdir build &&
|
---|
[6a720e7] | 121 | cd build &&
|
---|
[e363635] | 122 |
|
---|
[a6852d6] | 123 | meson --prefix=/usr -Dgtk_doc=false -Dman=false .. &&
|
---|
[e363635] | 124 | ninja</userinput></screen>
|
---|
[c4ee35e] | 125 |
|
---|
[a2912ff] | 126 | <para>
|
---|
| 127 | This package does not come with a test suite.
|
---|
| 128 | </para>
|
---|
[c4ee35e] | 129 |
|
---|
[a2912ff] | 130 | <para>
|
---|
| 131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
[c4ee35e] | 133 |
|
---|
[e363635] | 134 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[c4ee35e] | 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
[4f51961] | 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[baac59c] | 141 | <para>
|
---|
| 142 | <parameter>-Dgtk_doc=false</parameter>: Remove this parameter if
|
---|
| 143 | <application>GTK-Doc</application> is installed and you wish to rebuild
|
---|
| 144 | and install the API documentation.
|
---|
| 145 | </para>
|
---|
[41d905b4] | 146 |
|
---|
[4f51961] | 147 | </sect2>
|
---|
| 148 |
|
---|
[c4ee35e] | 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Program</segtitle>
|
---|
| 154 | <segtitle>Installed Library</segtitle>
|
---|
[4f51961] | 155 | <segtitle>Installed Directories</segtitle>
|
---|
[c4ee35e] | 156 |
|
---|
| 157 | <seglistitem>
|
---|
[41d905b4] | 158 | <seg>
|
---|
| 159 | notify-send
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | libnotify.so
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
[a2912ff] | 165 | /usr/include/libnotify and
|
---|
| 166 | /usr/share/gtk-doc/html/libnotify
|
---|
[41d905b4] | 167 | </seg>
|
---|
[c4ee35e] | 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="notify-send">
|
---|
| 177 | <term><command>notify-send</command></term>
|
---|
| 178 | <listitem>
|
---|
[a2912ff] | 179 | <para>
|
---|
| 180 | is a command used to send notifications.
|
---|
| 181 | </para>
|
---|
[c4ee35e] | 182 | <indexterm zone="libnotify notify-send">
|
---|
| 183 | <primary sortas="b-notify-send">notify-send</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="libnotify-lib">
|
---|
[41d905b4] | 189 | <term><filename class='libraryfile'>libnotify.so</filename></term>
|
---|
[c4ee35e] | 190 | <listitem>
|
---|
[a2912ff] | 191 | <para>
|
---|
| 192 | contains the <application>libnotify</application> API functions.
|
---|
| 193 | </para>
|
---|
[c4ee35e] | 194 | <indexterm zone="libnotify libnotify">
|
---|
[41d905b4] | 195 | <primary sortas="c-libnotify">libnotify.so</primary>
|
---|
[c4ee35e] | 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | </variablelist>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|
| 203 |
|
---|
| 204 | </sect1>
|
---|