Dne 10. 07. 23 v 11:07 Dominik 'Rathann' Mierzejewski napsal(a):
On Monday, 10 July 2023 at 11:00, Olivier Fourdan wrote:
[...]
> Can't comment on all the packages you listed
Thank you for chiming in.
> , but the C preprocessor
> (CPP) is indeed required by xrdb (that's an option in xrdb, see
"-cpp"
> in man xrdb) and xrdb itself is required by GDM:
>
https://src.fedoraproject.org/rpms/gdm/blob/rawhide/f/gdm.spec#_80
>
> GDM uses xrdb from its data/Init.in and data/Xsession.in:
>
>
https://gitlab.gnome.org/GNOME/gdm/-/blob/main/data/Xsession.in#L118-129
>
https://gitlab.gnome.org/GNOME/gdm/-/blob/main/data/Init.in#L31-34
>
> Please note that these commands all use "xrdb -nocpp" so cpp is not
> actually used there, but the package dependencies still pull it of
> course.
xrdb does not hard-depend on cpp, only recommends it:
$ rpm -qR xrdb |grep cpp
$ rpm -q --recommends xrdb
cpp
$
Right, that is why I have not noticed there actually is some (weak)
dependency installed on my system removing the CPP package.
Nevertheless, I still wonder, should the cpp be installed by default?
Can we exclude it somehow? Probably in kickstart. On my previous system
I have removed it probably years ago and I am not aware of any issue.
(With exception of GDM) does anybody using `xrdb` for anything where the
CPP is really needed?
Vít