Commit Graph

26950 Commits

Author SHA1 Message Date
Xi Ruoyao
4955b595ba
fuse: Use new kernel configuration rendering
And fix the test command, simplify the doc install command, document a
mysterious test failure.
2023-07-31 21:44:36 +08:00
Xi Ruoyao
2d9bcc8c4d
dosfstools: Use new kernel configuration rendering, and ...
clarify the rationale of the package and kernel support.

Note that we actually do not need this package if we only need to mount
FAT fs, not create or check or relabel it.
2023-07-31 21:44:36 +08:00
Xi Ruoyao
10b89821d1
grub-setup: Add kernel configuration into index 2023-07-31 21:44:36 +08:00
Xi Ruoyao
6af847b8dd
uefi: Use new kernel config
Fix an issue causing kernel-config.py not to process indented "source"
directive in Kconfig for this.
2023-07-31 21:44:36 +08:00
Xi Ruoyao
c36db1c461
Convert the remaining of X to use the new kernel-config system 2023-07-31 21:44:36 +08:00
Xi Ruoyao
d9e1464442
.gitignore: Don't ignore generated kernel configuration
We don't expect every editor to run kernel-config.py!
2023-07-31 21:44:36 +08:00
Xi Ruoyao
831ba20acd
kernel-config: Handle if/endif pairs in Kconfig, and allow to set "forced" attribute for options
For example, CONFIG_INPUT is forced w/o CONFIG_EXPERT.

libevdev kernel section needs these features to be rendered
successfully.
2023-07-31 21:44:36 +08:00
Xi Ruoyao
5ca8d70839
kernel-config: Allow setting comments for options, and convert Mesa 2023-07-31 21:44:35 +08:00
Xi Ruoyao
604355989a
Add kernel-config infrastructure
The kernel-config.py script takes a toml file containing a set of
kernel configuration key-value pairs.  Then it parses the Kconfig files
in a kernel source tree and render the given configuration as a
LFS-style <screen> in a separate XML file.  The XML file can be used in
the book with xinclude.

Some "features":

1. The lines are limited to 80 columns.
   If the text of the configuration option is too long, it will be
   trimmed; if the symbolic name of the option cannot fit in this line,
   a separate line will be used for it.
2. If a configuration option is given but it does not exist in Kconfig
   files, the script will abort immediately.  This helps catching
   removed options.
3. The script also aborts immediately if a configuration option is
   illegal, for example setting an option to 'M' while it cannot be a
   module.
4. The infrastructure is not wired into the main Makefile.  It's because
   not all editors have the latest kernel tree, and even if they do the
   locations of the kernel tree are still different.  To update the
   generated XML files, use
   "make -C kernel-config KERNEL_TREE=/sources/linux-x.y.z".

Backword incompatible change:

The script no longer outputs "CONFIG_" prefix for the symbolic name.  It
really does not make too much sense to waste 7 characters here because
it's a common prefix for all options!

A limitation:

The script does not really validate the configuration.  Generally
validating the configuration requires to solve the 3-CNF-SAT problem,
which is NP-complete.
2023-07-31 21:44:35 +08:00
Ken Moffat
11c720a621 Update to dvisvgm-3.1. 2023-07-30 23:23:02 +01:00
Bruce Dubbs
4b4ff5c890 PAckage updates.
Update to pipewire-0.3.76.
Update to mlt-7.18.0.
2023-07-30 16:46:03 -05:00
Bruce Dubbs
3cf047576f Update to gspell-1.12.2. 2023-07-30 16:28:11 -05:00
Bruce Dubbs
5864a1662c Update to gcc-13.2.0. 2023-07-30 16:15:35 -05:00
Xi Ruoyao
dfb8390cea
systemd: Update to systemd-254 2023-07-29 10:34:02 +08:00
Bruce Dubbs
cabcb6b9a2 Update to btrfs-progs-v6.3.3. 2023-07-28 13:58:41 -05:00
Douglas R. Reno
d7cb9192cc Update to nss-3.92 2023-07-28 13:44:57 -05:00
Douglas R. Reno
1c19af5d1a Update to sphinx-7.1.1 (Python Module) 2023-07-28 12:11:37 -05:00
Douglas R. Reno
5ac273f689 Update to python-dbusmock-0.29.1 (Python Module) 2023-07-28 12:11:37 -05:00
Bruce Dubbs
6886d518bc Typos 2023-07-28 12:10:23 -05:00
Bruce Dubbs
1ff589706d Update to umockdev-0.17.18 2023-07-27 11:26:11 -05:00
Xi Ruoyao
bc1414a348
p11-kit: Apply an upstreamed fix
The issue is a new regression in 0.25.0, and it's causing test failures
in glib-networking and libsoup.

We know we are on Linux so we don't need the fancy #ifdef stuff, so we
can simplify the change into a sed.
2023-07-27 14:53:05 +08:00
Xi Ruoyao
e9aa209b00
umockdev: Remove unneeded PATH addition for test
Now udevadm is in /usr/bin for both LFS SysV and LFS Systemd.
2023-07-27 14:20:16 +08:00
Douglas R. Reno
d26b2db100 Update to gexiv2-0.14.2 2023-07-26 13:08:20 -05:00
Douglas R. Reno
3a001df828 Update to cmake-3.27.1 2023-07-26 13:02:35 -05:00
Douglas R. Reno
f223225246 Update to curl-8.2.1 (Security Update) 2023-07-26 12:47:37 -05:00
Xi Ruoyao
7affde51e6
xorg-config: Further refine the condition where vga_arbiter is needed
Let's stop people from messing with vga_arbiter because they have two
state-of-art NVIDIA or AMD GPUs.
2023-07-26 17:58:30 +08:00
Xi Ruoyao
1473268a08
xorg-config: Remove xf86-video-* remnant from PRIME configuration
Hmm, it may be hard to distinguish two "modesetting"s here.  But anyway
this command is said to be unnecessary with the modesetting driver.
2023-07-26 17:03:45 +08:00
Xi Ruoyao
9871a7a6a8
xorg-config: Update the DRI checking example after xf86-video-* removal 2023-07-26 16:46:23 +08:00
Xi Ruoyao
4ada352178
xorg-config: Some reword about the TearFree control
1. Move the configuration file into /etc, to be consistent with other
   configuration files created in BLFS.
2. We no longer need a separate "configure the graphic card" example
   because the TearFree configuration file is already a good example.
3. Tearing issue is really not new after xf86-video-* removal.  In some
   xf86-video-* drivers a TearFree option is available but rarely
   enabled by default (only the amdgpu driver when the output is rotated
   or transformed).  So this is actually the first time we document it
   in BLFS.
4. It's really not difficult to observer the tearing by dragging a
   window in twm, despite twm only renders the window border during
   dragging.
2023-07-26 16:04:06 +08:00
Xi Ruoyao
2ac99448b1
xorg-config: Remove "AIGLX error" section
With modesetting driver, $HOME/.local/share/xorg/Xorg.0.log contains:

    [ 65817.713] (II) AIGLX: Loaded and initialized crocus

And there is no more "AIGLX error" messages.
2023-07-26 16:04:05 +08:00
Xi Ruoyao
1903174c9f
twm: Comment out xorg-legacy dependency
I really don't understand what it is for.  And I can run twm without it.

If someone has a good reason to use legacy fonts, please revert, but you
should at least consider marking it runtime and maybe demoting it to
optional.
2023-07-26 16:04:05 +08:00
Bruce Dubbs
bf800e6cca Update to qca-2.3.7. 2023-07-25 14:05:58 -05:00
Bruce Dubbs
41a259b7a8 Update to sudo-1.9.14p3. 2023-07-25 14:00:28 -05:00
Bruce Dubbs
a858014f04 Update to sphinx-7.1.0 (Python module). 2023-07-25 13:57:30 -05:00
Xi Ruoyao
50bf1ac670
x: Use <xref> for some references to wget
It would be easier for the user to just follow the link to wget page if
they've not installed wget yet.
2023-07-25 11:07:49 +08:00
Xi Ruoyao
18d18fb361
fontconfig: bubblewrap may be used for tests 2023-07-25 11:02:31 +08:00
Xi Ruoyao
6a88464cdd
graphite2: Add a comment about upstream issue for nametabletest failure
I spent a bunch of time for finding it...  Anyway it seems a
test-suite-only issue so I'm comforted.
2023-07-25 10:52:32 +08:00
Bruce Dubbs
aba3ad5bed Update to inkscape-1.3. 2023-07-24 19:24:05 -05:00
Bruce Dubbs
63c5cc9b8e Update lfs-perl-version 2023-07-24 12:07:00 -05:00
Xi Ruoyao
587231b38f
libarchive: Add bsdunzip into contents and short description 2023-07-24 21:43:19 +08:00
Xi Ruoyao
dda77cb2ff
Mention bsdunzip from libarchive as an unzip alternative 2023-07-24 20:01:00 +08:00
Xi Ruoyao
b1e8343a88
cmake: Add pkgs of which we use the internal copy (for now) as external dependencies 2023-07-24 17:51:02 +08:00
Douglas R. Reno
ea10c21d5a Fix rendering error after merge 2023-07-23 13:05:19 -05:00
Douglas R. Reno
b9348a58cf Update to pipewire-0.3.75 2023-07-23 13:04:19 -05:00
Douglas R. Reno
c0d220f830 Update to icewm-3.4.1 2023-07-23 13:04:18 -05:00
Douglas R. Reno
ea667b9c80 Update to glu-9.0.3 2023-07-23 13:03:36 -05:00
Douglas R. Reno
18d398b5f8 Update to mesa-23.1.4 2023-07-23 13:02:35 -05:00
Bruce Dubbs
b307bd7c25 Update to libreoffice-7.5.5.2. 2023-07-23 12:55:26 -05:00
Douglas R. Reno
4d5febb6be Update the gstreamer stack to 1.22.5 (Security Update) 2023-07-23 12:25:35 -05:00
Douglas R. Reno
a2ada4045d Update to librsvg-2.56.1 (Security Update) 2023-07-23 11:35:32 -05:00