Re: do we really need xrdb?



On Mon, 2005-10-17 at 18:14 +0200, Sebastien Bacher wrote:
> Le lundi 17 octobre 2005 à 09:32 -0600, Elijah Newren a écrit :
> 
> > we could achieve the same benefit by just calling xrdb with the -nocpp
> 
> We tried that before Ubuntu 5.10 and had some issues:
> https://bugzilla.ubuntu.com/show_bug.cgi?id=14268

"Some issues" is an understatement.  Without CPP being called, the xrdb
code is 100% useless.  The code basically spawns xrdb, writes out some
#defines for the the current theme colours, and then writes all of the
*.ad files in /etc and $HOME.  Without a C pre-processor, that produces
an invalid X Resources file.

Using a smaller CPP and delaying xrdb's execution until everything else
is started is the right solution here.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]