Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220037 - sys-apps/groff installs into wrong X11/app-defaults directory
Summary: sys-apps/groff installs into wrong X11/app-defaults directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 12:50 UTC by Samuli Suominen (RETIRED)
Modified: 2008-05-05 20:54 UTC (History)
2 users (show)

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


Attachments
Bug fix for groff-1.19.2-r2.ebuild (groff-1.19.2-r2.ebuild.diff,616 bytes, patch)
2008-05-03 21:49 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2008-05-02 12:50:17 UTC
groff..

sys-apps/groff (/etc/X11/app-defaults/GXditview)

others..

x11-apps/xmessage (/usr/share/X11/app-defaults/Xmessage)
x11-apps/xmessage (/usr/share/X11/app-defaults/Xmessage-color)
x11-apps/xclock (/usr/share/X11/app-defaults/XClock)
x11-apps/xclock (/usr/share/X11/app-defaults/XClock-color)
x11-apps/xsm (/usr/share/X11/app-defaults/XSm)
x11-misc/xscreensaver (/usr/share/X11/app-defaults/XScreenSaver)
x11-base/xorg-server (/usr/share/X11/app-defaults/XOrgCfg)
x11-terms/xterm (/usr/share/X11/app-defaults/UXTerm)
x11-terms/xterm (/usr/share/X11/app-defaults/XTerm)
x11-terms/xterm (/usr/share/X11/app-defaults/XTerm-color)
x11-terms/xterm (/usr/share/X11/app-defaults/KOI8RXTerm)

I've had impression /usr/share/X11/app-defaults is the correct directory since some of the ebuilds (at the time when switching to modular X11) were patched to do so. X11, any comments?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2008-05-02 13:05:32 UTC
From http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml, 3.

"In Gentoo's X.Org 6.8 package, all of the configuration files and scripts were stored in /etc/X11. In modular X.Org, the upstream locations for these files have been changed -- that is, configuration files are still in /etc/X11, but scripts and default configurations are now in /usr/lib/X11 (or /usr/lib64/X11) and /usr/share/X11."

GXditview being a said "default configuration" here.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-05-03 19:55:29 UTC
Yes. The default should go where everything else installs in /usr/share, and local admin overrides should go in /etc.
Comment 3 Ulrich Müller gentoo-dev 2008-05-03 21:49:59 UTC
Created attachment 151735 [details, diff]
Bug fix for groff-1.19.2-r2.ebuild

Actually, this is trivial to fix. See attachment.
Comment 4 SpanKY gentoo-dev 2008-05-05 03:39:10 UTC
i really know nothing about X default dirs and app defaults and whatever

if the X team approves a fix, feel free to commit it
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2008-05-05 20:03:53 UTC
As long as it looks in /usr first, then /etc (rather than only /etc), I'm happy with it.
Comment 6 Ulrich Müller gentoo-dev 2008-05-05 20:54:27 UTC
(In reply to comment #5)
> As long as it looks in /usr first, then /etc (rather than only /etc), I'm
> happy with it.

It does; checked in the source code and by straceing it.
Fixed in groff-1.19.2-r3.