Commit Graph

26058 Commits

Author SHA1 Message Date
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
e65bf5e7a1 aspell: show how to install the English dictionary 2023-03-20 14:30:21 +01:00
Pierre Labastie
70d6ea499f Sysv: fix deps between dbus, X libs, and elogind
also remove a useless switch on dbus configure for sysv
2023-03-20 14:12:09 +01:00
Xi Ruoyao
4e992e567d
nss: Remove an unneeded chmod command
Reported-by: Dragan <dk@draakict.com>
Link: https://hg.mozilla.org/projects/nss/rev/734f3d2aab2
2023-03-20 19:06:31 +08:00
Xi Ruoyao
21114f6af6
make-ca: Mark p11-kit again as runtime, and ...
add a note about running make-ca itself in the installation section.
2023-03-20 19:05:26 +08:00
Xi Ruoyao
ad7f3b72dd
building-notes: Restructure my runtime addition to align with changes from Pierre
BTW, mention external optional dependencies.
2023-03-20 15:27:31 +08:00
Douglas R. Reno
686afa983c Fix building Firefox with LLVM-16. 2023-03-19 21:42:29 -05:00
Bruce Dubbs
b8a95d0d73 Clarify p11-kit dependencies 2023-03-19 13:44:15 -05:00
Pierre Labastie
3345cfea4d Remove the hint for circular dep in polkit
now elogind is not circular anymore. Also add missing "and" to the
systemd version
2023-03-19 15:55:33 +01:00
Pierre Labastie
47581826c7 make-ca: try to clarify the dependency on p11-kit 2023-03-19 15:23:08 +01:00
Xi Ruoyao
bca432de82
building-notes: Explain runtime dependencies 2023-03-19 21:52:58 +08:00
Xi Ruoyao
e746d7338c
remove old changelog .txt files
Well, now we are rotating changelog after each release, so why keeping
those old changelogs here?

If you need some historical reference, you can get them back from
version control anyway.
2023-03-19 21:52:54 +08:00
Pierre Labastie
992c9e7238 Fix elogind dependencies
- dbus is not needed for building (and strictly speaking, it is
not needed for running, but strongly recommended)
- polkit was said to be runtime but role="runtime" was missing
- only valgrind is needed for tests
- there is no trace of gobject-introspection in the deps.
2023-03-19 14:15:21 +01:00
Thomas Trepl
dc133d43c8 Merge branch 'trunk' of git.linuxfromscratch.org:blfs into trunk 2023-03-19 13:20:48 +01:00
Pierre Labastie
00231066f1 Clarify the role of runtime deps in conventions 2023-03-19 13:17:01 +01:00
Thomas Trepl
e4d0419fe0 Merge branch 'trunk' of git.linuxfromscratch.org:blfs into trunk 2023-03-19 11:36:21 +01:00
Thomas Trepl
f19f84bc20 Upgrade bind-9.18.13 2023-03-19 11:34:35 +01:00
Xi Ruoyao
bb6209fca0
llvm: Update content and short descriptions 2023-03-19 16:26:58 +08:00
Xi Ruoyao
17418d43e2
Update to rustc-1.68.0 (#17822) 2023-03-19 15:57:52 +08:00
Xi Ruoyao
b30ce9bd3e
Update to LLVM-16.0.0 (#17799) 2023-03-19 15:32:43 +08:00
Bruce Dubbs
f8b4f14d63 Minor changes.
Remove unzipi ftp url.
Add jemalloc as an optional external dependency for bind.
2023-03-18 18:48:39 -05:00
Pierre Labastie
005fa60314 A few fixes to recent updates
- fix gobject-instrospection download url
- libXaw tarball is now .xz
2023-03-18 10:29:01 +01:00
Bruce Dubbs
4b94d327fc Move SDL-1 to anduin. Upstream seems to have removed it 2023-03-17 15:39:43 -05:00
Bruce Dubbs
c346469519 Merge branch 'trunk' of git.linuxfromscratch.org:blfs into trunk 2023-03-17 15:20:42 -05:00
Bruce Dubbs
e628e0709c Update to openssh-9.3p1. 2023-03-17 15:18:30 -05:00
Bruce Dubbs
a0753aaa02 Update to Business-ISMN-1.203 (Perl module). 2023-03-17 13:59:56 -05:00
Bruce Dubbs
6ba02d0c0b Update to kImageAnnotator-0.6.1. 2023-03-17 13:55:20 -05:00
Bruce Dubbs
250e82dbf7 Update to libXaw-1.0.15 (Xorg library). 2023-03-17 13:35:06 -05:00
Bruce Dubbs
c98ea2d4f0 Update to highlight-4.5. 2023-03-17 13:24:21 -05:00
Bruce Dubbs
bca09814a5 Update to gobject-introspection-1.76.0. 2023-03-17 13:16:32 -05:00
Bruce Dubbs
bc1c6f2611 Update to cracklib-2.9.10. 2023-03-17 13:06:50 -05:00
Xi Ruoyao
0cef3a6752
grub-efi: Fix "blind mode" issue
Move "insmod all_video" out of the "if loadfont" statement.  It's enough
for the kernel to use EFI FB.

The "terminal_output gfxterm" statement has to be guarded by "if
loadfont", or it can garble the display if unicode.pf2 not available.

"gfxmode" seems no-use on EFI.  According to upstream doc it's only
used for VGA BIOS Extension (as the name suggests, not available in EFI
environment).
2023-03-17 22:56:23 +08:00
Bruce Dubbs
37d53b1d9f Package updates.
Update to cmake-3.26.0.
Update to git-2.40.0.
Update to icewm-3.3.2.
2023-03-16 18:42:34 -05:00
Bruce Dubbs
2830a226ec Update to Data-Compare-1.28 (Perl module). 2023-03-16 14:43:41 -05:00
Bruce Dubbs
bdcbdb2bb3 Update to Net-DNS-1.37 (Perl module). 2023-03-16 14:30:36 -05:00
Bruce Dubbs
4b9ee83cf5 Update to imlib2-1.11.0. 2023-03-16 14:23:26 -05:00
Bruce Dubbs
8ddd72ea45 Update to pipewire-0.3.67. 2023-03-16 13:31:58 -05:00
Xi Ruoyao
ef7a81a24b
gtk4: Realign doc instruction, and use remap='doc' for it 2023-03-16 18:18:36 +08:00
Ken Moffat
8e36f4dee6 Typo in previous commit. 2023-03-14 20:44:35 +00:00
Ken Moffat
081c78e887 Update to firefox-102.9.0esr and JS-102.9.0esr. 2023-03-14 20:41:19 +00:00
Pierre Labastie
3733ce5b65 Update kernel config for ntfs3 (in ntfs-3g)
The layout has changed. Current as of linux-6.2
2023-03-14 21:10:47 +01:00
Pierre Labastie
c667e1e5fa Update kernel config for elogind
The layout for cryptographic api has changed. This one is for
linux-6.2
2023-03-14 21:10:47 +01:00
Pierre Labastie
4eadcde482 Update cryptsetup kernel configuration
The layout has changed. Here is the one in linux-6.2
2023-03-14 21:10:47 +01:00
Pierre Labastie
b3da3b7e23 Update Kernel Configuration in cheese
The layout has changed slightly, and is accurate as of linux-6.2
2023-03-14 21:10:47 +01:00
Thomas Trepl
457f841423 Upgrade sqlite-3.41.1 2023-03-14 19:56:36 +01:00
Pierre Labastie
0f5515df63 Make a section for regulatory.db firmware
And tell the the cfg80211 driver needs to be loaded as a module.
See ticket #17780.
2023-03-13 18:38:33 +01:00
Tim Tassonis
00120f9621 Update to samba-4.18.0. 2023-03-13 18:28:47 +01: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
Xi Ruoyao
ca66edf064
Clarify wireless kernel requirements 2023-03-13 13:26:56 +08:00
Ken Moffat
b570b6aae4 Update to nss-3.89. 2023-03-13 05:14:31 +00:00