X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=HACKING;h=50035406a11752fabdba090f5f8d7d45f477c469;hb=42fef87c4f281f304b7d56c0cbfde0b7d1912ab6;hp=3a0203bc4ae6c4e4750d1c13842227571719f581;hpb=54b8548a2f59a53851ecb2ab71047d712b4639af;p=vlc diff --git a/HACKING b/HACKING index 3a0203bc4a..50035406a1 100644 --- a/HACKING +++ b/HACKING @@ -1,5 +1,3 @@ -$Id$ - Hacking vlc =========== @@ -14,7 +12,7 @@ First Requirements ____________ -You will need the following tools if you plan to use the SVN version of vlc: +You will need the following tools if you plan to use the GIT version of vlc: - Autoconf version 2.60 or later - Automake version 1.9 or later @@ -22,13 +20,13 @@ You will need the following tools if you plan to use the SVN version of vlc: - pkg-config - libgcrypt 1.2 (or compatible) -After retrieving the SVN tree, you need to run the bootstrap script to +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. Run ./configure --help for a description of the available options. 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 SVN tree on an OS that provides these tools (such +you can check out a GIT 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. @@ -76,13 +74,14 @@ 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 +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.