* 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
2003-10-26 14:57:39 +01:00
## $Id: bootstrap,v 1.79 2003/10/26 13:57:39 sam Exp $
* 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
## Authors: Sam Hocevar <sam@zoy.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
2003-06-27 15:50:13 +02:00
if test "$#" != "0"; then
echo "Usage: $0"
echo " Calls automake, autoconf, autoheader, autopoint and other auto* to generate"
echo " m4 macros and prepare Makefiles."
2002-12-26 11:55:35 +01:00
exit 1
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-08-30 01:53:22 +02:00
LANG=C
export LANG
2002-11-19 18:38:07 +01:00
CYGWIN=binmode
export CYGWIN
2002-07-21 17:27:09 +02:00
2003-07-05 16:47:53 +02:00
set -e
2003-10-23 17:30:22 +02:00
set -x
2003-07-05 16:47:53 +02:00
2002-11-13 21:51:05 +01:00
##
2003-10-23 17:30:22 +02:00
## Check for various tools
2002-11-13 21:51:05 +01:00
##
2002-12-25 23:36:14 +01:00
AUTOMAKESUCKS=no
INSTALLSUCKS=no
2002-11-10 19:04:24 +01:00
2003-10-23 17:30:22 +02:00
# Check for automake
amvers="none"
if automake-1.7 --version >/dev/null 2>&1; then
amvers="-1.7"
# If we also have 1.6 (>> 1.6.1), use it instead because it is faster
if automake-1.6 --version >/dev/null 2>&1; then
if expr "`automake-1.6 --version | sed -e '1s/[^0-9]*//' -e q`" ">" "1.6.1" > /dev/null 2>&1; then
amvers="-1.6"
fi
fi
elif automake-1.6 --version >/dev/null 2>&1; then
amvers="-1.6"
if expr "`automake-1.6 --version | sed -e '1s/[^0-9]*//' -e q`" "<=" "1.6.1" > /dev/null 2>&1; then
AUTOMAKESUCKS=yes
fi
elif automake-1.5 --version >/dev/null 2>&1; then
INSTALLSUCKS=yes
amvers="-1.5"
elif automake --version > /dev/null 2>&1; then
amvers=""
case "`automake --version | sed -e '1s/[^0-9]*//' -e q`" in
0|0.*|1|1.[01234]|1.[01234][-.]*)
amvers="none" ;;
1.5|1.5.*)
INSTALLSUCKS=yes ;;
1.6|1.6.0|1.6.1)
AUTOMAKESUCKS=yes ;;
esac
fi
if test "${amvers}" = "none"; then
set +x
echo "you need automake version 1.5 or later"
exit 1
fi
# Check for gettext
if gettextize --version >/dev/null 2>&1; then
# Autopoint is available from 0.11.3, but we need 0.11.5
if expr `gettextize --version | sed -e '1s/[^0-9]*//' -e q` \
'>=' 0.11.5 >/dev/null 2>&1; then
# We have gettext, and a recent version! Everything is cool.
autopoint=autopoint
GETTEXT=yes
else
# User's gettext is too old. try to continue anyway.
echo > ABOUT-NLS
mkdir -p intl
echo > intl/Makefile.am
autopoint=:
GETTEXT=old
fi;else
# we don't have gettext. grmbl. try to continue anyway.
echo > ABOUT-NLS
mkdir -p intl
echo > intl/Makefile.am
autopoint=:
GETTEXT=no
fi
# Check for pkg-config
if pkg-config --version >/dev/null 2>&1; then
# We have pkg-config, everything is cool.
PKGCONFIG=yes
else
PKGCONFIG=no
fi
aclocal=aclocal${amvers}
automake=automake${amvers}
autoconf=autoconf
autoheader=autoheader
2002-09-30 13:05:42 +02:00
##
## Generate the modules makefile, by parsing modules/**/Modules.am
##
2003-10-23 17:30:22 +02:00
set +x
2003-06-27 15:50:13 +02:00
printf "generating modules/**/Makefile.am and m4/private.m4"
2002-09-30 13:05:42 +02:00
2003-07-01 18:25:24 +02:00
# Prepare m4/private.m4
2003-06-27 15:50:13 +02:00
rm -f m4/private.m4 && cat > m4/private.m4 << EOF
2003-06-21 19:04:20 +02:00
dnl Private VLC macros - generated by bootstrap
2002-09-30 13:05:42 +02:00
EOF
2003-10-25 19:48:05 +02:00
if [ "${PKGCONFIG}" = "no" ]; then cat >> m4/private.m4 << EOF
dnl User does not have pkg-config, so this is a no-op
AC_DEFUN([PKG_CHECK_MODULES], [:], [], [], [])
EOF
fi
if [ "${GETTEXT}" != "yes" ]; then cat >> m4/private.m4 << EOF
dnl User does not have gettext, so this is a no-op
AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
EOF
fi
2003-06-27 15:50:13 +02:00
rm -f m4/private.m4-tmp1 && cat > m4/private.m4-tmp1 << EOF
dnl The required AM_CONDITIONAL calls
dnl XXX: too many conditionals make the build very slow, disabled them
AC_DEFUN([AX_VLC_CONDITIONALS], [
EOF
rm -f m4/private.m4-tmp2 && cat > m4/private.m4-tmp2 << EOF
dnl The required AC_SUBST calls
AC_DEFUN([AX_VLC_SUBSTS], [
EOF
rm -f m4/private.m4-tmp3 && cat > m4/private.m4-tmp3 << EOF
dnl The required AC_OUTPUT calls
dnl XXX: this feature is only supported starting from automake-1.7
AC_DEFUN([AX_VLC_MAKEFILES], [AC_OUTPUT([
EOF
rm -f m4/private.m4-tmp4 && cat > m4/private.m4-tmp4 << EOF
dnl Helper macro for vlc-config generation
AC_DEFUN([AX_VLC_CONFIG_HELPER], [
cat >> vlc-config.in << BLAH
EOF
2002-09-30 13:05:42 +02:00
modules=""
2003-06-27 15:50:13 +02:00
rm -f modules/Makefile.am && cat > modules/Makefile.am << EOF
# Autogenerated by bootstrap - DO NOT EDIT
EXTRA_DIST = LIST
2003-06-28 01:31:24 +02:00
SUBDIRS = `sed -ne 's,modules/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`
#DIST_SUBDIRS = \$(SUBDIRS)
2003-06-27 15:50:13 +02:00
EOF
2002-09-30 13:05:42 +02:00
2003-07-01 18:25:24 +02:00
for dir in `sed -ne 's,modules/\(.*\)/Makefile,\1,p' configure.ac`
2003-06-27 15:50:13 +02:00
do
printf "."
2003-07-01 18:25:24 +02:00
mf="modules/${dir}/Modules.am"
2003-07-08 15:09:30 +02:00
basedir="${dir%%\/*}"
2003-06-27 15:50:13 +02:00
# automake will not recurse for make dist if we don't define SUBDIRS = .
2003-07-01 18:25:24 +02:00
subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`"
rm -f modules/${dir}/Makefile.am && cat > modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
# Autogenerated by bootstrap - DO NOT EDIT - edit Modules.am instead
NULL =
libvlc_LIBRARIES =
noinst_LIBRARIES =
noinst_HEADERS =
EXTRA_DIST = Modules.am
BUILT_SOURCES =
2003-06-28 01:31:24 +02:00
SUBDIRS = ${subdirs}
#DIST_SUBDIRS = \$(SUBDIRS)
2003-06-27 15:50:13 +02:00
libvlcdir = \$(libdir)/vlc/${basedir}
include Modules.am
2003-07-02 13:21:27 +02:00
2003-10-25 05:44:46 +02:00
if BUILD_MOZILLA
2003-10-20 12:37:56 +02:00
if HAVE_WIN32
# There's no need for pic code on win32 so get rid of this to substantially
# reduce the compilation time.
pic = no
endif
2003-10-25 05:44:46 +02:00
else
pic = no
endif
2003-10-20 12:37:56 +02:00
2003-07-07 18:53:48 +02:00
clean-local:
2003-07-08 15:09:30 +02:00
-rm -f *.a *.so *.dll *.sl *.dylib
2003-07-02 13:21:27 +02:00
2003-10-25 06:48:55 +02:00
all: all-modules
all-modules:
2003-10-25 05:44:46 +02:00
@set fnord \$\$MAKEFLAGS; amf=\$\$2; targets=\`\\
2003-10-26 14:57:39 +01:00
if test "\$(plugin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --target plugin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case " \$\$z " in *' '\$\${mod}_plugin' '*) echo lib\$\${mod}_plugin\$(LIBEXT);; esac; done; fi; \\
if test "\$(builtin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --target builtin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case " \$\$z " in *' '\$\${mod}.a' '*) echo lib\$\${mod}.a;; esac; done; fi; \\
if test "\$(pic)" != "no"; then z=\$\$(\$(VLC_CONFIG) --target builtin pic); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case " \$\$z " in *' '\$\${mod}_pic.a' '*) echo lib\$\${mod}_pic.a;; esac; done; fi; \\
2003-10-25 05:44:46 +02:00
\`; case "\$\$targets" in *lib*) \$(MAKE) \$(AM_MAKEFLAGS) \$\$targets || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \\
test -z "\$\$fail"
2002-09-30 13:05:42 +02:00
EOF
2003-06-27 15:50:13 +02:00
for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf}`
2002-09-30 13:05:42 +02:00
do
if grep '^SOURCES_'${mod}'.*=.*PRIVATE' < ${mf} >/dev/null 2>&1; then
PRIVATE='#'; else
PRIVATE=''; fi
if grep '^nodist_SOURCES_'${mod}'' < ${mf} >/dev/null 2>&1; then
NODIST=''; else
NODIST='#'; fi
2003-06-27 15:50:13 +02:00
# cat >> m4/private.m4-tmp1 << EOF
#dnl AM_CONDITIONAL(${mod}_p, test x\$${mod}_p = xyes)
#dnl AM_CONDITIONAL(${mod}_b, test x\$${mod}_b = xyes)
#EOF
cat >> m4/private.m4-tmp4 << EOF
${mod}) list="\\\${list} ${dir}/lib${mod}" ;;
2002-09-30 13:05:42 +02:00
EOF
2003-06-27 15:50:13 +02:00
# Generation of modules/**/Makefile.am
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2002-10-02 18:02:43 +02:00
# - L_ is for LIBRARIES_, D_ for DATA_, B_ for BUILT_SOURCES_, F_ for LDFLAGS_,
# S_ for SOURCES_, _p is for _plugin, _b is for _builtin. This is to reduce
# the resulting file size.
2003-06-27 15:50:13 +02:00
# - *_CFLAGS, *_CXXFLAGS etc. because per-object CPPFLAGS does not seem to
# work properly with any automake version I tested.
2003-07-01 18:25:24 +02:00
cat >> modules/${dir}/Makefile.am << EOF
2002-09-30 13:05:42 +02:00
# The ${mod} plugin
2003-07-01 14:50:56 +02:00
2003-07-07 18:53:48 +02:00
EOF
if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
2003-10-25 05:44:46 +02:00
clean-local: clean-${mod}
2003-07-07 18:53:48 +02:00
clean-${mod}:
2003-07-08 15:09:30 +02:00
-test -z "\$(nodist_SOURCES_${mod})" || rm -f \$(nodist_SOURCES_${mod})
2003-07-07 18:53:48 +02:00
EOF
fi
cat >> modules/${dir}/Makefile.am << EOF
2002-10-25 11:24:29 +02:00
if UNTRUE
2003-07-08 15:40:57 +02:00
L${mod}p = lib${mod}_plugin.a
D${mod}p = lib${mod}_plugin\$(LIBEXT)
L${mod}b = lib${mod}.a
L${mod}pic = lib${mod}_pic.a
2003-06-27 15:50:13 +02:00
EOF
2003-07-01 18:25:24 +02:00
if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
2003-07-08 15:09:30 +02:00
B${mod} = \$(nodist_SOURCES_${mod})
2003-06-27 15:50:13 +02:00
EOF
fi
2003-07-01 18:25:24 +02:00
cat >> modules/${dir}/Makefile.am << EOF
2002-09-30 13:05:42 +02:00
endif
2003-06-27 15:50:13 +02:00
EOF
2003-07-01 18:25:24 +02:00
if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
2003-07-08 15:09:30 +02:00
${PRIVATE}BUILT_SOURCES += \$(B${mod})
2003-06-27 15:50:13 +02:00
EOF
fi
2003-07-01 18:25:24 +02:00
cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
${PRIVATE}lib${mod}_plugin_a_SOURCES = \$(SOURCES_${mod})
EOF
2003-07-01 18:25:24 +02:00
if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
${PRIVATE}nodist_lib${mod}_plugin_a_SOURCES = \$(nodist_SOURCES_${mod})
EOF
fi
2003-07-01 18:25:24 +02:00
cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
lib${mod}_plugin_a_CFLAGS = \`\$(VLC_CONFIG) --cflags plugin ${mod}\`
lib${mod}_plugin_a_CXXFLAGS = \`\$(VLC_CONFIG) --cxxflags plugin ${mod}\`
lib${mod}_plugin_a_OBJCFLAGS = \`\$(VLC_CONFIG) --objcflags plugin ${mod}\`
lib${mod}_pic_a_SOURCES = ${PRIVATE}\$(SOURCES_${mod})
EOF
2003-07-01 18:25:24 +02:00
if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
nodist_lib${mod}_pic_a_SOURCES = ${PRIVATE}\$(nodist_SOURCES_${mod})
EOF
fi
2003-07-01 18:25:24 +02:00
cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
lib${mod}_pic_a_CFLAGS = \`\$(VLC_CONFIG) --cflags builtin pic ${mod}\`
lib${mod}_pic_a_CXXFLAGS = \`\$(VLC_CONFIG) --cxxflags builtin pic ${mod}\`
lib${mod}_pic_a_OBJCFLAGS = \`\$(VLC_CONFIG) --objcflags builtin pic ${mod}\`
lib${mod}_a_SOURCES = ${PRIVATE}\$(SOURCES_${mod})
EOF
2003-07-01 18:25:24 +02:00
if [ "${NODIST}" != "#" ]; then cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
nodist_lib${mod}_a_SOURCES = ${PRIVATE}\$(nodist_SOURCES_${mod})
EOF
fi
2003-07-01 18:25:24 +02:00
cat >> modules/${dir}/Makefile.am << EOF
2003-06-27 15:50:13 +02:00
lib${mod}_a_CFLAGS = \`\$(VLC_CONFIG) --cflags builtin ${mod}\`
lib${mod}_a_CXXFLAGS = \`\$(VLC_CONFIG) --cxxflags builtin ${mod}\`
lib${mod}_a_OBJCFLAGS = \`\$(VLC_CONFIG) --objcflags builtin ${mod}\`
2003-07-08 15:40:57 +02:00
libvlc_LIBRARIES += \$(L${mod}b) \$(L${mod}pic)
lib${mod}_DATA = \$(D${mod}p)
2002-09-30 13:05:42 +02:00
lib${mod}dir = \$(libdir)/vlc/${topdir}
2003-07-08 15:40:57 +02:00
${PRIVATE}noinst_LIBRARIES += \$(L${mod}p)
2003-06-27 15:50:13 +02:00
${PRIVATE}lib${mod}_plugin\$(LIBEXT): \$(lib${mod}_plugin_a_OBJECTS)
2003-07-03 13:23:09 +02:00
${PRIVATE} @case \`\$(VLC_CONFIG) --linkage ${mod}\` in \\
${PRIVATE} c++) echo \$(CXXLINK) \$(lib${mod}_plugin_a_OBJECTS) \\\`\$(VLC_CONFIG) --libs plugin ${mod}\\\` ; \$(CXXLINK) \$(lib${mod}_plugin_a_OBJECTS) \`\$(VLC_CONFIG) --libs plugin ${mod}\` ;; \\
${PRIVATE} objc) echo \$(OBJCLINK) \$(lib${mod}_plugin_a_OBJECTS) \\\`\$(VLC_CONFIG) --libs plugin ${mod}\\\` ; \$(OBJCLINK) \$(lib${mod}_plugin_a_OBJECTS) \`\$(VLC_CONFIG) --libs plugin ${mod}\` ;; \\
${PRIVATE} c|*) echo \$(LINK) \$(lib${mod}_plugin_a_OBJECTS) \\\`\$(VLC_CONFIG) --libs plugin ${mod}\\\` ; \$(LINK) \$(lib${mod}_plugin_a_OBJECTS) \`\$(VLC_CONFIG) --libs plugin ${mod}\` ;; \\
2003-06-27 15:50:13 +02:00
${PRIVATE} esac
2002-09-30 13:05:42 +02:00
EOF
done
done
2003-06-27 15:50:13 +02:00
cat >> m4/private.m4-tmp1 << EOF
AM_CONDITIONAL(UNTRUE, false)
])
EOF
cat m4/private.m4-tmp1 >> m4/private.m4 && rm -f m4/private.m4-tmp1
cat >> m4/private.m4-tmp2 << EOF
])
EOF
cat m4/private.m4-tmp2 >> m4/private.m4 && rm -f m4/private.m4-tmp2
cat >> m4/private.m4-tmp3 << EOF
])])
EOF
cat m4/private.m4-tmp3 >> m4/private.m4 && rm -f m4/private.m4-tmp3
cat >> m4/private.m4-tmp4 << EOF
BLAH
2003-06-21 19:04:20 +02:00
])
EOF
2003-06-27 15:50:13 +02:00
cat m4/private.m4-tmp4 >> m4/private.m4 && rm -f m4/private.m4-tmp4
2002-09-30 13:05:42 +02:00
echo "done."
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
###
2002-08-26 22:49:50 +02:00
set -x
2003-03-17 17:59:47 +01:00
# remove autotools cruft
2003-07-17 15:09:46 +02:00
rm -f aclocal.m4 configure config.log config.h config.h.in
2003-03-17 17:59:47 +01:00
# remove old autotools extra cruft
rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
# remove new autotools extra cruft
(cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh)
# remove libtool cruft
rm -f ltmain.sh libtool ltconfig
# remove gettext cruft
2003-07-17 15:09:46 +02:00
rm -f ABOUT-NLS
2002-10-16 17:10:39 +02:00
rm -Rf intl
2003-07-17 15:09:46 +02:00
# remove old vlc cruft
rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am
2003-07-24 22:34:47 +02:00
# remove new vlc cruft
rm -f stamp-builtin stamp-h* mozilla/stamp-pic
2002-08-26 03:01:13 +02:00
2003-06-27 15:50:13 +02:00
# Automake complains if this is not present
rm -f vlc-config.in && printf "" > vlc-config.in
2002-08-28 16:22:17 +02:00
# Do the rest
2003-07-24 22:34:47 +02:00
${autopoint} -f
${aclocal} -I m4
${autoconf}
${autoheader}
${automake} --add-missing --copy
* 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
##
2003-06-27 15:50:13 +02:00
rm -f vlc-config.in vlc-config
2002-10-02 14:59:59 +02:00
rm -f src/misc/modules_builtin.h src/misc/modules_plugin.h
rm -f include/vlc_symbols.h
rm -f mozilla/vlcintf.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
* 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
2002-08-28 14:50:13 +02:00
##
2003-03-20 11:27:35 +01:00
## Tell the user about gettext, pkg-config and sed
2002-08-28 14:50:13 +02:00
##
2003-06-27 15:50:13 +02:00
case "${GETTEXT}" in
2003-07-05 16:47:53 +02:00
yes) ;;
no) cat << EOF
2002-12-17 15:39:05 +01:00
===========================================================
IMPORTANT NOTE: you do not have gettext installed on your
system. The vlc build will work, but you will not have
internationalization support. We suggest installing gettext.
EOF
2002-08-28 14:50:13 +02:00
;;
2003-07-05 16:47:53 +02:00
old) cat << EOF
2002-12-17 15:39:05 +01:00
==========================================================
NOTE: you have an old version of gettext installed on your
2002-12-25 23:36:14 +01:00
system. The vlc build will work, but if your system does not
have libintl you will not have internationalization support.
2003-06-23 12:21:25 +02:00
We suggest upgrading to gettext 0.11.5 or later.
2002-12-17 15:39:05 +01:00
EOF
2002-08-28 14:50:13 +02:00
;;
esac
2003-03-20 11:27:35 +01:00
case "$PKGCONFIG" in
2003-07-05 16:47:53 +02:00
yes) ;;
no) cat << EOF
2003-03-20 11:27:35 +01:00
==============================================================
NOTE: you do not have the "pkg-config" utility on your system;
detection of the Gtk-2.0 and GNOME 2.0 libraries will not be
reliable.
EOF
;;
esac
2002-10-02 18:02:43 +02:00
case "$AUTOMAKESUCKS" in
2003-07-05 16:47:53 +02:00
no) ;;
yes) cat << EOF
2002-12-17 15:39:05 +01:00
=============================================================
IMPORTANT NOTE: your version of automake has a bug which will
prevent proper plugin compilation. Either compile VLC with
the --disable-plugins flag, or use a version of automake newer
than 1.6.1 (1.6.2 is OK, and so are the 1.5 series).
EOF
;;
esac
case "$INSTALLSUCKS" in
2003-07-05 16:47:53 +02:00
no) ;;
yes) cat << EOF
2002-12-17 15:39:05 +01:00
=============================================================
IMPORTANT NOTE: your version of automake has a bug which will
prevent proper installation. Do not use "make install" with this
version of automake, or use a version of automake newer than 1.5
(such as 1.6 or 1.7).
EOF
2002-10-02 18:02:43 +02:00
;;
esac