[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 | <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 |
|
---|
[a2912ff] | 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>
|
---|
[c4ee35e] | 38 |
|
---|
[b5645ad] | 39 | &lfs110a_checked;
|
---|
[4f51961] | 40 |
|
---|
[c4ee35e] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[a2912ff] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libnotify-download-http;"/>
|
---|
| 46 | </para>
|
---|
[c4ee35e] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[a2912ff] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libnotify-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[c4ee35e] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[a2912ff] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &libnotify-md5sum;
|
---|
| 56 | </para>
|
---|
[c4ee35e] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[a2912ff] | 59 | <para>
|
---|
| 60 | Download size: &libnotify-size;
|
---|
| 61 | </para>
|
---|
[c4ee35e] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[a2912ff] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &libnotify-buildsize;
|
---|
| 66 | </para>
|
---|
[c4ee35e] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[a2912ff] | 69 | <para>
|
---|
| 70 | Estimated build time: &libnotify-time;
|
---|
| 71 | </para>
|
---|
[c4ee35e] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libnotify Dependencies</bridgehead>
|
---|
| 76 |
|
---|
[d0b1879] | 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="gtk3"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[4c2be438] | 82 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
| 84 | <xref linkend="gobject-introspection"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
[4f51961] | 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[41d905b4] | 88 | <para role="optional">
|
---|
[a6852d6] | 89 | <xref linkend="gtk-doc"/> and
|
---|
| 90 | <xref linkend="xmlto"/>
|
---|
[41d905b4] | 91 | </para>
|
---|
[c4ee35e] | 92 |
|
---|
[28da91b1] | 93 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
[1051f94e] | 94 | <para role="required">
|
---|
| 95 | <xref role="runtime" linkend="notification-daemon"/> or
|
---|
[cac7f93] | 96 | <xref role="nodep" linkend="xfce4-notifyd"/>
|
---|
[28da91b1] | 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 |
|
---|
[e363635] | 119 | <screen><userinput>mkdir build &&
|
---|
[6a720e7] | 120 | cd build &&
|
---|
[e363635] | 121 |
|
---|
[adf17153] | 122 | meson --prefix=/usr \
|
---|
| 123 | --buildtype=release \
|
---|
| 124 | -Dgtk_doc=false \
|
---|
| 125 | -Dman=false .. &&
|
---|
[e363635] | 126 | ninja</userinput></screen>
|
---|
[c4ee35e] | 127 |
|
---|
[a2912ff] | 128 | <para>
|
---|
| 129 | This package does not come with a test suite.
|
---|
| 130 | </para>
|
---|
[c4ee35e] | 131 |
|
---|
[a2912ff] | 132 | <para>
|
---|
| 133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
[c4ee35e] | 135 |
|
---|
[e363635] | 136 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[c4ee35e] | 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
[4f51961] | 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
| 142 |
|
---|
[adf17153] | 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 144 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 145 |
|
---|
[baac59c] | 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>
|
---|
[41d905b4] | 151 |
|
---|
[4f51961] | 152 | </sect2>
|
---|
| 153 |
|
---|
[c4ee35e] | 154 | <sect2 role="content">
|
---|
| 155 | <title>Contents</title>
|
---|
| 156 |
|
---|
| 157 | <segmentedlist>
|
---|
| 158 | <segtitle>Installed Program</segtitle>
|
---|
| 159 | <segtitle>Installed Library</segtitle>
|
---|
[4f51961] | 160 | <segtitle>Installed Directories</segtitle>
|
---|
[c4ee35e] | 161 |
|
---|
| 162 | <seglistitem>
|
---|
[41d905b4] | 163 | <seg>
|
---|
| 164 | notify-send
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | libnotify.so
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
[a2912ff] | 170 | /usr/include/libnotify and
|
---|
| 171 | /usr/share/gtk-doc/html/libnotify
|
---|
[41d905b4] | 172 | </seg>
|
---|
[c4ee35e] | 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>
|
---|
[a2912ff] | 184 | <para>
|
---|
[4c24eb0a] | 185 | is a command used to send notifications
|
---|
[a2912ff] | 186 | </para>
|
---|
[c4ee35e] | 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">
|
---|
[4c24eb0a] | 194 | <term><filename class="libraryfile">libnotify.so</filename></term>
|
---|
[c4ee35e] | 195 | <listitem>
|
---|
[a2912ff] | 196 | <para>
|
---|
[4c24eb0a] | 197 | contains the <application>libnotify</application> API functions
|
---|
[a2912ff] | 198 | </para>
|
---|
[c4ee35e] | 199 | <indexterm zone="libnotify libnotify">
|
---|
[41d905b4] | 200 | <primary sortas="c-libnotify">libnotify.so</primary>
|
---|
[c4ee35e] | 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | </variablelist>
|
---|
| 206 |
|
---|
| 207 | </sect2>
|
---|
| 208 |
|
---|
| 209 | </sect1>
|
---|