tech-userlevel archive

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

Re: pkgsrc and XAPPLRESDIR



Am 21.10.11 09:27, schrieb David Holland:
> On Thu, Oct 20, 2011 at 08:28:46PM +0900, Izumi Tsutsui wrote:
>  > Some packages install app-defaults file into /usr/pkg/lib/X11/app-defaults
>  > but the directory search is handled by X libraries (I guess)
>  > so xpkgwedge doesn't help at run time. (not installed by pkg_add(1))
>  > 
>  > I had to put setenv XAPPLRESDIR for it, but it took a few hours
>  > to remember it because I completely forgot it. In such case
>  > commented out variable settings in skel files might help users.
>  >
>  > Anyway it would be better to add a MESSAGE file that mentions XAPPLRESDIR
>  > to all packages which install app-defaults files (only ancient apps?),
>  > or simply fix our xsrc to search also /usr/pkg/lib/X11/app-defaults
>  > per PR xsrc/26357, as we already added /usr/pkg/bin into the default PATH.
> 
> That or patch the small number of packages that actually install an
> app-defaults file to compile the settings in instead.
> 
> The whole X resource scheme is a legacy mess and it's not worth
> spending time to sort it out carefully, IMO.

It works amazingly well.  Maybe folks spend not enough time learning it?


Home | Main Index | Thread Index | Old Index