NetworkManager/tools
Thomas Haller b13a2b27e9
all: move shared/nm-meta-setting.[hc] to libnm-core and clients
"shared/nm-meta-setting.[hc]" contains meta data about settings.
As such it is similarly used by libnm-core (as internal API) and
by clients (as extension of public API of libnm). However, it must
be compiled twice, because while it defines in both cases a
NMMetaSettingInfo type, these types are different between internal and
public API.
Hence, the files must also be compiled twice (and differently), once
against libnm-core and once against the client helper library.

Previously, the file was under "shared/", but there it's a bit odd
it doesn't clearly belong anywhere.

There are two goals here:

 - copy the file to the two places where it is used. We also have
   a "check-tree" unit test that ensures those files don't diverge in
   the future.

 - we no longer require CFLAGS set during built. Instead, the sources
   should control the build. For that we have new (simple) headers
   "nm-meta-setting-base.h" that define the right behavior for the
   impl files.

There is still an ugliness (among several): the files must be named the
same for libnm-core and clients/common. Preferably, all our sources have
unique names, but that is not possible with this scheme (without
introducing other ugliness). To mitigate that, include the files only at
one exact place.
2021-02-09 12:38:19 +01:00
..
check-compare-generated.sh build: rename "tools/check-settings-docs.sh" to "check-compare-generated.sh" 2020-11-03 15:41:39 +01:00
check-config-options.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
check-docs.sh libnm/docs: hook up new nm-keyfile API in libnm documentation (fix) 2021-02-02 16:14:04 +01:00
check-exports.sh tools/check-exports.sh: use ${NM} when available 2015-09-24 16:28:15 +02:00
check-gitlab-ci.sh tools: improve detection of "ci-fairy" command in "tools/check-gitlab-ci.sh" 2020-12-11 16:08:47 +01:00
check-tree.sh all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
create-exports-NetworkManager.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
debug-helper.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
enums-to-docbook.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-property-infos.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-settings-docs-gir.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-settings-docs-merge.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
meson-post-install.sh docs: add more nm-settings manpages (dbus,nmcli,keyfile,ifcfg-rh) 2020-06-11 10:53:49 +02:00
run-nm-test.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
test-build.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
test-networkmanager-service.py tests: add a dbus test function to change delay of active connection state change 2021-02-02 10:42:33 +01:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00