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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-04-15 10:59:03 +02:00
parent c716c2537f
commit 56d68e715b

View file

@ -3746,92 +3746,101 @@ found = []
missing = [] missing = []
foreach tuple : [ foreach tuple : [
['libcryptsetup'], # dependencies
['PAM'], ['ACL'],
['pwquality'],
['libfdisk'],
['p11kit'],
['libfido2'],
['tpm2'],
['AUDIT'], ['AUDIT'],
['IMA'],
['AppArmor'], ['AppArmor'],
['SELinux'], ['IMA'],
['PAM'],
['SECCOMP'], ['SECCOMP'],
['SELinux'],
['SMACK'], ['SMACK'],
['zlib'], ['blkid'],
['xz'], ['elfutils'],
['gcrypt'],
['gnutls'],
['libcryptsetup'],
['libcurl'],
['libfdisk'],
['libfido2'],
['libidn'],
['libidn2'],
['libiptc'],
['microhttpd'],
['openssl'],
['p11kit'],
['pcre2'],
['pwquality'],
['qrencode'],
['tpm2'],
['xkbcommon'],
# compression libs
['zstd'], ['zstd'],
['lz4'], ['lz4'],
['xz'],
['zlib'],
['bzip2'], ['bzip2'],
['ACL'],
['gcrypt'], # components
['qrencode'],
['microhttpd'],
['gnutls'],
['openssl'],
['libcurl'],
['idn'],
['initrd'],
['compat-mutable-uid-boundaries'],
['nscd'],
['libidn2'],
['libidn'],
['libiptc'],
['elfutils'],
['binfmt'],
['repart'],
['vconsole'],
['quotacheck'],
['tmpfiles'],
['environment.d'],
['sysusers'],
['firstboot'],
['randomseed'],
['backlight'], ['backlight'],
['rfkill'], ['binfmt'],
['xdg-autostart'],
['logind'],
['machined'],
['portabled'],
['sysext'],
['userdb'],
['homed'],
['importd'],
['hostnamed'],
['timedated'],
['timesyncd'],
['localed'],
['networkd'],
['resolve'],
['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'], ['coredump'],
['pstore'], ['environment.d'],
['oomd'],
['polkit'],
['legacy pkla', install_polkit_pkla],
['efi'], ['efi'],
['gnu-efi', have_gnu_efi], ['gnu-efi', have_gnu_efi],
['kmod'], ['firstboot'],
['xkbcommon'], ['hibernate'],
['pcre2'], ['homed'],
['blkid'], ['hostnamed'],
['dbus'], ['hwdb'],
['glib'], ['importd'],
['initrd'],
['kernel-install', get_option('kernel-install')],
['localed'],
['logind'],
['machined'],
['networkd'],
['nss-myhostname'], ['nss-myhostname'],
['nss-mymachines'], ['nss-mymachines'],
['nss-resolve'], ['nss-resolve'],
['nss-systemd'], ['nss-systemd'],
['hwdb'], ['oomd'],
['portabled'],
['pstore'],
['quotacheck'],
['randomseed'],
['repart'],
['resolve'],
['rfkill'],
['sysext'],
['systemd-analyze', conf.get('ENABLE_ANALYZE') == 1],
['sysusers'],
['timedated'],
['timesyncd'],
['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],
['idn'],
['polkit'],
['nscd'],
['legacy-pkla', install_polkit_pkla],
['kmod'],
['dbus'],
['glib'],
['tpm'], ['tpm'],
['man pages', want_man], ['man pages', want_man],
['html pages', want_html], ['html pages', want_html],
['man page indices', want_man and have_lxml], ['man page indices', want_man and have_lxml],
['SysV compat'], ['SysV compat'],
['compat-mutable-uid-boundaries'],
['utmp'], ['utmp'],
['ldconfig'], ['ldconfig'],
['hibernate'],
['adm group', get_option('adm-group')], ['adm group', get_option('adm-group')],
['wheel group', get_option('wheel-group')], ['wheel group', get_option('wheel-group')],
['gshadow'], ['gshadow'],
@ -3845,8 +3854,6 @@ foreach tuple : [
['link-systemctl-shared', get_option('link-systemctl-shared')], ['link-systemctl-shared', get_option('link-systemctl-shared')],
['link-networkd-shared', get_option('link-networkd-shared')], ['link-networkd-shared', get_option('link-networkd-shared')],
['link-timesyncd-shared', get_option('link-timesyncd-shared')], ['link-timesyncd-shared', get_option('link-timesyncd-shared')],
['kernel-install', get_option('kernel-install')],
['systemd-analyze', conf.get('ENABLE_ANALYZE') == 1],
['fexecve'], ['fexecve'],
['standalone-binaries', get_option('standalone-binaries')], ['standalone-binaries', get_option('standalone-binaries')],
] ]