summaryrefslogtreecommitdiffstats
path: root/src/VBox/Main/.scm-settings
blob: 29671b01a97aa16361b9a0c801ce9f448eb254ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# $Id: .scm-settings $
## @file
# Source code massager settings for the Main API.
#

#
# Copyright (C) 2010-2022 Oracle and/or its affiliates.
#
# This file is part of VirtualBox base platform packages, as
# available from https://www.virtualbox.org.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, in version 3 of the
# License.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses>.
#
# SPDX-License-Identifier: GPL-3.0-only
#

# cbindings have different licences.
/cbinding/*.h:                          --license-lgpl
/cbinding/VBoxCAPIGlue.c:               --license-mit
/cbinding/VBoxCAPIGlue.h.in:            --license-mit --treat-as .h
/cbinding/makefile.tstCAPIGlue:         --license-mit --treat-as Makefile

# The Python bindings is licensed under dual GPL and CDDL.
/glue/vboxapi.py:                       --license-ose-dual

# Source dirs.
--filter-out-files /src-all/VBoxAPI-end.d
--filter-out-files /src-all/VBoxAPI-end-alternative.d
--filter-out-files /src-client/README.testing
--filter-out-files /src-server/custom.ids
--filter-out-files /src-server/usb.ids
/src-all/win/VBoxAPIWrap-precomp_vcc.h:     --no-fix-header-guards
/src-all/xpcom/VBoxAPIWrap-precomp_gcc.h:   --no-fix-header-guards
/src-client/win/precomp_vcc.h:              --no-fix-header-guards
/src-client/xpcom/precomp_gcc.h:            --no-fix-header-guards
/src-server/win/precomp_vcc.h:              --no-fix-header-guards
/src-server/xpcom/precomp_gcc.h:            --no-fix-header-guards
/*.h:                        --guard-relative-to-dir .        --guard-prefix MAIN_INCLUDED_SRC_
/include/*.h:                --guard-relative-to-dir include  --guard-prefix MAIN_INCLUDED_
/include/*.h:                --guard-relative-to-dir include  --guard-prefix MAIN_INCLUDED_
/cbinding/VBoxCAPI*.h:       --guard-relative-to-dir ''
/cbinding/VBoxCAPI*.h:       --guard-relative-to-dir ''
/cbinding/VBoxCAPIGlue.h.in: --guard-relative-to-dir ''

# IDL and XML
/idl/VirtualBox.xidl:                   --treat-as .xml
/idl/VirtualBox.dtd:                    --treat-as .xml

/xml/VirtualBox-settings.xsd:           --treat-as .xml
--filter-out-files /xml/samples/*.xml

# We don't have any copyright or license in the .cfg and .sif files.
# Exploint --external-copyright to check that this remains the case.
# This does not imply anything wrt to the copyright status of the files.
/UnattendedTemplates/*.cfg:             --external-copyright --treat-as .sh
/UnattendedTemplates/*.sif:             --external-copyright
/UnattendedTemplates/*.xml:             --dont-set-svn-eol --no-convert-eol

# The webservice is fun.
/webservice/Makefile.webtest:           --treat-as Makefile
--filter-out-files /webservice/types.txt
--filter-out-files /webservice/MANIFEST.MF.in
--filter-out-dirs  /webservice/jaxlibs/.

# The webservice samples are MIT and need some hacks to handle unusual file types.
/webservice/samples/*:                  --license-mit
/webservice/samples/*/Makefile.glue:    --treat-as Makefile
/webservice/samples/php/clienttest.php: --treat-as .c


# Testcases.
/testcase/makefile.tstVBoxAPIWin:       --treat-as Makefile
/testcase/makefile.tstVBoxAPIXPCOM:     --treat-as Makefile
--filter-out-files /testcase/ovf-dummy.vmdk
--filter-out-files /testcase/ovf-joomla-0.9/joomla-1.1.4-ovf.ovf
--filter-out-files /testcase/ovf-winhost-audio-nodisks/WinXP.ovf
--filter-out-files /testcase/ovf-winxp-vbox-sharedfolders/winxp.ovf
--filter-out-files /testcase/VBoxVBTest/TestForm.frm
--filter-out-files /testcase/VBoxVBTest/TestForm.frx
--filter-out-files /testcase/VBoxVBTest/VBoxVBTest.vbp