source: general/prog/slang.xml@ c0aa452

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c0aa452 was de33b2a, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format general/prog

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

  • Property mode set to 100644
File size: 5.9 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 slang-download-http "http://www.jedsoft.org/releases/slang/slang-&slang-version;.tar.bz2">
8 <!ENTITY slang-download-ftp " ">
9 <!ENTITY slang-md5sum "c2d5a7aa0246627da490be4e399c87cb">
10 <!ENTITY slang-size "1.5 MB">
11 <!ENTITY slang-buildsize "29 MB (add 4 MB for tests)">
12 <!ENTITY slang-time "0.4 SBU (add 0.2 SBU for tests)">
13]>
14
15<sect1 id="slang" xreflabel="slang-&slang-version;">
16 <?dbhtml filename="slang.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>slang-&slang-version;</title>
24
25 <indexterm zone="slang">
26 <primary sortas="a-slang">slang</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to slang</title>
31
32 <para>
33 <application>S-Lang</application> (slang) is an interpreted language
34 that may be embedded into an application to make the application
35 extensible. It provides facilities required by interactive applications
36 such as display/screen management, keyboard input and keymaps.
37 </para>
38
39 &lfs91_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&slang-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&slang-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &slang-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &slang-size;</para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &slang-buildsize;</para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &slang-time;</para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Slang Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional">
73 <xref linkend="libpng"/>,
74 <xref linkend="pcre"/>, and
75 <ulink url="https://github.com/kkos/oniguruma">Oniguruma</ulink>
76 </para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/slang"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Slang</title>
85
86 <note>
87 <para>
88 This package does not support parallel build.
89 </para>
90 </note>
91
92 <para>
93 Install <application>slang</application> by running the following
94 commands:
95 </para>
96
97<screen><userinput>./configure --prefix=/usr \
98 --sysconfdir=/etc \
99 --with-readline=gnu &amp;&amp;
100make -j1</userinput></screen>
101
102 <para>
103 To test the results, issue: <command>make check</command>. Note that
104 this will also create a static version of the library which will then be
105 installed in the next step.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role='root'><userinput>make install_doc_dir=/usr/share/doc/slang-&slang-version; \
113 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
114 install-all &amp;&amp;
115
116chmod -v 755 /usr/lib/libslang.so.&slang-version; \
117 /usr/lib/slang/v2/modules/*.so</userinput></screen>
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <para>
124 <parameter>--with-readline=gnu</parameter>: This parameter sets GNU
125 <application>Readline</application> to be used by the parser interface
126 instead of the <application>slang</application> internal version.
127 </para>
128
129 <para>
130 <command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
131 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
132 This command installs the static library as well as
133 the dynamic shared version and related modules. It also changes the
134 documentation installation directories to a versioned directory.
135 </para>
136
137 </sect2>
138
139 <sect2 role="configuration">
140 <title>Configuring slang</title>
141
142 <sect3 id="slang-config">
143 <title>Config Files</title>
144 <para>
145 <filename>~/.slshrc</filename> and
146 <filename>/etc/slsh.rc</filename>
147 </para>
148
149 <indexterm zone="slang slang-config">
150 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
151 </indexterm>
152
153 <indexterm zone="slang slang-config">
154 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
155 </indexterm>
156 </sect3>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Program</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>slsh</seg>
170 <seg>libslang.{so,a} and numerous support modules</seg>
171 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
172 and /usr/share/slsh</seg>
173 </seglistitem>
174 </segmentedlist>
175
176 <variablelist>
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
178 <?dbfo list-presentation="list"?>
179 <?dbhtml list-presentation="table"?>
180
181 <varlistentry id="slsh">
182 <term><command>slsh</command></term>
183 <listitem>
184 <para>
185 is a simple program for interpreting
186 <application>slang</application> scripts. It supports dynamic
187 loading of <application>slang</application> modules and includes a
188 <application>Readline</application> interface for interactive use.
189 </para>
190 <indexterm zone="slang slsh">
191 <primary sortas="b-slsh">slsh</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.