Difference between revisions of "Xorg7/Fonts"

From CBLFS
Jump to navigationJump to search
m
Line 71: Line 71:
  
 
  make install
 
  make install
 +
install -v -d -m755 /usr/share/fonts
 +
ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF
 +
ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF
 +
  
 
==Automated Build==
 
==Automated Build==
Line 95: Line 99:
 
  cd ..;
 
  cd ..;
 
  done
 
  done
 +
 +
install -v -d -m755 /usr/share/fonts
 +
ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF
 +
ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF
 +
 +
 +
  
 
Next install the Xorg [[Xorg7/Xserver|Xserver]]
 
Next install the Xorg [[Xorg7/Xserver|Xserver]]

Revision as of 21:25, 14 November 2006

Download Source:
http://xorg.freedesktop.org/releases/individual/font/

Back to Xorg Data

Xorg Fonts

There are 35 font packages available for Xorg. Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.

Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows. This will prevent multiple versions from being downloaded when multiple versions exist.

 wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/font-7.1.wget
 cd font
 wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font-7.1.wget

Dependencies

Required

Xorg Apps and Xorg Data

Installation

Non-Multilib

Compile each font package that you wish to install.

 ./configure $XORG_CONFIG
 make

There are no test suites for the font pacakges.

Install each font package.

 make install

After installing all of the font packages, create symlinks to the TrueType font directories.

 install -v -d -m755 /usr/share/fonts
 ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF
 ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF

Multilib

32-Bit

Build the Package

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
./configure $XORG_CONFIG32 &&
make 

Install the Package

make install

N32

64-Bit

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
./configure $XORG_CONFIG64 && 
make

Install the Package

make install
install -v -d -m755 /usr/share/fonts
ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF
ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF


Automated Build

Unpack the Package

for i in *.tar.bz2; do
tar xvf $i;
done

Make the Packages

for dir in `sed "s/.tar.bz2//g" ../font-7.1.wget`; do
cd ${dir} &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
./configure $XORG_CONFIG32 &&
make &&
make install &&
make distclean &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
./configure $XORG_CONFIG64 && 
make &&
make install &&
cd ..;
done
install -v -d -m755 /usr/share/fonts
ln -svn $XORG_PREFIX/lib64/X11/fonts/OTF /usr/share/fonts/X11-OTF
ln -svn $XORG_PREFIX/lib64/X11/fonts/TTF /usr/share/fonts/X11-TTF



Next install the Xorg Xserver

Contents

Each Xorg font package installs a multitude of files. The interested party can issue the following 'make install' command to create a complete list of files installed and their installed location in the main working directory (xc):

   make install 2>&1 | tee ../../<name_of_font>.files

The 35 font packages, listed alphabetically, are:

  • font-util
  • encodings
  • font-adobe-100dpi
  • font-adobe-75dpi
  • font-adobe-utopia-100dpi
  • font-adobe-utopia-75dpi
  • font-adobe-utopia-type1
  • font-arabic-misc
  • font-bh-100dpi
  • font-bh-75dpi
  • font-bh-lucidatypewriter-100dpi
  • font-bh-lucidatypewriter-75dpi
  • font-bh-ttf
  • font-bh-type1
  • font-bitstream-100dpi
  • font-bitstream-75dpi
  • font-bitstream-speedo
  • font-bitstream-type1
  • font-cronyx-cyrillic
  • font-cursor-misc
  • font-daewoo-misc
  • font-dec-misc
  • font-ibm-type1
  • font-isas-misc
  • font-jis-misc
  • font-micro-misc
  • font-misc-cyrillic
  • font-misc-ethiopic
  • font-misc-meltho
  • font-misc-misc
  • font-mutt-misc
  • font-schumacher-misc
  • font-screen-cyrillic
  • font-sony-misc
  • font-sun-misc
  • font-winitzki-cyrillic
  • font-xfree86-type1
  • font-alias