From 050f3333290171b0bb4fd47717e5f2ea8bf10f00 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 28 Oct 2002 00:44:17 +0000 Subject: [PATCH] Unified BSD sections, expanded Cygwin section, small fixes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7943 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/documentation.html | 111 ++++++++++++++++++++++++++-------------- 1 file changed, 74 insertions(+), 37 deletions(-) diff --git a/DOCS/documentation.html b/DOCS/documentation.html index 62fb93b9a7..ab14041235 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -68,7 +68,7 @@ @@ -242,13 +242,16 @@
  • 6. Ports
  • Appendix A - Mailing lists
  • @@ -841,7 +844,7 @@ The command line options differ slightly for the different formats:
  • use the font generator tool at TOOLS/subfont-c @@ -1180,7 +1183,7 @@ ENTER pt_step 1 1 doesn't tell you anything about LIRC there's no support compiled in. That's it :-)

    -

    The application name for MPlayer is - oh wonder - 'mplayer'. +

    The application name for MPlayer is - oh wonder - mplayer. You can use any mplayer commands and even pass more than one command by separating them with \n. Don't forget to enable the repeat flag in .lircrc when it make sense (seek, volume, etc). Here's an excerpt from my @@ -1289,20 +1292,31 @@ end -

    6.2 FreeBSD

    +

    6.2 *BSD

    -

    To build the package you will need GNU make (gmake, /usr/ports/devel/gmake), - native BSD make will not work.

    +

    Mplayer runs on FreeBSD, OpenBSD, NetBSD, BSD/OS and Darwin. To build MPlayer + you will need GNU make (gmake - native BSD make will not work) and a recent + version of binutils.

    -

    To run MPlayer you will need to re-compile the kernel with - "options USER_LDT" (unless you are running -CURRENT, where this is default). - If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it - (FreeBSD-STABLE required, or use kernel patches).

    +

    If MPlayer complains about not finding /dev/cdrom or + /dev/dvd, create an appropiate symbolic link:
    + ln -s /dev/(your_cdrom_device) /dev/cdrom.

    -

    If MPlayer complains about "CD-ROM Device '/dev/cdrom' not found!" make a - symbolic link: ln -s /dev/(your_cdrom_device) /dev/cdrom

    +

    To use Win32 DLLs with MPlayer you will need to re-compile the kernel with + "option USER_LDT" (unless you run FreeBSD -CURRENT, where this + is the default).

    -

    There's no DVD support for FreeBSD yet.

    +

    6.2.1 FreeBSD

    + +

    If your CPU has SSE, recompile your kernel with "options CPU_ENABLE_SSE" to + use it (FreeBSD-STABLE or kernel patches required).

    + +

    6.2.2 OpenBSD

    + +

    Due to limitations in different versions of gas (relocation vs MMX), you will + need to compile in two steps: First make sure that the non-native as is first + in your $PATH and do a gmake -k, then make sure that + the native version is used and do gmake.

    6.3 Solaris

    @@ -1426,35 +1440,58 @@ end QNX has only X emulation which is VERY slow. Use SDL.

    -

    6.7 OpenBSD

    - -

    To build the package you will need GNU make (gmake, - /usr/ports/devel/gmake), native BSD make will not work, and a recent - binutils (including objcopy).

    +

    6.7 Cygwin

    -

    Due to limitations in different versions of gas (relocation vs mmx), you'll - need to compile in two steps: First make sure that the non-native as is first - in PATH and do a 'gmake -k', then make sure that the native - version is used and do 'gmake'.

    +

    The Cygwin port is still in its infancy and could use some love, + patches are always welcome. You should also + check out the + mplayer-cygwin + mailing list for help and latest information.

    -

    To use Win32 DLLs with MPlayer you will need to re-compile the - kernel with "option USER_LDT".

    +

    To get native DirectX video (-vo directx), install + DirectX 7 header files + and recompile. This, together with -ao win32 should give you best + results.

    -

    If MPlayer complains about not finding '/dev/cdrom' or - '/dev/dvd' make a symbolic link, e.g. ln -s - /dev/rcd0c /dev/dvd

    - -

    The not so hardcore hackers amongst us might want to use the ports - version (/usr/ports/x11/mplayer).

    - - -

    6.8. Cygwin

    -

    You will have to go to the MPlayer directory, and copy or symlink etc/cygwin_inttypes.h to /usr/include/inttypes.h to make MPlayer compile. Otherwise it will complain about missing intypes.h.

    +

    Since there is no support for Win32 DLLs under Cygwin and OpenGL and mpdvdkit + do not work/compile, you should disable them in configure with + ./configure --disable-win32 --disable-gl --disable-mpdvdkit.

    + +

    SDL has also been reported to work after some tweaking:
    + There are several changes that need to be made to the config.mak + file after running configure. These changes, like any change to + config.mak after the configure run are not + supported, so please do not report bugs!

    + +

    Find the line that reads

    + +
    +  SDL_LIB = -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows -mno-cygwin
    +
    + +

    and change it to:

    + +
    +  SDL_LIB = -L/usr/local/lib -lSDL -mcygwin
    +
    + +

    and replace

    + +
    +  SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin
    +
    + +

    with

    + +
    +  SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Uunix -mcygwin
    +
    +

    Appendix A - Mailing lists