Commit 764176f6 authored by Sam Hocevar's avatar Sam Hocevar

* ALL: started the slow move to automake. For the moment, the changes are

    unnoticeable apart from the extra dependency on autoconf, automake and
    gettextize. See the new HACKING file for some information, especially if
    you don't run Linux.

    The current strategy is to have the configure script generate a nice
    automake Makefile from Makefile.am, and then clobber it with our good
    old dirty Makefile. Muahaha :-)
parent 8fc89cd7
.*
core
core.*
conftest
conftest.*
.dep
gmon.out
vlc-config
vlc-debug.*
vlc-log.*
configure
config.log
config.cache
config.status
confdefs.h
config.guess
config.sub
Makefile
Makefile.in
Makefile.opts
Makefile.modules
Makefile.config
build-stamp
stamp-h*
aclocal.m4
install-sh
missing
mkinstalldirs
vlc-debug.*
vlc-log.*
vlc-config
vlc
vlc.app
gvlc
qvlc
kvlc
gnome-vlc
vlc.app
This diff is collapsed.
# The format of this file was inspired by the Linux kernel CREDITS file.
# $Id: AUTHORS
#
# The format of this file was inspired by the Linux kernel CREDITS file.
# Authors and contributors are listed alphabetically.
#
# The fields are: name (N), email (E), web-address (W), CVS account login (C),
......
$Id: HACKING,v 1.1 2002/08/25 23:18:04 sam Exp $
Hacking vlc
===========
You will need the following tools if you plan to use the CVS version of vlc:
- autoconf version 2.13 or later
- automake version 1.4 or later
- gettext version 0.11.5 or later
After retrieving the CVS tree, you need to run the bootstrap script to
generate all the files needed to build vlc. You can then run configure.
If you do not have the correct version of these tools, or if they are
simply not available for the operating system you plan to develop on,
you can check out a CVS tree on an OS that provides these tools (such
as a recent Linux distribution), run bootstrap, and then copy the whole
tree to your retarded OS.
INSTALL file for libmad, an integer based MPEG 1,2,3 audio decoder library
The mad plugin/builtin of VideoLan Client (vlc) uses an external library called libmad.
Before compiling mad support into vlc the library must be installed first. The following
text will explain howto compile and install libmad and mad plugin/builtin.
Where to find libmad
=====================
Libmad can be found at: http://www.mars.org/home/rob/proj/mpeg/
and is part of the mad distribution.
Configuring libmad
=====================
Goto to the libmad subdirectory and run configure..
A typical way to configure libmad as static library is:
./configure --prefix=/usr --enable-static
A typical way to configure libmad as shared library is:
./configure --prefix=/usr --enable-shared
See `./configure --help' for more information.
Building libmad
==================
Once configured, run `make' to build libmad.
Installing libmad
====================
You can install libmad as root by typing:
make install
Libmad will be installed into the directory used at the configure stage.
In our example this is /usr (libaries will go in /usr/lib/, include files
will go in /usr/include).
Configuring mad plugin
=========================
If libmad is installed in /usr (ie. you have /usr/include/mad.h and /usr/lib/libmad.a),
then you just need --enable-mad --with-mad=/usr.
make distclean; ./configure --prefix=/usr --enable-fb --enable-dsp --disable-sdl \
--enable-x11 --disable-xvideo --enable-mad --with-mad=/usr
If sdl source code is installed, then --enable-sdl can also be used.
make distclean; ./configure --prefix=/usr --enable-fb --enable-dsp --disable-sdl \
--enable-x11 --enable-xvideo --enable-mad --with-mad=/usr
Building mad plugin
=====================
Once configured, run `make' to build vlc with mad support.
Installing mad
==================
You can install vlc as root by typing:
make install
SUBDIRS = src include modules mozilla extras \
debian doc ipkg lib po share m4 intl
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config.rpath mkinstalldirs config.rpath
$Id: README,v 1.11 2002/08/25 23:18:04 sam Exp $
README for vlc, the VideoLAN Client
===================================
......@@ -7,6 +9,7 @@ BUGS - List of known, unresolved bugs.
COPYING - The GPL license.
ChangeLog - The vlc ChangeLog.
FAQ - Commonly asked questions.
HACKING - Hacking vlc.
INSTALL - Installation instructions.
INSTALL.libmad - Installation instructions for the libmad library.
INSTALL.win32 - Installation instructions for the Win32 version of vlc.
......
This diff is collapsed.
#! /bin/sh
## bootstrap.sh file for vlc, the VideoLAN Client
## $Id: bootstrap.sh,v 1.11 2002/08/24 11:57:07 sam Exp $
## $Id: bootstrap,v 1.1 2002/08/25 23:18:04 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
......@@ -26,15 +26,17 @@ while test $# -gt 0; do
shift
done
##
## autoconf && autoheader
##
echo -n " + running the auto* tools: "
autoconf || exit $?
echo -n "autoconf "
autoheader || exit $?
echo "autoheader."
###
### classic stuff
###
aclocal -I m4
autoheader
echo "no" | gettextize --force --intl --copy --no-changelog
automake --foreign --add-missing --copy
autoconf
# nuahahahahaha !! overwriting Makefile.in with what *I* want!
cp Makefile.old Makefile.in
##
## headers which need to be regenerated because of the VLC_EXPORT macro
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
dnl Autoconf settings for vlc
AC_INIT(include/main.h)
AC_CONFIG_HEADER(include/defs.h)
AM_CONFIG_HEADER(include/defs.h)
AC_CANONICAL_SYSTEM
CONFIGURE_LINE="$0 $*"
......@@ -2167,7 +2167,7 @@ AC_SUBST(xvideo_LDFLAGS)
AC_SUBST(xosd_LDFLAGS)
AC_SUBST(id3tag_LDFLAGS)
AC_OUTPUT([Makefile.config Makefile.opts po/Makefile.in vlc-config])
AC_OUTPUT([Makefile Makefile.config Makefile.opts po/Makefile.in vlc-config m4/Makefile intl/Makefile ])
chmod a+x vlc-config
echo "
......
/* include/defs.h.in. Generated automatically from configure.in by autoheader. */
/* include/defs.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if using alloca.c. */
#undef C_ALLOCA
......@@ -58,15 +58,15 @@
/* Define if you have the atoll function. */
#undef HAVE_ATOLL
/* Define if you have the dcgettext function. */
#undef HAVE_DCGETTEXT
/* Define if you have the feof_unlocked function. */
#undef HAVE_FEOF_UNLOCKED
/* Define if you have the fgets_unlocked function. */
#undef HAVE_FGETS_UNLOCKED
/* Define if you have the getc_unlocked function. */
#undef HAVE_GETC_UNLOCKED
/* Define if you have the getcwd function. */
#undef HAVE_GETCWD
......@@ -130,9 +130,6 @@
/* Define if you have the strcasecmp function. */
#undef HAVE_STRCASECMP
/* Define if you have the strchr function. */
#undef HAVE_STRCHR
/* Define if you have the strdup function. */
#undef HAVE_STRDUP
......@@ -349,6 +346,30 @@
/* Package version */
#undef VLC_VERSION
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
and declares uintmax_t. */
#undef HAVE_INTTYPES_H_WITH_UINTMAX
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
and declares uintmax_t. */
#undef HAVE_STDINT_H_WITH_UINTMAX
/* Define if you have the unsigned long long type. */
#undef HAVE_UNSIGNED_LONG_LONG
/* Define if integer division by zero raises signal SIGFPE. */
#undef INTDIV0_RAISES_SIGFPE
/* Define to unsigned long or unsigned long long
if <inttypes.h> and <stdint.h> don't define. */
#undef uintmax_t
/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
#undef HAVE_INTTYPES_H
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
#undef PRI_MACROS_BROKEN
/* Define if you have the iconv() function. */
#undef HAVE_ICONV
......@@ -368,6 +389,9 @@
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if the GNU dcgettext() function is already present or preinstalled. */
#undef HAVE_DCGETTEXT
/* Define if nanosleep is available. */
#undef HAVE_NANOSLEEP
......
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
chmodcmd=""
else
instcmd=$mkdirprog
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.1 2001/12/10 04:53:10 sam Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# mkinstalldirs ends here
2002-08-25 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.11.5.
* Rules-quot: New file, from gettext-0.11.5.
* boldquot.sed: New file, from gettext-0.11.5.
* en@boldquot.header: New file, from gettext-0.11.5.
* en@quot.header: New file, from gettext-0.11.5.
* insert-header.sin: New file, from gettext-0.11.5.
* quot.sed: New file, from gettext-0.11.5.
* remove-potcdate.sin: New file, from gettext-0.11.5.
2001-12-10 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.40.
......
This diff is collapsed.
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER =
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =
......@@ -9,7 +9,7 @@ msgstr ""
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2002-04-18 23:38+0100\n"
"Last-Translator: Thomas Graf <tgr@reeler.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
......
......@@ -4,11 +4,11 @@
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2002-04-22 09:56+0200\n"
"Last-Translator: Samuel Hocevar <sam@zoy.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
......
......@@ -4,11 +4,11 @@
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2001-12-10 13:32+0100\n"
"Last-Translator: Samuel Hocevar <sam@zoy.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
......
......@@ -3,11 +3,11 @@
# Fumio Nakayama <endymion@ca2.so-net.ne.jp>, 2002.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2002-04-02 03:22+0900\n"
"Last-Translator: Fumio Nakayama <endymion@ca2.so-net.ne.jp>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=euc-jp\n"
"Content-Transfer-Encoding: 8bit\n"
......
......@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2002-04-20 16:58GMT\n"
"Last-Translator: Jean-Paul Saman <jpsaman@wxs.nl>\n"
......
# Norwegian locale definition for vlc
# Copyright (C) 2002 Sigmund Augdal <sigmunau@idi.ntnu.no>.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: vlc-cvs\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2002-28-02 23.35+0100\n"
"Last-Translator: Sigmund Augdal <sigmunau@idi.ntnu.no>.\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
......
......@@ -2,10 +2,9 @@
# Copyright (C) 2001 Free Software Foundation, Inc.
# Valek Filippov <frob@df.ru>, 2001.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: gnome-vlc\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2001-02-19 19:58+03:00\n"
"Last-Translator: Valek Filippov <frob@df.ru>\n"
......
......@@ -3,14 +3,13 @@
# This file is distributed under the same license as the VLC package.
# Joel Arvidsson <dogai@privat.utfors.se>, 2002.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: vlc\n"
"POT-Creation-Date: 2002-07-15 03:18+0200\n"
"PO-Revision-Date: 2002-07-23 23:00+0200\n"
"Last-Translator: Joel Arvidsson <dogai@privat.utfors.se>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment