use "LibreOffice" instead of "LibO" for final download file names
[LibreOffice.git] / TEMPLATE.SOURCECODE.HEADER
blobeabd9aa66328d3678fdbe3447b151adec74a9a87
1 ------------------------------------------------------------------------
3                           * Stop / Think *
5         You need to choose either a pure MPLv2 header (from the top),
6 or an MPLv2 on ALv2 header (from the bottom).
8         If the new module you created is based in any way on an
9 existing module, then:
11         a) if that module has an LGPLv3+ header - please retain that
12            in the new code, it will get updated when that module is
13            re-based.
15         b) if that module has an MPLv2 on ALv2 header - please use
16            this option or
18         c) if the module is entirely your own work, and/or based on an
19            existing MPLv2 header - please use that header.
21         For any questions please contact me directly:
22                             michael.meeks@suse.com.
24         Thanks !
26 ------------------------------------------------------------------------
28              For all entirely new, original source files created by
29                         LibreOffice hackers:
31 ------------------------------------------------------------------------
33 For C/C++/Java/IDL etc.
35 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
37  * This file is part of the LibreOffice project.
38  *
39  * This Source Code Form is subject to the terms of the Mozilla Public
40  * License, v. 2.0. If a copy of the MPL was not distributed with this
41  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
42  */
43 ...
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
46 For makefiles:
48 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
50 # This file is part of the LibreOffice project.
52 # This Source Code Form is subject to the terms of the Mozilla Public
53 # License, v. 2.0. If a copy of the MPL was not distributed with this
54 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
56 ...
57 # vim: set noet sw=4 ts=4:
59 For XML / .component:
61 <?xml version="1.0" encoding="UTF-8"?>
62 <!--
63  * This file is part of the LibreOffice project.
64  *
65  * This Source Code Form is subject to the terms of the Mozilla Public
66  * License, v. 2.0. If a copy of the MPL was not distributed with this
67  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
68  *
69 -->
72 ------------------------------------------------------------------------
74              For source files which may contain code
75                from the Apache Software Foundation:
77 ------------------------------------------------------------------------
79 For C/C++/Java/IDL etc.
82  * This file is part of the LibreOffice project.
83  *
84  * This Source Code Form is subject to the terms of the Mozilla Public
85  * License, v. 2.0. If a copy of the MPL was not distributed with this
86  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
87  *
88  * This file incorporates work covered by the following license notice:
89  *
90  *   Licensed to the Apache Software Foundation (ASF) under one or more
91  *   contributor license agreements. See the NOTICE file distributed
92  *   with this work for additional information regarding copyright
93  *   ownership. The ASF licenses this file to you under the Apache
94  *   License, Version 2.0 (the "License"); you may not use this file
95  *   except in compliance with the License. You may obtain a copy of
96  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
97  */
99 For makefiles, perl, scripts etc.
102 # This file is part of the LibreOffice project.
104 # This Source Code Form is subject to the terms of the Mozilla Public
105 # License, v. 2.0. If a copy of the MPL was not distributed with this
106 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
108 # This file incorporates work covered by the following license notice:
110 #   Licensed to the Apache Software Foundation (ASF) under one or more
111 #   contributor license agreements. See the NOTICE file distributed
112 #   with this work for additional information regarding copyright
113 #   ownership. The ASF licenses this file to you under the Apache
114 #   License, Version 2.0 (the "License"); you may not use this file
115 #   except in compliance with the License. You may obtain a copy of
116 #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
119 For XML / .component:
121 <!--
122  * This file is part of the LibreOffice project.
124  * This Source Code Form is subject to the terms of the Mozilla Public
125  * License, v. 2.0. If a copy of the MPL was not distributed with this
126  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
128  * This file incorporates work covered by the following license notice:
130  *   Licensed to the Apache Software Foundation (ASF) under one or more
131  *   contributor license agreements. See the NOTICE file distributed
132  *   with this work for additional information regarding copyright
133  *   ownership. The ASF licenses this file to you under the Apache
134  *   License, Version 2.0 (the "License"); you may not use this file
135  *   except in compliance with the License. You may obtain a copy of
136  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .