Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24336 - pekwm incorrect placement of configuration files
Summary: pekwm incorrect placement of configuration files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-12 07:11 UTC by Claes Nästén
Modified: 2003-07-30 07:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claes Nästén 2003-07-12 07:11:52 UTC
The ebuild installs the configuration files for pekwm in an incorrect location.
And the autoprops file have been renamed to autoproperties so it doesn't get
installed at all.

The current code in the ebuild goes:

insinto /usr/share/${PN}
cd ${S}/data
doins autoprops config keys menu mouse start

And this should be:

insinto /usr/etc/${PN}
cd ${S}/data
doins autoproperties config keys menu mouse start

I suspects this breaks the file placement policy of gentoo, if that's the
case adding --sysconfdir=/etc to the configure and then insinto /etc/${PN}
probably will be more correct

Reproducible: Always
Steps to Reproduce:
emerge pekwm

Actual Results:  
configuration files end up in /usr/share/pekwm and autoproperties file is missing

Expected Results:  
configuration files should be in /usr/etc/pekwm and autoproperties shouldn't be
missing
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2003-07-29 09:39:27 UTC
Should be fixed
Comment 2 Claes Nästén 2003-07-29 23:26:11 UTC
If the "Should be fixed" refers to pekwm-0.1.3-r1.ebuild then it's not fixed. The configuration files should go into $PREFIX/etc/pekwm if sysconfdir hasn't been specified, if so they go into $SYSCONFDIR/pekwm.
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2003-07-30 07:06:27 UTC
ok, please try the -r2 version I changed to install to /etc and allowed your install script to install everything as I see its all working correctly. I was just keeping in line with most of our other small WM that place everything in /usr/share and then the usr places his configs in $home/.foo. Anyway should be fixed if not please reopen again.

THX allot :)