source: general/prog/slang.xml@ 45ab6c7

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 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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