meson: merge branch 'inigomartinez/meson-license'
Add SPDX license headers for meson files. As far as I can tell, according to RELICENSE.md file, almost everybody who contributed to the meson files agreed to the LGPL-2.1+ licensing. This entails the vast majority of code in question. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/397
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
name = 'nmcli'
|
name = 'nmcli'
|
||||||
|
|
||||||
# FIXME: nmcli-completion should be renamed to nmcli
|
# FIXME: nmcli-completion should be renamed to nmcli
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
name = 'nm-cloud-setup'
|
name = 'nm-cloud-setup'
|
||||||
|
|
||||||
if install_systemdunitdir
|
if install_systemdunitdir
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
common_inc = include_directories('.')
|
common_inc = include_directories('.')
|
||||||
|
|
||||||
common_deps = [
|
common_deps = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
common_c_flags = clients_c_flags + ['-DNETWORKMANAGER_COMPILATION_TEST']
|
common_c_flags = clients_c_flags + ['-DNETWORKMANAGER_COMPILATION_TEST']
|
||||||
|
|
||||||
test_name = 'test-clients-common'
|
test_name = 'test-clients-common'
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
|
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
|
||||||
|
|
||||||
name = 'nm-online'
|
name = 'nm-online'
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
name = 'nmtui'
|
name = 'nmtui'
|
||||||
|
|
||||||
common_c_flags = clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)]
|
common_c_flags = clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)]
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nmt-newt-button-box.c',
|
'nmt-newt-button-box.c',
|
||||||
'nmt-newt-button.c',
|
'nmt-newt-button.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input: 'server.conf.in',
|
input: 'server.conf.in',
|
||||||
output: '@BASENAME@',
|
output: '@BASENAME@',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
dispatcher_inc = include_directories('.')
|
dispatcher_inc = include_directories('.')
|
||||||
|
|
||||||
name = 'nm-dispatcher'
|
name = 'nm-dispatcher'
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-dispatcher-envp'
|
test_unit = 'test-dispatcher-envp'
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
if enable_introspection
|
if enable_introspection
|
||||||
settings = 'settings-spec'
|
settings = 'settings-spec'
|
||||||
output = settings + '.xml'
|
output = settings + '.xml'
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
src_dirs = [
|
src_dirs = [
|
||||||
libnm_core_inc,
|
libnm_core_inc,
|
||||||
libnm_inc,
|
libnm_inc,
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
subdir('libnm')
|
subdir('libnm')
|
||||||
subdir('api')
|
subdir('api')
|
||||||
|
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
examples = [
|
examples = [
|
||||||
['add-connection-gdbus', [libnm_enum_sources[1]], [uuid_dep]],
|
['add-connection-gdbus', [libnm_enum_sources[1]], [uuid_dep]],
|
||||||
['add-connection-libnm', [], [libnm_dep]],
|
['add-connection-libnm', [], [libnm_dep]],
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
examples = [
|
examples = [
|
||||||
['add-connection-wired', []],
|
['add-connection-wired', []],
|
||||||
['list-connections', []],
|
['list-connections', []],
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
ifaces_secret_agent_xml = files('org.freedesktop.NetworkManager.SecretAgent.xml')
|
ifaces_secret_agent_xml = files('org.freedesktop.NetworkManager.SecretAgent.xml')
|
||||||
|
|
||||||
ifaces_vpn_plugin_xml = files('org.freedesktop.NetworkManager.VPN.Plugin.xml')
|
ifaces_vpn_plugin_xml = files('org.freedesktop.NetworkManager.VPN.Plugin.xml')
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
libnm_core_inc = include_directories('.')
|
libnm_core_inc = include_directories('.')
|
||||||
|
|
||||||
libnm_core_nm_default_dep = declare_dependency(
|
libnm_core_nm_default_dep = declare_dependency(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
# test-cert.p12 created with:
|
# test-cert.p12 created with:
|
||||||
#
|
#
|
||||||
# openssl pkcs12 -export \
|
# openssl pkcs12 -export \
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
libnm_inc = include_directories('.')
|
libnm_inc = include_directories('.')
|
||||||
|
|
||||||
libnm_nm_default_dep = declare_dependency(
|
libnm_nm_default_dep = declare_dependency(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_units = [
|
test_units = [
|
||||||
['test-libnm', 30],
|
['test-libnm', 30],
|
||||||
['test-nm-client', 90],
|
['test-nm-client', 90],
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
common_ent_file = configure_file(
|
common_ent_file = configure_file(
|
||||||
input: 'common.ent.in',
|
input: 'common.ent.in',
|
||||||
output: '@BASENAME@',
|
output: '@BASENAME@',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'NetworkManager', 'c',
|
'NetworkManager', 'c',
|
||||||
# NOTE: When incrementing version also:
|
# NOTE: When incrementing version also:
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
i18n.gettext(nm_name, preset: 'glib')
|
i18n.gettext(nm_name, preset: 'glib')
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'c-list',
|
'c-list',
|
||||||
'c',
|
'c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
#
|
#
|
||||||
# target: libclist.so
|
# target: libclist.so
|
||||||
# (No .so is built so far, since we are header-only. This might change in the
|
# (No .so is built so far, since we are header-only. This might change in the
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'c-rbtree',
|
'c-rbtree',
|
||||||
'c',
|
'c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
#
|
#
|
||||||
# target: libcrbtree.so
|
# target: libcrbtree.so
|
||||||
#
|
#
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'c-siphash',
|
'c-siphash',
|
||||||
'c',
|
'c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
#
|
#
|
||||||
# target: libcsiphash.so
|
# target: libcsiphash.so
|
||||||
#
|
#
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'c-stdaux',
|
'c-stdaux',
|
||||||
'c',
|
'c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
#
|
#
|
||||||
# target: libcstdaux.so
|
# target: libcstdaux.so
|
||||||
# (No .so is built so far, since we are header-only. This might change in the
|
# (No .so is built so far, since we are header-only. This might change in the
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
shared_inc = include_directories('.')
|
shared_inc = include_directories('.')
|
||||||
|
|
||||||
nm_default_dep = declare_dependency(include_directories: [top_inc, shared_inc])
|
nm_default_dep = declare_dependency(include_directories: [top_inc, shared_inc])
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'n-acd',
|
'n-acd',
|
||||||
'c',
|
'c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
#
|
#
|
||||||
# target: libnacd.so
|
# target: libnacd.so
|
||||||
#
|
#
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'n-dhcp4',
|
'n-dhcp4',
|
||||||
'c',
|
'c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
#
|
#
|
||||||
# target: libndhcp4.so
|
# target: libndhcp4.so
|
||||||
#
|
#
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-shared-general'
|
test_unit = 'test-shared-general'
|
||||||
|
|
||||||
c_flags = [
|
c_flags = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nm-atm-manager.c',
|
'nm-atm-manager.c',
|
||||||
'nm-device-adsl.c',
|
'nm-device-adsl.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nm-bluez-manager.c',
|
'nm-bluez-manager.c',
|
||||||
'nm-bt-error.c',
|
'nm-bt-error.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
subdir('adsl')
|
subdir('adsl')
|
||||||
|
|
||||||
if enable_modem_manager
|
if enable_modem_manager
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nm-device-ovs-bridge.c',
|
'nm-device-ovs-bridge.c',
|
||||||
'nm-device-ovs-interface.c',
|
'nm-device-ovs-interface.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nm-device-team.c',
|
'nm-device-team.c',
|
||||||
'nm-team-factory.c',
|
'nm-team-factory.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_units = [
|
test_units = [
|
||||||
'test-acd',
|
'test-acd',
|
||||||
'test-lldp',
|
'test-lldp',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
iwd_sources = files()
|
iwd_sources = files()
|
||||||
if enable_iwd
|
if enable_iwd
|
||||||
iwd_sources += files(
|
iwd_sources += files(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
nm_service_providers_source = files('nm-service-providers.c')
|
nm_service_providers_source = files('nm-service-providers.c')
|
||||||
|
|
||||||
sources = nm_service_providers_source + files(
|
sources = nm_service_providers_source + files(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
name = 'nm-dhcp-helper'
|
name = 'nm-dhcp-helper'
|
||||||
|
|
||||||
c_flags = [
|
c_flags = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_units = [
|
test_units = [
|
||||||
'test-dhcp-dhclient',
|
'test-dhcp-dhclient',
|
||||||
'test-dhcp-utils',
|
'test-dhcp-utils',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-dnsmasq-utils'
|
test_unit = 'test-dnsmasq-utils'
|
||||||
|
|
||||||
exe = executable(
|
exe = executable(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nmi-cmdline-reader.c',
|
'nmi-cmdline-reader.c',
|
||||||
'nmi-dt-reader.c',
|
'nmi-dt-reader.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
c_flags = test_c_flags + ['-DTEST_INITRD_DIR="@0@"'.format(meson.current_source_dir())]
|
c_flags = test_c_flags + ['-DTEST_INITRD_DIR="@0@"'.format(meson.current_source_dir())]
|
||||||
|
|
||||||
test_units = [
|
test_units = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
src_inc = include_directories('.')
|
src_inc = include_directories('.')
|
||||||
|
|
||||||
daemon_nm_default_dep = declare_dependency(
|
daemon_nm_default_dep = declare_dependency(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-ndisc-fake'
|
test_unit = 'test-ndisc-fake'
|
||||||
|
|
||||||
exe = executable(
|
exe = executable(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_fake_c_flags = test_c_flags + ['-DSETUP=nm_fake_platform_setup']
|
test_fake_c_flags = test_c_flags + ['-DSETUP=nm_fake_platform_setup']
|
||||||
test_linux_c_flags = test_c_flags + ['-DSETUP=nm_linux_platform_setup']
|
test_linux_c_flags = test_c_flags + ['-DSETUP=nm_linux_platform_setup']
|
||||||
|
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
name = 'nm-pppd-plugin'
|
name = 'nm-pppd-plugin'
|
||||||
|
|
||||||
c_flags = [
|
c_flags = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
'nm-ifcfg-rh.conf',
|
'nm-ifcfg-rh.conf',
|
||||||
install_dir: dbus_conf_dir,
|
install_dir: dbus_conf_dir,
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-ifcfg-rh'
|
test_unit = 'test-ifcfg-rh'
|
||||||
|
|
||||||
exe = executable(
|
exe = executable(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'nms-ifupdown-interface-parser.c',
|
'nms-ifupdown-interface-parser.c',
|
||||||
'nms-ifupdown-parser.c',
|
'nms-ifupdown-parser.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-ifupdown'
|
test_unit = 'test-ifupdown'
|
||||||
|
|
||||||
exe = executable(
|
exe = executable(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-keyfile-settings'
|
test_unit = 'test-keyfile-settings'
|
||||||
|
|
||||||
exe = executable(
|
exe = executable(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
if enable_ifcfg_rh
|
if enable_ifcfg_rh
|
||||||
subdir('ifcfg-rh')
|
subdir('ifcfg-rh')
|
||||||
endif
|
endif
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_unit = 'test-supplicant-config'
|
test_unit = 'test-supplicant-config'
|
||||||
|
|
||||||
exe = executable(
|
exe = executable(
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
sources = files(
|
sources = files(
|
||||||
'src/libsystemd-network/arp-util.c',
|
'src/libsystemd-network/arp-util.c',
|
||||||
'src/libsystemd-network/dhcp-identifier.c',
|
'src/libsystemd-network/dhcp-identifier.c',
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
test_config_dir = meson.current_source_dir()
|
test_config_dir = meson.current_source_dir()
|
||||||
|
|
||||||
test_unit = 'test-config'
|
test_unit = 'test-config'
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
subdir('config')
|
subdir('config')
|
||||||
|
|
||||||
test_units = [
|
test_units = [
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
gnome.generate_vapi(
|
gnome.generate_vapi(
|
||||||
libnm_name,
|
libnm_name,
|
||||||
sources: libnm_gir[0],
|
sources: libnm_gir[0],
|
||||||
|
Reference in New Issue
Block a user