]> git.sesse.net Git - mlt/blob - docs/policies.txt
fezzik.dict: prioritize avformat higher than libdv for better quality
[mlt] / docs / policies.txt
1 Open Source Development Policies and Procedures for MLT
2 by Dan Dennedy
3
4 Policies
5 --------
6
7 Any contribution to the "core" module assign copyright to Ushodaya Enterprises
8 Limited because they need license control over that module.
9
10 Comments in the framework and valerie header files must be C-style, not C++.
11
12 The framework and valerie client libraries are covered under LGPL. Miracle,
13 inigo, albino, and humperdink applications are covered under GPL. Modules
14 should strive to be LGPL to make them available through the framework as LGPL.
15
16 Coding Style:
17 There are not a lot of rules, but we prefer brackets on their own line,
18 indents using tabs, liberal usage of spaces in statements and expressions, and
19 no hard line length. The code in src/framework serves as a good example.
20
21 Procedures
22 ----------
23
24 Update services.txt when you add or update a service.
25
26 Until we convert to Subversion, which can provide a nice, comprehensive log
27 please update ChangeLog with every commit.
28
29 Setting Copyright on Appropriated Code:
30 You do not want to be accused of copying someone's code and changing copyright
31 or license without permission. The license is straightforward: you must retain
32 the original author's license unless you receive explicit permission. There are
33 a few ways to approach the copyright declaration depending upon the
34 intermingling and changes. If you heavily comingle original and new code or
35 lightly modifiy the original code, you can retain the original's copyright
36 including the years, and then add your copyright for the current year. If you
37 can separate the MLT integration from the core subroutines, then you can put
38 the core subroutines into a separate file with the original copyright and just
39 copyright the MLT integration code as your own. However, if you have heavily
40 modified the original code beyond nearly all recognition, you can copyright it
41 as your own and attribute the original author as inspiration.