Why does xrdb require cpp?
Hello! On Tumbleweed and openSUSE Leap, xrdb package pulls cpp as its requirement? It seems to be a hardcoded requirement in the spec-file https://build.opensuse.org/package/view_file/openSUSE:Factory/xrdb/xrdb.spec Can anyone tell me the reason for this requirement? best regards Thomas
On Mon, 2023-01-09 at 09:43 +0100, Thomas Wagner wrote:
Hello!
On Tumbleweed and openSUSE Leap, xrdb package pulls cpp as its requirement? It seems to be a hardcoded requirement in the spec-file https://build.opensuse.org/package/view_file/openSUSE:Factory/xrdb/xrdb.spec Can anyone tell me the reason for this requirement?
From the xrdb man page: "The file specified by filename (or the contents from standard input if - or no filename is given) is optionally passed through the C preprocessor" Regards Martin
On Mon, Jan 09, 2023 at 09:43:33AM +0100, Thomas Wagner wrote:
Hello!
On Tumbleweed and openSUSE Leap, xrdb package pulls cpp as its requirement? It seems to be a hardcoded requirement in the spec-file https://build.opensuse.org/package/view_file/openSUSE:Factory/xrdb/xrdb.spec Can anyone tell me the reason for this requirement?
best regards
The input files for this tool are processed by the C Praeprocessor cpp, se manpage ;) Ciao, Marcus
Hi Thomas, Am Mo., 9. Jan. 2023 um 09:43 Uhr schrieb Thomas Wagner <wagner-thomas@gmx.at>:
https://build.opensuse.org/package/view_file/openSUSE:Factory/xrdb/xrdb.spec Can anyone tell me the reason for this requirement?
Unfortunately that's how xrdb input files work (they are preprocessed with a C preprocessor). I used to carry (many years ago) a patch to use mcpp for that, which is a tiny C preprocessor and not as heavy as the full GCC toolchain is, but this was dropped long ago because of slight incompatibilities and unfixed bugs in mcpp. Is there a concern in installation size that is driving your question? Greetings, Dirk
participants (4)
-
Dirk Müller
-
Marcus Meissner
-
Martin Wilck
-
Thomas Wagner