~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to DOCS/HTML/cs/macos.html

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:45:33 UTC
  • Revision ID: siretart@tauware.de-20060708084533-dbc155bde7122e78
imported mplayer_0.99+1.0pre7try2+cvs20060117

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>11.5. Mac OS</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimedi�ln� p&#345;ehr�va&#269;"><link rel="up" href="ports.html" title="Kapitola 11. Porty"><link rel="prev" href="windows.html" title="11.4. Windows"><link rel="next" href="exotic_platforms.html" title="11.6. Exotic Platforms"><link rel="preface" href="howtoread.html" title="Jak &#269;�st tuto  dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. P&#345;edstaven�"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Pou&#382;it�"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it� CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. &#268;asto Kladen� Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn� form�ty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. V�stupn� video za&#345;�zen�/rozhran�"><link rel="chapter" href="audio.html" title="Kapitola 9. V�stupn� zvukov� za&#345;�zen�"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="ports.html" title="Kapitola 11. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 12. Z�kladn� pou&#382;it� MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 13. Enk�dov�n� s MEncoderem"><link rel="appendix" href="mailinglists.html" title="P&#345;�loha A. E-mailov� konference"><link rel="appendix" href="bugreports.html" title="P&#345;�loha B. Jak hl�sit chyby"><link rel="appendix" href="bugs.html" title="P&#345;�loha C. Zn�m� chyby"><link rel="appendix" href="skin.html" title="P&#345;�loha D. Form�t skin&#367; MPlayeru"><link rel="appendix" href="users-vs-dev.html" title="P&#345;�loha E. N�&#345;ky v�voj�&#345;&#367;"><link rel="subsection" href="macos.html#osx_gui" title="11.5.1. MPlayer OS X GUI"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">11.5. Mac OS</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="windows.html">P&#345;edch�zej�c�</a>�</td><th width="60%" align="center">Kapitola 11. Porty</th><td width="20%" align="right">�<a accesskey="n" href="exotic_platforms.html">Dal&#353;�</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="macos"></a>11.5. Mac OS</h2></div></div></div><p>
 
2
<span class="application">MPlayer</span> does not work on Mac OS versions before
 
3
10, but should compile out-of-the-box on Mac OS X 10.2 and up.
 
4
The preferred compiler is the Apple version of
 
5
GCC 3.x or later. If you have Mac OS X 10.3.9 or later and QuickTime 7
 
6
you can use the macosx video output driver.
 
7
</p><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="osx_gui"></a>11.5.1. MPlayer OS X GUI</h3></div></div></div><p>
 
8
You can get a native GUI for <span class="application">MPlayer</span> together with
 
9
precompiled <span class="application">MPlayer</span> binaries for Mac OS X from the
 
10
<a href="http://mplayerosx.sf.net/" target="_top">MPlayerOSX</a> project, but be
 
11
warned: that project is not active anymore.
 
12
</p><p>
 
13
Fortunately, <span class="application">MPlayerOSX</span> has been taken over
 
14
by a member of the <span class="application">MPlayer</span> team.
 
15
Preview releases are available from our
 
16
<a href="http://mplayerhq.hu/dload.html" target="_top">download page</a>
 
17
and an official release should arrive soon.
 
18
</p><p>
 
19
In order to build <span class="application">MPlayerOSX</span> from source
 
20
yourself, you need the <code class="systemitem">mplayerosx</code>, the
 
21
<code class="systemitem">main</code> and a copy of the
 
22
<code class="systemitem">main</code> CVS module named
 
23
<code class="systemitem">main_noaltivec</code>.
 
24
<code class="systemitem">mplayerosx</code> is the GUI frontend,
 
25
<code class="systemitem">main</code> is MPlayer and
 
26
<code class="systemitem">main_noaltivec</code> is MPlayer built without AltiVec
 
27
support.
 
28
</p><p>
 
29
To check out CVS modules use:
 
30
 
 
31
</p><pre class="screen">
 
32
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
 
33
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P mplayerosx
 
34
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
 
35
</pre><p>
 
36
</p><p>
 
37
In order to build <span class="application">MPlayerOSX</span> you will need to
 
38
set up something like this:
 
39
 
 
40
</p><pre class="screen">
 
41
MPlayer_source_directory
 
42
   |
 
43
   |---&gt;main           (MPlayer CVS source)
 
44
   |
 
45
   |---&gt;main_noaltivec (MPlayer CVS source configured with --disable-altivec)
 
46
   |
 
47
   |---&gt;mplayerosx     (MPlayer OS X CVS source)
 
48
</pre><p>
 
49
 
 
50
You first need to build main and main_noaltivec.
 
51
</p><p>
 
52
Next, set a global variable:
 
53
 
 
54
</p><pre class="screen">export MACOSX_DEPLOYMENT_TARGET=10.3</pre><p>
 
55
</p><p>
 
56
Then, configure:
 
57
</p><p>
 
58
If you configure for a G4 or later CPU with AltiVec support, do as follows:
 
59
</p><pre class="screen">
 
60
./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
 
61
</pre><p>
 
62
If you configure for a G3-powered machine without AltiVec, use:
 
63
</p><pre class="screen">
 
64
./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
 
65
--disable-altivec
 
66
</pre><p>
 
67
You may need to edit <tt class="filename">config.mak</tt> and change
 
68
<code class="systemitem">-mcpu</code> and <code class="systemitem">-mtune</code>
 
69
from <code class="systemitem">74XX</code> to <code class="systemitem">G3</code>.
 
70
</p><p>
 
71
Continue with
 
72
</p><pre class="screen">
 
73
make
 
74
</pre><p>
 
75
then go to the mplayerosx directory and type
 
76
 
 
77
</p><pre class="screen">
 
78
make dist
 
79
</pre><p>
 
80
This will create a compressed <code class="systemitem">.dmg</code> archive
 
81
with the ready to use binary.
 
82
</p><p>
 
83
You can also use the <span class="application">Xcode</span> 2.1 project;
 
84
the old project for <span class="application">Xcode</span> 1.x does
 
85
not work anymore.
 
86
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="windows.html">P&#345;edch�zej�c�</a>�</td><td width="20%" align="center"><a accesskey="u" href="ports.html">Nahoru</a></td><td width="40%" align="right">�<a accesskey="n" href="exotic_platforms.html">Dal&#353;�</a></td></tr><tr><td width="40%" align="left" valign="top">11.4. Windows�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Dom&#367;</a></td><td width="40%" align="right" valign="top">�11.6. Exotic Platforms</td></tr></table></div></body></html>