cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_packageinfo.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri May 28 19:35:47 PDT 2004


jwrober     04/05/28 20:35:47

  Modified:    docs/syntax_doc/alfs_dtd elem_packageinfo.xml
  Log:
  * cleanup
  
  Revision  Changes    Path
  1.8       +33 -20    ALFS/docs/syntax_doc/alfs_dtd/elem_packageinfo.xml
  
  Index: elem_packageinfo.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_packageinfo.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- elem_packageinfo.xml	23 Feb 2004 03:53:51 -0000	1.7
  +++ elem_packageinfo.xml	29 May 2004 02:35:47 -0000	1.8
  @@ -25,43 +25,56 @@
   <title>Description</title>
   
   <para>The element <filename>packageinfo</filename> groups elements containg
  -information about the package, namely a description and some deopendency
  -relationship.</para>
  +information about the package, namely a description and some dependency
  +relationship(s).</para>
   
  -<para>The description of the packge is contained in the
  -<filename>description</filename> sub-element.</para>
  +<para>The <filename>description</filename> sub-element provides for a
  +description of the packge.</para>
   
  -<para>The relationship "depends-on" is described by the
  -<filename>requires</filename> sub-element.</para>
  +<para>The <filename>requires</filename> sub-element provides for a
  +relationship (dependancy) to other defined packages in the profile.</para>
   
  -<para>The relationship "will utilize" is described by the
  -<filename>utilizes</filename> sub-element.</para>
  +<para>The <filename>utilizes</filename> sub-element provdes for a
  +relationship (uses / optional) to other defined packages in the
  +profile.</para>
   
   </sect2>
   
   <sect2>
   <title>Examples</title>
   
  -<para>The equivalent bash script is :</para>
  +<screen><userinput><package name="gimp" version="1.2.3">
  +	<packageinfo>
   
  -<screen><userinput>echo Generating package zlib 1.1.4
  +		<description>
   
  -#-----------------------------------------
  -echo Stage "Unpacking a package."
  +			<para>The gimp package contains the GNU Image Manipulation Program.
  +			            This is useful for :</para>
   
  -echo Unpacking /usr/src/lfs-packages/zlib.1.1.4.tar.gz into /usr/src
  -cd /usr/src
  -[[ $? != 0 ]] &&  echo Command failed && exit 3
  +			<list>
  +				<item>photo retouching,</item>
  +				<item>image composition,</item>
  +				<item>image authoring.</item>
  +			</list>
   
  -tar xzvf /usr/src/lfs-packages/zlib.1.1.4.tar.gz
  -[[ $? != 0 ]] &&  echo Command failed && exit 3
  +		</description>
  +	
  +		<requires><name>gtk+</name></requires>
   
  +		<utilizes><name>libtiff</name></utilizes>
  +		<utilizes><name>libpng</name></utilizes>
  +		<utilizes><name>libjpeg</name></utilizes>
  +		<utilizes><name>aalib</name></utilizes>
  +		<utilizes><name>mpeg_lib</name></utilizes>
  +		<utilizes><name>python</name></utilizes>
   
  -echo Exiting stage "Unpacking a package."
  +	</packageinfo>
   
  -...
  +	....
   
  -echo End of generating package zlib 1.1.4</userinput></screen>
  +</package></userinput></screen>
  +
  +<para>There is no equivalent bash script for the element.</para>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list