Commit Graph

140 Commits

Author SHA1 Message Date
Bruce Dubbs
f84ad2e01e Tag most of Chapter 24 2023-08-17 19:27:51 -05:00
Douglas R. Reno
0c76f3cfb3 Typo fixes from rhubarbpieguy 2023-08-01 15:22:19 -05: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
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
b952db2ee8
xorg-server: "a even" -> "an even" 2023-07-19 03:54:44 +08:00
Xi Ruoyao
cb88494ae6
xorg-server: Align kernel config 2023-07-18 02:27:04 +08:00
Xi Ruoyao
797182d11a
xorg-server: Add kernel configuration section 2023-07-13 03:12:04 +08:00
Xi Ruoyao
c97d35e2f6
xorg-server: Force -Dglamor=true
With the DDX drivers gone, we must use Glamor to provide the modeset
driver or X server won't start.
2023-07-13 01:45:49 +08:00
Xi Ruoyao
ed848370ef
xorg-server: Create /tmp/.{X11,ICE}-unix
So we don't need to reboot.
2023-07-13 01:32:34 +08:00
Xi Ruoyao
14891a9084
treewide: More "User Notes" clean up
Remove links to pages w/o real contents.
2023-06-30 02:18:51 +08:00
Douglas R. Reno
23502fea43 Update to xorg-server-21.1.8 2023-03-30 17:24:36 -05:00
Pierre Labastie
d5e731dfd3 xserver cannot use polkit, even at run time
also add role="runtime" for run time deps
2023-03-21 14:32:55 +01:00
Xi Ruoyao
adf287b1be
xorg-server: Mark both elogind and systemd dependencies runtime
xorg-server itself does not need libelogind/libsystemd to invoke the
logind D-Bus API.  elogind/systemd-logind works for Xorg server when you
login: once you've logged in on a TTY, pam_systemd or pam_elogind
invokes systemd-logind or elogind to modify the ACL of the device node
of GPU for you:

    $ getfacl /dev/dri/card1
    getfacl: Removing leading '/' from absolute path names
    # file: dev/dri/card1
    # owner: root
    # group: video
    user::rw-
    user:xry111:rw-
    group::rw-
    mask::rw-
    other::---

Note that the "user:xry111:rw-" line allows the user logged in (in this
example, xry111, my user account) to operate on the GPU.  If
systemd-logind or elogind is not installed, there will be no such a line
and you need to setuid bit for Xorg executable, which is not
recommended.

FWIW logind is smart enough not to add the ACL entry if you've logged in
via SSH.

You may need to logout and login again to use startx if you've installed
pam_{elogind,systemd} and Xorg server & xinit in a continous login
session, but this is already mentioned on xorg-config.xml.

You may ask why Xorg server links to libsystemd or libelogind.  It uses
sd_notify and sd_listen_fds API so the Xorg server can function as a
socket-activated systemd service.  This is useless in SysV: elogind is
a logind, not a service manager.  In Systemd the libsystemd.so installed
in LFS should be enough, and we've never provided instructions to run
Xorg server in BLFS as a systemd service.

Reported-by: Rainer Fiebig <jrf@mailbox.org>
2023-03-21 15:23:40 +08:00
Pierre Labastie
91318eb9aa Add "setup" to meson commands
I've not been very consistent on typography, but it is a start
2023-03-13 17:48:55 +01:00
Pierre Labastie
e444c3b940 xorg-server deps: Remove a spurious space in Sysv 2023-02-24 10:00:59 +01:00
Xi Ruoyao
efbfa241d5
xorg-server: Recommend the libinput driver at runtime
With no input driver we cannot make any input and we'll have to recover
the system via ssh or magic SysRq key.
2023-02-24 13:35:30 +08:00
Douglas R. Reno
18aa933933 Lots of tags for X 2023-02-16 14:17:59 -06:00
Tim Tassonis
24ac3c2034 Update to xorg-server-21.1.7.
Update to libX11-1.8.4.
2023-02-07 06:40:18 +01:00
Pierre Labastie
805d241153 Update to Xorg-server-21.1.6 2022-12-20 19:40:45 +01:00
Pierre Labastie
0e806de8b6 Update to xorg-server-21.1.5 2022-12-15 13:11:36 +01:00
Pierre Labastie
3f2db3a638 Remove sect1info tags
They only contain a date tag that is nowhere used.
2022-11-29 08:58:07 +01:00
Pierre Labastie
c844a60857 xkeyboard-config is used for X server tests
So it should be "required (runtime)" _and_ "optional (for tests)"
2022-09-07 15:02:36 +02:00
Douglas R. Reno
aa0b625099 Tag Xorg and dependencies 2022-08-22 21:55:59 -05:00
Douglas R. Reno
0bfec527d3 Two security updates:
Update to xorg-server-21.1.4
Update to Xwayland-22.1.3
2022-07-13 17:38:15 -05:00
Pierre Labastie
27bcf0163c Fix xorg-server for gcc-12 2022-05-13 07:13:58 +02:00
Bruce Dubbs
f3b995a21d Put xorg-server log into the correct place. 2022-04-03 16:39:22 -05:00
Bruce Dubbs
751dd1ebc0 Update to sysprof-3.44.0 and change some references.
Change <ulink> references to libunwind to internal <linkend> references.
2022-03-24 18:22:59 -05:00
Douglas R. Reno
f1a479c7e7 Package Updates and Tags
Update to xf86-input-wacom-1.0.0
Update to libdrm-2.4.110
Update to XWayland-22.1.0
2022-02-18 13:06:30 -06:00
Bruce Dubbs
4e08bcca71 Package updates.
Update to xorg-server-21.1.3.
Update to Pygments-2.11.1 (Python module).
Update to doxygen-1.9.3.
Update to wireshark-3.6.1.
2022-01-03 12:04:58 -06:00
Bruce Dubbs
e9641507e7 Package updates.
Update to XWayland-21.1.4.
Update to xorg-server-21.1.2.
Update to harfbuzz-3.2.0.
Update to libinput-1.19.3 (Xorg driver).
2021-12-16 15:09:17 -06:00
Pierre Labastie
623b3bcfb4 Add missing dependency libtirpc of xorg-server 2021-12-14 18:17:12 +01:00
Douglas R. Reno
c53fe5a77b Package updates and some tweaks
Update to vala-0.54.3
Update to librsvg-2.52.4
Update to libgusb-0.3.8
libxvct: minor spacing tweaks
xorg-server: minor formatting/spacing tweaks
2021-11-23 00:54:11 -06:00
Pierre Labastie
ab5ea1f1c2 Update xorg-server and add xwayland
xorg-server-21.1.1
xwayland-21.1.3
2021-11-21 11:42:53 +01:00
Pierre Labastie
85580446b2 Remove spaces at the end of lines
I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...
2021-09-06 19:42:49 +02:00
Pierre Labastie
34a6571e05 Tags 2021-08-28 15:44:55 +02:00
Thomas Trepl (Moody)
a70b1d1311 Tags 2021-08-17 23:38:51 +02:00
Bruce Dubbs
ca31bd3888 Package updates.
Update to xorg-server-1.20.13.
Update to mesa-21.1.6.
Update to libstatgrab-0.92.1.
Update to libblockdev-2.26.
2021-07-31 18:48:11 -05:00
Douglas R. Reno
72f9c9a1bc Package updates
Update to gtk+-3.24.30
Update to gnome-terminal-3.40.3
Update to xorg-server-1.20.12
Update to harfbuzz-2.8.2
2021-07-09 14:49:32 -05:00
Ken Moffat
d6a4d6e216 xorg-server-1.20.11 (security fix) 2021-04-28 21:23:59 +01:00
Xi Ruoyao
45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00
Bruce Dubbs
6b063cc376 Tag xorg
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24250 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-02-21 01:41:49 +00:00
Pierre Labastie
4c24eb0a40 Remove period at the end of short descriptions.
In the process, some attributes in single quotes have been changed to double
quotes, and a few attribute lists have been written on one line instead of
several lines.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24236 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-02-19 15:20:16 +00:00
Douglas R. Reno
ae0944a3ca Update to xorg-server-1.20.10 (Security Update)
Update to systemd-247
Update to nano-5.4
Update to libtirpc-1.3.1
Update to GnuTLS-3.7.0
Adapt xf86-input-wacom to udev changes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23955 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-12-05 19:29:55 +00:00
Douglas R. Reno
ec603a13ab Update to libX11-1.6.12 (Security Update)
Update to xorg-server-1.20.9 (Security Update)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23667 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-09-03 20:25:03 +00:00
Bruce Dubbs
1f6d0c13e3 Xorg tags and a few others
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23553 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-08-17 21:48:50 +00:00
Douglas R. Reno
b1a4b4a779 Update to libX11-1.6.11
Fix CVE-2020-14347 in xorg-server

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23492 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-08-12 01:25:28 +00:00
Bruce Dubbs
73db5703f3 Update to xorg-server-1.20.8.
Update to xfce4-terminal-0.8.9.2. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22918 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-03-30 17:00:36 +00:00
Bruce Dubbs
62a5037e46 Update to xterm-353.
Update to mesa-19.3.4. 
Update to wayland-1.18.0. 
Tag most of xorg (not all drivers) and xorg dependencies.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22699 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-02-16 04:23:35 +00:00
Bruce Dubbs
49fa433176 Update to git-2.25.0.
Update to ModemManager-1.12.4. 
Update to nss-3.49.1. 
Update to xorg-server-1.20.7. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22576 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-01-14 21:13:59 +00:00
Bruce Dubbs
8c5b007093 Update to xapian-core-1.4.14.
Update to stunnel-5.56. 
Update to xorg-server-1.20.6. 
Update to tcl8.6.10 and tk-8.6.10. 
Update to pcre2-10.34. 
Update to libtasn1-4.15.0. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22400 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-11-25 22:32:11 +00:00