annotate DOCS/xml/cs/ports.xml @ 18439:1ae44269c7a1

synced with 1.49
author gabrov
date Thu, 11 May 2006 15:12:29 +0000
parents 87b68f46756e
children d851f1841bc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-2"?>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
2 <!-- Synced with: 1.80 -->
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
3 <chapter id="ports" xreflabel="Ports">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
4 <title>Porty</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
5
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
6 <sect1 id="linux">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
7 <title>Linux</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
8 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
9 Hlavní vývojovou platformou je Linux na x86, ačkoli
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
10 <application>MPlayer</application> pracuje na mnoha jiných portech Linuxu.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
11 Binární balíčky <application>MPlayer</application>u jsou dostupné z několika
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
12 zdrojů. Nicméně <emphasis role="bold">není žádný z těchto balíčků podporován</emphasis>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
13 Hlaste tedy problémy jejich autorům, nikoli nám.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
14 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
15
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
16 <sect2 id="debian">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
17 <title>Vytvoření balíčku pro Debian</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
18 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
19 Pro vytvoření balíčku pro Debian spusťte následující příkaz v adresáři se
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
20 zdrojovým kódem <application>MPlayer</application>u:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
21
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
22 <screen>fakeroot debian/rules binary</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
23
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
24 Pokud chcete předat nějaké volby pro configure, můžete nastavit proměnnou
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
25 prostředí <envar>DEB_BUILD_OPTIONS</envar>. Například, pokud chcete GUI a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
26 podporu OSD menu, měli byste použít:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
27
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
28 <screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
29
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
30 Rovněž můžete předat některé proměnné do Makefile. Například, pokud chcete
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
31 kompilovat pomocí gcc 3.4 i v případě, že to není výchozí kompilátor:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
32
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
33 <screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
34
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
35 K vyčistění zdrojového stromu spusťte následující příkaz:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
36
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
37 <screen>fakeroot debian/rules clean</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
38
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
39 Jako root můžete nainstalovat <filename>.deb</filename> balíček obvyklým
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
40 způsobem:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
41
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
42 <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
43 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
44
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
45 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
46 Christian Marillat vytvářel jistou dobu neoficiální Debianí balíčky
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
47 <application>MPlayer</application>u, <application>MEncoder</application>u a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
48 našich bitmapových fontů, můžete si je stáhnout (apt-get) z
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
49 <ulink url="http://hpisi.nerim.net/">jeho domácí stránky</ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
50 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
51 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
52
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
53 <sect2 id="rpm">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
54 <title>Balení RPM</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
55 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
56 Dominik Mierzejewski vytvořil a udržuje oficiální RPM balíčky
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
57 <application>MPlayer</application>u pro Red Hat a Fedora Core. Ty jsou dostupné
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
58 z jeho
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
59 <ulink url="http://rpm.greysector.net/mplayer/">repozitáře</ulink>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
60 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
61
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
62 <para>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
63 RPM balíčky pro Mandrake/Mandriva jsou dostupné z
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
64 <ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
65 SuSE zařadilo do své distribuce zmrzačenou verzi
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
66 <application>MPlayer</application>u. V posledních verzích ji odstranili. Funkční
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
67 RPM naleznete na
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
68 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
69 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
70 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
71
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
72 <sect2 id="arm">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
73 <title>ARM</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
74 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
75 <application>MPlayer</application> pracuje na Linuxových PDA s ARM CPU např.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
76 Sharp Zaurus, Compaq Ipaq. Nejjednodušší způsob jak si opatřit
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
77 <application>MPlayer</application> je, stáhnout si jej z některého
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
78 <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> balíčkového kanálu.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
79 Pokud si jej chcete skompilovat sami, měli byste nahlédnout do adresáře
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
80 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
81 a
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
82 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
83 v buildroot OpenZaurus distribuce. Zde mají vždy poslední Makefile a patche používané
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
84 pro sestavení CVS verze <application>MPlayer</application>u s
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
85 <systemitem class="library">libavcodec</systemitem>em.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
86 Pokud potřebujete GUI rozhraní, můžete použít xmms-embedded.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
87 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
88 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
89 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
90
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
91 <sect1 id="bsd">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
92 <title>*BSD</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
93 <para>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
94 <application>MPlayer</application> běží na všech známých BSD verzích.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
95 Existují portované/pkgsrc/fink/atd verze
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
96 <application>MPlayer</application>u, které lze pravděpodobně snadněji použít,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
97 než naše surové zdrojové kódy.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
98 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
99
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
100 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
101 K sestavení <application>MPlayer</application>u budete potřebovat GNU make
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
102 (gmake - nativní BSD make nebude pracovat) a současnou verzi binutils.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
103 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
104
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
105 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
106 Pokud si <application>MPlayer</application> stěžuje, že nemůže najít
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
107 <filename>/dev/cdrom</filename> nebo <filename>/dev/dvd</filename>,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
108 vytvořte příslušný symbolický link:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
109 <screen>ln -s /dev/<replaceable>vaše_cdrom_zařízení</replaceable> /dev/cdrom</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
110 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
111
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
112 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
113 Chcete-li používat Win32 DLL v <application>MPlayer</application>u, budete muset
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
114 rekompilovat jádro s volbou &quot;<envar>USER_LDT</envar>&quot;
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
115 (pokud nepoužíváte FreeBSD-CURRENT, kde je to výchozí).
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
116 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
117
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
118
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
119 <sect2 id="freebsd">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
120 <title>FreeBSD</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
121 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
122 Pokud váš procesor má SSE, rekompilujte jádro s volbami
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
123 &quot;<envar>CPU_ENABLE_SSE</envar>&quot; (vyžaduje FreeBSD-STABLE nebo patche
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
124 do jádra).
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
125 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
126 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
127
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
128 <sect2 id="openbsd">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
129 <title>OpenBSD</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
130 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
131 Vzhledem k omezením v různých verzích gas (GNU assembleru &ndash; pozn. překl.)
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
132 (relokace vs MMX), budete muset kompilovat ve dvou krocích:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
133 Nejprve se ujistěte že je nenativní as jako první ve vaší <envar>$PATH</envar>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
134 a proveďte <command>gmake -k</command>, pak zajistěte, aby se použila nativní
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
135 verze a proveďte <command>gmake</command>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
136 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
137 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
138 Od OpenBSD 3.4 není již výše uvedená metoda potřeba.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
139 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
140 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
141
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
142 <sect2 id="darwin">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
143 <title>Darwin</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
144 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
145 Viz sekce <link linkend="macos">Mac OS</link>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
146 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
147 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
148 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
149
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
150 <sect1 id="unix">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
151 <title>Komerční Unix</title>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
152
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
153 <para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
154 <application>MPlayer</application> byl portován na mnoho komerčních variant
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
155 Unixu. Jelikož vývojová prostředí na těchto systémech bývají odlišná od těch
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
156 na svobodných Unixech, budete muset provést ruční úpravy, aby se kompilace
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
157 povedla.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
158 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
159
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
160 <sect2 id="solaris">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
161 <title>Solaris</title>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
162 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
163 <application>MPlayer</application> by měl běžet na Solarisu 2.6 nebo novějším.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
164 Použijte SUN audio rozhraní pomocí volby <option>-ao sun</option> pro přehrávání
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
165 zvuku.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
166 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
167
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
168 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
169 Na <emphasis role="bold">UltraSPARC</emphasis>ích, <application>MPlayer</application>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
170 využívá jejich rozšíření <emphasis role="bold">VIS</emphasis>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
171 (ekvivalentní MMX), zatím jen v
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
172 <systemitem class="library">libmpeg2</systemitem>,
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
173 <systemitem class="library">libvo</systemitem>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
174 a <systemitem class="library">libavcodec</systemitem>, ale nikoli v
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
175 <systemitem class="library">mp3lib</systemitem>. Můžete přehrávat VOB soubor
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
176 na 400MHz CPU. Budete k tomu potřebovat nainstalovanou
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
177 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
178 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
179
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
180 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
181 Pro kompilaci balíku budete potřebovat GNU <application>make</application>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
182 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), jelikož
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
183 nativní make Solarisu nebude pracovat. Typickou chybou kompilace s make
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
184 Solarisu namísto GNU make je:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
185 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
186 % /usr/ccs/bin/make
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
187 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
188 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
189 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
190
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
191 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
192 Na Solarisu SPARC, potřebujete GNU C/C++ Compiler; nezáleží na tom, zda je
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
193 GNU C/C++ compiler konfigurován s nebo bez GNU assembleru.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
194 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
195
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
196 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
197 Na Solarisu x86, potřebujete GNU assembler a GNU C/C++ compiler,
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
198 konfigurovaný pro použití GNU assembleru! Kód <application>MPlayer</application>u
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
199 na platformě x86 intenzivně používá MMX, SSE a 3DNOW! instrukce,
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
200 které nemůže být kompilovány Sun assemblerem <filename>/usr/ccs/bin/as</filename>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
201 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
202
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
203 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
204 Skript <filename>configure</filename> zkouší zjistit, který assembler je použitý
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
205 vaším příkazem &quot;gcc&quot; (v případě že autodetekce selže, použijte volbu
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
206 <option>--as=<replaceable>/kdekoli/máte/nainstalován/gnu-as</replaceable></option>
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
207 pro nastavení <filename>configure</filename> skriptu tak, aby našel GNU
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
208 "as" na vašem systému).
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
209 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
210
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
211 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
212 Chybová zpráva z <filename>configure</filename> na systému Solaris x86
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
213 s použitím GCC bez GNU assembleru:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
214 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
215 % configure
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
216 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
217 Checking assembler (/usr/ccs/bin/as) ... , failed
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
218 Please upgrade(downgrade) binutils to 2.10.1...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
219 </screen>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
220 (Řešení: Nainstalujte a použijte gcc konfigurovaný s <option>--with-as=gas</option>)
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
221 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
222
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
223 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
224 Typická chyba, kterou dostanete při kompilaci pomocí GNU C kompilátoru, který
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
225 nepoužívá GNU as:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
226 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
227 % gmake
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
228 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
229 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
230 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
231 Assembler: mplayer.c
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
232 "(stdin)", line 3567 : Illegal mnemonic
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
233 "(stdin)", line 3567 : Syntax error
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
234 ... more "Illegal mnemonic" and "Syntax error" errors ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
235 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
236 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
237
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
238 <para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
239 Díky chybám v Solarisu 8, nemůžete přehrávat DVD disky větší než 4 GB:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
240 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
241
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
242 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
243 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
244 Ovladač sd(7D) na Solarisu 8 x86 má chybu v přístupu k diskovému bloku >4GB
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
245 na zařízeních, které mají logical blocksize != DEV_BSIZE (čili CD-ROM a DVD média).
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
246 Díky 32Bit int overflow, dostanete přístupovou diskovou adresu modulo 4GB
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
247 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
248 Tento problém neexistuje ve SPARC verzi Solarisu 8.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
249 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
250
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
251 <listitem><para>
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
252 Podobná chyba je i v kódu systému souborů hsfs(7FS) (AKA ISO9660),
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
253 hsfs nemusí podporovat oddíly/disky větší než 4GB, ke všem datům je přistupováno
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
254 modulo 4GB
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
255 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
15677
5aae2e679c4c SPARC section translation
jheryan
parents: 15496
diff changeset
256 Problém hsfs může být odstraněn nainstalováním patche 109764-04 (sparc) / 109765-04 (x86).
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
257 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
258 </itemizedlist>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
259 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
260
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
261 <sect2 id="irix">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
262 <title>IRIX</title>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
263 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
264 Můžete buď zkusit nainstalovat program GNU install a (pokud jste si ho
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
265 nedali do globální cesty) odkázat na jeho umístění pomocí:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
266 <screen>./configure --with-install=<replaceable>/cesta/a/název/programu/install</replaceable></screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
267 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
268
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
269 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
270 nebo můžete použít výchozí install dodávaný s IRIXem 6.5. V tom případě
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
271 budete muset ručně upravit <filename>Makefile</filename>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
272 Změňte následující dva řádky:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
273 <programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
274 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
275
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
276 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
277 </programlisting>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
278 na:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
279 <programlisting>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
280 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
281
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
282 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
283 </programlisting>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
284 Pak spusťte (z adresáře se zdrojovými kódy <application>MPlayer</application>u):
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
285 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
286 a pokračujte kompilací a instalací.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
287 </para>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
288 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
289
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
290
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
291 <sect2 id="hp-ux">
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
292 <title>HP-UX</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
293 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
294 Joe Page hostuje podrobné HP-UX <application>MPlayer</application>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
295 <ulink url="http://users.rcn.com/joepage/mplayer_on_hpux11.htm">HOWTO</ulink>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
296 od Martina Ganssera na jeho domácí stránce. Podle těchto instrukcí by kompilace
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
297 měla proběhnout bez potíží. Následující informace jsou vytaženy ze zmíněného
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
298 HOWTO.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
299 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
300
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
301 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
302 Potřebujete GCC 3.4.0 nebo pozdější, GNU make 3.80 nebo pozdější a SDL 1.2.7 nebo pozdější.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
303 HP cc nevytvoří funkční program, předchozí verze GCC jsou chybové.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
304 Pro funkci OpenGL musíte nainstalovat Mesa a video rozhraní gl a gl2 by měly
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
305 pracovat. Jejich rychlost však může být velmi malá, podle rychlosti CPU.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
306 Dobrou náhradou za spíše slabý nativní HP-UX systém je GNU esound.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
307 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
308
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
309 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
310 Vytvořte DVD zařízení průzkumem SCSI pomocí:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
311 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
312
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
313 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
314 # ioscan -fn
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
315
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
316 Class I H/W Path Driver S/W State H/W Type Description
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
317 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
318 ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
319 target 3 8/16/5.2 tgt CLAIMED DEVICE
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
320 disk 4 8/16/5.<emphasis role="bold">2</emphasis>.<emphasis role="bold">0</emphasis> sdisk CLAIMED DEVICE <emphasis role="bold">PIONEER DVD-ROM DVD-305</emphasis>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
321 /dev/dsk/c1t2d0 <emphasis role="bold">/dev/rdsk/c1t2d0</emphasis>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
322 target 4 8/16/5.7 tgt CLAIMED DEVICE
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
323 ctl <emphasis role="bold">1</emphasis> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
324 /dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
325 ...
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
326 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
327
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
328 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
329 Výstup na obrazovce ukazuje Pioneer DVD-ROM na SCSI adrese 2.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
330 Instance karty pro hardwarovou cestu 8/16 je 1.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
331 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
332
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
333 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
334 Vytvořte link ze surového zařízení na DVD zařízení.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
335 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
336
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
337 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
338 # ln -s /dev/rdsk/c<replaceable>&lt;SCSI bus instance&gt;</replaceable>t<replaceable>&lt;SCSI target ID&gt;</replaceable>d<replaceable>&lt;LUN&gt;</replaceable> /dev/<replaceable>&lt;device&gt;</replaceable>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
339 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
340
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
341 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
342 Příklad:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
343 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
344
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
345 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
346 # ln -s /dev/rdsk/c1t2d0 /dev/dvd
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
347 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
348
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
349 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
350 Níže uvádíme řešení některých běžných problémů:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
351 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
352
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
353 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
354 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
355 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
356 Spadne při startu s hlášením:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
357 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
358 /usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
359 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
360 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
361
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
362 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
363 To znamená, že funkce <systemitem>.finite().</systemitem> není
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
364 dostupná ve standardní HP-UX matematické knihovně.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
365 Místo ní je zde <systemitem>.isfinite().</systemitem>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
366 Řešení: Použijte poslední Mesa depot soubor.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
367 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
368 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
369
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
370 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
371 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
372 Spadne při přehrávání s hlášením:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
373 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
374 /usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
375 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
376 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
377
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
378 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
379 Řešení: Použijte volbu extralibdir v configure
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
380 <option>--with-extralibdir="/usr/lib -lrt"</option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
381 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
382 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
383
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
384 <listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
385 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
386 MPlayer havaruje (segfault) s hlášením:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
387 <screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
388 Pid 10166 received a SIGSEGV for stack growth failure.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
389 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
390 Segmentation fault
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
391 </screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
392 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
393
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
394 <para>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
395 Řešení:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
396 HP-UX kernel má výchozí velikost zásobníku 8MB(?) na proces.(11.0 a
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
397 novější 10.20 patche vám umožní zvýšit <systemitem>maxssiz</systemitem> až na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
398 350MB pro 32-bit programy). Musíte zvětšit <systemitem>maxssiz</systemitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
399 a rekompilovat kernel (a restartovat). Pro tento účel můžete použít SAM. (Když
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
400 už to budete dělat, ověřte parametr <systemitem>maxdsiz</systemitem> pro
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
401 maximální množství paměti, které může program použít. Závisí na vašich
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
402 aplikacích, jestli je výchozích 64MB dost nebo ne.)
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
403 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
404 </listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
405 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
406
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
407 </sect2>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
408
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
409 <sect2 id="aix">
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
410 <title>AIX</title>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
411 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
412 <application>MPlayer</application> lze úspěšně přeložit na AIX 5.1,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
413 5.2 a 5.3, pomocí GCC 3.3 nebo vyšší. Kompilace
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
414 <application>MPlayer</application>u na AIX 4.3.3 a nížsích nebyla
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
415 testována. Velmi doporučujeme kompilovat
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
416 <application>MPlayer</application> pomocí GCC 3.4 nebo vašší,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
417 nebo pokud kompilujete na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
418 POWER5, vyžaduje se GCC 4.0.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
419 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
420
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
421 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
422 Ujistěte se, že používáte GNU make
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
423 (<filename>/opt/freeware/bin/gmake</filename>) pro sestavení
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
424 <application>MPlayer</application>u, jelikož při použití
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
425 <filename>/usr/ccs/bin/make</filename> budete mít problémy.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
426 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
427
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
428 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
429 Detekce procesoru je stále nedokončena.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
430 Testovány byly následující architektury:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
431 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
432
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
433 <itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
434 <listitem><para>604e</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
435 <listitem><para>POWER4</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
436 </itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
437
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
438 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
439 Následující architektury nebyly testovány, ale měly by pracovat:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
440 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
441 <itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
442 <listitem><para>POWER</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
443 <listitem><para>POWER2</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
444 <listitem><para>POWER3</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
445 <listitem><para>POWER5</para></listitem>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
446 </itemizedlist>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
447
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
448 <para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
449 Zvuk přes Ultimedia Services není podporován, jelikož Ultimedia byla
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
450 opuštěna v AIX 5.1; tudíš je jedinou možností použití ovladačů AIX Open
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
451 Sound System (OSS) od 4Front Technologies z <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
452 url="http://www.opensound.com/aix.html">http://www.opensound.com/aix.html</ulink>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
453 4Front Technologies dodává OSS ovladače zdarma pro osobní a nekomerční využití.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
454 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
455
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
456 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
457 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
458
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
459 <sect1 id="windows">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
460 <title>Windows</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
461
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
462 <para>Ano, <application>MPlayer</application> běží na Windows pod
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
463 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> a
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
464 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>.
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
465 Nemá zatím oficiální GUI, ale verze pro příkazový řádek je plně funkční.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
466 Měli byste navštívit konferenci
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
467 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink>
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
468 pro pomoc a poslední informace.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
469 Oficiální Windows binárky naleznete na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
470 <ulink url="http://www.mplayerhq.hu/design7/dload.html">download stránce</ulink>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
471 Instalátor a jednoduché GUI frontendy jsou dostupné z externích zdrojů.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
472 Odkazy na ně jsme umístili v sekci Windows na naší
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
473 <ulink url="http://www.mplayerhq.hu/design7/projects.html#windows">stránce s
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
474 projekty</ulink>.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
475 </para>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
476
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
477 <para>Pokud se chcete vyhnout použití příkazové řádky, můžete použít malý trik
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
478 s umístěním zástupce na pracovní plochu, který bude obsahovat v sekci
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
479 spuštění něco takového:
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
480 <screen><replaceable>c:\cesta\k\</replaceable>mplayer.exe %1</screen>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
481 To nechá <application>MPlayer</application> přehrát jakýkoli film, který je
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
482 přetažen na zástupce. Přidejte <option>-fs</option> pro celoobrazovkový
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
483 režim.
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
484 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
485
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
486 <para>Nejlepších výsledků dosáhnete použitím nativního DirectX video rozhraní
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
487 (<option>-vo directx</option>). Alternativami jsou OpenGL a SDL, ale výkon
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
488 OpenGL se velmi různí na jednotlivých systémech a o SDL je známo, že na
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
489 některých systémech drobí video nebo padá. Pokud je obraz rozsypán, zkuste
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
490 vypnout hardwarovou akceleraci pomocí
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
491 <option>-vo directx:noaccel</option>. Stáhněte si
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
492 <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
493 url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">hlavičkové
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
494 soubory DirectX 7</ulink>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
495 pro kompilaci výstupního rozhraní DirectX. Navíc budete muset mít
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
496 nainstalovány DirectX 7 nebo vyšší, aby rozhraní pracovalo.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
497 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
498
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
499 <para><link linkend="vidix">VIDIX</link> nyní pracuje pod Windows jako
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
500 <option>-vo winvidix</option>, ačkoli je stále experimentální
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
501 a vyžaduje trochu manuálního nastavování. Stáhněte si
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
502 <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
503 url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> nebo
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
504 <ulink
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
505 url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (s podporou MTRR)</ulink>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
506 a zkopírujte jej do adresáře
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
507 <filename class="directory">libdha/dhahelperwin</filename> ve svém stromě se
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
508 zdrojovými kódy <application>MPlayer</application>u.
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
509 Otevřete konzoli a přesuňte se do tohoto adresáře. Pak zadejte
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
510
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
511 <screen>gcc -o dhasetup.exe dhasetup.c</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
512
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
513 a spusťte
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
514
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
515 <screen>dhasetup.exe install</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
516
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
517 jako Administrator. Pak budete muset restartovat. Jakmile budete hotovi,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
518 zkopírujte <systemitem class="library">.so</systemitem> soubory z
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
519 <filename class="directory">vidix/drivers</filename> do adresáře
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
520 <filename class="directory">mplayer/vidix</filename>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
521 relativního k vašemu <filename>mplayer.exe</filename>.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
522
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
523 <para>Pro nejlepší výsledky by měl <application>MPlayer</application> používat
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
524 barevný prostor, který podporuje vaše video karta v hardware. Naneštěstí
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
525 některé Windows ovladače grafických karet špatně hlásí některé barevné
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
526 prostory jako podporované v hardware. Chcete-li zjistit které, zkuste
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
527
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
528 <screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>barevny_prostor</replaceable> <replaceable>film</replaceable></screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
529
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
530 kde <replaceable>barevny_prostor</replaceable> může být barevný prostor
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
531 vypsaný volbou <option>-vf format=fmt=help</option>. Pokud najdete
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
532 barevný prostor, který vaše karta zvládá zjevně špatně,
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
533 <option>-vf noformat=<replaceable>barevny_prostor</replaceable></option>
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
534 zakáže jeho použití. Přidejte si to do vašeho konfig souboru, aby zůstal
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
535 zakázán natrvalo.</para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
536
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
537 <para>There are special codec packages for Windows available on our
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17375
diff changeset
538 <ulink url="http://www.mplayerhq.hu/design7/codecs.html">codecs page</ulink>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
539 to allow playing formats for which there is no native support yet.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
540 Put the codecs somewhere in your path or pass
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
541 <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
542 (alternatively
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
543 <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
544 only on <application>Cygwin</application>) to <filename>configure</filename>.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
545 We have had some reports that Real DLLs need to be writable by the user
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
546 running <application>MPlayer</application>, but only on some systems (NT4).
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
547 Try making them writable if you have problems.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
548
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
549 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
550 that Windows exposes on VCDs. It works like this (adjust for the drive letter
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
551 of your CD-ROM):</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
552
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
553 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
554
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
555 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
556 of your DVD-ROM:</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
557
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
558 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
559
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
560 <para>The <application>Cygwin</application>/<application>MinGW</application>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
561 console is rather slow. Redirecting output or using the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
562 <option>-quiet</option> option has been reported to improve performance on
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
563 some systems. Direct rendering (<option>-dr</option>) may also help.
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
564 If playback is jerky, try
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
565 <option>-autosync 100</option>. If some of these options help you, you
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
566 may want to put them in your config file.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
567
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
568 <note>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
569
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
570 <para>On Windows the runtime CPU detection disables SSE support
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
571 because of recurring and hard-to-trace SSE-related crashes. If you
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
572 wish to have SSE support under Windows, you will have to compile without
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
573 runtime CPU-detection.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
574 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
575
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
576 <para>If you have a Pentium 4 and are experiencing a crash using the
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
577 RealPlayer codecs, you may need to disable hyperthreading support.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
578 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
579
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
580 </note>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
581
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
582
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
583 <sect2 id="cygwin">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
584 <title><application>Cygwin</application></title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
585
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
586 <para>You need to run <application>Cygwin</application> 1.5.0 or later in
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
587 order to compile <application>MPlayer</application>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
588
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
589 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
590 <filename class="directory">/usr/local/include/</filename>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
591
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
592 <para>Instructions and files for making SDL run under
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
593 <application>Cygwin</application> can be found on the
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
594 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
595
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
596 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
597
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
598
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
599 <sect2 id="mingw">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
600 <title><application>MinGW</application></title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
601
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
602 <para>Installing a version of <application>MinGW</application> that could
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
603 compile <application>MPlayer</application> used to be quite tricky, but it
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
604 works out of the box now. Just install <application>MinGW</application>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
605 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
606 <application>MinGW</application> is installed.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
607
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
608 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
609
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
610 <para>MOV compressed header support requires
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
611 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
612 <application>MinGW</application> does not provide by default.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
613 Configure it with <option>--prefix=/mingw</option> and install
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
614 it before compiling <application>MPlayer</application>.</para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
615
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
616 <para>Complete instructions for building <application>MPlayer</application>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
617 and necessary libraries can be found in the
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
618 <ulink url="http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>.</para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
619
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
620 </sect2>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
621
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
622
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
623 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
624
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
625 <sect1 id="macos">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
626 <title>Mac OS</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
627 <para>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
628 <application>MPlayer</application> does not work on Mac OS versions before
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
629 10, but should compile out-of-the-box on Mac OS X 10.2 and up.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
630 The preferred compiler is the Apple version of
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
631 GCC 3.x or later. If you have Mac OS X 10.3.9 or later and QuickTime 7
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
632 you can use the macosx video output driver.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
633 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
634
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
635 <sect2 id="osx_gui">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
636 <title>MPlayer OS X GUI</title>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
637
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
638 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
639 You can get a native GUI for <application>MPlayer</application> together with
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
640 precompiled <application>MPlayer</application> binaries for Mac OS X from the
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
641 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> project, but be
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
642 warned: that project is not active anymore.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
643 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
644
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
645 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
646 Fortunately, <application>MPlayerOSX</application> has been taken over
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
647 by a member of the <application>MPlayer</application> team.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
648 Preview releases are available from our
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
649 <ulink url="http://mplayerhq.hu/dload.html">download page</ulink>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
650 and an official release should arrive soon.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
651 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
652
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
653 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
654 In order to build <application>MPlayerOSX</application> from source
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
655 yourself, you need the <systemitem>mplayerosx</systemitem>, the
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
656 <systemitem>main</systemitem> and a copy of the
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
657 <systemitem>main</systemitem> CVS module named
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
658 <systemitem>main_noaltivec</systemitem>.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
659 <systemitem>mplayerosx</systemitem> is the GUI frontend,
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
660 <systemitem>main</systemitem> is MPlayer and
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
661 <systemitem>main_noaltivec</systemitem> is MPlayer built without AltiVec
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
662 support.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
663 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
664
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
665 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
666 To check out CVS modules use:
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
667
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
668 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
669 cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
670 cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P mplayerosx
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
671 cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
672 </screen>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
673 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
674
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
675 <para>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
676 In order to build <application>MPlayerOSX</application> you will need to
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
677 set up something like this:
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
678
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
679 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
680 MPlayer_source_directory
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
681 |
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
682 |--->main (MPlayer CVS source)
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
683 |
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
684 |--->main_noaltivec (MPlayer CVS source configured with --disable-altivec)
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
685 |
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
686 |--->mplayerosx (MPlayer OS X CVS source)
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
687 </screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
688
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
689 You first need to build main and main_noaltivec.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
690 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
691
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
692 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
693 Next, set a global variable:
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
694
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
695 <screen>export MACOSX_DEPLOYMENT_TARGET=10.3</screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
696 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
697
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
698 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
699 Then, configure:
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
700 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
701
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
702 <para>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
703 If you configure for a G4 or later CPU with AltiVec support, do as follows:
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
704 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
705 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
706 </screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
707 If you configure for a G3-powered machine without AltiVec, use:
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
708 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
709 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
710 --disable-altivec
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
711 </screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
712 You may need to edit <filename>config.mak</filename> and change
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
713 <systemitem>-mcpu</systemitem> and <systemitem>-mtune</systemitem>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
714 from <systemitem>74XX</systemitem> to <systemitem>G3</systemitem>.
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
715 </para>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
716
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
717 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
718 Continue with
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
719 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
720 make
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
721 </screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
722 then go to the mplayerosx directory and type
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
723
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
724 <screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
725 make dist
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
726 </screen>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
727 This will create a compressed <systemitem>.dmg</systemitem> archive
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
728 with the ready to use binary.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
729 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
730
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
731 <para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
732 You can also use the <application>Xcode</application> 2.1 project;
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
733 the old project for <application>Xcode</application> 1.x does
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
734 not work anymore.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
735 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
736 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
737 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
738
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
739 <sect1 id="exotic_platforms">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
740 <title>Exotic Platforms</title>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
741
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
742 <para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
743 <application>MPlayer</application> runs on a number of exotic platforms,
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
744 but most of the platform-specific changes from those systems have not been
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
745 merged back into the main source tree.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
746 For build instructions you should refer to the system-specific documentation.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
747 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
748
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
749 <sect2 id="qnx">
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
750 <title>QNX</title>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
751 <para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
752 You'll need to download and install SDL for QNX. Then run
18276
87b68f46756e Synced with 1.80
jheryan
parents: 17706
diff changeset
753 <application>MPlayer</application> with <option>-vo sdl:driver=photon</option>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
754 and <option>-ao sdl:nto</option> options, it should be fast.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
755 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
756
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
757 <para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
758 The <option>-vo x11</option> output will be even slower than on Linux,
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
759 since QNX has only X <emphasis>emulation</emphasis> which is very slow.
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
760 </para>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
761 </sect2>
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
762
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
763 <sect2 id="amiga">
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
764 <title>Amiga/MorphOS (GeekGadgets)</title>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
765 <para>
16568
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
766 The people over at <ulink url="www.amigasoft.net">www.amigasoft.net</ulink>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
767 make current <application>MPlayer</application> and
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
768 <application>MEncoder</application> packages.
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
769 </para>
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
770
78a6e833472f synced with 1.70
jheryan
parents: 15687
diff changeset
771 <para>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
772 Nicholas Det at Genesi has done a big and powerful port of <application>MPlayer
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
773 </application> for MorphOS. Sadly it's based on the 0.90 series.
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
774 </para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
775
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
776 <para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
777 Get if from <ulink url="http://www.morphzone.org/">MorphZone</ulink>:
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
778 <itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
779 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
780 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
781 <application>MPlayer</application> 0.91 binary</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
782 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
783 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
784 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
785 <application>MPlayer</application> 0.91 source</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
786 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
787 <listitem><para>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
788 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92">
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
789 <application>MEncoder</application> 1.0pre3 binary</ulink>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
790 </para></listitem>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
791 </itemizedlist>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
792 </para>
17375
654b2a611db5 Synced with 1.76
jheryan
parents: 16568
diff changeset
793 </sect2>
15496
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
794 </sect1>
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
795
99b823247dfd Synced to 1.60
jheryan
parents:
diff changeset
796 </chapter>