cvs commit: BLFS/BOOK/x/lib/freetype2 freetype2-desc.xml freetype2-exp.xml freetype2-inst.xml freetype2-intro.xml freetype2.ent

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sun Feb 1 00:07:07 PST 2004


tushar      04/02/01 01:07:07

  Modified:    BOOK/general general.ent
               BOOK/general/graphlib graphlib.xml
               BOOK/introduction/welcome changelog.xml
               BOOK/x   x.ent
               BOOK/x/lib lib.xml
  Added:       BOOK/general/graphlib fontconfig.xml freetype2.xml
               BOOK/general/graphlib/fontconfig fontconfig-config.xml
                        fontconfig-desc.xml fontconfig-inst.xml
                        fontconfig-intro.xml fontconfig.ent
               BOOK/general/graphlib/freetype2 freetype2-desc.xml
                        freetype2-exp.xml freetype2-inst.xml
                        freetype2-intro.xml freetype2.ent
  Removed:     BOOK/x/lib fontconfig.xml freetype2.xml
               BOOK/x/lib/fontconfig fontconfig-config.xml
                        fontconfig-desc.xml fontconfig-inst.xml
                        fontconfig-intro.xml fontconfig.ent
               BOOK/x/lib/freetype2 freetype2-desc.xml freetype2-exp.xml
                        freetype2-inst.xml freetype2-intro.xml
                        freetype2.ent
  Log:
  Moved fontconfig and freetype2 to general section
  
  Revision  Changes    Path
  1.45      +4 -0      BLFS/BOOK/general/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/general.ent,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -u -r1.44 -r1.45
  --- general.ent	17 Nov 2003 00:20:48 -0000	1.44
  +++ general.ent	1 Feb 2004 08:07:05 -0000	1.45
  @@ -57,6 +57,8 @@
   <!ENTITY % libtiff SYSTEM "graphlib/libtiff/libtiff.ent">
   <!ENTITY % libungif SYSTEM "graphlib/libungif/libungif.ent">
   <!ENTITY % libmng SYSTEM "graphlib/libmng/libmng.ent">
  +<!ENTITY % freetype2 SYSTEM "graphlib/freetype2/freetype2.ent">
  +<!ENTITY % fontconfig SYSTEM "graphlib/fontconfig/fontconfig.ent">
   <!ENTITY % imlib SYSTEM "graphlib/imlib/imlib.ent">
   <!ENTITY % aalib SYSTEM "graphlib/aalib/aalib.ent">
   <!ENTITY % svgalib SYSTEM "graphlib/svgalib/svgalib.ent">
  @@ -68,6 +70,8 @@
   %libtiff;
   %libungif;
   %libmng;
  +%freetype2;
  +%fontconfig;
   %imlib;
   %aalib;
   %svgalib;
  
  
  
  1.6       +4 -2      BLFS/BOOK/general/graphlib/graphlib.xml
  
  Index: graphlib.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/graphlib/graphlib.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- graphlib.xml	11 Sep 2003 19:44:38 -0000	1.5
  +++ graphlib.xml	1 Feb 2004 08:07:06 -0000	1.6
  @@ -1,9 +1,9 @@
   <chapter id="general-graphlib">
   <?dbhtml filename="graphlib.html" dir="general"?>
  -<title>Graphics Libraries</title>
  +<title>Graphics and Font Libraries</title>
   
   <para>Depending on what your system will be used for, you may or
  -may not require the graphics libraries.  Most desktop machines will 
  +may not require the graphics and font libraries. Most desktop machines will 
   want them for use with graphical applications.  Most servers on the 
   other hand, will not require them.</para>
   
  @@ -13,6 +13,8 @@
   &libtiff;
   &libungif;
   &libmng;
  +&freetype2;
  +&fontconfig;
   &imlib;
   &aalib;
   &SVGAlib;
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/fontconfig.xml
  
  Index: fontconfig.xml
  ===================================================================
  <sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
  <?dbhtml filename="fontconfig.html" dir="general"?>
  <title>Fontconfig-&fontconfig-version;</title>
  
  &fontconfig-intro;
  &fontconfig-inst;
  &fontconfig-config;
  &fontconfig-desc;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/freetype2.xml
  
  Index: freetype2.xml
  ===================================================================
  <sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
  <?dbhtml filename="freetype2.html" dir="x"?>
  <title>FreeType-&freetype2-version;</title>
  
  &freetype2-intro;
  &freetype2-inst;
  &freetype2-exp;
  &freetype2-desc;
  
  </sect1>
  
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/fontconfig/fontconfig-config.xml
  
  Index: fontconfig-config.xml
  ===================================================================
  <sect2>
  <title>Configuring <application>Fontconfig</application></title>
  
  <sect3><title>Configuration Information</title>
  
  <para>The configuration file for <application>Fontconfig</application> is <filename>/etc/fonts/fonts.conf</filename>.
  Generally you do not want to edit this file.  To put a new font directory
  in the configuration, update the file, <filename>/etc/fonts/local.conf</filename> with your local
  information.  The default location of fonts in
  <application>Fontconfig</application> is:</para>
  <itemizedlist spacing='compact'>
  <listitem><para>/usr/share/fonts</para></listitem>
  <listitem><para>~/.fonts</para></listitem>
  </itemizedlist>
  
  <para>Because we have not built <application>XFree86</application> yet, put the following directory entries
  into <filename>/etc/fonts/local.conf</filename>, inside the fontconfig
  tags:</para>
  <itemizedlist spacing='compact'> 
  <listitem><para><dir>/usr/X11R6/lib/X11/fonts/TTF</dir></para></listitem>
  <listitem><para><dir>/usr/X11R6/lib/X11/fonts/Type1</dir></para></listitem>
  <listitem><para><dir>/usr/X11R6/lib/X11/fonts/truetype</dir></para></listitem>
  </itemizedlist>
  
  <para>The <application>Fontconfig</application> program will automatically search the above directories
  and all subdirectories for needed fonts.</para>
  
  <note><para><application>X</application> also includes an internal (and
  older) version of <application>Fontconfig</application>
  and unless it is explicitly disabled when building
  <application>XFree86</application>, the internal
  version is created leaving two slightly incompatible libraries on your system.
  It is recommended that you only install one version.</para></note>
  
  </sect3>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/fontconfig/fontconfig-desc.xml
  
  Index: fontconfig-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>The <application>Fontconfig</application> package contains the
  <filename class='libraryfile'>libfontconfig</filename> library,
  <command>fc-cache</command>, and <command>fc-list</command>.</para>
  
  </sect2>
  
  <sect2><title>Description</title>
  
  <sect3><title>fc-cache</title>
  <para><command>fc-cache</command> is a command to create font information
  caches.</para></sect3>
  
  <sect3><title>fc-list</title>
  <para><command>fc-list</command> is a command to list fonts.</para></sect3>
  
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/fontconfig/fontconfig-inst.xml
  
  Index: fontconfig-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of <application>Fontconfig</application></title>
  
  <para>Install <application>Fontconfig</application> by running the following commands:</para>
  
  <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
  make &&
  make install</command></userinput></screen>
  
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/fontconfig/fontconfig-intro.xml
  
  Index: fontconfig-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to <application>Fontconfig</application></title>
  
  <para>The <application>Fontconfig</application> package is a library
  for configuring and customizing font access.</para>
  
  <sect3><title>Package information</title>
  <itemizedlist spacing='compact'>
  <listitem><para>Download (HTTP): <ulink
  url="&fontconfig-download-http;"/></para></listitem>
  <listitem><para>Download (FTP): <ulink
  url="&fontconfig-download-ftp;"/></para></listitem>
  <listitem><para>Download size: &fontconfig-size;</para></listitem>
  <listitem><para>Estimated Disk space required:
  &fontconfig-buildsize;</para></listitem>
  <listitem><para>Estimated build time:
  &fontconfig-time;</para></listitem></itemizedlist>
  
  <note><para>The numbering system of
  <application>Fontconfig</application> is unusual.  The beta versions of the
  package are numbered with a 9x in the last portion of the release number.  This
  means that 2.2.90 is a beta release and the most current release is of the form 
  2.2.1</para></note>
  
  </sect3>
  
  <sect3><title><application>Fontconfig</application> dependencies</title>
  <sect4><title>Required</title>
  <para><xref linkend="freetype2"/>, and <xref linkend="expat"/> </para></sect4>
  </sect3>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/fontconfig/fontconfig.ent
  
  Index: fontconfig.ent
  ===================================================================
  <!ENTITY fontconfig SYSTEM "../fontconfig.xml">
  <!ENTITY fontconfig-intro SYSTEM "fontconfig-intro.xml">
  <!ENTITY fontconfig-inst SYSTEM "fontconfig-inst.xml">
  <!ENTITY fontconfig-config SYSTEM "fontconfig-config.xml">
  <!ENTITY fontconfig-desc SYSTEM "fontconfig-desc.xml">
  <!ENTITY fontconfig-version "2.2.1">
  <!ENTITY fontconfig-download-http "http://pdx.freedesktop.org/software/fontconfig/releases/fontconfig-&fontconfig-version;.tar.gz">
  <!ENTITY fontconfig-download-ftp "ftp://ftp.us.sinuspl.net/pub/src/fontconfig-&fontconfig-version;.tar.gz">
  <!ENTITY fontconfig-size "600 KB">
  <!ENTITY fontconfig-buildsize "9.6 MB">
  <!ENTITY fontconfig-time "0.19 SBU">
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/freetype2/freetype2-desc.xml
  
  Index: freetype2-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>The <application>FreeType2</application> package contains
  <filename class="libraryfile">
  libfreetype</filename> libraries.</para>
  </sect2>
  
  <sect2><title>Description</title>
  
  <sect3><title>FreeType2 libraries</title>
  <para><application>FreeType2</application> libraries add
  <application>TrueType</application> font 
  capabilities to <application>XFree86</application>.</para></sect3>
  
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/freetype2/freetype2-exp.xml
  
  Index: freetype2-exp.xml
  ===================================================================
  <sect2>
  <title>Command explanations</title>
  
  <para><command>sed ... include/freetype/config/ftoption.h</command>: We 
  are enabling the <application>TrueType</application> bytecode interpreter before building the
  library.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/freetype2/freetype2-inst.xml
  
  Index: freetype2-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of <application>FreeType2</application></title>
  
  <para>Install <application>FreeType2</application> by running the following 
  commands:</para>
  
  <screen><userinput><command>patch -Np1 -i ../freetype-&freetype2-version;-ahhint.patch &&
  sed -i "s%\/\* #define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER \*\/%#define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER%" \
  include/freetype/config/ftoption.h &&
  ./configure --prefix=/usr &&
  make &&
  make install</command></userinput></screen>
  
  <!--
  <note><para>The <userinput>make install</userinput> process does not uninstall older versions of freetype2.  
  If installing an upgrade, you may want to remove the older libfreetype.so.x.x.x.</para></note>
  -->
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/freetype2/freetype2-intro.xml
  
  Index: freetype2-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to <application>FreeType2</application></title>
  
  <para>The <application>FreeType2</application> package contains a library to 
  allow <application>XFree86</application> to properly render
  <application>TrueType</application> fonts.</para>
  
  <sect3><title>Package information</title>
  <itemizedlist spacing='compact'>
  <listitem><para>Download (HTTP): <ulink
  url="&freetype2-download-http;"/></para></listitem>
  <listitem><para>Download (FTP): <ulink
  url="&freetype2-download-ftp;"/></para></listitem>
  <listitem><para>Download size: &freetype2-size;</para></listitem>
  <listitem><para>Estimated Disk space required:
  &freetype2-buildsize;</para></listitem>
  <listitem><para>Estimated build time:
  &freetype2-time;</para></listitem></itemizedlist>
  </sect3>
  
  <sect3><title>Additional downloads</title>
  <itemizedlist spacing='compact'>
  <listitem><para>Required Patch: <ulink
  url="&patch-root;/freetype-2.1.5-ahhint.patch"/></para></listitem>
  </itemizedlist></sect3>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/general/graphlib/freetype2/freetype2.ent
  
  Index: freetype2.ent
  ===================================================================
  <!ENTITY freetype2 SYSTEM "../freetype2.xml">
  <!ENTITY freetype2-intro SYSTEM "freetype2-intro.xml">
  <!ENTITY freetype2-inst SYSTEM "freetype2-inst.xml">
  <!ENTITY freetype2-exp SYSTEM "freetype2-exp.xml">
  <!ENTITY freetype2-desc SYSTEM "freetype2-desc.xml">
  <!ENTITY freetype2-version "2.1.5">
  <!ENTITY freetype2-download-http "http://telia.dl.sourceforge.net/sourceforge/freetype/freetype-&freetype2-version;.tar.bz2">
  <!ENTITY freetype2-download-ftp "ftp://ftp.pu.edu.tw/Unix/Graphics/freetype/freetype2/freetype-&freetype2-version;.tar.bz2">
  <!ENTITY freetype2-size "831 KB">
  <!ENTITY freetype2-buildsize "22 MB">
  <!ENTITY freetype2-time "0.35 SBU">
  
  
  
  1.929     +3 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.928
  retrieving revision 1.929
  diff -u -u -r1.928 -r1.929
  --- changelog.xml	1 Feb 2004 07:36:54 -0000	1.928
  +++ changelog.xml	1 Feb 2004 08:07:06 -0000	1.929
  @@ -11,6 +11,9 @@
   
   <itemizedlist>
   
  +<listitem><para>February 1st, 2004 [tushar]: Moved
  +freetype2 and fontconfig to graphics and font sections.</para></listitem>
  +
   <listitem><para>February 1st, 2004 [tushar]: Added
   shared lib creation to lzo.</para></listitem>
   
  
  
  
  1.11      +0 -4      BLFS/BOOK/x/x.ent
  
  Index: x.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/x/x.ent,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- x.ent	9 Oct 2003 07:30:56 -0000	1.10
  +++ x.ent	1 Feb 2004 08:07:06 -0000	1.11
  @@ -8,8 +8,6 @@
   
   <!-- X Libraries -->
   <!ENTITY x-lib SYSTEM "lib/lib.xml">
  -<!ENTITY % freetype SYSTEM "lib/freetype2/freetype2.ent">
  -<!ENTITY % fontconfig SYSTEM "lib/fontconfig/fontconfig.ent">
   <!ENTITY % lesstif SYSTEM "lib/lesstif/lesstif.ent">
   <!ENTITY % qt SYSTEM "lib/qt/qt.ent">
   <!ENTITY % gtk SYSTEM "lib/gtk/gtk.ent">
  @@ -18,8 +16,6 @@
   <!ENTITY % gtk2 SYSTEM "lib/gtk2/gtk2.ent">
   <!ENTITY % fnlib SYSTEM "lib/fnlib/fnlib.ent">
   <!ENTITY % startup-notification SYSTEM "lib/notification/startup-notification.ent">
  -%freetype;
  -%fontconfig;
   %lesstif;
   %qt;
   %gtk;
  
  
  
  1.11      +0 -2      BLFS/BOOK/x/lib/lib.xml
  
  Index: lib.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/x/lib/lib.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- lib.xml	3 Oct 2003 21:35:57 -0000	1.10
  +++ lib.xml	1 Feb 2004 08:07:06 -0000	1.11
  @@ -12,8 +12,6 @@
   different programmers end up looking and acting similarly. They also
   assist programmers by supplying common elements.</para> 
   
  -&freetype2;
  -&fontconfig;
   &qt;
   >K;
   &Pango;
  
  
  



More information about the blfs-book mailing list