Difference between revisions of "Xorg7/Fonts"

From CBLFS
Jump to navigationJump to search
m (Required)
m (Multilib)
 
(28 intermediate revisions by 6 users not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
|-
 
|-
| http://xorg.freedesktop.org/releases/individual/font/
+
| {{Xorg7-Mirror}}/font/
|-
 
 
|}
 
|}
  
 
Back to Xorg [[Xorg7/Data|Data]]
 
Back to Xorg [[Xorg7/Data|Data]]
  
=Xorg Fonts=
+
{{Package-Introduction|There are 38 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.
 
 
There are 38 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.
 
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
+
wget {{Filepathlink|Font-{{Xorg7-Version}}.wget}} &&
  cd font
+
mkdir -p font &&
  wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font-7.1.wget
+
cd font &&
 +
wget -B {{Xorg7-Mirror}}/font/ -i ../Font-{{Xorg7-Version}}.wget}}
  
=Dependencies=
+
== Dependencies ==
  
==Required==
+
=== Required ===
 +
* [[Xorg7/Apps|Xorg Apps]] bdftopcf, mkfontdir, mkfontscale, and xcursorgen
 +
* [[Xorg7/Data|Xorg Data]]
  
Xorg [[Xorg7/Apps|Apps]] and Xorg [[Xorg7/Data|Data]]
+
{{Note|The font-util package (one of the packages in this section) needs to be installed BEFORE all of the font-* packages.  If you install in the order that the wget file provides, you will install encodings and font-util before the other packages.}}
  
'''Note:'''
+
{{Note|font-misc-misc and font-cursor-misc must be installed to provide the base X Windows font 'fixed.'  The X Server won't start without this font.}}
The font-util package (one of the packages in this section) needs to be installed BEFORE all of the font-* packages.
 
If you install in the order that the wget file provides, you will install encodings and font-util before the other packages.
 
  
=Installation=
+
== Non-Multilib ==
 
 
==Non-Multilib==
 
  
 
Compile each font package that you wish to install.
 
Compile each font package that you wish to install.
  
  ./configure $XORG_CONFIG
+
sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
  make
+
./configure $XORG_CONFIG
 +
make
  
There are no test suites for the font pacakges.
+
There are no test suites for the font packages. Install each font package:
  
Install each font package.
+
make install
  
  make install
+
== Multilib ==
  
After installing all of the font packages, create symlinks to the TrueType font directories.
+
=== 32Bit ===
  
  install -v -d -m755 /usr/share/fonts
+
Compile each font package that you wish to install:
  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==
+
sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
 +
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" \
 +
./configure $XORG_CONFIG32 &&
 +
make
 +
 
 +
There are no test suites for the font packages.  Install each font package:
 +
 +
make install
  
===32-Bit===
+
=== N32 ===
  
==Build the Package==
+
Compile each font package that you wish to install:
   
+
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
+
  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
  ./configure $XORG_CONFIG32 &&
+
  USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" CC="gcc ${BUILDN32}" \
 +
  ./configure $XORG_CONFIGN32 &&
 
  make  
 
  make  
  
==Install the Package==
+
There are no test suites for the font packages.  Install each font package:
 
   
 
   
 
  make install
 
  make install
  
===N32===
+
=== 64Bit ===
  
===64-Bit===
+
Compile each font package that you wish to install:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
+
  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
 +
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" \
 
  ./configure $XORG_CONFIG64 &&  
 
  ./configure $XORG_CONFIG64 &&  
 
  make
 
  make
  
==Install the Package==
+
There are no test suites for the font packages.  Install each font package:
  
 
  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
 
  
 +
== Semi-Automated Build ==
  
==Automated Build==
+
These automated build instructions assume that you are using subdirectories as discussed in the introduction.  You must also have an unaltered copy of Lib-{{Xorg7-Version}}.wget in the main working directory (xc).  This file lists each library in an order that ensures dependencies are satisfied.
  
==Unpack the Package==
+
=== Non Multilib ===
  
for i in *.tar.bz2; do
+
Install the font packages:
tar xvf $i;
 
done
 
  
==Make the Packages==
+
top=$PWD
 
+
cat ../Font-{{Xorg7-Version}}.wget | while read package; do
for dir in `sed "s/.tar.bz2//g" ../font-7.1.wget`; do
+
  packagedir=$(sed -e "s/\.tar\.bz2//" -e "s/\.tar\.gz//" <<< $package)
  cd ${dir} &&
+
   
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
+
  cd $top || break;
./configure $XORG_CONFIG32 &&
+
   
  make &&
+
  grep ^$packagedir$ done && continue;
make install &&
+
   
  make distclean &&
+
  tar xvf $package &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
+
  cd $packagedir &&
./configure $XORG_CONFIG64 &&  
+
   
make &&
+
  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
make install &&
+
  ./configure $XORG_CONFIG &&
  cd ..;
+
  make &&
 +
  make install &&
 +
   
 +
  cd .. &&
 +
  rm -rfv $packagedir &&
 +
 +
  echo "$packagedir" >> done || break
 
  done
 
  done
 +
rm done
  
install -v -d -m755 /usr/share/fonts
+
=== Multilib ===
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
 
 
 
  
 +
Install the font packages:
  
 +
top=$PWD
 +
cat ../Font-{{Xorg7-Version}}.wget | while read package; do
 +
  packagedir=$(sed -e "s/\.tar\.bz2//" -e "s/\.tar\.gz//" <<< $package)
 +
 +
  cd $top || break;
 +
 +
  grep ^$packagedir$ done && continue;
 +
 +
  tar xvf $package &&
 +
  cd $packagedir &&
 +
 +
  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure && 
 +
  USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
  ./configure $XORG_CONFIG32 &&
 +
  make &&
 +
  make install &&
 +
 +
  cd .. &&
 +
  rm -rfv $packagedir &&
 +
 +
  tar xfv $package &&
 +
  cd $packagedir &&
 +
 +
  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure && 
 +
  USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
  ./configure $XORG_CONFIG64 &&
 +
  make &&
 +
  make install &&
 +
 +
  cd .. &&
 +
  rm -rfv $packagedir || break
 +
 +
  echo "$packagedir" >> done
 +
done
 +
rm done
  
Next install the Xorg [[Xorg7/Xserver|Xserver]]
+
Continue to Xorg [[Xorg7/Xserver|Xserver]]
  
 
= Contents =
 
= Contents =
Line 117: Line 159:
 
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):
 
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
+
make install 2>&1 | tee ../../<name_of_font>.files
  
 
The 38 font packages, listed alphabetically, are:
 
The 38 font packages, listed alphabetically, are:

Latest revision as of 16:37, 14 March 2009

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

Back to Xorg Data

Introduction to Xorg7/Fonts

There are 38 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 https://cblfs.clfs.org/Special:Filepath/Font-20101205.wget &&
mkdir -p font &&
cd font &&
wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../Font-20101205.wget

Project Homepage: Unknown

Dependencies

Required

Caution.png

Note

The font-util package (one of the packages in this section) needs to be installed BEFORE all of the font-* packages. If you install in the order that the wget file provides, you will install encodings and font-util before the other packages.
Caution.png

Note

font-misc-misc and font-cursor-misc must be installed to provide the base X Windows font 'fixed.' The X Server won't start without this font.

Non-Multilib

Compile each font package that you wish to install.

sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
./configure $XORG_CONFIG
make

There are no test suites for the font packages. Install each font package:

make install

Multilib

32Bit

Compile each font package that you wish to install:

sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" \
./configure $XORG_CONFIG32 &&
make 

There are no test suites for the font packages. Install each font package:

make install

N32

Compile each font package that you wish to install:

sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" CC="gcc ${BUILDN32}" \
./configure $XORG_CONFIGN32 &&
make 

There are no test suites for the font packages. Install each font package:

make install

64Bit

Compile each font package that you wish to install:

sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" \
./configure $XORG_CONFIG64 && 
make

There are no test suites for the font packages. Install each font package:

make install

Semi-Automated Build

These automated build instructions assume that you are using subdirectories as discussed in the introduction. You must also have an unaltered copy of Lib-20101205.wget in the main working directory (xc). This file lists each library in an order that ensures dependencies are satisfied.

Non Multilib

Install the font packages:

top=$PWD
cat ../Font-20101205.wget | while read package; do
  packagedir=$(sed -e "s/\.tar\.bz2//" -e "s/\.tar\.gz//" <<< $package)

  cd $top || break;

  grep ^$packagedir$ done && continue;

  tar xvf $package &&
  cd $packagedir &&

  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure && 
  ./configure $XORG_CONFIG &&
  make &&
  make install &&

  cd .. &&
  rm -rfv $packagedir &&

  echo "$packagedir" >> done || break
done
rm done

Multilib

Install the font packages:

top=$PWD
cat ../Font-20101205.wget | while read package; do
  packagedir=$(sed -e "s/\.tar\.bz2//" -e "s/\.tar\.gz//" <<< $package)

  cd $top || break;

  grep ^$packagedir$ done && continue;

  tar xvf $package &&
  cd $packagedir &&

  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&  
  USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
  ./configure $XORG_CONFIG32 &&
  make &&
  make install &&

  cd .. &&
  rm -rfv $packagedir &&

  tar xfv $package &&
  cd $packagedir &&

  sed -i 's:${libdir}/X11/fonts:/usr/share/fonts:g' configure &&  
  USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
  ./configure $XORG_CONFIG64 &&
  make &&
  make install &&

  cd .. &&
  rm -rfv $packagedir || break

  echo "$packagedir" >> done
done
rm done

Continue to 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 38 font packages, listed alphabetically, are:

  • encodings
  • font-adobe-100dpi
  • font-adobe-75dpi
  • font-adobe-utopia-100dpi
  • font-adobe-utopia-75dpi
  • font-adobe-utopia-type1
  • font-alias
  • 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-util
  • font-winitzki-cyrillic
  • font-xfree86-type1