The are a series of things one must build that take
the same route for each build. Example:
You untar the package:
tar xvf package
You change the directory to where it was untarred:
cd packagedir
./configure $XORG_CONFIG
make
make install
In the case of the fonts that need to be built,
there are thirty three font packages that have to be built. Luckily we have
computers and shell scripts.
I have modified the script in the documentation slightly
to fit my needs. First I created a file, called ‘file’, that contains the name
of the tar file of the font I want to build. Next I create a directory that
contains all of the tar files of those same fonts. Now here is the modified
script:
for package in $(grep –v ‘#’
/usr/local/src/blfs/fonts/files)
#Above gets just the name of the compressed tar file
#Example encodings-1.0.4.tar.bz2
do
packagedir=${package%.tar.bz2}
# Above line strips off “.tar.bz2”
tar xvf $package
pushd $packagedir
# Above changes to packagedir, but saves where you
came from
./configure $XORG_CONFIG
make
make install
popd
#Above line returns where you came from
Done
And thre you have it. That script will build the
thirty-three font packages. This same principle will be used to build Xorg Protocol
Headers, as well as, Xorg Applications.
No comments:
Post a Comment