X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=HACKING;h=e3ffc06ad5ff9db5d875e90d3714e4216312b48d;hb=7c7854e76cda10120edb95c9e3a8ab2345be2631;hp=5d4ab707b8f6e9cbb0201de6369064729b86a2c5;hpb=099251acbcc26f833b19ac00685a2ac98800e807;p=vlc diff --git a/HACKING b/HACKING index 5d4ab707b8..e3ffc06ad5 100644 --- a/HACKING +++ b/HACKING @@ -16,11 +16,11 @@ ____________ You will need the following tools if you plan to use the SVN version of vlc: - - autoconf version 2.50 or later - - - automake version 1.5 (but 1.6 or later is recommended) - - - gettext version 0.10.40 (but 0.11.3 or later is recommended) + - Autoconf version 2.60 or later + - Automake version 1.9 or later + - gettext version 0.11.5 or later + - pkg-config + - libgcrypt 1.2 (or compatible) After retrieving the SVN tree, you need to run the bootstrap script to generate all the files needed to build vlc. You can then run configure. @@ -72,9 +72,17 @@ How to add a module ------------------- To add a module to the repository, just add its sources to a Modules.am -file. If you create a new Modules.am, do not forget to add a corresponding -Makefile line at the end of configure.ac. +file. If you add a new directory you will need to create a new Modules.am, +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 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.