Update of BLFS/envars.conf file:

- new KDE envars and instructions
- obsoleting GNOME envars as they are not needed in the present version
of the book
This commit is contained in:
Pierre Labastie 2013-01-07 10:52:43 +00:00
parent a98e987a5b
commit 89cb93bd91

View file

@ -44,8 +44,12 @@ export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFI
#======== GNOME envars =========== #======== GNOME envars ===========
# Refer to `Chapter 33. GNOME Core Packages->Pre-installation Configuration' # Refer to `Chapter 30. Right now, the book hard codes --prefix=/usr
# for rationale. We use envars.conf instead of /etc/profile.d. But if you # and does not make use of the variables below. If you need another prefix,
# You'll have to modifiy the prefix in the book source and use the variables
# below. But this is not supported in this tool.
#======== LEGACY GNOME envars ====
# We use envars.conf instead of /etc/profile.d. But if you
# install into a different prefix, you'll need to update ld.so.conf and # install into a different prefix, you'll need to update ld.so.conf and
# man-db.conf, too. # man-db.conf, too.
@ -68,35 +72,34 @@ export XDG_DATA_DIRS=/usr/share:/usr/local/share
# Refer to `Chapter 27. Introduction->KDE Pre-installation Configuration' # Refer to `Chapter 27. Introduction->KDE Pre-installation Configuration'
# for rationale. We use envars.conf instead of /etc/profile.d. But if you # for rationale. We use envars.conf instead of /etc/profile.d. But if you
# install into a different prefix, you'll need to update ld.so.conf and # install into a different prefix, you'll need to update ld.so.conf and
# man-db.conf, too. # man-db.conf, and to create and populate the directories $KDE_PREFIX/share
# and /etc/dbus-1, as instructed.
#--- Installation prefix #--- Installation prefix
export KDE_PREFIX=/usr export KDE_PREFIX=/usr
#--- If you want to install KDE on a non standard prefix, uncomment #--- If you want to install KDE on a non standard prefix, uncomment
# the next lines and edit them it as needed. # the next lines and edit them it as needed.
#KDE_PREFIX=/opt/kde #export KDE_PREFIX=/opt/kde
#KDEDIR=$KDE_PREFIX #export KDEDIR=$KDE_PREFIX
#PATH=$PATH:$KDE_PREFIX/bin #PATH=$PATH:$KDE_PREFIX/bin
#if [ -z PKG_CONFIG_PATH ]; then #if [ -z PKG_CONFIG_PATH ]; then
# PKG_CONFIG_PATH=$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig #export PKG_CONFIG_PATH=$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig
#else #else
# PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig # PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig
#fi #fi
#if [ -z XDG_DATA_DIRS ]; then #if [ -z XDG_DATA_DIRS ]; then
# XDG_DATA_DIRS=$KDE_PREFIX/share #export XDG_DATA_DIRS=$KDE_PREFIX/share
#else #else
# XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share # XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
#fi #fi
#if [ -z XDG_CONFIG_DIRS ]; then #if [ -z XDG_CONFIG_DIRS ]; then
# XDG_CONFIG_DIRS=/etc/kde/xdg #export XDG_CONFIG_DIRS=/etc/kde/xdg
#else #else
# XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/kde/xdg # XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/kde/xdg
#fi #fi
#export KDE_PREFIX KDEDIR KDEDIR
#======== Optimizations ============= #======== Optimizations =============
# Global optimization settings can be placed here. This settings can be # Global optimization settings can be placed here. This settings can be