* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
2002-06-01 14:32:02 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-02-02 05:01:29 +01:00
|
|
|
## bootstrap file for the VLC media player
|
* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
2002-06-01 14:32:02 +02:00
|
|
|
##
|
2008-03-23 20:43:06 +01:00
|
|
|
## Copyright (C) 2005-2008 the VideoLAN team
|
2005-08-13 10:12:37 +02:00
|
|
|
##
|
2006-03-04 21:24:19 +01:00
|
|
|
## Authors: Sam Hocevar <sam@zoy.org>
|
|
|
|
## Rémi Denis-Courmont <rem # videolan # org>
|
* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
2002-06-01 14:32:02 +02:00
|
|
|
|
2011-08-30 18:32:56 +02:00
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
|
2003-06-27 15:50:13 +02:00
|
|
|
if test "$#" != "0"; then
|
|
|
|
echo "Usage: $0"
|
2008-03-23 20:30:28 +01:00
|
|
|
echo " Calls autoreconf to generate m4 macros and prepare Makefiles."
|
2002-12-26 11:55:35 +01:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2011-08-30 18:32:56 +02:00
|
|
|
ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS}"
|
|
|
|
|
2011-12-10 01:40:37 +01:00
|
|
|
# Check for tools directory
|
|
|
|
if test -d extras/tools/build/bin; then
|
|
|
|
PATH="`pwd`/extras/tools/build/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
2002-07-21 17:27:09 +02:00
|
|
|
###
|
2002-11-19 18:38:07 +01:00
|
|
|
### Get a sane environment, just in case
|
2002-07-21 17:27:09 +02:00
|
|
|
###
|
2002-11-19 18:38:07 +01:00
|
|
|
CYGWIN=binmode
|
|
|
|
export CYGWIN
|
2002-07-21 17:27:09 +02:00
|
|
|
|
2011-09-19 16:45:48 +02:00
|
|
|
# Check for pkg-config
|
|
|
|
if ! "${PKG_CONFIG:-pkg-config}" --version >/dev/null 2>&1; then
|
|
|
|
echo 'Error: "pkg-config" is not installed.' >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2011-08-30 18:32:56 +02:00
|
|
|
# Check for autopoint (GNU gettext)
|
|
|
|
export AUTOPOINT
|
|
|
|
test "$AUTOPOINT" || AUTOPOINT=autopoint
|
|
|
|
if ! "$AUTOPOINT" --dry-run --force >/dev/null 2>&1; then
|
|
|
|
AUTOPOINT=true
|
|
|
|
cat << EOF
|
2017-06-03 14:15:16 +02:00
|
|
|
NOTE: autopoint (GNU gettext-tools) appears to be missing or out-of-date.
|
|
|
|
Please install or update GNU gettext tools.
|
2011-08-30 18:32:56 +02:00
|
|
|
Otherwise, you will not be able to build a source tarball.
|
2017-06-03 14:15:16 +02:00
|
|
|
==========================================================================
|
2011-08-30 18:32:56 +02:00
|
|
|
|
|
|
|
EOF
|
|
|
|
fi
|
2004-07-05 16:18:51 +02:00
|
|
|
|
2017-11-28 19:14:49 +01:00
|
|
|
# Check for flex and bison
|
|
|
|
if ! flex --version >/dev/null 2>&1; then
|
2017-12-03 13:56:48 +01:00
|
|
|
echo "ERROR: flex is not installed." >&2
|
|
|
|
if ! test -f modules/codec/webvtt/CSSLexer.c; then
|
|
|
|
exit 1
|
|
|
|
fi
|
2017-11-28 19:14:49 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if ! bison --version >/dev/null 2>&1; then
|
2017-12-03 13:56:48 +01:00
|
|
|
echo "ERROR: GNU bison is not installed." >&2
|
|
|
|
if ! test -f modules/codec/webvtt/CSSGrammar.c; then
|
|
|
|
exit 1
|
|
|
|
fi
|
2017-11-28 19:14:49 +01:00
|
|
|
fi
|
|
|
|
|
2002-08-26 01:18:05 +02:00
|
|
|
###
|
2002-09-30 13:05:42 +02:00
|
|
|
### classic bootstrap stuff
|
2002-08-26 01:18:05 +02:00
|
|
|
###
|
2003-03-17 17:59:47 +01:00
|
|
|
|
2008-03-25 17:55:30 +01:00
|
|
|
autoreconf --install --force --verbose ${ACLOCAL_ARGS}
|
2012-09-04 16:38:58 +02:00
|
|
|
rm -f po/Makevars.template
|
* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
2002-06-01 14:32:02 +02:00
|
|
|
|
|
|
|
##
|
2003-06-27 15:50:13 +02:00
|
|
|
## files which need to be regenerated
|
* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
2002-06-01 14:32:02 +02:00
|
|
|
##
|
2011-02-15 19:30:45 +01:00
|
|
|
rm -f stamp-h*
|
* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
2002-06-01 14:32:02 +02:00
|
|
|
|
2003-07-05 16:47:53 +02:00
|
|
|
# Shut up
|
2002-10-02 14:59:59 +02:00
|
|
|
set +x
|
2007-09-13 23:25:01 +02:00
|
|
|
echo "Successfully bootstrapped"
|