# HG changeset patch # User diego # Date 1035765857 0 # Node ID b582c6fb0053e02d075f7f0c061c4f302baccae4 # Parent 0c8d85e22ff51c1e0096161d503f2740906cb64e Unified BSD sections, expanded Cygwin section, small fixes. diff -r 0c8d85e22ff5 -r b582c6fb0053 DOCS/documentation.html --- a/DOCS/documentation.html Mon Oct 28 00:42:39 2002 +0000 +++ b/DOCS/documentation.html Mon Oct 28 00:44:17 2002 +0000 @@ -68,7 +68,7 @@ @@ -242,13 +242,16 @@
  • 6. Ports
  • Appendix A - Mailing lists
  • @@ -841,7 +844,7 @@
  • use the font generator tool at TOOLS/subfont-c @@ -1180,7 +1183,7 @@ 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 @@ -

    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.

    + +

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

    -

    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).

    +

    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).

    + +

    6.2.1 FreeBSD

    -

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

    +

    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

    -

    There's no DVD support for FreeBSD yet.

    +

    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 @@ 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).

    - -

    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'.

    +

    6.7 Cygwin

    -

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

    - -

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

    +

    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.

    -

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

    +

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

    - -

    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