cvs commit: ALFS/profiles/BLFS/chapter09 fontconfig.xml freetype.xml

vdzuba at linuxfromscratch.org vdzuba at linuxfromscratch.org
Mon Mar 8 12:08:36 PST 2004


vdzuba      04/03/08 13:08:36

  Added:       profiles/BLFS/chapter09 fontconfig.xml freetype.xml
  Log:
  moved freetype and fontconfig
  
  Revision  Changes    Path
  1.1                  ALFS/profiles/BLFS/chapter09/fontconfig.xml
  
  Index: fontconfig.xml
  ===================================================================
  <package name="fontconfig" version="&fontconfig-version;">
  
          <packageinfo>
  	        <requires><name>freetype</name></requires>
  	        <requires><name>expat</name></requires>
  	</packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&fontconfig-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&fontconfig-directory;</base>
  		</stageinfo>
  
  		<configure>
  			<param>--prefix=/usr</param>
  			<param>--sysconfdir=/etc</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&fontconfig-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter09/freetype.xml
  
  Index: freetype.xml
  ===================================================================
  <package name="freetype" version="&freetype-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&freetype-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  		<copy>
  		        <source>&packages_dir;/&freetype-patch1;</source>
  			<destination>&build_dir;</destination>
  		</copy>
  		<copy>
  		        <source>&packages_dir;/&freetype-patch2;</source>
  			<destination>&build_dir;</destination>
  		</copy>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&freetype-directory;</base>
  		</stageinfo>
  
  		<patch>
  			<param>-N</param>
  			<param>-p1</param>
  			<param>-i ../&freetype-patch1;</param>
  		</patch>
  
  		<patch>
  			<param>-N</param>
  			<param>-p1</param>
  			<param>-i ../&freetype-patch2;</param>
  		</patch>
  
  		<search_replace
  		    base = "&build_dir;/&freetype-directory;/include/freetype/config">
  		    <file>ftoption.h</file>
  		    <find>/* #define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER */</find>
  		    <replace>#define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER</replace>
  		</search_replace>
  
  
  		<configure>
  			<param>--prefix=/usr</param>
  		</configure>
  
  		<make/>
  
  		<make>
  			<param>install</param>
  		</make>
  
  		<execute command="/sbin/ldconfig" />
  
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&freetype-directory;</remove>
  		<remove>&build_dir;/&freetype-patch1;</remove>
  		<remove>&build_dir;/&freetype-patch2;</remove>
  	</stage>
  
  </package>
  
  
  



More information about the alfs-log mailing list