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

Re: Place of X RESOURCE files (xfree86_4.0.1)

On Fri, Oct 20, 2000 at 03:09:43AM +0900, ISHIKAWA Mutsumi wrote:
> My understand that:
>  `X resource files (e.g /usr/X11R6/lib/X11/app-defaults/XTerm) is
> conffiles'. So in xfree86_4.0.1.deb, X RESOURCE files will move from
> /usr/X11R6/lib/X11/app-defaults directory to /etc/X11/app-defaults
> directory and /usr/X11R6/lib/X11/app-defaults symlink point to
> /etc/X11/app-defaults
>  Is it right?

Yes, that is correct, and a change from traditional Debian policy.
However, upstream is pointing the way and it is clear that they want
app-defaults files in /etc.

>  But X resource files are not only place in /usr/X11R6/lib/app-defaults.
> We can put X resource file to /usr/X11R6/lib/$LANG/app-defaults.

Very true; I initially tried to fix this properly but it wouldn't work.

>  I think better to set not only #define XAppLoadDir but also
> #define XFileSearchPathDefaul host.def
>  If #define XFileSearchPathDefaul is set like this:
> #define XFileSearchPathDefault Concat4(EtcX11Directory/%L/%T/%N%C,%S:EtcX11Directory/%l/%T/%N%C,%S:EtcX11Directory/%T/%N%C,%S:EtcX11Directory/%L/%T/%N%S:EtcX11Directory/%l/%T/%N%S:EtcX11Directory/%T/%N%S):Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
>  X resource searching order is bellow:
>  $HOME/ja_JP.eucJP/XCalendar
>  $HOME/ja/XCalendar
>  $HOME/XCalendar
>  /etc/X11/ja_JP.eucJP/app-defaults/XCalendar
>  /etc/X11/ja/app-defaults/XCalendar
>  /etc/X11/app-defaults/XCalendar
>  /usr/X11R6/lib/X11/ja_JP.eucJP/app-defaults/XCalendar
>  /usr/X11R6/lib/X11/ja/app-defaults/XCalendar
>  /usr/X11R6/lib/X11/app-defaults/XCalendar
>  If the package's X resources installed into
> /etc/X11/ja_JP.eucJP/app-defaults and /etc/X11/app-defaults,
> X resource switching by using env LANG scheme will work correctly.
>  Any comments?

I will apply your patch for phase2v20, and we'll see if it works.  Thanks
very much for your contribution.

G. Branden Robinson             |   "Why do we have to hide from the police,
Debian GNU/Linux                |   Daddy?"
branden@debian.org              |   "Because we use vi, son.  They use
http://www.debian.org/~branden/ |   emacs."

Attachment: pgpjlqPb_fixE.pgp
Description: PGP signature

Reply to: