Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112793 - [EBUILD] Xterm ebuild installs app-defaults in /etc/X11 for X.org 7
Summary: [EBUILD] Xterm ebuild installs app-defaults in /etc/X11 for X.org 7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest minor (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 03:24 UTC by Oldrich Jedlicka
Modified: 2006-01-24 22:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xterm version 204 with new pkg_setup for handling X.org 7 (xterm-204.ebuild,2.79 KB, text/plain)
2005-11-17 03:26 UTC, Oldrich Jedlicka
Details
Xterm version 204, small cleanup (xterm-204.ebuild,2.77 KB, text/plain)
2005-11-17 03:29 UTC, Oldrich Jedlicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oldrich Jedlicka 2005-11-17 03:24:45 UTC
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:
Comment 1 Oldrich Jedlicka 2005-11-17 03:26:19 UTC
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.
Comment 2 Oldrich Jedlicka 2005-11-17 03:29:25 UTC
Created attachment 73070 [details]
Xterm version 204, small cleanup
Comment 3 Oldrich Jedlicka 2005-11-21 02:02:34 UTC
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).
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-11-23 20:38:08 UTC
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.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-11-23 20:41:55 UTC
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 .
Comment 6 Thomas Dickey 2005-11-26 05:35:40 UTC
This will be configurable in #208 (I've already done that part,
by adding a --with-app-defaults option to the configure script).
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2005-12-07 07:15:16 UTC
xterm-207 has some fixes for this. Please test and reopen this bug if necessary
(bug remains closed implies the fix works fine).