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