Commit Graph

2030 Commits

Author SHA1 Message Date
Bruce Dubbs
c51235c257 Mark /opt/xorg instructions "nodump"
We recommend using the /usr prefix for xorg, but the instructins
for putting it in /opt/xorg do work.  For jhalfs, having optional
instructions is confusing, so we mark the /opt/xorg "nodump" so
they will be ignored when automating BLFS.
2023-09-03 12:15:56 -05:00
Douglas R. Reno
eb6844544b Typos from rhubarbpieguy, and minor modification to bind-utils' XML to
make it standard with other pages.
2023-09-03 10:41:39 -05:00
Bruce Dubbs
511e498edb Remove duplicate words 2023-09-01 10:52:38 -05:00
Douglas R. Reno
d320827b5f Add a section to xorg-config about issues with Nouveau GPUs.
If we had the Xorg Drivers section still with xf86-video-nouveau there,
this probably would've gone over there originally, but this place fits
well.

The original plan was to put this into LFS, but I decided against it
since it works fine until you start using programs such as Epiphany or
KDE Plasma.
2023-08-30 23:14:09 -05:00
Douglas R. Reno
88146cd4c6 Archive LXDM.
Bruce suggested this due to issues with PAM and elogind.
2023-08-30 23:02:32 -05:00
Ken Moffat
9963df299d TTF-and-OTF fonts - more cleanups:
1. Remove redundant paragraph for Cantarell, left over from when it
was at gnome (latest gnome versions do not ship the fonts, only
the source - prepared TTF fonts are at Google fonts).

2. Reword the old KDE comment in Noto fonts, replace by mentioning
that Noto fonts are preferred for everything in KDE Plasma and
applications, except for monospace - and add link to Hack for that.

3. Comment Oxygen fonts.
2023-08-30 18:56:47 +01:00
Xi Ruoyao
7457dcb2dd
TTF-and-OTF-fonts: Expand and correct the info about variable fonts
I'm pretty sure most desktop apps can use variable fonts today (even
Xterm renders variable fonts fine).  But there is indeed something not
working, notably xelatex.
2023-08-31 00:45:59 +08:00
Ken Moffat
5a462915c8 Typo fox from rhubarbpieguy. 2023-08-30 15:52:45 +01:00
Xi Ruoyao
fcf7e1393c
TTF fonts: Correct geographic terms, and add (back) monolithic Noto Sans/Serif CJK
PRC contains mainland China, Hong Kong, Macao, and Taiwan.  (In some
uses "mainland" also contains Hong Kong and Macao, but it depends on
the context).

In mainland China many users want TC and JP fonts alongside SC font
because once you know SC you can just read TC seamlessly, and many
Chinese Linux users (not including me) are Japanese cartoon or game
fans.  IMO using the monolithic CJK .ttc font file is easier.
2023-08-30 14:46:22 +08:00
Douglas R. Reno
8251b48197 Tuning Fontconfig: Minor text tweaks 2023-08-29 19:58:02 -05:00
Douglas R. Reno
a41ab12fd9 TTF and OTF Fonts: text tweaks after a review 2023-08-29 19:41:21 -05:00
Bruce Dubbs
056b4ceba5 Minor spelling/gramamr updates 2023-08-29 19:23:44 -05:00
Ken Moffat
32f90b11f1 Update details in TTF-and-OTF-fonts.xml
1. mention variable fonts (not generally useful for the desktop)
 2. Cantarell is now at google fonts
 3. The organization of Noto fonts has changed. Provide an example
    for how to download, and working links for the CJK variants (now
    just Noto Sans JP etc).
 4. Oxygen Sans and Mono now at google fonts, but each is separate.
 5. Comment the Noto Sans CJK item, the links are no longer useful
    and the fonts have been renamed.
 6. Fix the debian UMing link to point to the tarball.
2023-08-29 23:56:29 +01:00
Douglas R. Reno
fbf7a3d1f8 Tag the Wacom driver 2023-08-28 17:13:14 -05:00
Douglas R. Reno
ef12a7e003 Tags 2023-08-28 00:26:37 -05:00
Pierre Labastie
e440af55af Remove trailing spaces and a few typos 2023-08-27 10:41:46 +02:00
Douglas R. Reno
479979e5f9 Tags 2023-08-18 15:05:38 -05:00
Douglas R. Reno
57d2e27b47 libxcb: Python 3 is now mandatory, so we no longer need to specify it 2023-08-18 11:37:36 -05:00
Bruce Dubbs
7a66d3bcfb Typo 2023-08-18 10:43:17 -05:00
Bruce Dubbs
f84ad2e01e Tag most of Chapter 24 2023-08-17 19:27:51 -05:00
Bruce Dubbs
0173ebe04e Update to xwayland-23.2.0. 2023-08-17 16:29:58 -05:00
Bruce Dubbs
95ee13f27e Update to mesa-23.1.6. 2023-08-17 15:46:23 -05:00
Bruce Dubbs
840763315b Update to libxcb-1.16. 2023-08-17 15:01:29 -05:00
Bruce Dubbs
62a5408799 Update to xcb-proto-1.16.0. 2023-08-17 14:39:52 -05:00
Xi Ruoyao
a698f381b5
Revert "mesa: Document a test timeout with Glibc-2.38"
This reverts commit 3cb77ad5a6.

Fixed with the Glibc memalign patch.
2023-08-16 16:47:18 +08:00
Xi Ruoyao
89a234100d
libxcb: Fix documention ownership
I remember we've discussed this on IRC several months ago, and I just
noticed it again today...
2023-08-14 19:45:05 +08:00
Bruce Dubbs
8b095de141 Update to mesa-23.1.5. 2023-08-05 15:12:44 -05:00
Xi Ruoyao
65585fa70e
xwayland: Add Xorg applications as runtime dependency
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.
2023-08-04 12:59:34 +08:00
Xi Ruoyao
3cb77ad5a6
mesa: Document a test timeout with Glibc-2.38 2023-08-04 11:00:59 +08:00
Douglas R. Reno
0c76f3cfb3 Typo fixes from rhubarbpieguy 2023-08-01 15:22:19 -05:00
Xi Ruoyao
c41cafb3bc
kernel-config: Add color for hotkey
Align with recent LFS change.  Regenerate all kernel.xml files.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
14176436f0
kernel-config: Update the script
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.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
4e37f01a45
kernel-config: Do not include kernel version in every generated file
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.
2023-07-31 21:44:37 +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
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
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
Douglas R. Reno
18d398b5f8 Update to mesa-23.1.4 2023-07-23 13:02:35 -05:00
Douglas R. Reno
810935e2b5 Xorg-config: Add a section about configuring Tearfree.
We might want to consider reviewing that page now that we don't carry
any of the other Xorg drivers now.
2023-07-21 20:15:47 -05:00
Douglas R. Reno
a1ea6d4e94 Add the TearFree option back to Xorg-Server. Patch by Rahul Chandra 2023-07-21 11:51:31 -05:00
Xi Ruoyao
f4d129763c
/usr/libexec/Xorg does not exist anymore
With -Dsuid_wrapper=true removed from xorg-server, /usr/bin/Xorg is the
Xorg server itself.
2023-07-19 03:54:44 +08:00
Xi Ruoyao
b952db2ee8
xorg-server: "a even" -> "an even" 2023-07-19 03:54:44 +08:00