From: Zbigniew Jędrzejewski-Szmek Date: Thu, 15 Apr 2021 08:59:03 +0000 (+0200) Subject: meson: reorder the "features" list X-Git-Tag: v249-rc1~405^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56d68e715b7eaed3fff9980349409f74e22b6cc1;p=thirdparty%2Fsystemd.git meson: reorder the "features" list Try to make this more manageable by reording: - dependencies / inputs (with subcategory of compression libraries) - major components / outputs - optional features / conditionals that don't fit into the two above categories The division isn't well defined, because libraries often correspond one-to-one to feature, but not always. --- diff --git a/meson.build b/meson.build index da0e71fe1f1..8a11e091898 100644 --- a/meson.build +++ b/meson.build @@ -3746,92 +3746,101 @@ found = [] missing = [] foreach tuple : [ - ['libcryptsetup'], - ['PAM'], - ['pwquality'], - ['libfdisk'], - ['p11kit'], - ['libfido2'], - ['tpm2'], + # dependencies + ['ACL'], ['AUDIT'], - ['IMA'], ['AppArmor'], - ['SELinux'], + ['IMA'], + ['PAM'], ['SECCOMP'], + ['SELinux'], ['SMACK'], - ['zlib'], - ['xz'], - ['zstd'], - ['lz4'], - ['bzip2'], - ['ACL'], + ['blkid'], + ['elfutils'], ['gcrypt'], - ['qrencode'], - ['microhttpd'], ['gnutls'], - ['openssl'], + ['libcryptsetup'], ['libcurl'], - ['idn'], - ['initrd'], - ['compat-mutable-uid-boundaries'], - ['nscd'], - ['libidn2'], + ['libfdisk'], + ['libfido2'], ['libidn'], + ['libidn2'], ['libiptc'], - ['elfutils'], + ['microhttpd'], + ['openssl'], + ['p11kit'], + ['pcre2'], + ['pwquality'], + ['qrencode'], + ['tpm2'], + ['xkbcommon'], + + # compression libs + ['zstd'], + ['lz4'], + ['xz'], + ['zlib'], + ['bzip2'], + + # components + ['backlight'], ['binfmt'], - ['repart'], - ['vconsole'], - ['quotacheck'], - ['tmpfiles'], + ['coredump'], ['environment.d'], - ['sysusers'], + ['efi'], + ['gnu-efi', have_gnu_efi], ['firstboot'], - ['randomseed'], - ['backlight'], - ['rfkill'], - ['xdg-autostart'], + ['hibernate'], + ['homed'], + ['hostnamed'], + ['hwdb'], + ['importd'], + ['initrd'], + ['kernel-install', get_option('kernel-install')], + ['localed'], ['logind'], ['machined'], + ['networkd'], + ['nss-myhostname'], + ['nss-mymachines'], + ['nss-resolve'], + ['nss-systemd'], + ['oomd'], ['portabled'], + ['pstore'], + ['quotacheck'], + ['randomseed'], + ['repart'], + ['resolve'], + ['rfkill'], ['sysext'], - ['userdb'], - ['homed'], - ['importd'], - ['hostnamed'], + ['systemd-analyze', conf.get('ENABLE_ANALYZE') == 1], + ['sysusers'], ['timedated'], ['timesyncd'], - ['localed'], - ['networkd'], - ['resolve'], + ['tmpfiles'], + ['userdb'], + ['vconsole'], + ['xdg-autostart'], + + # optional features ['DNS-over-TLS(gnutls)', conf.get('DNS_OVER_TLS_USE_GNUTLS') == 1], ['DNS-over-TLS(openssl)', conf.get('DNS_OVER_TLS_USE_OPENSSL') == 1], - ['coredump'], - ['pstore'], - ['oomd'], + ['idn'], ['polkit'], - ['legacy pkla', install_polkit_pkla], - ['efi'], - ['gnu-efi', have_gnu_efi], + ['nscd'], + ['legacy-pkla', install_polkit_pkla], ['kmod'], - ['xkbcommon'], - ['pcre2'], - ['blkid'], ['dbus'], ['glib'], - ['nss-myhostname'], - ['nss-mymachines'], - ['nss-resolve'], - ['nss-systemd'], - ['hwdb'], ['tpm'], ['man pages', want_man], ['html pages', want_html], ['man page indices', want_man and have_lxml], ['SysV compat'], + ['compat-mutable-uid-boundaries'], ['utmp'], ['ldconfig'], - ['hibernate'], ['adm group', get_option('adm-group')], ['wheel group', get_option('wheel-group')], ['gshadow'], @@ -3845,8 +3854,6 @@ foreach tuple : [ ['link-systemctl-shared', get_option('link-systemctl-shared')], ['link-networkd-shared', get_option('link-networkd-shared')], ['link-timesyncd-shared', get_option('link-timesyncd-shared')], - ['kernel-install', get_option('kernel-install')], - ['systemd-analyze', conf.get('ENABLE_ANALYZE') == 1], ['fexecve'], ['standalone-binaries', get_option('standalone-binaries')], ]