source: general/prog/slang.xml@ 1c92d68a

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since 1c92d68a was 4ed0b491, checked in by Xi Ruoyao <xry111@…>, 3 months ago

slang: Get rid of rpath

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c6b192c]7 <!ENTITY slang-download-http "https://www.jedsoft.org/releases/slang/slang-&slang-version;.tar.bz2">
[8dfc5c3]8 <!ENTITY slang-download-ftp " ">
[522be71c]9 <!ENTITY slang-md5sum "69015c8300088373eb65ffcc6ed4db8c">
10 <!ENTITY slang-size "1.6 MB">
11 <!ENTITY slang-buildsize "22 MB (add 15 MB for tests)">
12 <!ENTITY slang-time "0.4 SBU (add 0.5 SBU for tests)">
[52d29f7]13]>
14
[6af5310c]15<sect1 id="slang" xreflabel="slang-&slang-version;">
[c494f25]16 <?dbhtml filename="slang.html"?>
[8e75f8b9]17
18
[6af5310c]19 <title>slang-&slang-version;</title>
[8e75f8b9]20
[c494f25]21 <indexterm zone="slang">
[6af5310c]22 <primary sortas="a-slang">slang</primary>
[c494f25]23 </indexterm>
24
25 <sect2 role="package">
[6af5310c]26 <title>Introduction to slang</title>
[8e75f8b9]27
[de33b2a]28 <para>
29 <application>S-Lang</application> (slang) is an interpreted language
30 that may be embedded into an application to make the application
31 extensible. It provides facilities required by interactive applications
32 such as display/screen management, keyboard input and keymaps.
33 </para>
[8e75f8b9]34
[b9874725]35 &lfs121_checked;
[574c5ae]36
[c494f25]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
[de33b2a]40 <para>
41 Download (HTTP): <ulink url="&slang-download-http;"/></para>
[c494f25]42 </listitem>
43 <listitem>
[de33b2a]44 <para>
45 Download (FTP): <ulink url="&slang-download-ftp;"/></para>
[c494f25]46 </listitem>
47 <listitem>
[de33b2a]48 <para>
49 Download MD5 sum: &slang-md5sum;</para>
[c494f25]50 </listitem>
51 <listitem>
[de33b2a]52 <para>
53 Download size: &slang-size;</para>
[c494f25]54 </listitem>
55 <listitem>
[de33b2a]56 <para>
57 Estimated disk space required: &slang-buildsize;</para>
[c494f25]58 </listitem>
59 <listitem>
[de33b2a]60 <para>
61 Estimated build time: &slang-time;</para>
[c494f25]62 </listitem>
63 </itemizedlist>
[8e75f8b9]64
[6af5310c]65 <bridgehead renderas="sect3">Slang Dependencies</bridgehead>
[2027019]66
67 <bridgehead renderas="sect4">Optional</bridgehead>
[98d5a95]68 <para role="optional">
[abfacaf]69 <xref linkend="libpng"/> and
[05ec61e9]70 <ulink url="https://github.com/kkos/oniguruma">Oniguruma</ulink>
[98d5a95]71 </para>
[2027019]72
[c494f25]73 </sect2>
[8e75f8b9]74
[c494f25]75 <sect2 role="installation">
[6af5310c]76 <title>Installation of Slang</title>
[c494f25]77
[f3429309]78 <note>
[8e6de809]79 <para>
80 This package does not support parallel build.
81 </para>
82 </note>
[f3429309]83
[de33b2a]84 <para>
85 Install <application>slang</application> by running the following
86 commands:
87 </para>
[c494f25]88
[b3a719e]89<screen><userinput>./configure --prefix=/usr \
90 --sysconfdir=/etc \
91 --with-readline=gnu &amp;&amp;
[4ed0b491]92make -j1 RPATH=</userinput></screen>
[8e75f8b9]93
[de33b2a]94 <para>
[9807669d]95 To test the results, issue: <command>LC_ALL=C make check</command>.
[de33b2a]96 </para>
[acecaa7]97
[de33b2a]98 <para>
99 Now, as the <systemitem class="username">root</systemitem> user:
100 </para>
[8e75f8b9]101
[4b544cf]102<screen role='root'><userinput>make install_doc_dir=/usr/share/doc/slang-&slang-version; \
[98d5a95]103 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
[4ed0b491]104 RPATH= install</userinput></screen>
[c494f25]105 </sect2>
[8e75f8b9]106
[5ee44e37]107 <sect2 role="commands">
108 <title>Command Explanations</title>
[a41f643]109
[b3a719e]110 <para>
111 <parameter>--with-readline=gnu</parameter>: This parameter sets GNU
112 <application>Readline</application> to be used by the parser interface
[6af5310c]113 instead of the <application>slang</application> internal version.
[b3a719e]114 </para>
115
[de33b2a]116 <para>
[4ed0b491]117 <parameter>RPATH=</parameter>: This overridden <command>make</command>
118 variable prevents hard coding library search paths (rpath) into the
119 binary executable files and shared libraries. This package does not
120 need rpath for an installtion into the standard location, and rpath may
121 sometimes cause unwanted effects or even security issues.
122 </para>
123
124 <para>
125 <parameter>install_doc_dir=/usr/share/doc/slang-&slang-version;
126 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh</parameter>:
127 These overridden <command>make</command> variables ensure installing
128 this package with a versioned documentation installation directory.
[de33b2a]129 </para>
[2027019]130
[5ee44e37]131 </sect2>
132
[c494f25]133 <sect2 role="configuration">
[6af5310c]134 <title>Configuring slang</title>
[2027019]135
136 <sect3 id="slang-config">
137 <title>Config Files</title>
[de33b2a]138 <para>
139 <filename>~/.slshrc</filename> and
140 <filename>/etc/slsh.rc</filename>
141 </para>
[2027019]142
143 <indexterm zone="slang slang-config">
144 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
145 </indexterm>
146
147 <indexterm zone="slang slang-config">
148 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
149 </indexterm>
150 </sect3>
[c494f25]151
152 </sect2>
[8e75f8b9]153
[c494f25]154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
[2027019]158 <segtitle>Installed Program</segtitle>
159 <segtitle>Installed Libraries</segtitle>
160 <segtitle>Installed Directories</segtitle>
[8e75f8b9]161
[c494f25]162 <seglistitem>
[2027019]163 <seg>slsh</seg>
[3554481e]164 <seg>libslang.so and numerous support modules</seg>
[7af8778]165 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
166 and /usr/share/slsh</seg>
[c494f25]167 </seglistitem>
168 </segmentedlist>
169
[2027019]170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="slsh">
176 <term><command>slsh</command></term>
177 <listitem>
[de33b2a]178 <para>
179 is a simple program for interpreting
180 <application>slang</application> scripts. It supports dynamic
181 loading of <application>slang</application> modules and includes a
[4c24eb0a]182 <application>Readline</application> interface for interactive use
[de33b2a]183 </para>
[2027019]184 <indexterm zone="slang slsh">
185 <primary sortas="b-slsh">slsh</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 </variablelist>
191
[c494f25]192 </sect2>
[f45b1953]193
194</sect1>
Note: See TracBrowser for help on using the repository browser.