source: multimedia/libdriv/libcanberra.xml@ 9021a65

10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9021a65 was 9021a65, checked in by Xi Ruoyao <xry111@…>, 4 years ago

libcanberra: add a patch for wayland based DE

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23747 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.6 KB
Line 
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 libcanberra-download-http
8 "http://0pointer.de/lennart/projects/libcanberra/libcanberra-&libcanberra-version;.tar.xz">
9 <!ENTITY libcanberra-download-ftp " ">
10 <!ENTITY libcanberra-md5sum "34cb7e4430afaf6f447c4ebdb9b42072">
11 <!ENTITY libcanberra-size "312 KB">
12 <!ENTITY libcanberra-buildsize "7.5 MB">
13 <!ENTITY libcanberra-time "0.1 SBU">
14]>
15
16<sect1 id="libcanberra" xreflabel="libcanberra-&libcanberra-version;">
17 <?dbhtml filename="libcanberra.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libcanberra-&libcanberra-version;</title>
25
26 <indexterm zone="libcanberra">
27 <primary sortas="a-libcanberra">libcanberra</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libcanberra</title>
32
33 <para>
34 <application>libcanberra</application> is an implementation of the XDG Sound
35 Theme and Name Specifications, for generating event sounds on free desktops,
36 such as <application>GNOME</application>.
37 </para>
38
39 &lfs10_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libcanberra-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libcanberra-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libcanberra-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libcanberra-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libcanberra-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libcanberra-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/libcanberra-&libcanberra-version;-wayland-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">libcanberra Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
89 <xref linkend="libvorbis"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended</bridgehead>
93 <para role="recommended">
94 <xref linkend="alsa-lib"/>,
95 <xref linkend="gstreamer10"/> and
96 <xref linkend="gtk3"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="gtk2"/>,
102 <!--<xref linkend="gtk-doc"/>,-->
103 <xref linkend='pulseaudio'/> and
104 <ulink url="http://tdb.samba.org/">tdb</ulink>
105 </para>
106
107 <para condition="html" role="usernotes">User Notes:
108 <ulink url="&blfs-wiki;/libcanberra"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of libcanberra</title>
114
115 <para>
116 At first, apply a patch to fix an issue causing some applications to
117 crash in Wayland based desktop environment:
118 </para>
119
120<screen><userinput>patch -Np1 -i ../libcanberra-0.30-wayland-1.patch</userinput></screen>
121
122 <para>
123 Install <application>libcanberra</application> by running the following
124 commands:
125 </para>
126
127<screen><userinput>./configure --prefix=/usr --disable-oss &amp;&amp;
128make</userinput></screen>
129
130 <para>
131 This package does not come with a test suite.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make docdir=/usr/share/doc/libcanberra-&libcanberra-version; install</userinput></screen>
139
140 </sect2>
141
142 <sect2 role="commands">
143 <title>Command Explanations</title>
144
145 <para>
146 <parameter>--disable-oss</parameter>: disable optional deprecated OSS
147 support
148 </para>
149
150 <para>
151 <option>--disable-gtk</option>: disable optional GTK+ 2 support
152 </para>
153
154 <para>
155 <option>--disable-gtk3</option>: disable optional GTK+ 3 support
156 </para>
157 <!-- gtk-doc support is broken due to an obsolete command "gtkdoc-mktmpl"
158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/gtk-doc-rebuild.xml"/>-->
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directories</segtitle>
170
171 <seglistitem>
172 <seg>
173 canberra-boot and canberra-gtk-play
174 </seg>
175 <seg>
176 libcanberra-gtk.so, libcanberra-gtk3.so and
177 libcanberra.so
178 </seg>
179 <seg>
180 /usr/lib/libcanberra-&libcanberra-version;,
181 /usr/share/doc/libcanberra-&libcanberra-version; and
182 /usr/share/gtk-doc/html/libcanberra
183 </seg>
184 </seglistitem>
185 </segmentedlist>
186
187 <variablelist>
188 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
189 <?dbfo list-presentation="list"?>
190 <?dbhtml list-presentation="table"?>
191
192<!--
193 <varlistentry id="canberra-boot">
194 <term><command>canberra-boot</command></term>
195 <listitem>
196 <para>
197
198 </para>
199 <indexterm zone="libcanberra canberra-boot">
200 <primary sortas="b-canberra-boot">canberra-boot</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204-->
205
206 <varlistentry id="canberra-gtk-play">
207 <term><command>canberra-gtk-play</command></term>
208 <listitem>
209 <para>
210 is an application used for playing sound events.
211 </para>
212 <indexterm zone="libcanberra canberra-gtk-play">
213 <primary sortas="b-canberra-gtk-play">canberra-gtk-play</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="libcanberra-gtk">
219 <term><filename class="libraryfile">libcanberra-gtk.so</filename></term>
220 <listitem>
221 <para>
222 contains the <application>libcanberra</application> bindings
223 for <application>GTK+ 2</application>.
224 </para>
225 <indexterm zone="libcanberra libcanberra-gtk">
226 <primary sortas="c-libcanberra-gtk">libcanberra-gtk.so</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="libcanberra-gtk3">
232 <term><filename class="libraryfile">libcanberra-gtk3.so</filename></term>
233 <listitem>
234 <para>
235 contains the <application>libcanberra</application> bindings
236 for <application>GTK+ 3</application>.
237 </para>
238 <indexterm zone="libcanberra libcanberra-gtk3">
239 <primary sortas="c-libcanberra-gtk3">libcanberra-gtk3.so</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="libcanberra-lib">
245 <term><filename class='libraryfile'>libcanberra.so</filename></term>
246 <listitem>
247 <para>
248 contains the <application>libcanberra</application> API functions.
249 </para>
250 <indexterm zone="libcanberra libcanberra-lib">
251 <primary sortas="c-libcanberra">libcanberra.so</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 </variablelist>
257
258 </sect2>
259
260</sect1>
Note: See TracBrowser for help on using the repository browser.