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

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Aug 21 20:22:58 PDT 2005


Author: randy
Date: 2005-08-21 21:22:57 -0600 (Sun, 21 Aug 2005)
New Revision: 4973

Added:
   trunk/patches/slib-3a2-blfs_install-1.patch
Removed:
   trunk/patches/slib-3a1-automate_install-1.patch
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/slib.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to SLIB-3a2

Modified: trunk/BOOK/general/genlib/slib.xml
===================================================================
--- trunk/BOOK/general/genlib/slib.xml	2005-08-21 19:31:29 UTC (rev 4972)
+++ trunk/BOOK/general/genlib/slib.xml	2005-08-22 03:22:57 UTC (rev 4973)
@@ -6,10 +6,10 @@
 
   <!ENTITY slib-download-http "http://swiss.csail.mit.edu/ftpdir/scm/OLD/slib&slib-version;.tar.gz">
   <!ENTITY slib-download-ftp  " ">
-  <!ENTITY slib-md5sum        "dc1aa0ffb9e2414223ceefc315f6baf9">
-  <!ENTITY slib-size          "705 KB">
-  <!ENTITY slib-buildsize     "8.6 MB">
-  <!ENTITY slib-time          "0.01 SBU">
+  <!ENTITY slib-md5sum        "190b20552dce6148f5a4917648eb589e">
+  <!ENTITY slib-size          "846 KB">
+  <!ENTITY slib-buildsize     "19.5 MB (includes building and installing all docs)">
+  <!ENTITY slib-time          "0.1 SBU">
 ]>
 
 <sect1 id="slib" xreflabel="SLIB-&slib-version;">
@@ -30,7 +30,7 @@
     <title>Introduction to SLIB</title>
 
     <para>The <application>SLIB</application> package is a portable library for
-    the programming language <application>Scheme</application>. It provides a
+    the <application>Scheme</application> programming language. 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
@@ -65,7 +65,7 @@
     <itemizedlist spacing='compact'>
       <listitem>
         <para>Required Patch: <ulink
-        url="&patch-root;/slib-&slib-version;-automate_install-1.patch"/></para>
+        url="&patch-root;/slib-&slib-version;-blfs_install-1.patch"/></para>
       </listitem>
     </itemizedlist>
 
@@ -74,6 +74,9 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para><xref linkend="guile"/></para>
 
+    <bridgehead renderas="sect4">Optional (to Build Documentation)</bridgehead>
+    <para><xref linkend="tex"/> and <xref linkend="lynx"/></para>
+
   </sect2>
 
   <sect2 role="installation">
@@ -82,9 +85,26 @@
     <para>Install <application>SLIB</application> by issuing the following
     commands:</para>
 
-<screen><userinput>patch -Np1 -i ../slib-&slib-version;-automate_install-1.patch &&
+<screen><userinput>patch -Np1 -i ../slib-&slib-version;-blfs_install-1.patch &&
+sed -i 's|\*vicinity-suffix\*)|"/")|' guile.init &&
 make</userinput></screen>
 
+    <para>If you have <application>TeX</application> installed and you wish to
+    build the PDF, Postscript and HTML documentation, issue the following
+    commands:</para>
+
+<screen><userinput>make pdfdocs &&
+make psdocs &&
+make htmldocs</userinput></screen>
+
+    <para>If you built the HTML documentation and you wish to build the text
+    documentation (requires <application>Lynx</application>), issue the
+    following command:</para>
+
+<screen><userinput>make txtdocs</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make prefix=/usr/ install &&
@@ -96,6 +116,9 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>sed -i 's|\*vicinity-suffix\*)|"/")|' guile.init</command>:
+    This command fixes a problem with the Guile initialization script.</para>
+
     <para><command>make prefix=/usr/ catalogs</command>: This command builds the
     <application>SLIB</application> <application>Scheme</application>
     implementation catalog.</para>
@@ -115,8 +138,8 @@
 
       <seglistitem>
         <seg>slib</seg>
-        <seg>a <application>Scheme</application> library system.</seg>
-        <seg>/usr/share/guile/slib</seg>
+        <seg>a <application>Scheme</application> library system</seg>
+        <seg>/usr/share/guile/slib and /usr/share/doc/slib-&slib-version;</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -143,4 +166,3 @@
   </sect2>
 
 </sect1>
-

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-08-21 19:31:29 UTC (rev 4972)
+++ trunk/BOOK/general.ent	2005-08-22 03:22:57 UTC (rev 4973)
@@ -1,8 +1,8 @@
-<!ENTITY day          "21">
+<!ENTITY day          "22">
 <!ENTITY month        "08">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "August &day;st, &year;">
+<!ENTITY releasedate  "August &day;nd, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|stable|testing|unstable|development] -->
@@ -84,7 +84,7 @@
 <!ENTITY libesmtp-version             "1.0.3r1">
 <!ENTITY aspell-version               "0.60.3">
 <!ENTITY ispell-version               "3.2.06.epa7">
-<!ENTITY slib-version                 "3a1">
+<!ENTITY slib-version                 "3a2">
 <!ENTITY gwrap-version                "1.3.4">
 <!ENTITY LZO-version                  "2.01">
 <!ENTITY libusb-version               "0.1.10a">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-08-21 19:31:29 UTC (rev 4972)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-08-22 03:22:57 UTC (rev 4973)
@@ -38,8 +38,19 @@
         </listitem>
       </itemizedlist>
     </listitem>
+
 -->
+
     <listitem>
+      <para>August 22nd, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Updated to SLIB-3a2</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>August 21st, 2005</para>
       <itemizedlist>
         <listitem>

Deleted: trunk/patches/slib-3a1-automate_install-1.patch
===================================================================
--- trunk/patches/slib-3a1-automate_install-1.patch	2005-08-21 19:31:29 UTC (rev 4972)
+++ trunk/patches/slib-3a1-automate_install-1.patch	2005-08-22 03:22:57 UTC (rev 4973)
@@ -1,59 +0,0 @@
-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

Added: trunk/patches/slib-3a2-blfs_install-1.patch
===================================================================
--- trunk/patches/slib-3a2-blfs_install-1.patch	2005-08-21 19:31:29 UTC (rev 4972)
+++ trunk/patches/slib-3a2-blfs_install-1.patch	2005-08-22 03:22:57 UTC (rev 4973)
@@ -0,0 +1,110 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2005-08-21
+Initial Package Version: 3a2
+Upstream Status:         Not submitted (BLFS specific)
+Origin:                  Randy McMurchy
+Description:             Modifies the Makefile so that it finds the BLFS-installed
+                         Guile and installs SLIB in a subdirectory of the installed
+                         Guile. Also creates additional documentation creation and
+                         installation targets.
+
+$LastChangedBy$
+$Date$
+
+
+diff -Naur slib-orig/Makefile slib/Makefile
+--- slib-orig/Makefile	2005-06-24 01:21:00.000000000 +0000
++++ slib/Makefile	2005-08-22 00:50:37.000000000 +0000
+@@ -25,11 +25,12 @@
+ # directory where `make install' will put executable.
+ bindir = $(exec_prefix)bin/
+ libdir = $(exec_prefix)lib/
+-libslibdir = $(libdir)slib/
++guiledir = $(prefix)share/guile/
++libslibdir = $(guiledir)slib/
+ # directory where `make install' will put manual page.
+-mandir = $(prefix)man/
++mandir = $(prefix)share/man/
+ man1dir = $(mandir)man1/
+-infodir = $(prefix)info/
++infodir = $(prefix)share/info/
+ 
+ PREVDOCS = prevdocs/
+ 
+@@ -146,22 +147,28 @@
+ 	slib.doc clrnamdb.scm
+ 
+ pinstall:	slib.1
+-	test -d $(mandir) || mkdir $(mandir)
+-	test -d $(man1dir) || mkdir $(man1dir)
+-	-cp slib.1 $(man1dir)
++	test -d $(man1dir) || install -v -m755 -d $(man1dir)
++	-install -v -m644 slib.1 $(man1dir)
+ 
+ install:	pinstall clrnamdb.scm
+-	test -d $(libdir) || mkdir $(libdir)
+-	test -d $(libslibdir) || mkdir $(libslibdir)
+-	-cp  $(ifiles) $(sfiles) $(bfiles) $(mkfiles) clrnamdb.scm $(libslibdir)
+-	test -d $(bindir) || mkdir $(bindir)
++	test -d $(libdir) || install -v -m755 -d $(libdir)
++	test -d $(libslibdir) || install -v -m755 -d $(libslibdir)
++	-install -v -m644 $(ifiles) $(sfiles) $(bfiles) $(mkfiles) clrnamdb.scm $(libslibdir)
++	-chmod -v 755 $(libslibdir)*.sh
++	test -d $(bindir) || install -v -m755 -d $(bindir)
+ 	echo '#! /bin/sh'			 > $(bindir)slib
+ 	echo SCHEME_LIBRARY_PATH=$(libslibdir)  >> $(bindir)slib
+ 	echo export SCHEME_LIBRARY_PATH		>> $(bindir)slib
+ 	echo VERSION=$(VERSION)			>> $(bindir)slib
+ 	echo "S48_VICINITY=\"$(LIB)\";export S48_VICINITY" >> $(bindir)slib
+ 	cat slib.sh				>> $(bindir)slib
+-	chmod +x $(bindir)slib
++	chmod -v 755 $(bindir)slib
++	install -v -m755 -d /usr/share/doc/slib-$(VERSION)
++	if [ -f slib.pdf ]; then install -v -m644 slib.pdf /usr/share/doc/slib-$(VERSION); fi
++	if [ -f slib.dvi ]; then install -v -m644 slib.dvi /usr/share/doc/slib-$(VERSION); fi
++	if [ -f slib.ps ]; then install -v -m644 slib.ps /usr/share/doc/slib-$(VERSION); fi
++	if [ -f slib.html ]; then install -v -m644 slib.html /usr/share/doc/slib-$(VERSION); fi
++	if [ -f slib.txt ]; then install -v -m644 slib.txt /usr/share/doc/slib-$(VERSION); fi
+ 
+ uninstall:
+ 	-(cd $(libslibdir); rm $(ifiles) $(sfiles) $(bfiles) $(mkfiles) clrnamdb.scm)
+@@ -171,12 +178,25 @@
+ slib.doc:	slib.1
+ 	nroff -man $< | ul -tunknown >$@
+ 
++pdfdocs:
++	texi2dvi --pdf slib.texi
++
++psdocs:
++	texi2dvi slib.texi
++	dvips -o slib.ps slib.dvi
++
++htmldocs:
++	texi2html slib.texi
++
++txtdocs:
++	lynx -force_html -dump -nolist -width=72 slib.html >slib.txt
++
+ #### 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 June 2005 >> version.txi
+ 
+ scheme = scm
+ 
+@@ -232,9 +252,10 @@
+ info:	installinfo
+ installinfo:	$(infodir)slib.info
+ $(infodir)slib.info:	slib.info
+-	cp -p slib.info $(infodir)slib.info
++	install -v -m755 -d $(infodir)
++	install -v -m644 slib.info $(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-3a2-blfs_install-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list