Changeset 3a0e5d284f8acec11ef14f45c1a45cbc28be14c3

Show
Ignore:
Timestamp:
05/18/03 01:57:35 (5 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1053215855 +0000
git-parent:

[bc0d451c4b6a4f80b9b870324cd51d7dc59c2991]

git-author:
Gildas Bazin <gbazin@videolan.org> 1053215855 +0000
Message:

* INSTALL.win32: finally updated the instructions on how to build vlc for win32 :)
* install-win32, Makefile.am: updates for the win32 package.
* NEWS: added a few missing things.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • INSTALL.win32

    rc2a934c r3a0e5d2  
    1 $Id: INSTALL.win32,v 1.13 2003/02/02 04:01:29 sam Exp $ 
     1$Id: INSTALL.win32,v 1.14 2003/05/17 23:57:35 gbazin Exp $ 
    22 
    3 INSTALL file for the Windows9x/2k/XP version of the VLC media player 
     3INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player 
    44 
    55 
     
    1212You can also run VLC from a dos command box, in which case you'll be able 
    1313to use the command line arguments. You can obtain a list of these command 
    14 line arguments by typing 'vlc --help'. 
     14line arguments by typing 'vlc --help' or 'vlc --help --advanced'. 
     15 
    1516To store a debug log of the current VLC session, you can use 
    16 'vlc -vvvvv --intf=logger nameofyourvideofile', but this will unfortunatly 
    17 disable the GUI. You will end-up with a vlc.log file in your current directory. 
     17'vlc -vv --extraintf=logger'. You will end-up with a vlc-log.txt file in 
     18your current directory. 
    1819 
    1920If you want to play a DVD, run VLC and click on the Disc option in the 
     
    2122the 'Device name' box (eg. 'D:' if this is the letter for your dvdrom drive). 
    2223 
     24Additional documentation is available at http://www.videolan.org/doc/ 
     25 
     26 
    2327Building VLC from the source code 
    2428================================= 
    2529 
    26 If you want to do the tricky job of building VLC from sources, you can do it 
    27 in several ways: 
     30If you want to build VLC from sources, you can do it in several ways: 
     31 
     32- natively on Windows, using cygwin (www.cygwin.com) with or without the 
     33  unix emulation layer. This is the prefered way to compile vlc if you want 
     34  to do it on Windows. 
    2835 
    2936- natively on Windows, using MSYS+MINGW (www.mingw.org) 
    3037  (MSYS is a minimal build environnement to compile unixish projects under 
    31    windoze. It provides all the common unix tools like sh, gmake...) 
     38  windoze. It provides all the common unix tools like sh, gmake...) 
     39  Please note that there is currenlty a bug in MSYS which requires you to 
     40  edit the acgeneral.m4 file and replace the value of ac_max_sed_lines to 
     41  something higher, for instance 976. 
    3242 
    33 - natively on Windows, using cygwin (www.cygwin.com) with or without the 
    34   unix emulation layer. 
     43- natively on Windows, using Microsoft Visual C++. Even though we provide some 
     44  msvc project files with vlc, this method is advised only if you just want to 
     45  experiment/play with some basic functionnalities in vlc. The reason for this 
     46  is that vlc depends on a lot of 3rd party libraries and building them in 
     47  MSVC is not convenient and sometimes even impossible. 
    3548 
    36 - or on Linux, using the mingw32 cross-compiler 
     49- or on Linux, using the mingw32 cross-compiler. 
    3750 
    38 Getting the right tools 
    39 ======================= 
     51Getting the right compiler tools 
     52================================ 
    4053 
    4154- cross-compiling with mingw32: 
    42 All the necessary tools you need can be found on the videolan web site: 
    43 http://www.videolan.org/vlc/windows.html 
     55You first need to download a linux cross-compiler version of mingw32. 
     56(for Debian GNU/Linux users, you can use the mingw32, mingw32-binutils and 
     57mingw32-runtime packages) 
    4458 
    45 You first need to download a linux cross-compiler version of mingw32. 
    46 (for Debian GNU/Linux users, there is a mingw32 package) 
    47  
    48 You must also not forget to install the extra development packages if you want 
    49 to build the DirectX, GTK and SDL plugins. 
     59- compiling natively on Windoze with cygwin: 
     60You will need to download and run the setup.exe app from cygwin's web site 
     61(www.cygwin.com). You will also need to make sure you install at least the 
     62gcc-mingw, mingw-runtime and w32api packages. 
    5063 
    5164- compiling natively on Windoze with MSYS+MINGW: 
    52 You will need to download and install the latest MSYS (version 1.0.7 as 
    53 of now) and MINGW. 
     65You will need to download and install the latest MSYS, MSYS-DTK and MINGW. 
    5466The installation is really easy. Begin with the MSYS auto-installer and once 
    5567this is done, extract MINGW into c:\msys\1.0\mingw. You also have to remember 
     
    5870 
    5971http://www.mingw.org/download.shtml 
    60 http://prdownloads.sourceforge.net/mingw/MSYS-1.0.7-i686-2.exe 
    61 http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz 
     72http://prdownloads.sf.net/mingw/MSYS-1.0.9-2003.14.18-1.exe 
     73http://prdownloads.sf.net/mingw/MinGW-2.0.0-3.exe 
     74http://prdownloads.sf.net/mingw/msysDTK-1.0.1.exe 
    6275 
    63 You must also not forget to install the extra development packages if you want 
    64 to build the DirectX, GTK and SDL plugins. 
    65 (http://www.videolan.org/vlc/windows.html) 
     76Getting the additionnal libraries 
     77================================= 
    6678 
    67 - compiling natively on Windoze with cygwin: 
    68 You will need to download and run the setup.exe app from cygwin's web site 
    69 (www.cygwin.com). 
    70 I'm personnaly running the experimental distribution (and gcc-3.2) with the 
    71 exception of the autoconf tool for which I'm using the autoconf-devel-2.52-4 
    72 package (I had problems with 2.53a-1). You will need to make sure you install 
    73 at least the gcc-mingw, mingw-runtime and w32api packages. 
     79VLC depends on other libraries to provide some features like ac3 audio decoding 
     80or mpeg4 video decoding, etc... 
    7481 
    75 NOTE: by default, the GTK package is configured to be installed in 
    76 /usr/local/gtk-win32, if you want to change this path, then you need to edit 
    77 the gtk-win32/bin/gtk-config file and change "gtk_dir=" accordingly. 
    78 The same is true for the SDL package, it is installed in 
    79 /usr/local/SDL-1.2.3-win32 by default and you need to change "prefix=" in  
    80 SDL-1.2.3-win32/i386-mingw32msvc/bin/sdl-config if you plan to extract the 
    81 archive in a different directory. 
     82Depending on your needs you will have to compile/install some or all of these 
     83external libraries. 
    8284 
    83 - compiling natively on Windoze with cygwin
    84 You will need to download and install cygwin (www.cygwin.com). 
     85They can be found here (source code)
     86http://www.videolan.org/pub/testing/contrib/ 
    8587 
    86 You must also not forget to install the extra development packages if you want 
    87 to build the DirectX, GTK and SDL plugins. 
    88 (http://www.videolan.org/vlc/windows.html) 
     88I also provide a package with all the libraries already compiled so it is 
     89actually really easy to compile a full-featured version of vlc (these compiled 
     90libraries will only work with mingw or cygwin): 
     91http://www.videolan.org/pub/testing/win32/contrib-20030420-win32-bin.tar.bz2 
     92All you need to do is extract it in your root directory (the include files 
     93and libraries will be put in /usr/win32) 
     94 
     95A complete list of the libraries on which we depend can be found here: 
     96http://developers.videolan.org/vlc/ 
    8997 
    9098Configuring the build 
    9199===================== 
    92100 
    93 The best way to configure the build process of VLC is to use the 
    94 `./configure' script. 
     101Once you've got all the files you need in place, you need to configure the 
     102build with the `./configure' script. 
    95103 
    96 See `./configure --help' for more information. 
     104I'll assume that you are using the pre-compiled 3rd party libraries I'm 
     105providing and that they are in /usr/win32. 
    97106 
    98107If you are cross-compiling from Debian, you can use something 
    99108along those lines: 
    100109 
    101   ./bootstrap; \ 
     110  ./bootstrap && \ 
     111  CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \ 
    102112  CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ 
    103113  ./configure --host=i586-mingw32msvc --build=i386-linux \ 
    104   --with-gtk-config-path=/usr/local/gtk-win32/bin \ 
    105   --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \ 
    106   --with-directx=/usr/local/dxheaders \ 
    107   --with-dvdcss-tree=../libdvdcss-win 
    108  
    109 If you are cross-compiling using the mingw32 package provided by 
    110 www.videolan.org, you have to use something along those lines: 
    111  
    112   ./bootstrap; \ 
    113   CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ 
    114   PATH=/usr/local/cross-tools/bin:$PATH \ 
    115   ./configure --host=i586-mingw32msvc --build=i386-linux \ 
    116   --with-gtk-config-path=/usr/local/gtk-win32/bin \ 
    117   --with-sdl-config-path=/usr/local/SDL-1.2.3-win32/i386-mingw32msvc/bin \ 
    118   --with-directx=/usr/local/dxheaders \ 
    119   --with-dvdcss-tree=../libdvdcss-win 
    120  
    121 If you are compiling natively on Windoze, then you can use something 
    122 along those lines: 
    123   ./bootstrap; \ 
    124   ./configure \ 
    125   --with-gtk-config-path=/c/dev/gtk-win32/bin \ 
    126   --with-sdl-config-path=/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \ 
    127   --with-directx=/c/dev/dxheaders \ 
    128   --with-dvdcss-tree=../libdvdcss-win 
     114      --disable-sdl --disable-gtk \ 
     115      --with-included-gettext --enable-nls \ 
     116      --enable-mad \ 
     117      --enable-ffmpeg \ 
     118      --enable-dvdread --enable-dvdplay \ 
     119      --enable-faad \ 
     120      --enable-flac \ 
     121      --enable-theora \ 
     122      --with-wx-config-path=/usr/win32/bin \ 
     123      --with-skins-wx-config-path=/usr/win32/bin \ 
     124      --with-freetype-config-path=/usr/win32/bin \ 
     125      --enable-debug 
    129126 
    130127If you are using cygwin, you can build VLC with or without the unix emulation 
    131128layer (without is usually better). To build without the emulaion layer, use 
    132129something like this: 
    133   ./bootstrap; \ 
     130  ./bootstrap && \ 
     131  CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \ 
    134132  CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ 
    135133  ./configure \ 
    136   --with-gtk-config-path=/cygdrive/c/dev/gtk-win32/bin \ 
    137   --with-sdl-config-path=/cygdrive/c/dev/SDL-1.2.3-win32/i386-mingw32msvc/bin \ 
    138   --with-directx=/cygdrive/c/dev/dxheaders \ 
    139   --with-dvdcss-tree=../libdvdcss-win 
     134      --disable-sdl --disable-gtk \ 
     135      --with-included-gettext --enable-nls \ 
     136      --enable-mad \ 
     137      --enable-ffmpeg \ 
     138      --enable-dvdread --enable-dvdplay \ 
     139      --enable-faad \ 
     140      --enable-flac \ 
     141      --enable-theora \ 
     142      --with-wx-config-path=/usr/win32/bin \ 
     143      --with-skins-wx-config-path=/usr/win32/bin \ 
     144      --with-freetype-config-path=/usr/win32/bin \ 
     145      --enable-debug 
     146 
    140147If you want to use the emulation layer, then just omit the CC="gcc -mno-cygwin" 
    141148CXX="g++ -mno-cygwin" line. 
    142149 
    143 Note: when using the --with-dvdcss-tree you need to compile the libdvdcss tree 
    144 beforehand. 
     150If you are compiling with MSYS/MINGW, then you can use something along those 
     151lines: 
     152  ./bootstrap && \ 
     153  CPPFLAGS=-I/usr/win32/include LDFLAGS=-L/usr/win32/lib \ 
     154  ./configure \ 
     155      --disable-sdl --disable-gtk \ 
     156      --with-included-gettext --enable-nls \ 
     157      --enable-mad \ 
     158      --enable-ffmpeg \ 
     159      --enable-dvdread --enable-dvdplay \ 
     160      --enable-faad \ 
     161      --enable-flac \ 
     162      --enable-theora \ 
     163      --with-wx-config-path=/usr/win32/bin \ 
     164      --with-skins-wx-config-path=/usr/win32/bin \ 
     165      --with-freetype-config-path=/usr/win32/bin \ 
     166      --enable-debug 
    145167 
    146 Building VLC 
    147 ============ 
     168See `./configure --help' for more information. 
    148169 
    149 Have a look at the generated Makefile.opts file, you may want to choose 
    150 which modules will be compiled as plugins, and which ones will remain in 
    151 the core application. The configure script tries to guess for you. 
     170Actually Compiling the VLC source 
     171================================= 
    152172 
    153 Once configured, to build VLC you have to: 
    154  
    155 If you are cross-compiling from Debian or compiling natively on Windoze, 
    156 then just run `make'. 
    157  
    158 If you are cross-compiling using the mingw32 package provided by 
    159 www.videolan.org, run `PATH=/usr/local/cross-tools/bin:$PATH make'. 
    160  
    161 Building Win32 interface with bcc32 (Borland's compiler) 
    162 ======================================================== 
    163 (This stage is only necessary if you want to use the Win32 native interface. 
    164  If you are happy with the GTK interface, then you can skip this section) 
    165  
    166 1) Install Borland C++ Builder, you will need bpr2mak and make. 
    167  
    168 2) Make sure you have the bpr2mak and bcmake (NOT make!) commands in $PATH, 
    169 they can be symlinks to the Borland bpr2mak and make utilities, or wrappers 
    170 that call them through Wine if you are cross-compiling from Linux. 
    171  
    172 3) Configure VLC as usual with the --enable-intfwin flag and build it. 
     173Once configured, to build VLC, just run `make'. 
    173174 
    174175Well done, now you're ready to use VLC! 
  • Makefile.am

    r5ec858c r3a0e5d2  
    576576    done 
    577577 
    578     cd doc/faq ; $(MAKE) html ; cd ../..
    579     cp doc/faq/index.html tmp/FAQ.htm ; 
     578    $(MAKE) -C doc/faq html
     579    cp doc/faq/faq.html tmp/FAQ.htm ; 
    580580 
    581581# Create package  
  • NEWS

    r1d67494 r3a0e5d2  
    1 $Id: NEWS,v 1.40 2003/05/15 02:02:13 hartman Exp $ 
     1$Id: NEWS,v 1.41 2003/05/17 23:57:35 gbazin Exp $ 
    22 
    33Changes between 0.5.3 and 0.6.0: 
     
    55 
    66Core Support: 
    7  * Channel Server support was removed 
     7 * Channel Server support was removed (was deprecated) 
    88 
    99Input access: 
     
    1111 * fixed large file support on Windows 
    1212 * Video 4 Linux support 
     13 * CD Digital Audio support 
    1314 
    1415Input demux: 
     
    2425 
    2526Interfaces: 
    26  * The wxWindows interface is now Unicode safe 
    27  * New http interface 
     27 * The wxWindows interface is now fully useable as well as Unicode safe 
     28 * New HTTP remote control interface 
    2829 
    2930Stream output: 
    30  * 
     31 * New stream output scheme. It is now possible to build a chain of stream outputs allowing for instance to stream and display some content at the same time. 
     32 * The stream output now allows to transcode content on the fly. 
    3133 
    3234Miscellaneous: 
    33  * New reset all option for preferences 
     35 * New reset option for the preferences 
    3436 * You can set your language in the prefences 
     37 * New video chroma conversion module using ffmpeg 
    3538 
    3639UNIX ports: 
     
    5255Win32 port: 
    5356 * the wxWindows interface is now the default interface 
     57 * The keyboard shortcuts are now identical to the linux version 
     58 * Fixed the "no sound" problem on NT4 
     59 * Improved skinnable interface (it now uses the wxWindows interface dialogs). 
     60 * Added support for compressed skins files (.vlt files) 
    5461 
    5562BeOS port: 
  • install-win32

    rf2ab9c5 r3a0e5d2  
    6868 
    6969    CreateDirectory "$SMPROGRAMS\VideoLAN" 
    70     CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" "$INSTDIR\vlc.exe"  
    71     CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (wxwindows).lnk" \ 
     70    CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \ 
    7271                       "$INSTDIR\vlc.exe" "--intf wxwin" 
    7372    CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (skins).lnk" \ 
    7473                       "$INSTDIR\vlc.exe" "--intf skins" 
     74    CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (custom).lnk" \ 
     75                       "$INSTDIR\vlc.exe"  
    7576    CreateShortCut "$SMPROGRAMS\VideoLAN\FAQ.lnk" "$INSTDIR\FAQ.htm" 
    7677