[vlc-devel] commit: Rename the shared libraries ( Rémi Denis-Courmont )

Rafaël Carré funman at videolan.org
Thu May 15 19:10:37 CEST 2008


Le Thu, 15 May 2008 19:43:46 +0300,
Rémi Denis-Courmont <rdenis at simphalempin.com> a écrit :

> Le Thursday 15 May 2008 19:39:32 git version control, vous avez
> écrit :
> > vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu
> > May 15 19:40:44 2008 +0300|
> > [84d0f814c4aaeb01141e993879de1ce8b0c7fedb]
> >
> > Rename the shared libraries
> 
> Please $(make clean) before whining on IRC (not that anybody's done
> that yet).
> 

If it can help some people, here is the script I use to build VLC:

cd ~/build
../compile

*****
#!/bin/sh

cd $HOME/build &&
rm -rf * &&
export LDFLAGS="-L$HOME/inst-ffmpeg/lib"
CFLAGS="-I$HOME/inst-ffmpeg/include"
CXXFLAGS="-I$HOME/inst-ffmpeg/include"
PKG_CONFIG_PATH="$HOME/inst-ffmpeg/lib/pkgconfig" && export CC=gcc-4.3
CXX=g++-4.3 && ../vlc/configure \
    --enable-update-check \
    --disable-skins2 \
    --enable-ncurses \
    --disable-mozilla \
    --enable-debug \
    --enable-xvmc \
    --enable-faad \
    --enable-caca \
    --enable-theora \
    --enable-lirc \
    --enable-v4l \
    --enable-v4l2 \
    --disable-x264 \
    --enable-twolame \
    --prefix=$HOME/inst-vlc &&
./compile -j 4 &&
rm -rf $HOME/inst-vlc &&
make install
*****

That way I do not run VLC from build directory, and am ensured to
delete the full build directory each time I rebuild VLC.

Note : rebuilding fully VLC each time you make a modification is 
stupid, especially if you didn't update your tree:

cd build/modules/stream_out; make install > /dev/null

will build & install the modified modules, only showing you the
warnings (and the libtool messages)


A full rebuild takes approximately 7 minutes, on a 2x2.2Ghz computer,
using both cores (assuming you only build QT4 gui).


Use this script at your own risk.

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080515/74b54023/attachment.sig>


More information about the vlc-devel mailing list