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

Bug#365612: default XFILESEARCHPATH no longer finds -color resources



Package: libxt6
Version: 1:1.0.0-4

The default XFILESEARCHPATH no longer contains the %C (customization)
expansion, required to find -color resources in /etc/X11/app-defaults.

With the previous version of X, a /etc/X11/Xresources/x11-common set:

  ! load color-specific resources for clients that have them
  #ifdef COLOR
  *customization: -color
  #endif

and the default XFILESEARCHPATH appears to have been (from strings on
libXt.so):

  /etc/X11/%L/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S:/usr/X11R6/lib/X11/%L/%T/%N%C%S:/usr/X11R6/lib/X11/%l/%T/%N%C%S:/usr/X11R6/lib/X11/%T/%N%C%S:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S

In the current version the x11-common resource has gone, and further the
default search path is set in debian/rules to:

  /usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S

It would be nice if this change could be reverted:  the -color version
of xclock and Xaw applications look substantially better.

Note also that the ordering of the older path searches /etc/X11 first,
meaning that resources for packaged applications should be found earlier
in the path.

--bod



Reply to: