Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] lightdm Xsession: is xrdb "-nocpp" option necessary?
@ 2021-11-03 10:25 reedts
  2021-11-03 19:40 ` mtboehlke
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reedts @ 2021-11-03 10:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

New issue by reedts on void-packages repository

https://github.com/void-linux/void-packages/issues/33876

Description:
While investigating some strange problems on xsession startup using lightdm + i3, I found this line in `/etc/lightdm/Xsession` and was wondering whether the `-nocpp` option is used here for a specific reason: [see here](https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/lightdm/files/xsession#L19)

As an example from the archlinux package sources for lightdm: they're omitting the `-nocpp` option (see [here](https://github.com/archlinux/svntogit-packages/blob/8d85fa6b8d07e4a82b24efc7635853110c2f93ed/trunk/Xsession#L19))

Furthermore, having a look at xrdb's source code, you can see [here](https://gitlab.freedesktop.org/xorg/app/xrdb/-/blob/master/xrdb.c#L917) that xrdb should correctly check for the existence of the default cpp preprocessor (`/usr/lib/cpp`) and automatically disables preprocessing of `.Xresources` if the binary cannot be found.

So, in my opinion it should be safe omitting `-noccp` in the global `/etc/lightdm/Xsession` script and would simultaneously allow the user to have their `.Xresources` preprocessed on session-startup if a preprocessor can be found.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-06-24  2:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 10:25 [ISSUE] lightdm Xsession: is xrdb "-nocpp" option necessary? reedts
2021-11-03 19:40 ` mtboehlke
2021-11-03 19:48 ` mtboehlke
2021-11-03 19:49 ` mtboehlke
2021-11-03 21:25 ` mtboehlke
2022-06-10  2:14 ` github-actions
2022-06-24  2:15 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).