Commit Graph

242 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
3ad73201e4 Don't remove vlc_symbols.h 2005-06-04 12:55:23 +00:00
Rocky Bernstein
3b8f14f8d7 Allow automake 1.9.2 2004-12-08 02:06:58 +00:00
Rocky Bernstein
1295a9b802 automake 1.8 works, so accept that as well. 2004-08-22 02:17:43 +00:00
Sam Hocevar
2ec46a08a5 * boostrap:
+ Remove the autotools directory and recreate it (forgot to commit that
      file before).
2004-07-30 15:46:01 +00:00
Eric Petit
6129f1ce20 contrib system adapted for BeOS (need to set LIBRARY_PATH and BELIBRARIES) 2004-07-22 16:48:38 +00:00
Derk-Jan Hartman
29f8c4b341 * aclocal doesn't handle searching in non-existing dirs all that gracefully.
new method in which aclocal args first get stored in a variable.
2004-07-05 14:18:51 +00:00
Derk-Jan Hartman
7b5375e2c9 * Add pkgcfg, libcddb, vcdimager and libcdio to OSX contrib system
* Fixed bootstrap to use pkg.m4 from contrib system
* Patches to make libcddb and vcdimager work
  (stupid bugs !, how do they compile with this on other system?)
2004-07-05 00:22:13 +00:00
Sam Hocevar
163b655bdf * m4/vlc.m4 configure.ac:
+ Moved the shared object suffix detection to vlc.m4.
    + Replaced AX_* macros with VLC_* macros.
2004-06-25 12:21:32 +00:00
Sam Hocevar
52a7d38eb2 * bootstrap:
+ Work around a Solaris sh issue preventing ${foo%%bar} constructs.
2004-03-25 22:45:59 +00:00
Christophe Massiot
3b099bef9a * New build system for the contrib packages of VLC. It supports to
download a precompiled binary package, or to build all the packages
  from the sources, at the user's option. It is currently written for
  Mac OS X, but could easily be ported to other platforms.
2003-11-15 01:21:48 +00:00
Sam Hocevar
96e75a5fab * bootstrap: remove autom4te.cache before running autoconf 2003-11-06 10:09:16 +00:00
Sam Hocevar
05d53d9041 * bootstrap: Fixed an automake breakage when gettext is not present. 2003-11-04 15:31:44 +00:00
Sam Hocevar
c253c2560a * bootstrap: Fixed breakage from previous commit. 2003-10-26 14:49:26 +00:00
Sam Hocevar
0ef59d80b3 * bootstrap: Fixed a shell thinko causing unwanted plugins to be built. 2003-10-26 13:57:39 +00:00
Gildas Bazin
c4c17554d9 * bootstrap: fix for the AC_MSG_WARN() problem when pkg-config is not installed (hopefully). 2003-10-25 17:48:05 +00:00
Sam Hocevar
1412088fc9 * bootstrap:
+ Fixed a typo causing the Mozilla plugin build to fail.
    + Call the generic rule in "all" instead of "all-am" to spare one make level
      of recursion.
2003-10-25 04:48:55 +00:00
Sam Hocevar
5b629ba108 * bootstrap:
+ Smaller makefiles.
    + Faster builds. Heh.
2003-10-25 03:44:46 +00:00
Sam Hocevar
267e0621ed * bootstrap: Fixed the "clean" rule in module subdirectories. 2003-10-24 11:53:59 +00:00
Sam Hocevar
edad4b8a0f * bootstrap: Only start removing files when required tools have been
checked, to prevent inadvertent file losses.
2003-10-23 15:30:22 +00:00
Gildas Bazin
de1be1c13f * Makefile.am, bootstrap, mozilla/Makefile.am: don't try to build pic _and_ non-pic code on win32 as there's no need for pic code on this platform. This should almost reduce the compilation time by a factor of 2 when the mozilla plugin is activated in the build process. 2003-10-20 10:37:56 +00:00
Sam Hocevar
ef41e224bd * bootstrap: Fixed a shell syntax error when pkg-config is not present. 2003-10-07 21:13:01 +00:00
Sam Hocevar
beab78a932 * bootstrap:
+ Run autopoint with the -f flag.
    + Remove stamp files in the bootstrap process.
2003-07-24 20:34:47 +00:00
Sam Hocevar
8c7b5a88af * mozilla/Makefile.am: Fixed stamp-pic generation, it was created in the
current directory but looked for in the parent directory.
2003-07-17 13:09:46 +00:00
Sam Hocevar
0bf20368a6 * bootstrap:
+ Minor indentation fix.
  * toolbox:
    + Exclude vlc_symbols.h and modules_{plugins,builtins}.h from POTFILES.in.
  * po/*:
    + Re-ran toolbox --update po.
2003-07-16 15:52:05 +00:00
Sam Hocevar
31f0666a46 * bootstrap: Removed dashes from makefile variables. 2003-07-08 13:40:57 +00:00
Sam Hocevar
e10b64a458 * bootstrap:
+ Removed a useless use of cut.
    + Do not fail in the "clean" rule if no targets were built.
  * Makefile.am:
    + Propagate $(srcdir) to toolbox.
  * toolbox:
    + Do not include .moc files in POTFILES.in.
    + Fixed the generation of MSVC project files (untested).
2003-07-08 13:09:30 +00:00
Sam Hocevar
76bbfbacd9 * bootstrap: The "clean" rule now also removes generated sources. 2003-07-07 16:53:48 +00:00
Sam Hocevar
09496f1939 * Makefile.am: "make dist-woody" builds a tarball suitable for a Debian
woody package build.
  * bootstrap:
    + Remove config.h.in and config.h before running autoheader.
    + Added "set -e" for better error tracking.
    + Call autoheader and automake after autoconf so that the first build does
      not need to call autoheader.
  * debian/woody-buildpackage:
    + Removed that script and put the code in toolbox.
  * debian/control:
    + Added a build-dependency on libmatroska-dev.
  * debian/rules:
    + Activated Matroska support.
    + Re-enabled dh_installchangelogs.
2003-07-05 14:47:53 +00:00
Sam Hocevar
7a0538e6fc * bootstrap:
+ Disabled a redundant BUILT_SOURCES variable.
  * debian/woody-buildpackage:
    + Disable skins for woody (no WxWindows).
    + Do not build a diff since we always use the pristine tarball.
2003-07-04 14:56:51 +00:00
Sam Hocevar
348be7c179 * bootstrap: Recursive rules now check for $(MAKE)'s return value so that
build errors are never ignored.
2003-07-04 13:53:06 +00:00
Sam Hocevar
01c2108330 * bootstrap, Makefile.am: Slightly reduced build verbosity. 2003-07-03 11:23:09 +00:00
Sam Hocevar
416de47b7f * bootstrap: Fix for the Mozilla plugin build. 2003-07-02 14:08:56 +00:00
Sam Hocevar
1ef113ea04 * bootstrap: Guaah. Typo. 2003-07-02 13:50:03 +00:00
Sam Hocevar
5973b28e15 * bootstrap: Workaround for an automake1.6 issue. Not a big deal, the code
is actually nicer this way.
2003-07-02 13:32:16 +00:00
Sam Hocevar
b7940e0e49 * bootstrap:
+ The clean rule properly removes generated objects.
    + Optimized recursive builds.
  * debian/rules:
    + Fixed a typo in the changelog installation.
2003-07-02 11:21:27 +00:00
Sam Hocevar
750c81c7bf * bootstrap: Fixed detection of older automake version that advertise
themselves as 1.[0-5]-* instead of 1.[0-5].*.
2003-07-01 17:28:50 +00:00
Sam Hocevar
e2d69c725e * bootstrap:
+ Removed the Modules.am generation. To build module/foo/libfoo.so, you
      now need to cd modules/foo and make libfoo.so.
    + Workaround for Solaris sed. Which sucks. Did I mention that before?
2003-07-01 16:25:24 +00:00
Sam Hocevar
d93b2c5c6d * m4/vlc.m4: output all modules to vlc-config, not just those who define
their LDFLAGS.
  * bootstrap: use grep >/dev/null 2>&1 instead of grep -q because of retarded
    systems such as our beloved Solaris.
  * po/:
    + Regenerated vlc.pot.
    + Updated British translation.
    + Fixed fuzzy entries in the French translation.
2003-07-01 14:25:48 +00:00
Sam Hocevar
2e743e0019 * Makefile.am:
+ Forward AM_MAKEFLAGS through recursive makefiles.
    + Removed the plugins and builtins rules. This causes libintl to be built
      before the plugins.
  * bootstrap:
    + Enabled recursive builds of plugins and builtins.
  * vlc-config.in.in:
    + Fixed a typo.
  * debian/changelog:
    + Next upload will fix bug #199427.
2003-07-01 12:50:56 +00:00
Sam Hocevar
1f4f223447 * debian/changelog:
+ Updated to the latest Debian unstable upload.
  * debian/rules:
    + Moved the skins interface into the wxvlc package.
    + Cosmetic fixes.
  * debian/control:
    + Updated the description of the wxvlc package.
  * bootstrap:
    + Put subdirectories of modules/ in SUBDIRS, not DIST_SUBDIRS.
  * Makefile.am:
    + Put modules in SUBDIRS, not DIST_SUBDIRS.
  * .cvsignore:
    + Ignore vlc-config.in.
2003-06-27 23:31:24 +00:00
Sam Hocevar
fe17002d42 * bootstrap:
+ New build system, using recursive makefiles. Due to the amount of code
      in VLC, this had become unavoidable.
    + Removed the check for OS X's stack size, since our automake targets are
      a lot less hungry now.
    + Ditto for Solaris's sed.
    + Since automake-1.6 is faster than 1.7, use it first if both are present.
  * m4/vlc.m4:
    + New AX_ADD_CPPFLAGS, AX_ADD_CFLAGS, AX_ADD_CXXFLAGS, AX_ADD_OBJCFLAGS
      and AX_ADD_LDFLAGS macros that do all the magic to detect possible
      modules and register their flags.
    + New AX_ADD_BUILTINS and AX_ADD_PLUGINS macros.
    + Some magic to generate vlc-config.
  * configure.ac:
    + Moved most code to the AX_ADD_* macros.
    + Explicitely added all target Makefiles.
  * modules/**/Modules.am:
    + Path to sources are now relative to Modules.am's directory level.
2003-06-27 13:50:13 +00:00
Sam Hocevar
206fe3c148 * bootstrap: make errors less obscure when using gettext 0.11.3 or 0.11.4,
due to Debian bug #158383 in gettext (upstream bug).
2003-06-23 10:21:25 +00:00
Sam Hocevar
12246fe914 * THANKS: spelling fixes.
* configure.ac:
    + Added curly braces around variables.
    + Got rid of the "x$foo" constructs.
    + Renamed *_plugin conditionals into *_p.
  * debian/changelog:
    + Fixed a duplicate entry.
    + Added an entry for an old Debian upload that fixed #117180.
  * debian/control:
    + Added a build dependency on libimlib2-dev for skins.
  * debian/rules:
    + Activated support for skins.
2003-06-21 20:45:53 +00:00
Sam Hocevar
9542cc88a8 * configure.ac.in is no more, we can now use configure.ac like normal people,
bootstrap generates the proper magic for us.
2003-06-21 17:04:20 +00:00
Eric Petit
f4fabf9846 * bootstrap: remove a -shared flag as ./configure already adds it for
platforms which need it
 * configure.ac.in: don't use -shared on BeOS
2003-05-25 22:36:33 +00:00
Sam Hocevar
8b722b23ad * ./bootstrap: fixed a syntax error in the generated m4/vlc.m4. 2003-03-25 23:13:58 +00:00
Sam Hocevar
d95cb2fcd9 * ./bootstrap: if pkg-config is not available, we define PKG_CHECK_MODULES
ourselves.
  * ./bootstrap: "make dist" works again, even if gettext is not present.
2003-03-20 10:27:35 +00:00
Sam Hocevar
453fe58a06 * ./autotools/: moved some autotools executables to this subdirectory to
reduce cluttering of the root directory.
2003-03-17 16:59:47 +00:00
Sam Hocevar
0eaf631559 * ./bootstrap: fixed a conflict issue with recent autopoint versions.
* ./toolbox: the MSVC project file generation no longer depends on Makefile.
2003-03-12 04:16:02 +00:00
Sam Hocevar
e8fb7ad338 * ./bootstrap: we don't fail if gettext is too old and there is no
ABOUT-NLS in the tree.
2003-02-03 21:47:08 +00:00
Sam Hocevar
c2a934c0ff * ALL: removed "VideoLAN Client" in favour of "VLC media player" in a lot
of places.
2003-02-02 04:01:29 +00:00
Sam Hocevar
6d68e3437f * ./NEWS: added an empty NEWS file.
* ./bootstrap: now that we have the NEWS file, --foreign is no longer
    required when calling automake.
2003-02-01 18:41:09 +00:00
Sam Hocevar
2a55093ce0 * ./bootstrap, ./toolbox: moved the Glade bugs fixing to toolbox, now
use "./toolbox --fix-glade" to generate and fix source files.
  * ./include/vlc_common.h: fixed compilation warnings.
2003-01-28 17:11:38 +00:00
Sam Hocevar
042214057e * ./bootstrap: removed usage of $^ which is not compatible with BSD or
Solaris make.
2003-01-27 23:42:59 +00:00
Christophe Massiot
eb28b62d8b Check for the presence of arguments (--help ?) before rebuilding everything. 2002-12-26 10:55:35 +00:00
Sam Hocevar
c84f4ce5b2 * ./bootstrap: fixed an automake 1.5 check.
* ./toolbox: removed code from bootstrap that wasn't related to the
    bootstrapping sequence and put it here.
2002-12-25 22:36:14 +00:00
Sam Hocevar
e8b5cda1a0 * ./configure.ac.in: lured xggettext into thinking _NS is a keyword.
* ./bootstrap: bootstrap --update-po also updates vlc.pot.
2002-12-25 22:05:16 +00:00
Christophe Massiot
16cf721d7a * Re-enabled package-* Makefile rules,
* Worked around automake stack overflow bug on Darwin.
2002-12-25 21:02:35 +00:00
Sam Hocevar
019f1d068c * ./bootstrap: added warning messages for old automake versions. 2002-12-17 14:39:05 +00:00
Sam Hocevar
1fdc92cbe0 * ./modules/video_output/wingdi.c: skeleton of a Windows GDI video output.
* ./modules/access/file.c: the file access plugin gets the real file size
    under WinCE.
  * ./modules/audio_filter/converter/u8tofixed32.c: added this conversion
    filter to play some WAV files without an FPU.
  * ./bootstrap: bootstrap --update-vc doesn't rely on the Makefile's presence.
2002-11-21 13:53:32 +00:00
Sam Hocevar
691e470422 * ./src/misc/messages.c: added ^Ms to the WinCE logfile.
* ./bootstrap: fixed a typo that prevented per-object target directories
    to work.
  * ./evc/*, ./msvc/*: removed project files; they're becoming a bit large
    (more than 1MB) and I don't want to spoil the CVS with them.
2002-11-20 19:07:27 +00:00
Sam Hocevar
a6bb3a1fe8 * ./modules/audio_output/waveout.c: audio output now works under WinCE
using the waveout module.
  * ./bootstrap: we ignore comments when parsing makefiles.
  * ./modules/audio_filter/converter/fixed32tofloat32.c: changed this module
    so that it also does float32tofixed32.
  * ./modules/*: ported a few other modules to WinCE (most of the time it's
    just a #include <errno.h> that needs to be removed).
2002-11-20 16:43:33 +00:00
Sam Hocevar
c3a40bca86 * ./include/vlc_common.h, ./src/extras/libc.c: exported our custom libc
functions to plugins.
  * ./bootstrap: enhanced the project file generation for plugins; we now
    parse makefiles to make this easier.
  * ./modules/**/Modules.am: reworked a few makefiles so that they are more
    easily parsed.
2002-11-20 08:58:24 +00:00
Sam Hocevar
4a8ce8ac45 * ./src/misc/modules.c: p_module->psz_filename is now filled with a real
8 bit string under WinCE.
  * ./extras/Win32_msvc: scrapped this directory.
  * ./bootstrap: we now parse plugin makefiles to guess what to put in
    the MSVC project files. Only the dummy plugin has been tested yet.
2002-11-19 17:38:07 +00:00
Sam Hocevar
de6f58231b * ./bootstrap: reverted the behaviour behaviour to the default, which
means no default flag to use (except for me, muahaha).
2002-11-18 11:50:42 +00:00
Sam Hocevar
d1296b32da * ./bootstrap: bootstrap now requires the --config flag. With no arguments
it simply outputs a usage message.
  * ./src/*: fixed a bunch of (legitimate) warnings under VC++.
  * ./evc/*, ./msvc/*: split the workspaces into three projects (libvlc, vlc
    and plugins -- plugins doesn't build anything yet).
2002-11-13 20:51:05 +00:00
Sam Hocevar
5de3e045e3 * ./msvc/*, ./evc/*: moved eMbedded Visual Studio files to the toplevel evc/
directory because the two project files are starting to diverge.
  * ./evc/vlc.c: created a specific vlc.c file for Windows CE.
  * ./src/misc/messages.c: as WinCE doesn't have stdout or stderr, the message
    queue outputs to a logfile (until we have a proper interface).
2002-11-13 15:28:24 +00:00
Sam Hocevar
be8ca6e9a9 * ALL: WinCE compilation fixes (mostly nonexistent headers). A lot of
work is still needed for missing functions. I only touched libvlc for
    the moment, plugins will come in a long long while.
  * ./bootstrap: moved MSVC project files generation here; use --update-msvc.
2002-11-10 18:04:24 +00:00
Sam Hocevar
05ac379f73 * ./Makefile.am: added a "update-vlc.dsp" rule to create the MSVC project
file from the makefile.
  * ./msvc/*: moved the MSVC files here.
  * ./src/extras/*: moved the extra code here (used to be in src/misc,
    extras/GNUgetopt and extras/Win32_msvc).
  * ./include/*: a few warning fixes.
2002-11-09 16:34:53 +00:00
Sam Hocevar
4d0e2b16bb * ./bootstrap: automake 1.7 is OK to bootstrap vlc. 2002-11-04 18:27:30 +00:00
Sam Hocevar
141414b0c4 * ./Makefile.am: we properly install plugins in the OS X vlc.app directory.
* ./mozilla/npvlc_rc.rc, ./mozilla/vlcplugin.h: added the Ogg mime type to
    the Mozilla plugin properties.
  * ./debian/control: added libogg-dev and libvorbis-dev dependicies to the
    Debian build script.
2002-11-04 15:04:45 +00:00
Sam Hocevar
03019d5816 * ./Makefile.am: fixed a typo that caused HAVE_DEBUG to imply HAVE_RELEASE.
* ./bootstrap: fixed calls to $(LINK) which had duplicate -o options.
2002-10-29 18:12:07 +00:00
Sam Hocevar
003f74f14f * ./bootstrap, ./Makefile.am: we don't build static libraries if their only
goal is to provide dependencies for shared libraries.
2002-10-25 09:24:29 +00:00
Sam Hocevar
ec8c631800 * ./configure.ac.in, ./src/libvlc.c: attempt at activating gettext support
under platforms without libintl such as Win32. Use --with-included-gettext
    to test. Might break compilation on systems I don't have access to.
2002-10-16 15:10:39 +00:00
Sam Hocevar
2b0b78882c * ./bootstrap: we use the proper linker for plugin compilation.
* ./modules/misc/testsuite/*: moved the null module into three test modules
    that are only built when --enable-testsuite is activated. This directory
    can be a good place for compilation tests or performance benchmarks.
2002-10-04 13:13:54 +00:00
Sam Hocevar
537cf3aa2c * ./bootstrap: fixed a bug I introduced yesterday that caused automake
version detection not to work properly.
2002-10-03 08:44:11 +00:00
Sam Hocevar
415af2aded * ./bootstrap: added a check for automake bug #326. No easy workaround is
really possible other than patching/upgrading automake. This happens for
    automake 1.6.0 and automake 1.6.1.
2002-10-02 16:02:43 +00:00
Sam Hocevar
106497cdb1 * ./bootstrap, ./Makefile.am: workarounds for automake 1.5. 2002-10-02 12:59:59 +00:00
Sam Hocevar
2799d36bc8 * ALL: the build mechanism now uses automake. See HACKING for more details.
* ./mozilla/vlcplugin.cpp: javascript support for the Mozilla plugin.
  * debian/rules: the A52 module is now in a separate package.
2002-09-30 11:05:42 +00:00
Christophe Massiot
7d2f6de57c * ./bootstrap : Fixed an issue with old shell versions
* ALL : Added a priority argument to vlc_thread_create(), so that audio
and input threads can run with a higher real-time priority, on systems
allowing you to use priorities.
2002-08-29 23:53:22 +00:00
Christophe Massiot
a9b2248292 It now works when there is no automake-1.5 nor automake-1.6. 2002-08-28 19:48:16 +00:00
Sam Hocevar
3eb8eefdd2 * ./m4/*: added gettext m4 macros so that the configure behaviour is
always the same.
2002-08-28 15:30:57 +00:00
Sam Hocevar
91b31c8835 * Additional fixes for bootstrap when gettext isn't available. 2002-08-28 14:22:17 +00:00
Sam Hocevar
e3366e790b * ./bootstrap: fixed a shell error (replaced "if foo" with "if foo"). 2002-08-28 13:38:14 +00:00
Sam Hocevar
03fe761ea8 * ./bootstrap: we should be able to bootstrap CVS even without gettext. 2002-08-28 12:50:13 +00:00
Sam Hocevar
2d8a1a7085 * ./HACKING: we can now use automake-1.5 instead of automake-1.6. But now
we _really_ depend on it.
  * ./bootstrap: we don't use touch to create a file, because it doesn't seem
    to work everywhere.
2002-08-27 14:15:24 +00:00
Sam Hocevar
685f8edcc3 * ./bootstrap: we touch m4/Makefile.am so that configure doesn't complain
about a missing m4/Makefile.in.
  * ./include/vlc_common.h: workaround for Borland's redefinition of PACKAGE.
2002-08-26 23:36:20 +00:00
Sam Hocevar
8cdab6d597 * ./bootstrap: another fix for old versions of autoconf which don't seem
to like the gettext m4 files.
2002-08-26 21:46:06 +00:00
Sam Hocevar
e3401d5787 * ./configure.in: we now require autoconf 2.5x because previous versions
don't seem to work very well if you are using autopoint, although
    gettext 0.11.5 claims to be fully backwards compatible. Welcome to
    automake hell.
  * ./bootstrap: workaround which uses gettextize if you do not have
    autopoint. We'll probably stay like this for a while, until gettext
    0.11.x (which replaces gettextize with autopoint) becomes more
    widespread. Currently this workaround seems to work, but don't expect
    a clean tarball if you make dist without having used autopoint. Welcome
    to automake hell.
2002-08-26 20:49:50 +00:00
Sam Hocevar
0df46599e8 * ./bootstrap: dropped the dependency on gettext 0.11.5. Now 0.10.4 is OK. 2002-08-26 09:38:20 +00:00
Sam Hocevar
eb395af053 * Moved ./include/defs.h to ./config.h
* Renamed ./include/config.h to ./include/vlc_config.h
  * Other misc auto* fixes.
2002-08-26 01:01:13 +00:00
Sam Hocevar
764176f688 * 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 :-)
2002-08-25 23:18:05 +00:00