Needs to call xrdb with cpp processing

Bug #21392 reported by Crispin Flowerday
18
Affects Status Importance Assigned to Milestone
control-center (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

In bug 20507 the call in gnome-settings-daemon to xrdb was changed to not use
the C pre-processor, but the resource files it imports need cpp to perform
expansion of things like FOREGROUND, BACKGROUND and various other variables, see
the files in /etc/gnome/config

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks.

That fixes it:

 control-center (1:2.12.0-0ubuntu3) breezy; urgency=low
 .
   * debian/patches/03_xrdb_cpp.patch:
     - undo this change it's not correct (Ubuntu: #15168).

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 21388 has been marked as a duplicate of this bug. ***

Revision history for this message
Matthew Dempsky (mrd-alkemio) wrote :

Is ``control-center 1:2.12.0-0ubuntu3'' different from ``gnome-control-center
2.12.0-0ubuntu3''? I have the latter installed and the former does not appear
to exist, but trying to run emacs gives me an error ``Undefined color:
"WINDOW_FOREGROUND"''.

Revision history for this message
Sebastien Bacher (seb128) wrote :

have you restarted GNOME? one is the source package, the other the binary package

Revision history for this message
Matthew Dempsky (mrd-alkemio) wrote :

Ah, after restarting gnome, emacs works fine again. Thank you.

(Sorry for the delayed response.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.