source: multimedia/videoutils/mplayer/mplayer-inst.xml@ 1b91c9e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1b91c9e was 1b91c9e, checked in by Igor Živković <igor@…>, 21 years ago

fixed mplayer fonts permissions and ln syntax

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2>
2<title>Installation of <application>MPlayer</application></title>
3
4<note><para>The package maintainers recommend building without any optimization</para></note>
5
6<para>Install <application>MPlayer</application> by running the following commands:</para>
7
8<screen><userinput><command>install -d /usr/lib/mplayer/extralite &amp;&amp;
9tar xjvf ../extralite.tar.bz2 -C /usr/lib/mplayer &amp;&amp;
10./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
11--enable-gui --enable-menu --enable-shared-pp \
12--with-codecsdir=/usr/lib/mplayer/extralite &amp;&amp;
13make &amp;&amp;
14make install &amp;&amp;
15make -C libavcodec/libpostproc install &amp;&amp;
16cp etc/codecs.conf /etc/mplayer &amp;&amp;
17tar xjvf ../default-1.7.tar.bz2 -C /usr/share/mplayer/Skin
18</command></userinput></screen>
19
20<para>If <application>FreeType</application> is in use, the only advantage of prerendered fonts is
21that they are faster. Install them like this:</para>
22
23<screen><userinput><command>tar xjvf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font &amp;&amp;
24chown -R root:root /usr/share/mplayer/font</command></userinput></screen>
25
26<sect3>
27<title>Installation for <acronym>DVD</acronym> playback</title>
28
29<para>If you want <acronym>DVD</acronym> playback with
30<application>MPlayer</application>, you need to make a link
31from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>:</para>
32
33<screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
34
35<para>Replace <replaceable>[dvd drive]</replaceable> with whatever
36device is appropriate, for example <filename>/dev/hdc</filename>. if
37you don't know which device to choose, type:</para>
38
39<screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
40
41<para>It should result in an output like:</para>
42
43<screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
44ATAPI CD/DVD-ROM drive</userinput></screen>
45
46<para>If you have SCSI-Emulation activated for the drives, you'll need
47to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
48same order as in <acronym>IDE</acronym> to the devices named
49<filename>/dev/scd0</filename>,
50<filename>/dev/scd1</filename> and so on.</para>
51
52</sect3>
53
54</sect2>
Note: See TracBrowser for help on using the repository browser.