source: BLFS/envars.conf@ 9dd4ccc

ablfs
Last change on this file since 9dd4ccc was d33f161, checked in by Pierre Labastie <pierre@…>, 12 years ago

Comment out all the GNOME envars as stated in the preceding commit log

  • Property mode set to 100644
File size: 4.1 KB
RevLine 
[6d0dbc3]1#####
2#
3# Configuration file for the BLFS module
4#
5# $Id$
6#
[f65d3cb]7# Set default envars used in the build scripts
[6d0dbc3]8#
9#####
10
[ecdc3b6]11#======== Common envars ==========
[6d0dbc3]12
[4a33ef0]13#--- Set a well-known working locale when building software
14export LC_ALL=C
15
[6d0dbc3]16#--- The local repository for packages/file
17# Any missing file will be downloaded and archived here,
18# if the user has the right priviledges.
[63fc514]19export SRC_ARCHIVE=/sources
[6d0dbc3]20
[f65d3cb]21#--- Server used if the file isn't found in SRC_ARCHIVE.
[6d0dbc3]22# As a last resort, the file will dowloaded from upstream, if possible.
23#
24# The server path MUST be set as listed in
25# http://www.linuxfromscratch.org/blfs/download.html
26export FTP_SERVER=ftp://anduin.linuxfromscratch.org/BLFS/
[f65d3cb]27
[63fc514]28# Use a server close to you for Xorg (see http://wiki.x.org/wiki/Mirrors)
29export FTP_X_SERVER=ftp://mirror.cict.fr/x.org/
[f65d3cb]30
31#--- The sources directory.
32# Full path to the top level directory where packages will be stored,
33# unpacked, and compiled.
[63fc514]34export SRC_DIR=/sources
[ecdc3b6]35
36
37#======== Xorg7 envars ===========
38
39#--- Installation prefix
40export XORG_PREFIX=/usr
41
42#--- Configure switches
[0a1c668]43export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
[ecdc3b6]44
[d33f161]45#======== ABOUT GNOME envars =====
[ecdc3b6]46
[89cb93b]47# Refer to `Chapter 30. Right now, the book hard codes --prefix=/usr
48# and does not make use of the variables below. If you need another prefix,
49# You'll have to modifiy the prefix in the book source and use the variables
50# below. But this is not supported in this tool.
[d33f161]51
[89cb93b]52#======== LEGACY GNOME envars ====
[d33f161]53
[89cb93b]54# We use envars.conf instead of /etc/profile.d. But if you
[5ed79ef]55# install into a different prefix, you'll need to update ld.so.conf and
56# man-db.conf, too.
[18c1c95]57
[ecdc3b6]58#--- Installation prefix
[d33f161]59# export GNOME_PREFIX=/usr
60# export GNOME_SYSCONFDIR=/etc/gnome/3.2.2
61# export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg
62# export XDG_DATA_DIRS=/usr/share:/usr/local/share
[ecdc3b6]63
[d33f161]64#--- If you want to install GNOME on a non standard prefix, uncomment
[ecdc3b6]65# the next export lines and edit it if needed.
66# See also the GNOME Pre-installation Configuration HTML page for
67# aditional required commands.
68#export PATH=$PATH:$GNOME_PREFIX/bin
69#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOME_PREFIX/lib/pkgconfig
70#export GNOME_LIBCONFIG_PATH=/usr/lib:$GNOME_PREFIX/lib
71
72#======== KDE envars =============
73
[e9bc540]74# Refer to `Chapter 27. Introduction->KDE Pre-installation Configuration'
75# for rationale. We use envars.conf instead of /etc/profile.d. But if you
76# install into a different prefix, you'll need to update ld.so.conf and
[89cb93b]77# man-db.conf, and to create and populate the directories $KDE_PREFIX/share
78# and /etc/dbus-1, as instructed.
[ecdc3b6]79
[e9bc540]80#--- Installation prefix
[12fb268]81export KDE_PREFIX=/usr
[e9bc540]82
83#--- If you want to install KDE on a non standard prefix, uncomment
84# the next lines and edit them it as needed.
[89cb93b]85#export KDE_PREFIX=/opt/kde
86#export KDEDIR=$KDE_PREFIX
[e9bc540]87
[12fb268]88#PATH=$PATH:$KDE_PREFIX/bin
[e9bc540]89#if [ -z PKG_CONFIG_PATH ]; then
[89cb93b]90#export PKG_CONFIG_PATH=$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig
[e9bc540]91#else
[12fb268]92# PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig
[e9bc540]93#fi
94#if [ -z XDG_DATA_DIRS ]; then
[89cb93b]95#export XDG_DATA_DIRS=$KDE_PREFIX/share
[e9bc540]96#else
[12fb268]97# XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
[e9bc540]98#fi
99#if [ -z XDG_CONFIG_DIRS ]; then
[89cb93b]100#export XDG_CONFIG_DIRS=/etc/kde/xdg
[e9bc540]101#else
[12fb268]102# XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/kde/xdg
[e9bc540]103#fi
104
[fdd3b04]105#======== Optimizations =============
106
107# Global optimization settings can be placed here. This settings can be
108# overrided by settings in the packages build scripts.
109
110# WARNING: The use of build optimizations may be dangerous.
111# You should know what you are doing and be sure that the
112# optimization settings placed below are what you want.
113# It there are build issues or the system doesn't work as
114# expected, please rebuild without optimizations before
115# asking for support.
116
[63fc514]117export MAKEFLAGS="-j5"
[fdd3b04]118
[4a33ef0]119#export CFLAGS="-O3 -pipe"
120#export CXXFLAGS=$CFLAGS
121#export LDFLAGS="-s"
[fdd3b04]122
[4a33ef0]123#export OTHER_CFLAGS=$CFLAGS
124#export OTHER_CXXFLAGS=$CXXFLAGS
125#export OTHER_LDFLAGS=$LDFLAGS
[fdd3b04]126
[f3a500d]127#======== Environment settings ========
128
129# Since the startup files may be changed in the course
130# of a build, ensure that environment variables are
131# up to date
132
133source /etc/profile
Note: See TracBrowser for help on using the repository browser.