Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 169267

Summary: x11-misc/xfe to 0.98.2 version bump
Product: Gentoo Linux Reporter: John <greydruid>
Component: New packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Updated ebuild for version bump of xfe to 0.98.2
Updated ebuild for version bump of XFE to 0.98.2
A diff of the xfe 0.98.2 and 0.88 ebuilds

Description John 2007-03-04 11:48:56 UTC
New version of XFE out 0.98.2. I tested it on amd64 it seems to work well.  The ebuild to install 0.98.2 of xfe is included.  One minor enhancement I made was to make an /etc/xfe folder so as to ease the configuration of xfe in a multiuser enivronment.  Since XFE only looks in /usr/share and friends I copy the file from /usr/share/xfe/ into /etc/xfe and then symlink it back to /usr/share/xfe.  

This allows you to merge your global settings file with the new updates  in /etc instead of just having them get squashed by new updates in /usr.

Reproducible: Always
Comment 1 John 2007-03-04 11:50:43 UTC
Created attachment 112043 [details]
Updated ebuild for version bump of xfe to 0.98.2
Comment 2 John 2007-03-04 11:59:16 UTC
Created attachment 112044 [details]
Updated ebuild for version bump of XFE to 0.98.2

Corrected a comment I overlooked in the first submission.
Comment 3 John 2007-03-06 09:18:56 UTC
Created attachment 112259 [details]
A diff of the xfe 0.98.2 and 0.88 ebuilds

Shows the changes needed for the /etc/xfe/ enhancement
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-03-13 20:23:42 UTC
xfe-0.99 is now in tree but I didn't add that /etc hack, shouldn't that be done in ~/.xferc by user? besides symlinking it there doesn't make sense IMO.
Comment 5 John 2007-03-14 05:54:38 UTC
It makes sense in that if you want an area to configure settings /etc is it on gentoo yes?  When a user first runs xfe it copies the global settings file from /usr/share/xfe/xferc to ~/.xferc.  However if you happen to upgrade xfe your usr settings get overwritten. If a new user then runs xfe he will get settings inconsistent with the defaults all the other users have.

With the symlink your custom xfe settings are preserved across upgrades and you will be asked to merge them with any updates that come from upstream Xfe.  In a multiuser environment this is a good improvement as it lessens the work the administrator has to do in order to preserve the systems configuration.

Thanks for .99 I didn't even see that it was released till you told me earlier! =)