Commit Graph

27142 Commits

Author SHA1 Message Date
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
Douglas R. Reno
2c0da0faa1 Update to libblockdev-3.0.2 2023-07-23 11:24:57 -05:00
Douglas R. Reno
1a53c84a87 Update to talloc-2.4.1.
Also remove all references to Python2 from the page since upstream has
completed it's removal of python2 support from this package
2023-07-23 11:12:25 -05:00
Douglas R. Reno
8fd54064cf Update to libshumate-1.0.5 2023-07-23 11:06:47 -05:00
Douglas R. Reno
467436e3de Update to unrar-6.2.9 2023-07-23 11:01:58 -05:00
Xi Ruoyao
1f2235c314
xdg-user-dirs: Add optional dependencies for man pages ...
and disable them by default.
2023-07-23 21:20:30 +08:00
Xi Ruoyao
ac465d6c0e
js102: Remove commented out stale work around and add <important> for GCC 32-bit issue
Let's stop puzzling the editors.
2023-07-23 08:43:34 +08:00
Douglas R. Reno
aa1bc104f3 Update to OpenJDK-20.0.2 (Security Update) 2023-07-22 17:12:51 -05:00
Xi Ruoyao
293e4018be
qemu: Remove dependency to x-window-system
I'm pretty sure it's at least not "required": there are some
configurations running qemu "headless".

And it seems qemu does not refers to any X components directly.  It uses
X through SDL or GTK3, and they are already in the dependencies.
2023-07-22 13:07:44 +08:00