cvs commit: LFS/BOOK/entities zlib.ent

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Wed Jan 15 16:59:20 PST 2003


timothy     03/01/15 19:59:20

  Modified:    BOOK/appendixa makedev-shortdesc.xml manpages-shortdesc.xml
                        patch-shortdesc.xml perl-shortdesc.xml
                        tar-shortdesc.xml texinfo-shortdesc.xml
                        textutils-shortdesc.xml utillinux-shortdesc.xml
                        zlib-dep.xml zlib-desc.xml zlib-down.xml zlib.xml
               BOOK/chapter06 zlib-inst.xml zlib.xml
               BOOK/entities zlib.ent
  Added:       BOOK/appendixa zlib-shortdesc.xml
  Log:
  Convert zlib to new layout. Conform shortdesc files.
  
  Revision  Changes    Path
  1.2       +2 -0      LFS/BOOK/appendixa/makedev-shortdesc.xml
  
  Index: makedev-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/makedev-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- makedev-shortdesc.xml	15 Jan 2003 09:25:15 -0000	1.1
  +++ makedev-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -8,6 +8,8 @@
   in the <filename>Documentation/devices.txt</filename> file under
   the Linux kernel source tree.</para>
   
  +<para>MAKDEV installs the following:</para>
  +
   <sect3><title>Program Files</title>
   <para>MAKEDEV</para></sect3>
   
  
  
  
  1.3       +2 -0      LFS/BOOK/appendixa/manpages-shortdesc.xml
  
  Index: manpages-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/manpages-shortdesc.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- manpages-shortdesc.xml	15 Jan 2003 18:00:00 -0000	1.2
  +++ manpages-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.3
  @@ -7,6 +7,8 @@
   important device files and provides documents which would otherwise
   be missing from other packages.</para>
   
  +<para>Man-pages installs the following:</para>
  +
   <sect3><title>Support Files</title>
   <para>Various manual pages.</para></sect3>
   
  
  
  
  1.2       +1 -1      LFS/BOOK/appendixa/patch-shortdesc.xml
  
  Index: patch-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/patch-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- patch-shortdesc.xml	15 Jan 2003 01:45:00 -0000	1.1
  +++ patch-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -6,7 +6,7 @@
   file usually is a list, created by the diff program, that contains
   instructions on how an original file needs to be modified.</para>
   
  -<para>Make installs the following:</para>
  +<para>Patch installs the following:</para>
   
   <sect3><title>Program Files</title>
   <para>patch</para></sect3>
  
  
  
  1.2       +2 -0      LFS/BOOK/appendixa/perl-shortdesc.xml
  
  Index: perl-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/perl-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- perl-shortdesc.xml	15 Jan 2003 23:29:58 -0000	1.1
  +++ perl-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -6,6 +6,8 @@
   and Report Language. Perl combines some of the best features of C,
   sed, awk and sh into one powerful language.</para>
   
  +<para>Perl installs the following:</para>
  +
   <sect3><title>Program files and libraries</title>
   
   <para>a2p, c2ph, dprofpp, find2perl, h2ph, h2xs, perl, perl5.6.1,
  
  
  
  1.2       +2 -0      LFS/BOOK/appendixa/tar-shortdesc.xml
  
  Index: tar-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/tar-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tar-shortdesc.xml	15 Jan 2003 07:32:17 -0000	1.1
  +++ tar-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -5,6 +5,8 @@
   <para>Tar is an archiving program designed to store and extract
   files from an archive file known as a tar file.</para>
   
  +<para>Tar installs the following:</para>
  +
   <sect3><title>Program Files</title>
   <para>rmt and tar</para></sect3>
   
  
  
  
  1.2       +2 -0      LFS/BOOK/appendixa/texinfo-shortdesc.xml
  
  Index: texinfo-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/texinfo-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- texinfo-shortdesc.xml	15 Jan 2003 07:45:13 -0000	1.1
  +++ texinfo-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -6,6 +6,8 @@
   writing and converting Info documents, which provide system
   documentation.</para>
   
  +<para>Texinfo installs the following:</para>
  +
   <sect3><title>Program Files</title>
   <para>info, infokey, install-info, makeinfo, texi2dvi and
   texindex</para></sect3>
  
  
  
  1.2       +2 -0      LFS/BOOK/appendixa/textutils-shortdesc.xml
  
  Index: textutils-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/textutils-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- textutils-shortdesc.xml	15 Jan 2003 07:57:52 -0000	1.1
  +++ textutils-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -5,6 +5,8 @@
   <para>The Textutils package contains several file manipulation
   and text processing programs.</para>
   
  +<para>Textutils installs the following:</para>
  +
   <sect3><title>Program Files</title>
   <para>cat, cksum, comm, csplit, cut, expand,
   fmt, fold, head, join, md5sum, nl, od, paste, pr, ptx, sort, split, sum,
  
  
  
  1.2       +2 -0      LFS/BOOK/appendixa/utillinux-shortdesc.xml
  
  Index: utillinux-shortdesc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/utillinux-shortdesc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- utillinux-shortdesc.xml	15 Jan 2003 08:25:32 -0000	1.1
  +++ utillinux-shortdesc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -7,6 +7,8 @@
   to mount, unmount, format, partition and manage disk drives,
   open tty ports and fetch kernel messages.</para>
   
  +<para>Util-linux installs the following:</para>
  +
   <sect3><title>Program Files</title>
   <para>agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt,
   colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, fdisk,
  
  
  
  1.3       +2 -0      LFS/BOOK/appendixa/zlib-dep.xml
  
  Index: zlib-dep.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/zlib-dep.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- zlib-dep.xml	12 Sep 2002 16:44:20 -0000	1.2
  +++ zlib-dep.xml	16 Jan 2003 00:59:19 -0000	1.3
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Zlib Installation Dependencies</title>
   
  
  
  
  1.2       +4 -5      LFS/BOOK/appendixa/zlib-desc.xml
  
  Index: zlib-desc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/zlib-desc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- zlib-desc.xml	4 Aug 2002 14:59:31 -0000	1.1
  +++ zlib-desc.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -1,11 +1,10 @@
  -<sect2><title>Contents of Zlib</title>
  +<sect2><title> </title><para> </para></sect2>
   
  -<para>Last checked against version &zlib-contversion;.</para>
  +<sect2><title>Descriptions</title>
   
  -<sect3><title>Library Files</title>
  -<para>libz[a,so]</para></sect3>
  +<para>Last checked against version &zlib-contversion;.</para>
   
  -<sect3><title>Descriptions</title>
  +<sect3><title>Program file descriptions</title>
   
   <sect4><title>libz</title>
   <para>This is the zlib library, which is used by many programs for its
  
  
  
  1.3       +2 -0      LFS/BOOK/appendixa/zlib-down.xml
  
  Index: zlib-down.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/zlib-down.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- zlib-down.xml	15 Dec 2002 14:40:12 -0000	1.2
  +++ zlib-down.xml	16 Jan 2003 00:59:19 -0000	1.3
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Official Download Location</title>
   
  
  
  
  1.2       +1 -0      LFS/BOOK/appendixa/zlib.xml
  
  Index: zlib.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/zlib.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- zlib.xml	4 Aug 2002 14:59:31 -0000	1.1
  +++ zlib.xml	16 Jan 2003 00:59:19 -0000	1.2
  @@ -3,6 +3,7 @@
   <?dbhtml filename="zlib.html" dir="appendixa"?>
   
   &aa-zlib-down;
  +&aa-zlib-shortdesc;
   &aa-zlib-desc;
   &aa-zlib-dep;
   
  
  
  
  1.1                  LFS/BOOK/appendixa/zlib-shortdesc.xml
  
  Index: zlib-shortdesc.xml
  ===================================================================
  <sect2><title>Contents of Zlib</title>
  
  <para>Last checked against version &zlib-contversion;.</para>
  
  <para>The Zlib package contains the zlib library, which
  is used by many programs for its compression and uncompression
  functions.</para>
  
  <para>Zlib installs the following:</para>
  
  <sect3><title>Library Files</title>
  <para>libz[a,so]</para></sect3>
  
  </sect2>
  
  
  
  
  1.5       +37 -7     LFS/BOOK/chapter06/zlib-inst.xml
  
  Index: zlib-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/zlib-inst.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- zlib-inst.xml	6 Jan 2003 16:04:14 -0000	1.4
  +++ zlib-inst.xml	16 Jan 2003 00:59:20 -0000	1.5
  @@ -1,14 +1,44 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Installation of Zlib</title>
   
  -<para>Install Zlib by running the following commands:</para>
  +<para>Prepare Zlib to be compiled:</para>
   
   <para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \
  -./configure --prefix=/usr --shared &&
  -make LIBS="libz.so.1.1.4 libz.a" &&
  -make LIBS="libz.so.1.1.4 libz.a" install &&
  -mv /usr/lib/libz.so.* /lib &&
  -ln -sf ../../lib/libz.so.1 /usr/lib/libz.so &&
  -cp zlib.3 /usr/share/man/man3</userinput></screen></para>
  +    ./configure --prefix=/usr --shared</userinput></screen></para>
  +
  +<para>The <emphasis>-fPIC</emphasis> flag helps to assure
  +quality in the dynamic zlib library.</para>
  +
  +<para>Some packages expect a static zlib library to be present
  +on the system. To satisfy those programs, compile both the
  +shared and static libraries:</para>
  +
  +<para><screen><userinput>make LIBS="libz.so.1.1.4 libz.a"</userinput></screen></para>
  +
  +<para>Install the libraries:</para>
  +
  +<para><screen><userinput>make LIBS="libz.so.1.1.4 libz.a" install</userinput></screen></para>
  +
  +<para>The shared zlib library should be installed in the
  +<filename>/lib</filename> directory. That way, in the event
  +that you must boot without the <filename>/usr</filename>
  +directory, vital system programs will still have access to
  +the library. Finish installing shared library:</para>
  +
  +<para><screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen></para>
  +
  +<para>The <filename>/usr/lib/libz.so</filename> symlink is
  +linked to a file which no longer exists, because we moved
  +it. Create a symbolic link to the new location of the
  +library:</para>
  +
  +<para><screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen></para>
  +
  +<para>Zlib does not install its manual page. Issue the
  +following command to install this documentation:</para>
  +
  +<para><screen><userinput>cp zlib.3 /usr/share/man/man3</userinput></screen></para>
   
   </sect2>
  
  
  
  1.2       +2 -2      LFS/BOOK/chapter06/zlib.xml
  
  Index: zlib.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/zlib.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- zlib.xml	4 Aug 2002 14:59:31 -0000	1.1
  +++ zlib.xml	16 Jan 2003 00:59:20 -0000	1.2
  @@ -5,9 +5,9 @@
   <screen>Estimated build time:           &zlib-time;
   Estimated required disk space:  &zlib-compsize;</screen>
   
  -&c6-zlib-inst;
  -&aa-zlib-desc;
  +&aa-zlib-shortdesc;
   &aa-zlib-dep;
  +&c6-zlib-inst;
   
   </sect1>
   
  
  
  
  1.4       +1 -0      LFS/BOOK/entities/zlib.ent
  
  Index: zlib.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/entities/zlib.ent,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- zlib.ent	24 Oct 2002 01:23:51 -0000	1.3
  +++ zlib.ent	16 Jan 2003 00:59:20 -0000	1.4
  @@ -7,6 +7,7 @@
   <!ENTITY aa-zlib-desc SYSTEM "../appendixa/zlib-desc.xml">
   <!ENTITY aa-zlib-dep SYSTEM "../appendixa/zlib-dep.xml">
   <!ENTITY aa-zlib-down SYSTEM "../appendixa/zlib-down.xml">
  +<!ENTITY aa-zlib-shortdesc SYSTEM "../appendixa/zlib-shortdesc.xml">
   
   <!ENTITY zlib-version "1.1.4">
   <!ENTITY zlib-depversion "1.1.4">
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list