-$Id$
-
Hacking vlc
===========
- Automake version 1.9 or later
- gettext version 0.16.1 or later
- pkg-config
- - libgcrypt 1.2 (or compatible)
After retrieving the GIT tree, you need to run the bootstrap script to
generate all the files needed to build vlc. You can then run configure.
Modules.am file. A module "foo" exists if there is a Modules.am file in
the modules/ directory which defines SOURCES_foo.
- - create a top-level Modules.am file (which will be included by Makefile.am)
- which contains additional build rules for modules, and includes all the
- Modules.am files that were found in modules/
-
- create an m4/private.m4 from configure.ac, generating m4 macros that will
be needed by configure.ac.
- create a Makefile.am file for each Modules.am file found in modules/ .
- - run autopoint (previously gettextize) to create an intl/ directory,
- needed when libgettext is not available.
+ - run autopoint (previously gettextize) to provide build system support
+ for internationalization.
- run the usual aclocal, autoheader, automake and autoconf, which create
the various Makefile.in files from the corresponding Makefile.am and the
inside that directory. Do not forget to add a corresponding
Makefile line at the end of configure.ac for this new Modules.am file.
-To have the module built, you need to add a call to VLC_ADD_PLUGINS or
+To have the module built, you need to add a call to VLC_ADD_PLUGIN or
VLC_ADD_BUILTINS to configure.ac with your new module name as argument.
Look at other modules for guidelines on how to add build and linkage options.
After changing configure.ac you will always need to rerun bootstrap and
configure.
-VLC keeps a cache of its module (in ~/.vlc/cache on Linux), so you'll have to delete it. (or use vlc --reset-plugins-cache)
-Then use vlc -vvv --color --list to check that your plugin is seen by VLC.
+VLC keeps a cache of its modules (in ~/.cache/vlc/ on Linux), so you'll have to
+delete it (or use vlc --reset-plugins-cache). Then use vlc -vvv --color --list
+to check that your plugin is seen by VLC.