Difference between revisions of "Hacker Guide/VLC source tree"

From VideoLAN Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Stub}}
+
This page lists the directories in the source tree of VLC, aimed at giving new beginners an overview of the code. Because VLC has evolved with not so much accumulation in mind, when a new coder looks at the code, s/he is terrified by the abundance of directories. This page is prepared to remedy that situation.
This page lists the directories in the source tree of VLC, aimed at giving new beginners an overview of the code.
 
 
 
  '''Why Does This Page Exist?
 
  Well, simply because VLC has evolved with not so much accumulation in mind,  
 
  and when a new coder looks at the code, s/he is   terrified by the abundance of directories.  
 
  If someone could explain why, for example, activex is not in the bindings folder, why there
 
  is a separate python directory at the root,  what several directories like evc, lxdialog are,
 
  that would be great! Note that I have added a FIXME! at the beginning of the explanation
 
  of those directories.  Please remove this paragraph when done.'''
 
  
 
The directories are listed in alphabetical order, with an overview of their contents on the right.
 
The directories are listed in alphabetical order, with an overview of their contents on the right.
Line 40: Line 31:
 
|-
 
|-
 
|libs                
 
|libs                
|FIX ME! Loader and secure rtp libraries
+
|Containts the loader (win32 dmo codec loading on Linux) and a SRTP library
 
|-
 
|-
 
|lxdialog                
 
|lxdialog                
Line 46: Line 37:
 
|-
 
|-
 
|m4                
 
|m4                
|Macro files needed for ???
+
|Macro files needed for automake and autoconf
 
|-
 
|-
 
|modules
 
|modules
|most important directory. See [[Modules source tree]].
+
|The most important directory with src/. See [[Modules source tree]].
 
|-
 
|-
 
|mozilla                
 
|mozilla                
Line 61: Line 52:
 
|-
 
|-
 
|python
 
|python
|FIX ME! not important
+
|Probably related to the Python bindings
 
|-
 
|-
 
|share
 
|share
|icons,scripts to make VLC the default player etc.
+
|icons, scripts to make VLC the default player etc.
 
|-
 
|-
 
|src
 
|src
|to-do
+
|The most important directory with modules/. See [[src source tree]]
 
|-
 
|-
 
|test
 
|test

Revision as of 18:29, 3 April 2007

This page lists the directories in the source tree of VLC, aimed at giving new beginners an overview of the code. Because VLC has evolved with not so much accumulation in mind, when a new coder looks at the code, s/he is terrified by the abundance of directories. This page is prepared to remedy that situation.

The directories are listed in alphabetical order, with an overview of their contents on the right.

Directory Name Directory Explanation
activex activex bindings
bindings Java and Python bindings
doc Documentation (not up-to-date)
evc Deprecated, embedded Visual Studio files.
extras - contrib (subdirectory of extras) - for required libraries (contains Makefiles to automatically download and compile (or cross-compile) and patch those. Please first attempt to get the development headers precompiled for your distribution.

extras also contains the emacs.init file (useful for coding in Videolan style)

include Header files for vlc
ipkg A package distribution system used by some Linux disrtibutions. This probably contains definition files for the packages.
libs Containts the loader (win32 dmo codec loading on Linux) and a SRTP library
lxdialog FIX ME! I guess this is not important, last modified 1 year ago!
m4 Macro files needed for automake and autoconf
modules The most important directory with src/. See Modules source tree.
mozilla Mozilla plugin
msvc Deprecated, Microsoft Visual C files I guess
po i18n files
python Probably related to the Python bindings
share icons, scripts to make VLC the default player etc.
src The most important directory with modules/. See src source tree
test scripts to see if everything is OK