summaryrefslogtreecommitdiffstats
path: root/src/VBox/Main/.scm-settings
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/VBox/Main/.scm-settings100
1 files changed, 100 insertions, 0 deletions
diff --git a/src/VBox/Main/.scm-settings b/src/VBox/Main/.scm-settings
new file mode 100644
index 00000000..07c9ccfe
--- /dev/null
+++ b/src/VBox/Main/.scm-settings
@@ -0,0 +1,100 @@
+# $Id: .scm-settings $
+## @file
+# Source code massager settings for the Main API.
+#
+
+#
+# Copyright (C) 2010-2023 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
+#
+
+/*: --no-rc-use
+
+# 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
+/UnattendedTemplates/os2_response_files.rsp: --treat-as batch --external-copyright
+
+# 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
+# for now:
+/testcase/*: --unrestricted-rc-use
+
+/testcase/tstUnattendedScript-1.expected: --treat-as plaintext --external-copyright
+/testcase/tstUnattendedScript-1.template: --treat-as plaintext --external-copyright
+