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 tqtinterface-download-http "&trinity-repo-http;/tqtinterface-&trinity-version;.tar.gz">
|
---|
8 | <!ENTITY tqtinterface-download-ftp "&trinity-repo-ftp;/tqtinterface-&trinity-version;.tar.gz">
|
---|
9 | <!ENTITY tqtinterface-md5sum "d54cc9fd0b35555298efd17c32471a2b">
|
---|
10 | <!ENTITY tqtinterface-size "1 MB">
|
---|
11 | <!ENTITY tqtinterface-buildsize "10 MB">
|
---|
12 | <!ENTITY tqtinterface-time "0.6 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="tqtinterface" xreflabel="tqtinterface-&trinity-version;">
|
---|
16 | <?dbhtml filename="tqtinterface.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>tqtinterface-&trinity-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone='tqtinterface'>
|
---|
25 | <primary sortas='a-tqtinterface'>tqtinterface</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to tqtinterface</title>
|
---|
30 |
|
---|
31 | <para>The <application>tqtinterface</application> package includes
|
---|
32 | libraries that abstract the underlying Qt system from the actual Trinity
|
---|
33 | code, allowing easy, complete upgrades to new versions of Qt. </para>
|
---|
34 |
|
---|
35 | &lfs70_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing='compact'>
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&tqtinterface-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&tqtinterface-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &tqtinterface-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &tqtinterface-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &tqtinterface-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &tqtinterface-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">tqtinterface Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required">
|
---|
63 | <xref linkend="qt"/>
|
---|
64 | </para>
|
---|
65 |
|
---|
66 | <para condition="html" role="usernotes">User Notes:
|
---|
67 | <ulink url="&blfs-wiki;/tqtinterface"/></para>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2 role="installation">
|
---|
72 | <title>Installation of tqtinterface</title>
|
---|
73 |
|
---|
74 | <note><para>When extracted, the <application>tqtinterfac</application> tar
|
---|
75 | file expands into the directory <filename
|
---|
76 | class='directory'>dependencies/tqtinterface</filename>.</para></note>
|
---|
77 |
|
---|
78 | <para>Install <application>tqtinterface</application> by running
|
---|
79 | the following commands:</para>
|
---|
80 |
|
---|
81 | <screen><userinput>sed -i -e '/PKG/s@/usr@${EXEC_INSTALL_PREFIX}@' CMakeLists.txt &&
|
---|
82 | BUILD=/tmp/tqt &&
|
---|
83 | TQT=`pwd` &&
|
---|
84 | rm -rf $BUILD &&
|
---|
85 | mkdir -p $BUILD &&
|
---|
86 | cd $BUILD &&
|
---|
87 |
|
---|
88 | cmake $TQT \
|
---|
89 | -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \
|
---|
90 | -DCMAKE_VERBOSE_MAKEFILE=ON \
|
---|
91 | -DQT_VERSION=3 &&
|
---|
92 |
|
---|
93 | unset TQT BUILD &&
|
---|
94 | make</userinput></screen>
|
---|
95 |
|
---|
96 | <para>This package does not come with a test suite.</para>
|
---|
97 |
|
---|
98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
99 |
|
---|
100 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="commands">
|
---|
105 | <title>Command Explanations</title>
|
---|
106 |
|
---|
107 | <para><userinput>sed ... CMakeLists.txt</userinput>: This command changes
|
---|
108 | the location of <filename>tqt.pc</filename> to the $TRINITY_PREFIX
|
---|
109 | directory hierarchy.</para>
|
---|
110 |
|
---|
111 | <para><userinput>TQT=`pwd`</userinput>: This command saves the
|
---|
112 | location of the source code.</para>
|
---|
113 |
|
---|
114 | <para><userinput>rm -rf $BUIL; mkdir -p $BUILD; cd $BUILD</userinput>: The
|
---|
115 | developers strongly recommend building Trinity components in a directory
|
---|
116 | separate from the source code. These commands ensure a clean starting
|
---|
117 | location for the build process.</para>
|
---|
118 |
|
---|
119 | <para><option>-QT_VERSION=3</option>: This option is required for this
|
---|
120 | package.</para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Programs</segtitle>
|
---|
129 | <segtitle>Installed Libraries</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>convert_qt_tqt1,
|
---|
134 | convert_qt_tqt2,
|
---|
135 | convert_qt_tqt3,
|
---|
136 | dcopidl-tqt,
|
---|
137 | dcopidl2cpp-tqt,
|
---|
138 | dcopidlng-tqt,
|
---|
139 | mcopidl-tqt,
|
---|
140 | moc-tqt,
|
---|
141 | tmoc,
|
---|
142 | tqt-replace,
|
---|
143 | tqt-replace-stream,
|
---|
144 | uic-tqt
|
---|
145 | </seg>
|
---|
146 |
|
---|
147 | <seg>libtqassistantclient.so and libtqt.so</seg>
|
---|
148 |
|
---|
149 | <seg>$TRINITY_PREFIX/include/tqt</seg>
|
---|
150 | </seglistitem>
|
---|
151 | </segmentedlist>
|
---|
152 |
|
---|
153 | <!--
|
---|
154 | TODO
|
---|
155 | <variablelist>
|
---|
156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
157 | <?dbfo list-presentation="list"?>
|
---|
158 | <?dbhtml list-presentation="table"?>
|
---|
159 |
|
---|
160 | <varlistentry id="tqtinterfacec-config">
|
---|
161 | <term><command>tqtinterfacec-config</command></term>
|
---|
162 | <listitem>
|
---|
163 | <para>is a utility to assist developers using the
|
---|
164 | <application>aRts</application> C API.</para>
|
---|
165 | <indexterm zone="aRts tqtinterfacec-config">
|
---|
166 | <primary sortas="b-tqtinterfacec-config">tqtinterfacec-config</primary>
|
---|
167 | </indexterm>
|
---|
168 | </listitem>
|
---|
169 | </varlistentry>
|
---|
170 |
|
---|
171 | <varlistentry id="tqtinterfacecat">
|
---|
172 | <term><command>tqtinterfacecat</command></term>
|
---|
173 | <listitem>
|
---|
174 | <para>is a simple utility to send raw audio data to the sound server.</para>
|
---|
175 | <indexterm zone="aRts tqtinterfacecat">
|
---|
176 | <primary sortas="b-tqtinterfacecat">tqtinterfacecat</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="tqtinterfaced">
|
---|
182 | <term><command>tqtinterfaced</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>is a daemon that provides access to the sound hardware resources.</para>
|
---|
185 | <indexterm zone="aRts tqtinterfaced">
|
---|
186 | <primary sortas="b-tqtinterfaced">tqtinterfaced</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="tqtinterfacedsp">
|
---|
192 | <term><command>tqtinterfacedsp</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>provides an interim solution that allows most of legacy
|
---|
195 | sound applications to run unchanged.</para>
|
---|
196 | <indexterm zone="aRts tqtinterfacedsp">
|
---|
197 | <primary sortas="b-tqtinterfacedsp">tqtinterfacedsp</primary>
|
---|
198 | </indexterm>
|
---|
199 | </listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | <varlistentry id="libaRts">
|
---|
203 | <term><filename class='libraryfile'>aRts Libraries</filename></term>
|
---|
204 | <listitem>
|
---|
205 | <para>contains functions that support <application>aRts</application>
|
---|
206 | programs.</para>
|
---|
207 | <indexterm zone="aRts libaRts">
|
---|
208 | <primary sortas="c-libaRts">aRts Libraries</primary>
|
---|
209 | </indexterm>
|
---|
210 | </listitem>
|
---|
211 | </varlistentry>
|
---|
212 |
|
---|
213 | <varlistentry id="tqtinterfaceplay">
|
---|
214 | <term><command>tqtinterfaceplay</command></term>
|
---|
215 | <listitem>
|
---|
216 | <para>is a simple utility to play a sound file.</para>
|
---|
217 | <indexterm zone="aRts tqtinterfaceplay">
|
---|
218 | <primary sortas="b-tqtinterfaceplay">tqtinterfaceplay</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="tqtinterfacerec">
|
---|
224 | <term><command>tqtinterfacerec</command></term>
|
---|
225 | <listitem>
|
---|
226 | <para>is a simple utility to record audio input.</para>
|
---|
227 | <indexterm zone="aRts tqtinterfacerec">
|
---|
228 | <primary sortas="b-tqtinterfacerec">tqtinterfacerec</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | <varlistentry id="tqtinterfaceshell">
|
---|
234 | <term><command>tqtinterfaceshell</command></term>
|
---|
235 | <listitem>
|
---|
236 | <para>is intended as a utility to perform miscellaneous functions
|
---|
237 | related to the sound server.</para>
|
---|
238 | <indexterm zone="aRts tqtinterfaceshell">
|
---|
239 | <primary sortas="b-tqtinterfaceshell">tqtinterfaceshell</primary>
|
---|
240 | </indexterm>
|
---|
241 | </listitem>
|
---|
242 | </varlistentry>
|
---|
243 |
|
---|
244 | <varlistentry id="tqtinterfacewrapper">
|
---|
245 | <term><command>tqtinterfacewrapper</command></term>
|
---|
246 | <listitem>
|
---|
247 | <para>is a small wrapper program which simply sets real-time priority
|
---|
248 | (running as <systemitem class="username">root</systemitem>)
|
---|
249 | and then executes <command>tqtinterfaced</command> as a non-root user.</para>
|
---|
250 | <indexterm zone="aRts tqtinterfacewrapper">
|
---|
251 | <primary sortas="b-tqtinterfacewrapper">tqtinterfacewrapper</primary>
|
---|
252 | </indexterm>
|
---|
253 | </listitem>
|
---|
254 | </varlistentry>
|
---|
255 |
|
---|
256 | <varlistentry id="mcopidl">
|
---|
257 | <term><command>mcopidl</command></term>
|
---|
258 | <listitem>
|
---|
259 | <para>is the Interface Definition Language (IDL) file compiler for MCOP, the
|
---|
260 | Multimedia Communication Protocol used by <application>aRts</application>.</para>
|
---|
261 | <indexterm zone="aRts mcopidl">
|
---|
262 | <primary sortas="b-mcopidl">mcopidl</primary>
|
---|
263 | </indexterm>
|
---|
264 | </listitem>
|
---|
265 | </varlistentry>
|
---|
266 |
|
---|
267 | </variablelist>
|
---|
268 | -->
|
---|
269 | </sect2>
|
---|
270 |
|
---|
271 | </sect1>
|
---|