r1971 - in profiles/BLFS/trunk: chapter38 chapter46 config_standard/packages wget

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Mon Aug 15 11:24:44 PDT 2005


Author: thomasp
Date: 2005-08-15 12:24:42 -0600 (Mon, 15 Aug 2005)
New Revision: 1971

Added:
   profiles/BLFS/trunk/chapter38/freetts.xml
Modified:
   profiles/BLFS/trunk/chapter46/jadetex.xml
   profiles/BLFS/trunk/config_standard/packages/ch38.ent
   profiles/BLFS/trunk/wget/chapter38.urls
Log:
Updated to jadetex to work with new Tex
New package: FreeTTS



Added: profiles/BLFS/trunk/chapter38/freetts.xml
===================================================================
--- profiles/BLFS/trunk/chapter38/freetts.xml	2005-08-12 14:12:03 UTC (rev 1970)
+++ profiles/BLFS/trunk/chapter38/freetts.xml	2005-08-15 18:24:42 UTC (rev 1971)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/packages/ch38.ent">
+<!ENTITY % config_entities SYSTEM  "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+
+]>
+<alfs>
+  <package name="freetts" version="&freetts-version;">
+    <packageinfo>
+      <requires>
+	<name>apache-ant</name>
+      </requires>
+      <requires>
+	<name>unzip</name>
+      </requires>
+    </packageinfo>
+    <stage name="Unpacking">
+      <stageinfo>
+	<base>&build_dir;</base>
+      </stageinfo>
+      <execute command="unzip">
+	<param>-q</param>
+	<param>&packages_dir;/&freetts-package;</param>
+	<param>-x</param>
+	<param>META-INF/*</param>
+      </execute>
+      <execute command="unzip">
+	<param>-q</param>
+	<param>&packages_dir;/&freetts-test-package;</param>
+	<param>-x</param>
+	<param>META-INF/*</param>
+	<param>&freetts-directory;/acknowledgments.txt</param>
+	<param>&freetts-directory;/license.terms</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&freetts-directory;</base>
+      </stageinfo>
+      <execute command="yes | sh jsapi.sh" base="&build_dir;/&freetts-directory;/lib" />
+      <execute commnad="ant" />
+      <mkdir>
+	<option>parents</option>
+	<name>/opt/freetts-&freetts-version;/lib</name>
+	<name>/opt/freetts-&freetts-version;/docs/audio</name>
+	<name>/opt/freetts-&freetts-version;/docs/images</name>
+      </mkdir>
+      <copy>
+	<source>lib/*.jar</source>
+	<destination>/opt/freetts-&freetts-version;/lib</destination>
+      </copy>
+      <copy>
+	<source>*.txt</source>
+	<source>RELEASE_NOTES</source>
+	<source>license.terms</source>
+	<source>docs/*.pdf</source>
+	<source>docs/*.html</source>
+	<source>docs/*.txt</source>
+	<source>docs/*.sxw</source>
+	<source>docs/*.sxd</source>
+	<destination>/opt/freetts-&freetts-version;/docs</destination>
+      </copy>
+      <copy>
+	<source>docs/audio/*</source>
+	<destination>/opt/freetts-&freetts-version;/docs/audio</destination>
+      </copy>
+      <copy>
+	<source>docs/images/*</source>
+	<destination>/opt/freetts-&freetts-version;/docs/images</destination>
+      </copy>
+      <copy>
+	<option>recursive</option>
+	<source>javadoc</source>
+	<destination>/opt/freetts-&freetts-version;</destination>
+      </copy>
+      <link>
+	<option>force</option>
+	<target>freetts-&freetts-version;</target>
+	<name>/opt/freetts</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&freetts-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Modified: profiles/BLFS/trunk/chapter46/jadetex.xml
===================================================================
--- profiles/BLFS/trunk/chapter46/jadetex.xml	2005-08-12 14:12:03 UTC (rev 1970)
+++ profiles/BLFS/trunk/chapter46/jadetex.xml	2005-08-15 18:24:42 UTC (rev 1971)
@@ -31,13 +31,10 @@
     <stageinfo>
       <base>&build_dir;/&jadetex-directory;</base>
     </stageinfo>
-    <search_replace>
-      <file>/usr/share/texmf/web2c/texmf.cnf</file>
-      <find>original texmf.cnf</find>
-      <replace>modified texmf.cnf</replace>
-    </search_replace>
     <execute command="sed">
-      <param>-i -e 's at main_memory.mpost = 1500000@&real-amp;\npool_size.context = 750000@'</param>
+      <param>-i.orig</param>
+      <param>-e "s/original texmf.cnf/modified texmf.cnf/"</param>
+      <param>-e "s/memory hog.../&real-amp;\npool_size.context = 750000/"</param>
       <param>/usr/share/texmf/web2c/texmf.cnf</param>
     </execute>
     <textdump mode="append">
@@ -83,36 +80,75 @@
 	=max_strings.pdfjadetex = 55000
       </content>
     </textdump>
-    <copy>
-      <option>recursive</option>
-      <source>/usr/share/texmf/tex/latex/config</source>
-      <destination>.</destination>
-    </copy>
-    <execute base="&build_dir;/&jadetex-directory;/config" command="tex">
-      <param>-ini -progname=latex latex.ini</param>
-    </execute>
-    <move base="/usr/share/texmf/web2c">
+    <move base="/usr/share/texmf-var/web2c">
       <source>latex.fmt</source>
       <destination>latex.fmt.orig</destination>
     </move>
+    <move base"/usr/share/texmf-var/web2c">
+      <source>latex.log</source>
+      <destination>latex.log.orig</destination>
+    </move>
+    <execute command="fmtutil-sys">
+      <param>--byfmt</param>
+      <param>latex</param>
+    </execute>
+    <make />
+    <mkdir>
+      <option>parents</option>
+      <name>/usr/share/texmf-local/tex/jadetex/config</name>
+    </mkdir>
     <copy>
-      <source>config/latex.fmt</source>
-      <destination>/usr/share/texmf/web2c</destination>
+      <source>dsssl.def</source>
+      <source>jadetex.ltx</source>
+      <destination>/usr/share/texmf-local/tex/jadetex</destination>
     </copy>
-    <make>
-      <param>install</param>
-    </make>
+    <copy>
+      <source>jadetex.ini</source>
+      <source>pdfjadetex.ini</source>
+      <destination>/usr/share/texmf-local/tex/jadetex/config</destination>
+    </copy>
+    <copy base="/usr/share/texmf/web2c">
+      <source>fmtutil.cnf</source>
+      <destination>fmtutil.cnf.orig</destination>
+    </copy>
+    <textdump mode="append">
+      <file>/usr/share/texmf/web2c/fmtutil.cnf</file>
+      <content>
+	=
+	=# JadeTeX formats:
+	=jadetex         etex            -               "&real-amp;latex"     jadetex.ini
+	=pdfjadetex      pdfetex         -               "&real-amp;pdflatex"  pdfjadetex.ini
+	=
+      </content>
+    </textdump>
+    <move base="/usr/share/texmf">
+      <source>ls-R</source>
+      <destination>ls-R.orig</destination>
+    </move>
+    <move base="/usr/share/texmf-var">
+      <source>ls-R</source>
+      <destination>ls-R.orig</destination>
+    </move>
+    <execute command="mktexlsr" />
+    <execute command="fmtutil-sys">
+      <param>--byfmt</param>
+      <param>jadetex</param>
+    </execute>
+    <execute command="fmtutil-sys">
+      <param>--byfmt</param>
+      <param>pdfjadetex</param>
+    </execute>
+    <execute command="mktexlsr" />
     <link>
       <option>force</option>
-      <target>tex</target>
+      <target>etex</target>
       <name>/usr/bin/jadetex</name>
     </link>
     <link>
       <option>force</option>
-      <target>pdftex</target>
+      <target>pdfetex</target>
       <name>/usr/bin/pdfjadetex</name>
     </link>
-    <execute command="mktexlsr" />
   </stage>
   <stage name="Cleanup.">
     <remove>&build_dir;/&jadetex-directory;</remove>

Modified: profiles/BLFS/trunk/config_standard/packages/ch38.ent
===================================================================
--- profiles/BLFS/trunk/config_standard/packages/ch38.ent	2005-08-12 14:12:03 UTC (rev 1970)
+++ profiles/BLFS/trunk/config_standard/packages/ch38.ent	2005-08-15 18:24:42 UTC (rev 1971)
@@ -30,3 +30,9 @@
 
 <!ENTITY cdparanoia-gcc34-patch     "cdparanoia-&cdparanoia-version;-gcc34-1.patch">
 <!ENTITY cdparanoia-gcc34-patch-md5 "a707712efbafd6f2536c451ea980e077">
+
+<!ENTITY freetts-version "1.2.1">
+<!ENTITY freetts-package "freetts-&freetts-version;-src.zip">
+<!ENTITY freetts-md5 "f3e3ceae5b8cb5e175b50931f2e350e8">
+<!ENTITY freetts-directory "freetts-&freetts-version;">
+

Modified: profiles/BLFS/trunk/wget/chapter38.urls
===================================================================
--- profiles/BLFS/trunk/wget/chapter38.urls	2005-08-12 14:12:03 UTC (rev 1970)
+++ profiles/BLFS/trunk/wget/chapter38.urls	2005-08-15 18:24:42 UTC (rev 1971)
@@ -9,3 +9,6 @@
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cdparanoia-III-alpha9.8.src.tar.bz2
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cdparanoia-III-alpha9.8-includes-1.patch
 ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/A-C/cdparanoia-III-alpha9.8-gcc34-1.patch
+
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/F-H/freetts-1.2.1-src.zip
+ftp://ftp.lfs-matrix.net/pub/BLFS/SVN/F-H/freetts-1.2.1-tst.zip




More information about the alfs-log mailing list