If setxkbmap is not installed, Xwayland will refuse to start.
In a "normal" build Xorg applications should be pulled in by Xorg fonts
-> xcursor-themes -> Xorg applications, but we are saying "only
font-util" for Xorg fonts and font-util does not need xcursor-themes.
polkit is only a runtime dependency (at build time it checks the path of
a polkit helper, but if polkit is not installed the guessed value is
still correct on BLFS).
upower is only used for suspend and resume support, and the building
system tries systemd or elogind before trying it.
The special parse_choice function is just duplicating code unnecessary
and it has some flaws. Remove it and handle choice's with parse_config
too.
All kernel.xml files regenerated and there is no change.
It's almost a plain "conversion". Exceptions:
- In elogind, [CGROUPS] is dropped because it's in LFS now.
- In libusb, move the kernel configuration to match the layout of other
packages.
For example:
menu "Power management and ACPI options"
config ARCH_SUPPORTS_ACPI
bool
config ACPI
bool
depends on ARCH_SUPPORTS_ACPI
prompt "ACPI (Advanced Configuration and Power Interface) Support"
endmenu
If ACPI=y, we need to "backward propagate" it to ARCH_SUPPORTS_ACPI, in
order to further mark the menu used. Otherwise the ACPI menu won't show
up.
1. Don't throw unspecified entries too early. Doing so caused various
rendering glitches. And we can now also check if an entry is
selected but it's parent not.
2. "menu"s in Kconfig can also have dependencies...
Some pre-existing .toml data files are found problematic after the
change, fix them and regenerate all rendered -kernel.xml files.
1. It does not make sense to tell the users "enable CONFIG_DRM_NOUVEAU"
here. It's the kernel driver needs the firmware, not the opposite.
So drop the kernel configuration section here.
2. Port the script to Python 3. I've checked the md5sums of the output
binaries and they are same with the original version.
3. Bump the NVIDIA driver blob version. If the blob is not downloaded
or extracted, the script will tell to download 340.32, so we use the
same version to avoid confusion.
4. Update nouveau wiki link.
This is stupid and it will cause meaningless diffs in version control
(like this commit does :( ).
Remove the kernel version from the generated XML files. Add
kernel.version file into git to track the kernel version.
I don't know these FS very well so I did not change things, except:
- "SCSI_LOW_LEVEL" should be "SCSI_LOWLEVEL" (without the "_" between
"LOW" and "LEVEL").
- RAID append mode is deprecated, so I removed it.
And I've fixed some issues in kernel-config.py as well.