X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=INSTALL;h=f39704fcac509afe39e4fa9ecdbad4db7ad36f1f;hb=945f294626b776bbabadc5627c05456a6ff0ae2b;hp=accc3d1bfcf9f33abba5f1cb3f737c484b32078b;hpb=647cca0ebb2e897a570018ba80483bb81a7d90c6;p=vlc diff --git a/INSTALL b/INSTALL index accc3d1bfc..f39704fcac 100644 --- a/INSTALL +++ b/INSTALL @@ -1,49 +1,68 @@ INSTALL file for vlc, the VideoLAN Client -Building VideoLAN -================= +Configuring VideoLAN +==================== -A typical way to configure the vlc is : +A typical way to configure vlc is: ./configure --prefix=/usr --enable-gnome --with-sdl -For a full compilation, you may try : - - ./configure --prefix=/usr --enable-gnome --enable-fb \ - --with-glide --with-ggi --with-sdl --enable-esd --enable-alsa - See `./configure --help' for more information. -Then, run `make', and `make install' to install it. +Here is a shortcut to copy-paste for a complete build: + make distclean && ./configure --prefix=/usr --enable-gnome \ + --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ + --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa -To build a Debian package, you may use : +If you intend to debug stuff, you may want to disable optimizations: - dpkg-buildpackage -rfakeroot -us -uc + make distclean && ./configure --prefix=/usr --enable-gnome \ + --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ + --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \ + --enable-debug +It is also possible to cross-compile for the Win32 platform using mingw32: -To build RedHat packages, use : + make distclean && CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ + RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \ + --target=i386-mingw32msvc --build=i386-linux --disable-dsp \ + --disable-gtk --disable-x11 --disable-xvideo - rpm -ba vlc.spec +Building VideoLAN +================= -Here's a shortcut to copy-paste to do a clean build : +Have a look at the generated Makefile.opts file, you may want to choose +which modules will be compiled as plugins, and which ones will remain in +the core application. The configure script tries to guess for you. - make distclean 2>/dev/null ; ./configure --prefix=/usr --enable-gnome \ - --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \ - --enable-alsa && make +Once configured, run `make' to build vlc. Installing and running VideoLAN =============================== -You can install the vlc and its plugins by typing : +You can install the vlc and its plugins by typing: make install -But you don't need to do it if you don't want ; vlc can be launched -from the current directory as well : +But you don't need to install it if you don't want to; vlc can be launched +from the current directory as well: ./vlc + +Building packages +================= + +To build a Debian package, you may use: + + dpkg-buildpackage -rfakeroot -us -uc + + +To build RedHat packages, use: + + rpm -ba vlc.spec +