r2727 - in trunk: BOOK BOOK/general/genlib BOOK/introduction/welcome patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Wed Sep 8 16:19:10 PDT 2004


Author: randy
Date: 2004-09-08 17:19:08 -0600 (Wed, 08 Sep 2004)
New Revision: 2727

Added:
   trunk/patches/slib-3a1-automate_install-1.patch
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/gwrap.xml
   trunk/BOOK/general/genlib/slib.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to SLIB-3a1; cleaned up G-Wrap dependencies

Modified: trunk/BOOK/general/genlib/gwrap.xml
===================================================================
--- trunk/BOOK/general/genlib/gwrap.xml	2004-09-08 15:22:39 UTC (rev 2726)
+++ trunk/BOOK/general/genlib/gwrap.xml	2004-09-08 23:19:08 UTC (rev 2727)
@@ -9,7 +9,6 @@
 <!ENTITY gwrap-size "400 KB">
 <!ENTITY gwrap-buildsize "4.6 MB">
 <!ENTITY gwrap-time "0.09 SBU">
-
 ]>
 
 <sect1 id="gwrap" xreflabel="gwrap-&gwrap-version;">
@@ -22,11 +21,11 @@
 
 <sect2>
 <title>Introduction to <application>G-Wrap</application></title>
-                                                                               
+
 <para>The <application>G-Wrap</application> package contains tools for
-exporting <application>C</application> libraries into <application>Scheme
-</application> interpreters.</para>
-                                                                               
+exporting <application>C</application> libraries into 
+<application>Scheme</application> interpreters.</para>
+
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Download (HTTP): <ulink
@@ -39,44 +38,42 @@
 <listitem><para>Estimated build time:
 &gwrap-time;</para></listitem></itemizedlist>
 </sect3>
-                                                                               
-                                                                               
+
 <sect3><title><application>G-wrap</application> dependencies</title>
 <sect4><title>Required</title>
-<para><xref linkend="guile"/> and <xref linkend="slib"/></para></sect4>
+<para><xref linkend="slib"/></para></sect4>
 </sect3>
-                                                                               
-                                                                               
+
 </sect2>
 
 <sect2>
 <title>Installation of <application>G-Wrap</application></title>
-                                                                               
+
 <para>Install <application>G-Wrap</application> by running the following
 commands:</para>
-                                                                               
+
 <screen><userinput><command>./configure --prefix=/usr &&
 make &&
 make install</command></userinput></screen>
-                                                                               
+
 </sect2>
 
 <sect2>
 <title>Contents</title>
-                                                                               
+
 <para>In addition to the <application>Scheme</application> libraries, the
 <application>G-Wrap</application> package contains
 <command>g-wrap-config</command>.</para>
-                                                                               
+
 </sect2>
-                                                                               
+
 <sect2><title>Description</title>
-                                                                               
+
 <sect3><title>g-wrap-config</title>
-<para><command>g-wrap-config</command> is a tool to generate <envar>CFLAGS
-</envar> for linking <application>C</application> code to the
-<application>Scheme</application> runtime libraries.</para></sect3>
-                                                                               
+<para><command>g-wrap-config</command> is a tool to 
+generate <envar>CFLAGS</envar> for linking <application>C</application> code 
+to the <application>Scheme</application> runtime libraries.</para></sect3>
+
 </sect2>
 
 </sect1>

Modified: trunk/BOOK/general/genlib/slib.xml
===================================================================
--- trunk/BOOK/general/genlib/slib.xml	2004-09-08 15:22:39 UTC (rev 2726)
+++ trunk/BOOK/general/genlib/slib.xml	2004-09-08 23:19:08 UTC (rev 2727)
@@ -4,28 +4,34 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-<!ENTITY slib-download-http "http://www.swiss.ai.mit.edu/ftpdir/scm/OLD/slib&slib-version;.tar.gz">
-<!ENTITY slib-download-ftp " ">
-<!ENTITY slib-size "636 KB">
-<!ENTITY slib-buildsize "2.9 MB">
-<!ENTITY slib-time "0.00 SBU">
-
+<!ENTITY slib-download-http "http://swiss.csail.mit.edu/ftpdir/scm/slib&slib-version;.tar.gz">
+<!ENTITY slib-download-ftp  " ">
+<!ENTITY slib-size          "705 KB">
+<!ENTITY slib-buildsize     "8.5 MB">
+<!ENTITY slib-time          "0.02 SBU">
 ]>
 
-<sect1 id="slib" xreflabel="slib-&slib-version;">
+<sect1 id="slib" xreflabel="SLIB-&slib-version;">
 <sect1info>
 <othername>$LastChangedBy$</othername>
 <date>$Date$</date>
 </sect1info>
 <?dbhtml filename="slib.html"?>
-<title>slib-&slib-version;</title>
+<title>SLIB-&slib-version;</title>
 
 <sect2>
-<title>Introduction to <application>slib</application></title>
-                                                                               
-<para>The <application>slib</application> package is a <application>Scheme
-</application> library used with <application>Guile</application>.</para>
-                                                                               
+<title>Introduction to <application>SLIB</application></title>
+
+<para>The <application>SLIB</application> package is a portable library for 
+the programming language <application>Scheme</application>. It provides a 
+platform independent framework for using <quote>packages</quote> of 
+<application>Scheme</application> procedures and syntax. 
+<application>SLIB</application> contains useful packages for all 
+<application>Scheme</application> implementations, including 
+<application>Guile</application>. Its catalog can be transparently extended 
+to accomodate packages specific to a site, implementation, user or 
+directory.</para>
+
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Download (HTTP): <ulink
@@ -38,33 +44,67 @@
 <listitem><para>Estimated build time:
 &slib-time;</para></listitem></itemizedlist>
 </sect3>
-                                                                               
-                                                                               
-<sect3><title><application>slib</application> dependencies</title>
+
+<sect3><title>Additional downloads</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Required Patch: <ulink
+url="&patch-root;/slib-&slib-version;-automate_install-1.patch"/></para>
+</listitem></itemizedlist>
+</sect3>
+
+<sect3><title><application>SLIB</application> dependencies</title>
 <sect4><title>Required</title>
 <para><xref linkend="guile"/></para></sect4>
 </sect3>
-                                                                               
+
 </sect2>
 
 <sect2>
-<title>Installation of <application>slib</application></title>
-                                                                               
-<para>Installation of  <application>slib</application> is merely a copy command:
-</para>
-                                                                               
-<screen><userinput><command>cp -R slib /usr/share/guile</command></userinput>
-</screen>
-                                                                               
+<title>Installation of <application>SLIB</application></title>
+
+<para>Install <application>SLIB</application> by issuing the following 
+commands:</para>
+
+<screen><userinput><command>patch -Np1 -i ../slib-&slib-version;-automate_install-1.patch &&
+make &&
+make prefix=/usr/ install &&
+make prefix=/usr/ catalogs &&
+make prefix=/usr/ installinfo</command></userinput></screen>
+
 </sect2>
 
 <sect2>
+<title>Command explanations</title>
+
+<para><command>make prefix=/usr/ catalogs</command>: This command builds the 
+<application>SLIB</application> <application>Scheme</application> 
+implementation catalog.</para>
+
+<para><command>make prefix=/usr/ installinfo</command>: This commands installs 
+the <command>info</command> documentation.</para>
+
+</sect2>
+
+<sect2>
 <title>Contents</title>
-                                                                               
-<para>The <application>slib</application> package contains a <application>
-Scheme</application> library.</para>
-                                                                               
+
+<para>The <application>SLIB</application> package contains 
+<command>slib</command> and the <application>SLIB</application> 
+<application>Scheme</application> Library System.</para>
+
 </sect2>
 
+<sect2>
+<title>Description</title>
+
+<sect3><title>slib</title>
+<para><command>slib</command> is a shell script used to initialize 
+<application>SLIB</application> in a named <application>Scheme</application> 
+implementation. It can also be used to initialize an 
+<application>SLIB</application> session using a given executable.</para>
+</sect3>
+
+</sect2>
+ 
 </sect1>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-09-08 15:22:39 UTC (rev 2726)
+++ trunk/BOOK/general.ent	2004-09-08 23:19:08 UTC (rev 2727)
@@ -69,7 +69,7 @@
 <!ENTITY aspell-version               "0.50.5">
 <!ENTITY ispell-version               "3.2.06.epa7">
 <!ENTITY guile-version                "1.6.4">
-<!ENTITY slib-version                 "2d6">
+<!ENTITY slib-version                 "3a1">
 <!ENTITY gwrap-version                "1.3.4">
 <!ENTITY LZO-version                  "1.08">
 <!ENTITY libpcap-version              "0.8.3">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-09-08 15:22:39 UTC (rev 2726)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-09-08 23:19:08 UTC (rev 2727)
@@ -22,6 +22,9 @@
 
 <itemizedlist>
 
+<listitem><para>September 8th, 2004 [randy]: Updated to
+SLIB-3a1; cleaned up G-Wrap dependencies.</para></listitem>
+
 <listitem><para>September 8th, 2004 [larry]: Updated to
 gnupg-1.2.6 and libpng-1.2.6.</para></listitem>
 

Added: trunk/patches/slib-3a1-automate_install-1.patch
===================================================================
--- trunk/patches/slib-3a1-automate_install-1.patch	2004-09-08 15:22:39 UTC (rev 2726)
+++ trunk/patches/slib-3a1-automate_install-1.patch	2004-09-08 23:19:08 UTC (rev 2727)
@@ -0,0 +1,59 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2004-09-08
+Initial Package Version: 3a1
+Upstream Status:         Not submitted 
+Origin:                  Randy McMurchy
+Description:             Adds installation commands to the Makefile to install 
+			 the package
+
+$LastChangedBy$
+$Date$
+
+--- slib-orig/Makefile	2003-12-01 04:44:11.000000000 +0000
++++ slib/Makefile	2004-09-08 19:35:21.380844048 +0000
+@@ -26,6 +26,7 @@
+ bindir = $(exec_prefix)bin/
+ libdir = $(exec_prefix)lib/
+ infodir = $(prefix)info/
++guiledir = $(prefix)share/guile/
+ 
+ PREVDOCS = prevdocs/
+ 
+@@ -80,17 +81,23 @@
+ install:
+ 	test -d $(bindir) || mkdir $(bindir)
+ 	echo '#! /bin/sh'			 > $(bindir)slib
+-	echo export SCHEME_LIBRARY_PATH=$(libdir)slib/	>> $(bindir)slib
++	echo export SCHEME_LIBRARY_PATH=$(guiledir)slib/	>> $(bindir)slib
+ 	echo VERSION=$(VERSION)			>> $(bindir)slib
+ 	cat slib.sh				>> $(bindir)slib
+ 	chmod +x $(bindir)slib
++	install -d -m755 -oroot -groot $(guiledir)slib
++	install -m644 -oroot -groot ANNOUNCE COPYING ChangeLog FAQ Makefile README \
++	grapheps.ps slib.spec srcdir.mk *.xyz *.txt *.texi *.info *.txi *.init *.scm \
++	$(guiledir)slib
++	install -m755 -oroot -groot *.sh $(guiledir)slib
++
+ 
+ #### Stuff for maintaining SLIB below ####
+ 
+ ver = $(VERSION)
+ version.txi:	Makefile
+ 	echo @set SLIBVERSION $(ver) > version.txi
+-	echo @set SLIBDATE `date +"%B %Y"` >> version.txi
++	echo @set SLIBDATE November 2003 >> version.txi
+ 
+ scheme = scm
+ 
+@@ -206,8 +213,10 @@
+ installinfo:	$(infodir)slib.info
+ $(infodir)slib.info:	slib.info
+ 	cp -a slib.info $(infodir)slib.info
++	chown root:root $(infodir)slib.info
+ 	-install-info $(infodir)slib.info $(infodir)dir
+-	-rm $(infodir)slib.info.gz
++	if [ -f $(infodir)slib.info.gz ]; \
++	then rm $(infodir)slib.info.gz; fi
+ infoz:	installinfoz
+ installinfoz:	$(infodir)slib.info.gz
+ $(infodir)slib.info.gz:	$(infodir)slib.info


Property changes on: trunk/patches/slib-3a1-automate_install-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list