Migrating away from using cpp for startx and xinitrc in xinit

Alan Coopersmith alan.coopersmith at oracle.com
Tue Feb 10 07:44:36 PST 2015


On 02/10/15 05:01 AM, Matthieu Herrb wrote:
> In the case of startx / xinitrc I think it is possible to get rid of
> cpp without too much difficulty. It's doing static substitutions at
> build time only.
>
> The case of xrdb is more problematic. There the use of cpp to
> preprocess resources files at run time is a feature (and it depends on
> a "traditional" pre-processour). For this case using tradcpp (pointed
> out by Thomas Klausner further down this thread) is indeed the way to
> go.

Right - build time uses such as startx & xinitrc should be replacable
with a bit of work, such as Gaetan did in the past to use sed instead
of cpp on a bunch of man pages.

I think we're pretty much stuck with the runtime calls in xrdb & imake
though.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list