diff --git a/.gitignore b/.gitignore index ae3d60547..b83ecb564 100644 --- a/.gitignore +++ b/.gitignore @@ -68,8 +68,6 @@ test-*.trs /src/nm-dispatcher/org.freedesktop.nm_dispatcher.service /src/nm-dispatcher/tests/test-dispatcher-envp -/clients/tui/nmtui - /data/NetworkManager.service /data/NetworkManager-wait-online.service /data/NetworkManager-dispatcher.service @@ -163,6 +161,8 @@ test-*.trs /src/nm-initrd-generator/tests/test-dt-reader /src/nm-initrd-generator/tests/test-ibft-reader +/src/nmtui/nmtui + /src/nm-cloud-setup/nm-cloud-setup /src/nm-cloud-setup/nm-cloud-setup.service /src/nm-cloud-setup/tests/test-cloud-setup-general @@ -301,6 +301,7 @@ test-*.trs /clients/common/tests/test-general /clients/common/tests/test-libnm-core-aux /clients/nm-online +/clients/tui/nmtui /dispatcher/nm-avahi-autoipd.action /dispatcher/nm-dispatcher /dispatcher/nmdbus-dispatcher.* diff --git a/Makefile.am b/Makefile.am index aa2a3e302..7f9c35132 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4605,10 +4605,6 @@ $(src_nm_online_nm_online_OBJECTS): $(src_libnm_client_public_mkenums_h) EXTRA_DIST += src/nm-online/meson.build -############################################################################### - -EXTRA_DIST += clients/meson.build - ############################################################################### # src/libnmc-base ############################################################################### @@ -4910,108 +4906,108 @@ endif EXTRA_DIST += src/libnmt-newt/meson.build ############################################################################### -# clients/tui +# src/nmtui ############################################################################### if BUILD_NMTUI -bin_PROGRAMS += clients/tui/nmtui +bin_PROGRAMS += src/nmtui/nmtui -clients_tui_nmtui_SOURCES = \ - clients/tui/nmtui.c \ - clients/tui/nmtui.h \ - clients/tui/nmtui-connect.c \ - clients/tui/nmtui-connect.h \ - clients/tui/nmtui-edit.c \ - clients/tui/nmtui-edit.h \ - clients/tui/nmtui-hostname.c \ - clients/tui/nmtui-hostname.h \ +src_nmtui_nmtui_SOURCES = \ + src/nmtui/nmtui.c \ + src/nmtui/nmtui.h \ + src/nmtui/nmtui-connect.c \ + src/nmtui/nmtui-connect.h \ + src/nmtui/nmtui-edit.c \ + src/nmtui/nmtui-edit.h \ + src/nmtui/nmtui-hostname.c \ + src/nmtui/nmtui-hostname.h \ \ - clients/tui/nm-editor-bindings.c \ - clients/tui/nm-editor-bindings.h \ - clients/tui/nm-editor-utils.c \ - clients/tui/nm-editor-utils.h \ + src/nmtui/nm-editor-bindings.c \ + src/nmtui/nm-editor-bindings.h \ + src/nmtui/nm-editor-utils.c \ + src/nmtui/nm-editor-utils.h \ \ - clients/tui/nmt-address-list.c \ - clients/tui/nmt-address-list.h \ - clients/tui/nmt-connect-connection-list.c \ - clients/tui/nmt-connect-connection-list.h \ - clients/tui/nmt-device-entry.c \ - clients/tui/nmt-device-entry.h \ - clients/tui/nmt-edit-connection-list.c \ - clients/tui/nmt-edit-connection-list.h \ - clients/tui/nmt-editor-grid.c \ - clients/tui/nmt-editor-grid.h \ - clients/tui/nmt-editor-page.c \ - clients/tui/nmt-editor-page.h \ - clients/tui/nmt-editor-page-device.c \ - clients/tui/nmt-editor-page-device.h \ - clients/tui/nmt-editor-section.c \ - clients/tui/nmt-editor-section.h \ - clients/tui/nmt-editor.c \ - clients/tui/nmt-editor.h \ - clients/tui/nmt-ip-entry.c \ - clients/tui/nmt-ip-entry.h \ - clients/tui/nmt-mac-entry.c \ - clients/tui/nmt-mac-entry.h \ - clients/tui/nmt-mtu-entry.c \ - clients/tui/nmt-mtu-entry.h \ - clients/tui/nmt-page-bond.c \ - clients/tui/nmt-page-bond.h \ - clients/tui/nmt-page-bridge.c \ - clients/tui/nmt-page-bridge.h \ - clients/tui/nmt-page-bridge-port.c \ - clients/tui/nmt-page-bridge-port.h \ - clients/tui/nmt-page-dsl.c \ - clients/tui/nmt-page-dsl.h \ - clients/tui/nmt-page-ethernet.c \ - clients/tui/nmt-page-ethernet.h \ - clients/tui/nmt-page-infiniband.c \ - clients/tui/nmt-page-infiniband.h \ - clients/tui/nmt-page-ip-tunnel.c \ - clients/tui/nmt-page-ip-tunnel.h \ - clients/tui/nmt-page-ip4.c \ - clients/tui/nmt-page-ip4.h \ - clients/tui/nmt-page-ip6.c \ - clients/tui/nmt-page-ip6.h \ - clients/tui/nmt-page-ppp.c \ - clients/tui/nmt-page-ppp.h \ - clients/tui/nmt-page-team.c \ - clients/tui/nmt-page-team.h \ - clients/tui/nmt-page-team-port.c \ - clients/tui/nmt-page-team-port.h \ - clients/tui/nmt-page-vlan.c \ - clients/tui/nmt-page-vlan.h \ - clients/tui/nmt-page-wifi.c \ - clients/tui/nmt-page-wifi.h \ - clients/tui/nmt-password-dialog.c \ - clients/tui/nmt-password-dialog.h \ - clients/tui/nmt-password-fields.c \ - clients/tui/nmt-password-fields.h \ - clients/tui/nmt-route-editor.c \ - clients/tui/nmt-route-editor.h \ - clients/tui/nmt-route-entry.c \ - clients/tui/nmt-route-entry.h \ - clients/tui/nmt-route-table.c \ - clients/tui/nmt-route-table.h \ - clients/tui/nmt-slave-list.c \ - clients/tui/nmt-slave-list.h \ - clients/tui/nmt-utils.c \ - clients/tui/nmt-utils.h \ - clients/tui/nmt-widget-list.c \ - clients/tui/nmt-widget-list.h \ + src/nmtui/nmt-address-list.c \ + src/nmtui/nmt-address-list.h \ + src/nmtui/nmt-connect-connection-list.c \ + src/nmtui/nmt-connect-connection-list.h \ + src/nmtui/nmt-device-entry.c \ + src/nmtui/nmt-device-entry.h \ + src/nmtui/nmt-edit-connection-list.c \ + src/nmtui/nmt-edit-connection-list.h \ + src/nmtui/nmt-editor-grid.c \ + src/nmtui/nmt-editor-grid.h \ + src/nmtui/nmt-editor-page.c \ + src/nmtui/nmt-editor-page.h \ + src/nmtui/nmt-editor-page-device.c \ + src/nmtui/nmt-editor-page-device.h \ + src/nmtui/nmt-editor-section.c \ + src/nmtui/nmt-editor-section.h \ + src/nmtui/nmt-editor.c \ + src/nmtui/nmt-editor.h \ + src/nmtui/nmt-ip-entry.c \ + src/nmtui/nmt-ip-entry.h \ + src/nmtui/nmt-mac-entry.c \ + src/nmtui/nmt-mac-entry.h \ + src/nmtui/nmt-mtu-entry.c \ + src/nmtui/nmt-mtu-entry.h \ + src/nmtui/nmt-page-bond.c \ + src/nmtui/nmt-page-bond.h \ + src/nmtui/nmt-page-bridge.c \ + src/nmtui/nmt-page-bridge.h \ + src/nmtui/nmt-page-bridge-port.c \ + src/nmtui/nmt-page-bridge-port.h \ + src/nmtui/nmt-page-dsl.c \ + src/nmtui/nmt-page-dsl.h \ + src/nmtui/nmt-page-ethernet.c \ + src/nmtui/nmt-page-ethernet.h \ + src/nmtui/nmt-page-infiniband.c \ + src/nmtui/nmt-page-infiniband.h \ + src/nmtui/nmt-page-ip-tunnel.c \ + src/nmtui/nmt-page-ip-tunnel.h \ + src/nmtui/nmt-page-ip4.c \ + src/nmtui/nmt-page-ip4.h \ + src/nmtui/nmt-page-ip6.c \ + src/nmtui/nmt-page-ip6.h \ + src/nmtui/nmt-page-ppp.c \ + src/nmtui/nmt-page-ppp.h \ + src/nmtui/nmt-page-team.c \ + src/nmtui/nmt-page-team.h \ + src/nmtui/nmt-page-team-port.c \ + src/nmtui/nmt-page-team-port.h \ + src/nmtui/nmt-page-vlan.c \ + src/nmtui/nmt-page-vlan.h \ + src/nmtui/nmt-page-wifi.c \ + src/nmtui/nmt-page-wifi.h \ + src/nmtui/nmt-password-dialog.c \ + src/nmtui/nmt-password-dialog.h \ + src/nmtui/nmt-password-fields.c \ + src/nmtui/nmt-password-fields.h \ + src/nmtui/nmt-route-editor.c \ + src/nmtui/nmt-route-editor.h \ + src/nmtui/nmt-route-entry.c \ + src/nmtui/nmt-route-entry.h \ + src/nmtui/nmt-route-table.c \ + src/nmtui/nmt-route-table.h \ + src/nmtui/nmt-slave-list.c \ + src/nmtui/nmt-slave-list.h \ + src/nmtui/nmt-utils.c \ + src/nmtui/nmt-utils.h \ + src/nmtui/nmt-widget-list.c \ + src/nmtui/nmt-widget-list.h \ $(NULL) -clients_tui_nmtui_CPPFLAGS = \ +src_nmtui_nmtui_CPPFLAGS = \ $(clients_cppflags) \ $(NEWT_CFLAGS) \ $(NULL) -clients_tui_nmtui_LDFLAGS = \ +src_nmtui_nmtui_LDFLAGS = \ -Wl,--version-script="$(srcdir)/linker-script-binary.ver" \ $(SANITIZER_EXEC_LDFLAGS) -clients_tui_nmtui_LDADD = \ +src_nmtui_nmtui_LDADD = \ src/libnmt-newt/libnmt-newt.a \ src/libnmc-setting/libnmc-setting.la \ src/libnmc-base/libnmc-base.la \ @@ -5027,10 +5023,14 @@ clients_tui_nmtui_LDADD = \ $(NEWT_LIBS) \ $(NULL) -$(clients_tui_nmtui_OBJECTS): $(src_libnm_core_public_mkenums_h) -$(clients_tui_nmtui_OBJECTS): $(src_libnm_client_public_mkenums_h) +$(src_nmtui_nmtui_OBJECTS): $(src_libnm_core_public_mkenums_h) +$(src_nmtui_nmtui_OBJECTS): $(src_libnm_client_public_mkenums_h) -nmtui_links = nmtui-edit nmtui-connect nmtui-hostname +nmtui_links = \ + nmtui-edit \ + nmtui-connect \ + nmtui-hostname \ + $(NULL) install-exec-hook-nmtui: for link in $(nmtui_links); do \ @@ -5048,7 +5048,7 @@ uninstall_hook += uninstall-hook-nmtui endif -EXTRA_DIST += clients/tui/meson.build +EXTRA_DIST += src/nmtui/meson.build ############################################################################### # src/nm-cloud-setup diff --git a/clients/meson.build b/clients/meson.build deleted file mode 100644 index 184b7b556..000000000 --- a/clients/meson.build +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later - -if enable_nmtui - subdir('tui') -endif diff --git a/meson.build b/meson.build index 36641b5eb..7e2bf7ee9 100644 --- a/meson.build +++ b/meson.build @@ -920,7 +920,6 @@ content_files = [] subdir('introspection') subdir('src') -subdir('clients') subdir('data') subdir('po') diff --git a/po/POTFILES.in b/po/POTFILES.in index 24755e9af..ac1bd52b6 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,37 +1,6 @@ [encoding: UTF-8] # List of source files containing translatable strings. # Please keep this file sorted alphabetically. -clients/tui/nm-editor-utils.c -clients/tui/nmt-connect-connection-list.c -clients/tui/nmt-device-entry.c -clients/tui/nmt-edit-connection-list.c -clients/tui/nmt-editor-section.c -clients/tui/nmt-editor.c -clients/tui/nmt-mtu-entry.c -clients/tui/nmt-page-bond.c -clients/tui/nmt-page-bridge-port.c -clients/tui/nmt-page-bridge.c -clients/tui/nmt-page-dsl.c -clients/tui/nmt-page-ethernet.c -clients/tui/nmt-page-infiniband.c -clients/tui/nmt-page-ip-tunnel.c -clients/tui/nmt-page-ip4.c -clients/tui/nmt-page-ip6.c -clients/tui/nmt-page-ppp.c -clients/tui/nmt-page-team-port.c -clients/tui/nmt-page-team.c -clients/tui/nmt-page-vlan.c -clients/tui/nmt-page-wifi.c -clients/tui/nmt-password-dialog.c -clients/tui/nmt-password-fields.c -clients/tui/nmt-route-editor.c -clients/tui/nmt-route-table.c -clients/tui/nmt-slave-list.c -clients/tui/nmt-widget-list.c -clients/tui/nmtui-connect.c -clients/tui/nmtui-edit.c -clients/tui/nmtui-hostname.c -clients/tui/nmtui.c data/org.freedesktop.NetworkManager.policy.in.in src/core/NetworkManagerUtils.c src/core/devices/adsl/nm-device-adsl.c @@ -183,3 +152,34 @@ src/nmcli/polkit-agent.c src/nmcli/settings.c src/nmcli/utils.c src/nmcli/utils.h +src/nmtui/nm-editor-utils.c +src/nmtui/nmt-connect-connection-list.c +src/nmtui/nmt-device-entry.c +src/nmtui/nmt-edit-connection-list.c +src/nmtui/nmt-editor-section.c +src/nmtui/nmt-editor.c +src/nmtui/nmt-mtu-entry.c +src/nmtui/nmt-page-bond.c +src/nmtui/nmt-page-bridge-port.c +src/nmtui/nmt-page-bridge.c +src/nmtui/nmt-page-dsl.c +src/nmtui/nmt-page-ethernet.c +src/nmtui/nmt-page-infiniband.c +src/nmtui/nmt-page-ip-tunnel.c +src/nmtui/nmt-page-ip4.c +src/nmtui/nmt-page-ip6.c +src/nmtui/nmt-page-ppp.c +src/nmtui/nmt-page-team-port.c +src/nmtui/nmt-page-team.c +src/nmtui/nmt-page-vlan.c +src/nmtui/nmt-page-wifi.c +src/nmtui/nmt-password-dialog.c +src/nmtui/nmt-password-fields.c +src/nmtui/nmt-route-editor.c +src/nmtui/nmt-route-table.c +src/nmtui/nmt-slave-list.c +src/nmtui/nmt-widget-list.c +src/nmtui/nmtui-connect.c +src/nmtui/nmtui-edit.c +src/nmtui/nmtui-hostname.c +src/nmtui/nmtui.c diff --git a/src/meson.build b/src/meson.build index c7bf5b00b..75dcbbfb1 100644 --- a/src/meson.build +++ b/src/meson.build @@ -93,6 +93,9 @@ endif subdir('nmcli') subdir('nm-dispatcher') subdir('nm-online') +if enable_nmtui + subdir('nmtui') +endif subdir('nm-initrd-generator') if enable_nm_cloud_setup subdir('nm-cloud-setup') diff --git a/clients/tui/meson.build b/src/nmtui/meson.build similarity index 99% rename from clients/tui/meson.build rename to src/nmtui/meson.build index 1043c6619..fe4401751 100644 --- a/clients/tui/meson.build +++ b/src/nmtui/meson.build @@ -46,6 +46,7 @@ executable( ), dependencies: [ libnm_dep, + newt_dep, glib_dep, ], link_with: [ diff --git a/clients/tui/nm-editor-bindings.c b/src/nmtui/nm-editor-bindings.c similarity index 100% rename from clients/tui/nm-editor-bindings.c rename to src/nmtui/nm-editor-bindings.c diff --git a/clients/tui/nm-editor-bindings.h b/src/nmtui/nm-editor-bindings.h similarity index 100% rename from clients/tui/nm-editor-bindings.h rename to src/nmtui/nm-editor-bindings.h diff --git a/clients/tui/nm-editor-utils.c b/src/nmtui/nm-editor-utils.c similarity index 100% rename from clients/tui/nm-editor-utils.c rename to src/nmtui/nm-editor-utils.c diff --git a/clients/tui/nm-editor-utils.h b/src/nmtui/nm-editor-utils.h similarity index 100% rename from clients/tui/nm-editor-utils.h rename to src/nmtui/nm-editor-utils.h diff --git a/clients/tui/nmt-address-list.c b/src/nmtui/nmt-address-list.c similarity index 100% rename from clients/tui/nmt-address-list.c rename to src/nmtui/nmt-address-list.c diff --git a/clients/tui/nmt-address-list.h b/src/nmtui/nmt-address-list.h similarity index 100% rename from clients/tui/nmt-address-list.h rename to src/nmtui/nmt-address-list.h diff --git a/clients/tui/nmt-connect-connection-list.c b/src/nmtui/nmt-connect-connection-list.c similarity index 100% rename from clients/tui/nmt-connect-connection-list.c rename to src/nmtui/nmt-connect-connection-list.c diff --git a/clients/tui/nmt-connect-connection-list.h b/src/nmtui/nmt-connect-connection-list.h similarity index 100% rename from clients/tui/nmt-connect-connection-list.h rename to src/nmtui/nmt-connect-connection-list.h diff --git a/clients/tui/nmt-device-entry.c b/src/nmtui/nmt-device-entry.c similarity index 100% rename from clients/tui/nmt-device-entry.c rename to src/nmtui/nmt-device-entry.c diff --git a/clients/tui/nmt-device-entry.h b/src/nmtui/nmt-device-entry.h similarity index 100% rename from clients/tui/nmt-device-entry.h rename to src/nmtui/nmt-device-entry.h diff --git a/clients/tui/nmt-edit-connection-list.c b/src/nmtui/nmt-edit-connection-list.c similarity index 100% rename from clients/tui/nmt-edit-connection-list.c rename to src/nmtui/nmt-edit-connection-list.c diff --git a/clients/tui/nmt-edit-connection-list.h b/src/nmtui/nmt-edit-connection-list.h similarity index 100% rename from clients/tui/nmt-edit-connection-list.h rename to src/nmtui/nmt-edit-connection-list.h diff --git a/clients/tui/nmt-editor-grid.c b/src/nmtui/nmt-editor-grid.c similarity index 100% rename from clients/tui/nmt-editor-grid.c rename to src/nmtui/nmt-editor-grid.c diff --git a/clients/tui/nmt-editor-grid.h b/src/nmtui/nmt-editor-grid.h similarity index 100% rename from clients/tui/nmt-editor-grid.h rename to src/nmtui/nmt-editor-grid.h diff --git a/clients/tui/nmt-editor-page-device.c b/src/nmtui/nmt-editor-page-device.c similarity index 100% rename from clients/tui/nmt-editor-page-device.c rename to src/nmtui/nmt-editor-page-device.c diff --git a/clients/tui/nmt-editor-page-device.h b/src/nmtui/nmt-editor-page-device.h similarity index 100% rename from clients/tui/nmt-editor-page-device.h rename to src/nmtui/nmt-editor-page-device.h diff --git a/clients/tui/nmt-editor-page.c b/src/nmtui/nmt-editor-page.c similarity index 100% rename from clients/tui/nmt-editor-page.c rename to src/nmtui/nmt-editor-page.c diff --git a/clients/tui/nmt-editor-page.h b/src/nmtui/nmt-editor-page.h similarity index 100% rename from clients/tui/nmt-editor-page.h rename to src/nmtui/nmt-editor-page.h diff --git a/clients/tui/nmt-editor-section.c b/src/nmtui/nmt-editor-section.c similarity index 100% rename from clients/tui/nmt-editor-section.c rename to src/nmtui/nmt-editor-section.c diff --git a/clients/tui/nmt-editor-section.h b/src/nmtui/nmt-editor-section.h similarity index 100% rename from clients/tui/nmt-editor-section.h rename to src/nmtui/nmt-editor-section.h diff --git a/clients/tui/nmt-editor.c b/src/nmtui/nmt-editor.c similarity index 100% rename from clients/tui/nmt-editor.c rename to src/nmtui/nmt-editor.c diff --git a/clients/tui/nmt-editor.h b/src/nmtui/nmt-editor.h similarity index 100% rename from clients/tui/nmt-editor.h rename to src/nmtui/nmt-editor.h diff --git a/clients/tui/nmt-ip-entry.c b/src/nmtui/nmt-ip-entry.c similarity index 100% rename from clients/tui/nmt-ip-entry.c rename to src/nmtui/nmt-ip-entry.c diff --git a/clients/tui/nmt-ip-entry.h b/src/nmtui/nmt-ip-entry.h similarity index 100% rename from clients/tui/nmt-ip-entry.h rename to src/nmtui/nmt-ip-entry.h diff --git a/clients/tui/nmt-mac-entry.c b/src/nmtui/nmt-mac-entry.c similarity index 100% rename from clients/tui/nmt-mac-entry.c rename to src/nmtui/nmt-mac-entry.c diff --git a/clients/tui/nmt-mac-entry.h b/src/nmtui/nmt-mac-entry.h similarity index 100% rename from clients/tui/nmt-mac-entry.h rename to src/nmtui/nmt-mac-entry.h diff --git a/clients/tui/nmt-mtu-entry.c b/src/nmtui/nmt-mtu-entry.c similarity index 100% rename from clients/tui/nmt-mtu-entry.c rename to src/nmtui/nmt-mtu-entry.c diff --git a/clients/tui/nmt-mtu-entry.h b/src/nmtui/nmt-mtu-entry.h similarity index 100% rename from clients/tui/nmt-mtu-entry.h rename to src/nmtui/nmt-mtu-entry.h diff --git a/clients/tui/nmt-page-bond.c b/src/nmtui/nmt-page-bond.c similarity index 100% rename from clients/tui/nmt-page-bond.c rename to src/nmtui/nmt-page-bond.c diff --git a/clients/tui/nmt-page-bond.h b/src/nmtui/nmt-page-bond.h similarity index 100% rename from clients/tui/nmt-page-bond.h rename to src/nmtui/nmt-page-bond.h diff --git a/clients/tui/nmt-page-bridge-port.c b/src/nmtui/nmt-page-bridge-port.c similarity index 100% rename from clients/tui/nmt-page-bridge-port.c rename to src/nmtui/nmt-page-bridge-port.c diff --git a/clients/tui/nmt-page-bridge-port.h b/src/nmtui/nmt-page-bridge-port.h similarity index 100% rename from clients/tui/nmt-page-bridge-port.h rename to src/nmtui/nmt-page-bridge-port.h diff --git a/clients/tui/nmt-page-bridge.c b/src/nmtui/nmt-page-bridge.c similarity index 100% rename from clients/tui/nmt-page-bridge.c rename to src/nmtui/nmt-page-bridge.c diff --git a/clients/tui/nmt-page-bridge.h b/src/nmtui/nmt-page-bridge.h similarity index 100% rename from clients/tui/nmt-page-bridge.h rename to src/nmtui/nmt-page-bridge.h diff --git a/clients/tui/nmt-page-dsl.c b/src/nmtui/nmt-page-dsl.c similarity index 100% rename from clients/tui/nmt-page-dsl.c rename to src/nmtui/nmt-page-dsl.c diff --git a/clients/tui/nmt-page-dsl.h b/src/nmtui/nmt-page-dsl.h similarity index 100% rename from clients/tui/nmt-page-dsl.h rename to src/nmtui/nmt-page-dsl.h diff --git a/clients/tui/nmt-page-ethernet.c b/src/nmtui/nmt-page-ethernet.c similarity index 100% rename from clients/tui/nmt-page-ethernet.c rename to src/nmtui/nmt-page-ethernet.c diff --git a/clients/tui/nmt-page-ethernet.h b/src/nmtui/nmt-page-ethernet.h similarity index 100% rename from clients/tui/nmt-page-ethernet.h rename to src/nmtui/nmt-page-ethernet.h diff --git a/clients/tui/nmt-page-infiniband.c b/src/nmtui/nmt-page-infiniband.c similarity index 100% rename from clients/tui/nmt-page-infiniband.c rename to src/nmtui/nmt-page-infiniband.c diff --git a/clients/tui/nmt-page-infiniband.h b/src/nmtui/nmt-page-infiniband.h similarity index 100% rename from clients/tui/nmt-page-infiniband.h rename to src/nmtui/nmt-page-infiniband.h diff --git a/clients/tui/nmt-page-ip-tunnel.c b/src/nmtui/nmt-page-ip-tunnel.c similarity index 100% rename from clients/tui/nmt-page-ip-tunnel.c rename to src/nmtui/nmt-page-ip-tunnel.c diff --git a/clients/tui/nmt-page-ip-tunnel.h b/src/nmtui/nmt-page-ip-tunnel.h similarity index 100% rename from clients/tui/nmt-page-ip-tunnel.h rename to src/nmtui/nmt-page-ip-tunnel.h diff --git a/clients/tui/nmt-page-ip4.c b/src/nmtui/nmt-page-ip4.c similarity index 100% rename from clients/tui/nmt-page-ip4.c rename to src/nmtui/nmt-page-ip4.c diff --git a/clients/tui/nmt-page-ip4.h b/src/nmtui/nmt-page-ip4.h similarity index 100% rename from clients/tui/nmt-page-ip4.h rename to src/nmtui/nmt-page-ip4.h diff --git a/clients/tui/nmt-page-ip6.c b/src/nmtui/nmt-page-ip6.c similarity index 100% rename from clients/tui/nmt-page-ip6.c rename to src/nmtui/nmt-page-ip6.c diff --git a/clients/tui/nmt-page-ip6.h b/src/nmtui/nmt-page-ip6.h similarity index 100% rename from clients/tui/nmt-page-ip6.h rename to src/nmtui/nmt-page-ip6.h diff --git a/clients/tui/nmt-page-ppp.c b/src/nmtui/nmt-page-ppp.c similarity index 100% rename from clients/tui/nmt-page-ppp.c rename to src/nmtui/nmt-page-ppp.c diff --git a/clients/tui/nmt-page-ppp.h b/src/nmtui/nmt-page-ppp.h similarity index 100% rename from clients/tui/nmt-page-ppp.h rename to src/nmtui/nmt-page-ppp.h diff --git a/clients/tui/nmt-page-team-port.c b/src/nmtui/nmt-page-team-port.c similarity index 100% rename from clients/tui/nmt-page-team-port.c rename to src/nmtui/nmt-page-team-port.c diff --git a/clients/tui/nmt-page-team-port.h b/src/nmtui/nmt-page-team-port.h similarity index 100% rename from clients/tui/nmt-page-team-port.h rename to src/nmtui/nmt-page-team-port.h diff --git a/clients/tui/nmt-page-team.c b/src/nmtui/nmt-page-team.c similarity index 100% rename from clients/tui/nmt-page-team.c rename to src/nmtui/nmt-page-team.c diff --git a/clients/tui/nmt-page-team.h b/src/nmtui/nmt-page-team.h similarity index 100% rename from clients/tui/nmt-page-team.h rename to src/nmtui/nmt-page-team.h diff --git a/clients/tui/nmt-page-vlan.c b/src/nmtui/nmt-page-vlan.c similarity index 100% rename from clients/tui/nmt-page-vlan.c rename to src/nmtui/nmt-page-vlan.c diff --git a/clients/tui/nmt-page-vlan.h b/src/nmtui/nmt-page-vlan.h similarity index 100% rename from clients/tui/nmt-page-vlan.h rename to src/nmtui/nmt-page-vlan.h diff --git a/clients/tui/nmt-page-wifi.c b/src/nmtui/nmt-page-wifi.c similarity index 100% rename from clients/tui/nmt-page-wifi.c rename to src/nmtui/nmt-page-wifi.c diff --git a/clients/tui/nmt-page-wifi.h b/src/nmtui/nmt-page-wifi.h similarity index 100% rename from clients/tui/nmt-page-wifi.h rename to src/nmtui/nmt-page-wifi.h diff --git a/clients/tui/nmt-password-dialog.c b/src/nmtui/nmt-password-dialog.c similarity index 100% rename from clients/tui/nmt-password-dialog.c rename to src/nmtui/nmt-password-dialog.c diff --git a/clients/tui/nmt-password-dialog.h b/src/nmtui/nmt-password-dialog.h similarity index 100% rename from clients/tui/nmt-password-dialog.h rename to src/nmtui/nmt-password-dialog.h diff --git a/clients/tui/nmt-password-fields.c b/src/nmtui/nmt-password-fields.c similarity index 100% rename from clients/tui/nmt-password-fields.c rename to src/nmtui/nmt-password-fields.c diff --git a/clients/tui/nmt-password-fields.h b/src/nmtui/nmt-password-fields.h similarity index 100% rename from clients/tui/nmt-password-fields.h rename to src/nmtui/nmt-password-fields.h diff --git a/clients/tui/nmt-route-editor.c b/src/nmtui/nmt-route-editor.c similarity index 100% rename from clients/tui/nmt-route-editor.c rename to src/nmtui/nmt-route-editor.c diff --git a/clients/tui/nmt-route-editor.h b/src/nmtui/nmt-route-editor.h similarity index 100% rename from clients/tui/nmt-route-editor.h rename to src/nmtui/nmt-route-editor.h diff --git a/clients/tui/nmt-route-entry.c b/src/nmtui/nmt-route-entry.c similarity index 100% rename from clients/tui/nmt-route-entry.c rename to src/nmtui/nmt-route-entry.c diff --git a/clients/tui/nmt-route-entry.h b/src/nmtui/nmt-route-entry.h similarity index 100% rename from clients/tui/nmt-route-entry.h rename to src/nmtui/nmt-route-entry.h diff --git a/clients/tui/nmt-route-table.c b/src/nmtui/nmt-route-table.c similarity index 100% rename from clients/tui/nmt-route-table.c rename to src/nmtui/nmt-route-table.c diff --git a/clients/tui/nmt-route-table.h b/src/nmtui/nmt-route-table.h similarity index 100% rename from clients/tui/nmt-route-table.h rename to src/nmtui/nmt-route-table.h diff --git a/clients/tui/nmt-slave-list.c b/src/nmtui/nmt-slave-list.c similarity index 100% rename from clients/tui/nmt-slave-list.c rename to src/nmtui/nmt-slave-list.c diff --git a/clients/tui/nmt-slave-list.h b/src/nmtui/nmt-slave-list.h similarity index 100% rename from clients/tui/nmt-slave-list.h rename to src/nmtui/nmt-slave-list.h diff --git a/clients/tui/nmt-utils.c b/src/nmtui/nmt-utils.c similarity index 100% rename from clients/tui/nmt-utils.c rename to src/nmtui/nmt-utils.c diff --git a/clients/tui/nmt-utils.h b/src/nmtui/nmt-utils.h similarity index 100% rename from clients/tui/nmt-utils.h rename to src/nmtui/nmt-utils.h diff --git a/clients/tui/nmt-widget-list.c b/src/nmtui/nmt-widget-list.c similarity index 100% rename from clients/tui/nmt-widget-list.c rename to src/nmtui/nmt-widget-list.c diff --git a/clients/tui/nmt-widget-list.h b/src/nmtui/nmt-widget-list.h similarity index 100% rename from clients/tui/nmt-widget-list.h rename to src/nmtui/nmt-widget-list.h diff --git a/clients/tui/nmtui-connect.c b/src/nmtui/nmtui-connect.c similarity index 100% rename from clients/tui/nmtui-connect.c rename to src/nmtui/nmtui-connect.c diff --git a/clients/tui/nmtui-connect.h b/src/nmtui/nmtui-connect.h similarity index 100% rename from clients/tui/nmtui-connect.h rename to src/nmtui/nmtui-connect.h diff --git a/clients/tui/nmtui-edit.c b/src/nmtui/nmtui-edit.c similarity index 100% rename from clients/tui/nmtui-edit.c rename to src/nmtui/nmtui-edit.c diff --git a/clients/tui/nmtui-edit.h b/src/nmtui/nmtui-edit.h similarity index 100% rename from clients/tui/nmtui-edit.h rename to src/nmtui/nmtui-edit.h diff --git a/clients/tui/nmtui-hostname.c b/src/nmtui/nmtui-hostname.c similarity index 100% rename from clients/tui/nmtui-hostname.c rename to src/nmtui/nmtui-hostname.c diff --git a/clients/tui/nmtui-hostname.h b/src/nmtui/nmtui-hostname.h similarity index 100% rename from clients/tui/nmtui-hostname.h rename to src/nmtui/nmtui-hostname.h diff --git a/clients/tui/nmtui.c b/src/nmtui/nmtui.c similarity index 100% rename from clients/tui/nmtui.c rename to src/nmtui/nmtui.c diff --git a/clients/tui/nmtui.h b/src/nmtui/nmtui.h similarity index 100% rename from clients/tui/nmtui.h rename to src/nmtui/nmtui.h diff --git a/tools/test-build.sh b/tools/test-build.sh index 6d77dea95..cb5199c85 100755 --- a/tools/test-build.sh +++ b/tools/test-build.sh @@ -31,7 +31,6 @@ build_out_of_tree() { TARGETS=("$@") if [ "${#TARGETS}" -lt 1 ]; then TARGETS=( - clients/tui/nmtui dispatcher/nm-dispatcher src/core/NetworkManager src/core/dhcp/nm-dhcp-helper @@ -40,6 +39,7 @@ if [ "${#TARGETS}" -lt 1 ]; then src/core/platform/tests/monitor src/nm-online/nm-online src/nmcli/nmcli + src/nmtui/nmtui $(git grep -h '\.l\?a\>' Makefile.am | sed 's/[a-zA-Z.0-9_-/]\+/\n\0\n/g' | sort -u | grep '\.l\?a$') ) fi