source: archive/slib.xml@ adf6dd9a

10.0 10.1 11.0 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since adf6dd9a was adf6dd9a, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Archive unneeded packages: pkgconfig,

bc, ibus, udev, slib, gamin, and notify-python

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12015 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY slib-download-http
8 "http://groups.csail.mit.edu/mac/ftpdir/scm/slib-&slib-version;.tar.gz">
9 <!ENTITY slib-download-ftp " ">
10 <!ENTITY slib-md5sum "dcada65c4df4209c8f71211095bcef8e">
11 <!ENTITY slib-size "956 KB">
12 <!ENTITY slib-buildsize "10 MB (includes building and installing docs)">
13 <!ENTITY slib-time "0.5 SBU">
14]>
15
16<sect1 id="slib" xreflabel="SLIB-&slib-version;">
17 <?dbhtml filename="slib.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>SLIB-&slib-version;</title>
25
26 <indexterm zone="slib">
27 <primary sortas="a-SLIB">SLIB</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to SLIB</title>
32
33 <para>The <application>SLIB</application> package is a portable library for
34 the <application>Scheme</application> programming language. It provides a
35 platform independent framework for using <quote>packages</quote> of
36 <application>Scheme</application> procedures and syntax.
37 Its catalog can be transparently extended to accommodate packages specific
38 to a site, implementation, user or directory. SLIB provides compatibility
39 and utility functions for all standard Scheme implementations including
40 Bigloo, Chez, ELK 3.0, GAMBIT 3.0, Guile, JScheme, MacScheme, MITScheme,
41 PLT Scheme (DrScheme and MzScheme), Pocket Scheme, RScheme, scheme->C,
42 Scheme48, SCM, SCM Mac, scsh, Stk, T3.1, umb-scheme, and VSCM.</para>
43
44 &lfs74_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>Download (HTTP): <ulink url="&slib-download-http;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download (FTP): <ulink url="&slib-download-ftp;"/></para>
53 </listitem>
54 <listitem>
55 <para>Download MD5 sum: &slib-md5sum;</para>
56 </listitem>
57 <listitem>
58 <para>Download size: &slib-size;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated disk space required: &slib-buildsize;</para>
62 </listitem>
63 <listitem>
64 <para>Estimated build time: &slib-time;</para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">SLIB Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required"><xref linkend="guile"/>.</para>
72
73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/slib"/></para>
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of SLIB</title>
79
80 <para>Install <application>SLIB</application> by issuing the following
81 commands:</para>
82
83<screen><userinput>sed -i 's|usr/lib|usr/share|' RScheme.init &amp;&amp;
84./configure --prefix=/usr --libdir=/usr/share &amp;&amp;
85
86sed -i -e 's# scm$# guile#;s#ginstall-info#install-info#' \
87 -e 's/no-split -o/no-split --force -o/' Makefile &amp;&amp;
88
89makeinfo -o slib.txt --plaintext --force slib.texi &amp;&amp;
90makeinfo -o slib.html --html --no-split --force slib.texi</userinput></screen>
91
92<!-- Thee are errors in slib.texi
93 <para>If you have <xref linkend="texlive"/> installed and wish to build PDF
94 or Postscript documentation, issue any or all of the following
95 commands:</para>
96
97<screen><userinput>texi2pdf slib.texi &amp;&amp;
98texi2dvi slib.texi &amp;&amp;
99dvips -o slib.ps slib.dvi</userinput></screen>
100-->
101 <para>This package does not come with a functional test suite.</para>
102
103 <para>Now, as the <systemitem class="username">root</systemitem>
104 user:</para>
105
106<screen role="root"><userinput>make install &amp;&amp;
107ln -v -sf ../slib /usr/share/guile &amp;&amp;
108mkdir -pv /usr/share/guile/site/2.0 &amp;&amp;
109guile -c "(use-modules (ice-9 slib)) (require 'printf)" &amp;&amp;
110install -v -m755 -d /usr/share/doc/slib-&slib-version; &amp;&amp;
111install -v -m644 ANNOUNCE FAQ README slib.{txt,html} /usr/share/doc/slib-&slib-version;</userinput></screen>
112
113<!--
114 <para>If you built any of the optional documentation, install it using the
115 following command as the <systemitem class="username">root</systemitem>
116 user:</para>
117
118<screen role="root"><userinput>install -v -m644 slib.{pdf,dvi,ps} /usr/share/doc/slib-&slib-version;</userinput></screen>
119 -->
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para><command>sed -i 's|usr/lib|usr/share|' RScheme.init</command>:
126 This command is used to change the <envar>libdir</envar> variable embedded
127 in the script to match the installation.</para>
128
129 <para><option>--libdir=/usr/share</option>: This option puts the installed
130 in files <filename class="directory">/usr/share/slib</filename> instead of
131 <filename class="directory">/usr/lib/slib</filename>.</para>
132
133 <para><command>makeinfo ... --force ... </command>: This command creates
134 needed documentation, but needs the <option>--force</option> option to
135 overcome warnings that are flagged as errors in recent versions of
136 <command>makeinfo</command>.</para>
137
138 <para><command>ln -v -sf ../slib /usr/share/guile</command>: This command
139 puts a symbolic link to the <application>slib</application> files in
140 <application>Guile</application>'s default <quote>Implementation
141 Vicinity</quote>.</para>
142
143 <para><command>guile -c "(use-modules (ice-9 slib)) (require
144 'printf)"</command>: This command creates a guile catalog of the
145 <application>slib</application> files.</para>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Program</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directory</segtitle>
156
157 <seglistitem>
158 <seg>slib</seg>
159 <seg>a <application>Scheme</application> library system</seg>
160 <seg>/usr/share/slib,
161 /usr/share/guile/site/2.0, and
162 /usr/share/doc/slib-&slib-version;</seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="slib-prog">
172 <term><command>slib</command></term>
173 <listitem>
174 <para>is a shell script used to initialize
175 <application>SLIB</application> in a named
176 <application>Scheme</application> implementation. It can also be
177 used to initialize an <application>SLIB</application> session using
178 a given executable.</para>
179 <indexterm zone="slib slib-prog">
180 <primary sortas="b-slib">slib</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184 </variablelist>
185 </sect2>
186</sect1>
Note: See TracBrowser for help on using the repository browser.