Re: [BLFS Trac] #2453: KDE-4.6.0
BLFS Trac <trac <at> linuxfromscratch.org>
2011-02-05 16:18:09 GMT
#2453: KDE-4.6.0
-------------------------+--------------------------------------------------
Reporter: GodRocksYou | Owner: blfs-book <at> …
Type: enhancement | Status: new
Priority: normal | Milestone: 6.7
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by dj <at> …):
Wow that was fast! Excellent work! Couple of quick suggestions:[[BR]]
1. Use the /etc/profile.d/kde4.sh: Pretty much everyone should be using
/etc/profile.d, or at very least allow for it even if they have a
monolithic /etc/profile, as udev, u*, polkit, and other related items
explicitly depend on it. Something like:[[BR]]
[[BR]]
{{{
cat > /etc/profile.d/kde4.sh << "EOF"
# Begin /etc/profile.d/kde4.sh
KDE4_PREFIX=/opt/kde4
pathappend ${KDE4_PREFIX}/bin PATH
pathappend ${KDE4_PREFIX}/lib/pkgconfig PKG_CONFIG_PATH
pathappend ${KDE4_PREFIX}/lib/python2.7/site-packages PYTHONPATH
export KDE4_PREFIX PATH PKG_CONFIG_PATH PYTHONPATH
# End /etc/profile.d/kde4.sh
(Continue reading)