[blfs-book] r11306 - in trunk/BOOK: . general/genlib general/genutils general/graphlib general/prog introduction/welcome multimedia/videoutils networking/netutils pst/typesetting server/major

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Wed Jun 19 04:58:39 PDT 2013


Author: igor
Date: Wed Jun 19 04:58:39 2013
New Revision: 11306

Log:
Added Lua-5.2.2

Added:
   trunk/BOOK/general/prog/lua.xml   (contents, props changed)
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/ptlib.xml
   trunk/BOOK/general/genutils/graphviz.xml
   trunk/BOOK/general/graphlib/gegl.xml
   trunk/BOOK/general/prog/other-tools.xml
   trunk/BOOK/general/prog/prog.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/videoutils/vlc.xml
   trunk/BOOK/networking/netutils/nmap.xml
   trunk/BOOK/networking/netutils/wireshark.xml
   trunk/BOOK/pst/typesetting/texlive.xml
   trunk/BOOK/server/major/apache.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/general.ent	Wed Jun 19 04:58:39 2013	(r11306)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "18">                   <!-- Always 2 digits -->
+<!ENTITY day          "19">                   <!-- Always 2 digits -->
 <!ENTITY month        "06">                   <!-- Always 2 digits -->
 <!ENTITY year         "2013">
 <!ENTITY copyrightdate "2001-&year;">
@@ -379,6 +379,7 @@
 <!ENTITY junit-version                "4.10">
 <!ENTITY librep-version               "0.92.2.1">
 <!ENTITY llvm-version                 "3.2">
+<!ENTITY lua-version                  "5.2.2">
 <!ENTITY mercurial-version            "2.6.2">
 <!ENTITY NASM-version                 "2.10.07">
 <!ENTITY php-version                  "5.4.11">

Modified: trunk/BOOK/general/genlib/ptlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/ptlib.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/general/genlib/ptlib.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -91,7 +91,7 @@
       <xref linkend="cyrus-sasl"/>,
       <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
       <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
-      <ulink url="http://www.lua.org/">Lua</ulink>,
+      <xref linkend="lua"/>,
       <xref linkend="openldap"/>,
       <xref linkend="pulseaudio"/>,
       <xref linkend="sdl"/>,

Modified: trunk/BOOK/general/genutils/graphviz.xml
==============================================================================
--- trunk/BOOK/general/genutils/graphviz.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/general/genutils/graphviz.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -110,7 +110,7 @@
       <xref linkend="guile"/>,
       <xref linkend="openjdk"/>,
       <ulink url="http://www.iolanguage.com/about/">Io</ulink>,
-      <ulink url="http://www.lua.org/">Lua</ulink>,
+      <xref linkend="lua"/>,
       <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>,
       <ulink url="http://ocaml.org/">OCaml</ulink>,
       <xref linkend="php"/>,

Modified: trunk/BOOK/general/graphlib/gegl.xml
==============================================================================
--- trunk/BOOK/general/graphlib/gegl.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/general/graphlib/gegl.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -94,7 +94,7 @@
       <xref linkend="libpng"/>,
       <xref linkend="librsvg"/>,
       <ulink url="http://libspiro.sourceforge.net/">libspiro</ulink>,
-      <ulink url="http://www.lua.org/">Lua</ulink>,
+      <xref linkend="lua"/>,
       <ulink url="http://www.openexr.org">OpenEXR</ulink>,
       <xref linkend="pango"/>,
       <xref linkend="python2"/>,

Added: trunk/BOOK/general/prog/lua.xml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/general/prog/lua.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY lua-download-http "http://www.lua.org/ftp/lua-&lua-version;.tar.gz">
+  <!ENTITY lua-download-ftp  " ">
+  <!ENTITY lua-md5sum        "efbb645e897eae37cad4344ce8b0a614">
+  <!ENTITY lua-size          "246 KB">
+  <!ENTITY lua-buildsize     "3.5 MB">
+  <!ENTITY lua-time          "0.1 SBU">
+]>
+
+<sect1 id="lua" xreflabel="Lua-&lua-version;">
+  <?dbhtml filename="lua.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Lua-&lua-version;</title>
+
+  <indexterm zone="lua">
+    <primary sortas="a-Lua">Lua</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Lua</title>
+
+    <para>
+      <application>Lua</application> is a powerful light-weight programming
+      language designed for extending applications. It is also frequently used
+      as a general-purpose, stand-alone language. <application>Lua</application>
+      combines simple procedural syntax with powerful data description
+      constructs based on associative arrays and extensible semantics. It is
+      dynamically typed, interpreted from bytecodes, and has automatic memory
+      management with garbage collection, making it ideal for configuration,
+      scripting, and rapid prototyping. A fundamental concept in the design of
+      <application>Lua</application> is to provide meta-mechanisms for
+      implementing features, instead of providing a host of features directly in
+      the language. For example, although <application>Lua</application> is not
+      a pure object-oriented language, it does provide meta-mechanisms for
+      implementing classes and inheritance. <application>Lua</application>'s
+      meta-mechanisms bring an economy of concepts and keep the language small,
+      while allowing the semantics to be extended in unconventional ways.
+      Extensible semantics is a distinguishing feature of
+      <application>Lua</application>. <application>Lua</application> is a
+      language engine that you can embed into your application. This means that,
+      besides syntax and semantics, it has an API that allows the application to
+      exchange data with <application>Lua</application> programs and also to
+      extend <application>Lua</application> with C functions. In this sense, it
+      can be regarded as a language framework for building domain-specific
+      languages. <application>Lua</application> is implemented as a small
+      library of C functions, written in ANSI C, and compiles unmodified in all
+      known platforms. The implementation goals are simplicity, efficiency,
+      portability, and low embedding cost. The result is a fast language engine
+      with small footprint, making it ideal in embedded systems too.
+    </para>
+
+    &lfs73_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&lua-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&lua-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &lua-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &lua-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &lua-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &lua-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/lua"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Lua</title>
+
+    <para>
+      Install <application>Lua</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>make linux</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make test</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make INSTALL_TOP=/usr install &&
+mkdir -pv /usr/share/doc/lua-&lua-version; &&
+cp -v doc/*.{html,css,gif,png} /usr/share/doc/lua-&lua-version;</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          lua and luac
+        </seg>
+        <seg>
+          liblua.a
+        </seg>
+        <seg>
+          /usr/lib/lua,
+          /usr/share/lua and
+          /usr/share/doc/lua-&lua-version;
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="lua-prog">
+        <term><command>lua</command></term>
+        <listitem>
+          <para>
+            is the standalone Lua interpreter.
+          </para>
+          <indexterm zone="lua lua-prog">
+            <primary sortas="b-lua">lua</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="luac">
+        <term><command>luac</command></term>
+        <listitem>
+          <para>
+            is the Lua compiler.
+          </para>
+          <indexterm zone="lua luac">
+            <primary sortas="b-luac">luac</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/prog/other-tools.xml
==============================================================================
--- trunk/BOOK/general/prog/other-tools.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/general/prog/other-tools.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -1063,52 +1063,6 @@
     </sect3>
 
     <sect3 role="package">
-      <title>Lua</title>
-
-      <para><application>Lua</application> is a powerful light-weight
-      programming language designed for extending applications. It is also
-      frequently used as a general-purpose, stand-alone language. It is free
-      software. <application>Lua</application> combines simple procedural
-      syntax with powerful data description constructs based on associative
-      arrays and extensible semantics. It is dynamically typed, interpreted
-      from bytecodes, and has automatic memory management with garbage
-      collection, making it ideal for configuration, scripting, and rapid
-      prototyping. A fundamental concept in the design of
-      <application>Lua</application> is to provide meta-mechanisms for
-      implementing features, instead of providing a host of features directly
-      in the language. For example, although <application>Lua</application> is
-      not a pure object-oriented language, it does provide meta-mechanisms for
-      implementing classes and inheritance. <application>Lua</application>'s
-      meta-mechanisms bring an economy of concepts and keep the language small,
-      while allowing the semantics to be extended in unconventional ways.
-      Extensible semantics is a distinguishing feature of
-      <application>Lua</application>. <application>Lua</application> is a
-      language engine that you can embed into your application. This means
-      that, besides syntax and semantics, it has an API that allows the
-      application to exchange data with <application>Lua</application> programs
-      and also to extend <application>Lua</application> with C functions. In
-      this sense, it can be regarded as a language framework for building
-      domain-specific languages. <application>Lua</application> is implemented
-      as a small library of C functions, written in ANSI C, and compiles
-      unmodified in all known platforms. The implementation goals are
-      simplicity, efficiency, portability, and low embedding cost. The result
-      is a fast language engine with small footprint, making it ideal in
-      embedded systems too.</para>
-
-      <itemizedlist spacing="compact">
-        <listitem>
-          <para>Project Home Page: <ulink
-          url="http://www.lua.org/"/></para>
-        </listitem>
-        <listitem>
-          <para>Download Location: <ulink
-          url="http://www.lua.org/download.html"/></para>
-        </listitem>
-      </itemizedlist>
-
-    </sect3>
-
-    <sect3 role="package">
       <title>Mercury</title>
 
       <para><application>Mercury</application> is a new logic/functional

Modified: trunk/BOOK/general/prog/prog.xml
==============================================================================
--- trunk/BOOK/general/prog/prog.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/general/prog/prog.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -39,6 +39,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="junit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="librep.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="llvm.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lua.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mercurial.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nasm.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl-modules.xml"/>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -44,6 +44,15 @@
 
 -->
     <listitem>
+      <para>June 19th, 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[igor] - Added Lua-5.2.2.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>June 18th, 2013</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/multimedia/videoutils/vlc.xml
==============================================================================
--- trunk/BOOK/multimedia/videoutils/vlc.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/multimedia/videoutils/vlc.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -205,7 +205,7 @@
       <xref linkend="libnotify"/>,
       <ulink url="http://sourceforge.net/projects/medialibrary/">MediaLibrary</ulink>
       (requires <xref linkend="sqlite"/>) and
-      <ulink url="http://www.lua.org/">Lua (version 5.1)</ulink>
+      <xref linkend="lua"/> (version 5.1)
     </para>
 
     <para condition="html" role="usernotes">
@@ -256,7 +256,7 @@
     </para>
 
     <para>
-      <parameter>--disable-dbus</parameter>: The package fails to install if
+      <option>--disable-dbus</option>: The package fails to install if
       <application>D-Bus</application> is missing. Use this switch if you don't
       have <application>D-Bus</application> installed.
     </para>

Modified: trunk/BOOK/networking/netutils/nmap.xml
==============================================================================
--- trunk/BOOK/networking/netutils/nmap.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/networking/netutils/nmap.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -70,12 +70,12 @@
 
     <para role="recommended">
       <xref linkend="libpcap"/>,
-      <xref linkend="pcre"/>,
+      <xref linkend="lua"/>,
+      <xref linkend="pcre"/> and
+      <ulink url="http://www.csie.ntu.edu.tw/~cjlin/liblinear/">liblinear</ulink>
 <!-- This is not recommended, see: http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
-      <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>,
+      <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
 -->
-      <ulink url="http://www.csie.ntu.edu.tw/~cjlin/liblinear/">liblinear</ulink> and
-      <ulink url="http://www.lua.org/">Lua</ulink>
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>

Modified: trunk/BOOK/networking/netutils/wireshark.xml
==============================================================================
--- trunk/BOOK/networking/netutils/wireshark.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/networking/netutils/wireshark.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -102,7 +102,7 @@
       <ulink url="http://www.maxmind.com/app/c">GeoIP</ulink>,
       <!-- <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>, -->
       <ulink url="http://www.gnu.org/software/adns/adns.html">adns</ulink>, and
-      <ulink url="http://www.lua.org/">Lua</ulink>
+      <xref linkend="lua"/>
     </para>
 
     <para condition="html" role="usernotes">User Notes:

Modified: trunk/BOOK/pst/typesetting/texlive.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/texlive.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/pst/typesetting/texlive.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -102,7 +102,7 @@
       <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>,
       <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
       <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
-      <ulink url="http://www.lua.org/">Lua</ulink>,
+      <xref linkend="lua"/>,
       <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=TECkitDownloads">TECkit</ulink>, and
       <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=RenderingGraphite">
     Graphite</ulink></para>

Modified: trunk/BOOK/server/major/apache.xml
==============================================================================
--- trunk/BOOK/server/major/apache.xml	Tue Jun 18 17:35:50 2013	(r11305)
+++ trunk/BOOK/server/major/apache.xml	Wed Jun 19 04:58:39 2013	(r11306)
@@ -103,7 +103,7 @@
       <xref linkend="pcre"/>,
       <xref linkend="rsync"/>,
       <ulink url="http://www.distcache.org/">Distcache</ulink> and
-      <ulink url="http://www.lua.org/">Lua (5.1)</ulink>
+      <xref linkend="lua"/> (version 5.1)
     </para>
 
     <para condition="html" role="usernotes">



More information about the blfs-book mailing list