There is problem for X.org 7.0.0 as it uses back /usr/lib/X11/app-defaults (see bug #107431) and not /etc/X11/app-defaults. Attached patch removes libdir settings for X.org>=7.0.0_rc1 so it uses default /usr/lib/X11/app-defaults. Reproducible: Always Steps to Reproduce:
Created attachment 73068 [details] Xterm version 204 with new pkg_setup for handling X.org 7 New pkg_setup checks if X.org 7 is installed and if so, it removes libdir settings.
Created attachment 73070 [details] Xterm version 204, small cleanup
This comment that I sent to bug #107431 is for this bug also, so here is copy: This is what I figured out with XTerm-204 with and without removed libdir settings in its ebuild for X.org-7.0.0_rc2: 1) /etc/X11/app-defaults and /etc/X11/{LANGUAGE}/app-defaults are used, when present 2) /usr/lib/X11/app-defaults and /usr/lib/X11/{LANGUAGE}/app-defaults are used as well So the only difference for X.org-7 is where app-defaults are normally installed. Nothing more. /etc/X11/app-defaults and /usr/lib/X11/app-defaults are searched (in this order) anyway (for XTerm at least).
Seemant, afaik this will be the new default directory for these files as of modular, but if you want to wait for modular to get out of ~M it might save some changes later. As it's been said it shouldn't be crippling, just a consistency issue.
Ah, it slipped my mind. Sorry for appearing to ignore you Oldrich :P I'd suggest you wait for a decision to be finalized in http://bugs.gentoo.org/show_bug.cgi?id=107431 .
This will be configurable in #208 (I've already done that part, by adding a --with-app-defaults option to the configure script).
xterm-207 has some fixes for this. Please test and reopen this bug if necessary (bug remains closed implies the fix works fine).