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

From VideoLAN Wiki
Jump to navigation Jump to search
m
m (+{{Back to|Hacker Guide}})
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page lists the directories in the source tree of VLC to give 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 was prepared to remedy that situation.
+
{{Back to|Hacker Guide}}
 +
This page lists the directories in the [https://git.videolan.org/?p=vlc.git;a=tree source tree of VLC] to give 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 was prepared to remedy that situation.
  
 
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 11: Line 12:
 
|Java, CIL and Python bindings
 
|Java, CIL and Python bindings
 
|-
 
|-
| contrib
+
| {{VLCSourceFolder|contrib}}
 
| 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.
 
| 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.
 
|-
 
|-
|doc                
+
|{{VLCSourceFolder|doc}}                
 
|Documentation (not up-to-date)
 
|Documentation (not up-to-date)
 
|-
 
|-
|extras
+
|{{VLCSourceFolder|extras}}
 
| ''[[#Contents_of_extras|See below]]''
 
| ''[[#Contents_of_extras|See below]]''
 
|-
 
|-
|include                
+
|{{VLCSourceFolder|include}}                
 
|Header files for VLC
 
|Header files for VLC
 
|-
 
|-
|lib               
+
|{{VLCSourceFolder|lib}}              
 
|Contains all [[LibVLC]] control code
 
|Contains all [[LibVLC]] control code
 
|-
 
|-
|m4                
+
|{{VLCSourceFolder|m4}}                
 
|Macro files needed for automake and autoconf
 
|Macro files needed for automake and autoconf
 
|-
 
|-
|modules
+
|{{VLCSourceFolder|modules}}
|The most important directory besides src/. ''See [[Modules source tree]].''
+
|The most important directory besides src/. ''See [[{{#rel2abs:../Modules source tree}}]].''
 
|-
 
|-
|po
+
|{{VLCSourceFolder|po}}
 
|i18n (language translation) files
 
|i18n (language translation) files
 
|-
 
|-
Line 38: Line 39:
 
| Projects based on libvlc, Mozilla plugin, ActiveX plugin and [[Mac OS X Framework]]
 
| Projects based on libvlc, Mozilla plugin, ActiveX plugin and [[Mac OS X Framework]]
 
|-
 
|-
|share
+
|{{VLCSourceFolder|share}}
 
|icons, scripts to make VLC the default player etc.
 
|icons, scripts to make VLC the default player etc.
 
|-
 
|-
|src
+
|{{VLCSourceFolder|src}}
|The most important directory besides modules/. ''See [[Hacker Guide/VLC source tree/src|src source tree]].''
+
|The most important directory besides modules/. ''See [[{{#rel2abs:/src}}|src source tree]].''
 
|-
 
|-
|test
+
|{{VLCSourceFolder|test}}
 
|scripts to see if everything is OK
 
|scripts to see if everything is OK
  
Line 51: Line 52:
 
== Contents of extras ==
 
== Contents of extras ==
 
{| class="wikitable"
 
{| class="wikitable"
| extras/analyser
+
| {{VLCSourceFolder|extras/analyser}}
 
| contains some code style editor (vim, emacs) macro and some valgrind suppressions
 
| contains some code style editor (vim, emacs) macro and some valgrind suppressions
 
|-
 
|-
| extras/buildsystem
+
| {{VLCSourceFolder|extras/buildsystem}}
 
| contains alternative buildsystems
 
| contains alternative buildsystems
 
|-
 
|-
Line 60: Line 61:
 
| contains deprecated files
 
| contains deprecated files
 
|-
 
|-
| extras/misc
+
| {{VLCSourceFolder|extras/misc}}
 
| contains files that don't fit into any other category
 
| contains files that don't fit into any other category
 
|-
 
|-
| extras/package
+
| {{VLCSourceFolder|extras/package}}
 
| contains distribution specific files such as ipkg, different rpm spec files, win32 and Mac OS X installation files.
 
| contains distribution specific files such as ipkg, different rpm spec files, win32 and Mac OS X installation files.
 
|-
 
|-

Latest revision as of 06:40, 17 April 2019

← Back to Hacker Guide
This page lists the directories in the source tree of VLC to give 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 was 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
bindings Java, CIL and Python bindings
contrib 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.
doc Documentation (not up-to-date)
extras See below
include Header files for VLC
lib Contains all LibVLC control code
m4 Macro files needed for automake and autoconf
modules The most important directory besides src/. See Hacker Guide/Modules source tree.
po i18n (language translation) files
projects Projects based on libvlc, Mozilla plugin, ActiveX plugin and Mac OS X Framework
share icons, scripts to make VLC the default player etc.
src The most important directory besides modules/. See src source tree.
test scripts to see if everything is OK

Contents of extras

extras/analyser contains some code style editor (vim, emacs) macro and some valgrind suppressions
extras/buildsystem contains alternative buildsystems
extras/deprecated contains deprecated files
extras/misc contains files that don't fit into any other category
extras/package contains distribution specific files such as ipkg, different rpm spec files, win32 and Mac OS X installation files.
This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.