[blfs-book] r18566 - in trunk/BOOK: archive general/genlib introduction/welcome

via blfs-book blfs-book at lists.linuxfromscratch.org
Wed Apr 5 22:47:16 PDT 2017


Author: dj
Date: Wed Apr  5 22:47:16 2017
New Revision: 18566

Log:
Archived mozjs-17 and mozjs-24

Added:
   trunk/BOOK/archive/js.xml
      - copied unchanged from r18565, trunk/BOOK/general/genlib/js.xml
   trunk/BOOK/archive/js2.xml
      - copied unchanged from r18565, trunk/BOOK/general/genlib/js2.xml
Deleted:
   trunk/BOOK/general/genlib/js.xml
   trunk/BOOK/general/genlib/js2.xml
Modified:
   trunk/BOOK/general/genlib/genlib.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Copied: trunk/BOOK/archive/js.xml (from r18565, trunk/BOOK/general/genlib/js.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/archive/js.xml	Wed Apr  5 22:47:16 2017	(r18566, copy of r18565, trunk/BOOK/general/genlib/js.xml)
@@ -0,0 +1,230 @@
+<?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 JS-download-http "http://ftp.mozilla.org/pub/mozilla.org/js/mozjs&JS-version;.tar.gz">
+<!--  <!ENTITY JS-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/js/mozjs&JS-version;.tar.gz">-->
+  <!ENTITY JS-download-ftp " ">
+  <!ENTITY JS-md5sum        "20b6f8f1140ef6e47daa3b16965c9202">
+  <!ENTITY JS-size          "6.5 MB">
+  <!ENTITY JS-buildsize     "1.2 GB">
+  <!ENTITY JS-time          "5.0 SBU">
+]>
+
+<sect1 id="JS" xreflabel="JS-&JS-version;">
+  <?dbhtml filename="js.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>JS-&JS-version;</title>
+
+  <indexterm zone="JS">
+    <primary sortas="a-JS">JS</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to JS</title>
+
+    <para>
+      <application>JS</application> is Mozilla's JavaScript engine
+      written in C/C++.
+    </para>
+
+    &lfs80_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&JS-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&JS-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &JS-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &JS-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &JS-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &JS-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">JS Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="libffi"/>,
+      <xref linkend="nspr"/>,
+      <xref linkend="python2"/> and
+      <xref linkend="zip"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="doxygen"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/JS"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of JS</title>
+
+    <para>
+      Install <application>JS</application> by running the
+      following commands:
+    </para>
+
+<screen><userinput>cd js/src &&
+
+sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl &&
+
+./configure --prefix=/usr       \
+            --enable-readline   \
+            --enable-threadsafe \
+            --with-system-ffi   \
+            --with-system-nspr &&
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem>
+      user:
+    </para>
+
+<screen role="root"><userinput>make install &&
+
+find /usr/include/js-17.0/            \
+     /usr/lib/libmozjs-17.0.a         \
+     /usr/lib/pkgconfig/mozjs-17.0.pc \
+     -type f -exec chmod -v 644 {} \;</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <command>sed ... config/milestone.pl</command>: Fix an
+      issue caused by perl-5.22.0 and later.
+    </para>
+
+    <para>
+      <parameter>--enable-threadsafe</parameter>: This switch enables
+      support for multiple threads.
+    </para>
+
+    <para>
+      <parameter>--enable-readline</parameter>: This switch enables
+      <application>Readline</application> support in JS shell.
+    </para>
+
+    <para>
+      <parameter>--with-system-ffi</parameter>: This switch forces the
+      package to link to the system version of <application>libffi</application>
+      instead of using its included, and now old, version.
+    </para>
+
+    <para>
+      <parameter>--with-system-nspr</parameter>: This switch forces the
+      package to link to the system version of <application>NSPR</application>
+      instead of using its included, and now old, version.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          js17 and js17-config
+        </seg>
+        <seg>
+          libmozjs-17.0.a and libmozjs-17.0.so
+        </seg>
+        <seg>
+          /usr/include/js-17.0
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="js17">
+        <term><command>js17</command></term>
+        <listitem>
+          <para>
+            provides a command line interface to the JavaScript engine.
+          </para>
+          <indexterm zone="JS js17">
+            <primary sortas="b-js17">js17</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="js17-config">
+        <term><command>js17-config</command></term>
+        <listitem>
+          <para>
+            is used to find out <application>JS</application>
+            compiler and linker flags.
+          </para>
+          <indexterm zone="JS js17-config">
+            <primary sortas="b-js17-config">js17-config</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libmozjs">
+        <term><filename class="libraryfile">libmozjs-17.0.so</filename></term>
+        <listitem>
+          <para>
+            contains the <application>Mozilla JavaScript</application> API functions.
+          </para>
+          <indexterm zone="JS libmozjs">
+            <primary sortas="c-libmozjs">libmozjs-17.0.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Copied: trunk/BOOK/archive/js2.xml (from r18565, trunk/BOOK/general/genlib/js2.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/archive/js2.xml	Wed Apr  5 22:47:16 2017	(r18566, copy of r18565, trunk/BOOK/general/genlib/js2.xml)
@@ -0,0 +1,235 @@
+<?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 JS2-download-http "http://ftp.mozilla.org/pub/mozilla.org/js/mozjs-&JS2-version;.tar.bz2">
+<!--  <!ENTITY JS2-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/js/mozjs-&JS2-version;.tar.bz2">-->
+  <!ENTITY JS2-download-ftp " ">
+  <!ENTITY JS2-md5sum        "5db79c10e049a2dc117a6e6a3bc78a8e">
+  <!ENTITY JS2-size          "15 MB">
+  <!ENTITY JS2-buildsize     "1.8 GB">
+  <!ENTITY JS2-time          "4.2 SBU (additional 1.6 SBU for the tests)">
+]>
+
+<sect1 id="JS2" xreflabel="JS2-&JS2-version;">
+  <?dbhtml filename="JS2.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>JS-&JS2-version;</title>
+
+  <indexterm zone="JS2">
+    <primary sortas="a-JS2">JS2</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to JS</title>
+
+    <para>
+      <application>JS</application> is Mozilla's JavaScript engine
+      written in C/C++.
+    </para>
+
+    &lfs80_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&JS2-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&JS2-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &JS2-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &JS2-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &JS2-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &JS2-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">JS Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="libffi"/>,
+      <xref linkend="nspr"/>,
+      <xref linkend="python2"/> and
+      <xref linkend="zip"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="doxygen"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/JS2"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of JS</title>
+
+    <note><para>
+      This package can be installed without problems, if you have
+      installed <xref linkend="JS"/>. It is necessary to set
+      <command>SHELL=/bin/bash</command> if you are working in chroot.
+    </para></note>
+
+    <para>
+      Install <application>JS</application> by running the
+      following commands:
+    </para>
+
+<screen><userinput>cd js/src &&
+
+sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl &&
+
+./configure --prefix=/usr       \
+            --enable-readline   \
+            --enable-threadsafe \
+            --with-system-ffi   \
+            --with-system-nspr &&
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem>
+      user:
+    </para>
+
+<screen role="root"><userinput>make install &&
+find /usr/include/mozjs-24/         \
+     /usr/lib/libmozjs-24.a         \
+     /usr/lib/pkgconfig/mozjs-24.pc \
+     -type f -exec chmod -v 644 {} \;</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <command>sed ... config/milestone.pl</command>: Fix an
+      issue caused by perl-5.22.0 and later.
+    </para>
+
+    <para>
+      <parameter>--enable-threadsafe</parameter>: This switch enables
+      support for multiple threads.
+    </para>
+
+    <para>
+      <parameter>--enable-readline</parameter>: This switch enables
+      <application>Readline</application> support in JS shell.
+    </para>
+
+    <para>
+      <parameter>--with-system-ffi</parameter>: This switch forces the
+      package to link to the system version of <application>libffi</application>
+      instead of using its included, and now old, version.
+    </para>
+
+    <para>
+      <parameter>--with-system-nspr</parameter>: This switch forces the
+      package to link to the system version of <application>NSPR</application>
+      instead of using its included, and now old, version.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          js24 and js24-config
+        </seg>
+        <seg>
+          libmozjs-24.a and libmozjs-24.so
+        </seg>
+        <seg>
+          /usr/include/mozjs-24
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="js24">
+        <term><command>js24</command></term>
+        <listitem>
+          <para>
+            provides a command line interface to the JavaScript engine.
+          </para>
+          <indexterm zone="JS2 js24">
+            <primary sortas="b-js24">js24</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="js24-config">
+        <term><command>js24-config</command></term>
+        <listitem>
+          <para>
+            is used to find out <application>JS</application>
+            compiler and linker flags.
+          </para>
+          <indexterm zone="JS2 js24-config">
+            <primary sortas="b-js24-config">js24-config</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libmozjs2">
+        <term><filename class="libraryfile">libmozjs-24.so</filename></term>
+        <listitem>
+          <para>
+            contains the <application>Mozilla JavaScript</application> API functions.
+          </para>
+          <indexterm zone="JS2 libmozjs2">
+            <primary sortas="c-libmozjs2">libmozjs-24.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/genlib/genlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/genlib.xml	Wed Apr  5 22:34:37 2017	(r18565)
+++ trunk/BOOK/general/genlib/genlib.xml	Wed Apr  5 22:47:16 2017	(r18566)
@@ -65,8 +65,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grantlee.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icu.xml"/>
-  <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js.xml"/> -->
-  <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js2.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js38.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Wed Apr  5 22:34:37 2017	(r18565)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Wed Apr  5 22:47:16 2017	(r18566)
@@ -49,7 +49,7 @@
           <ulink url="&blfs-ticket-root;8431">#8431</ulink>.</para>
         </listitem>
         <listitem>
-          <para>[dj] - Remove unneeded mozjs version 17 and 24.</para>
+          <para>[dj] - Archived mosjs-17 and mosjs-24.</para>
         </listitem>
       </itemizedlist>
     </listitem>


More information about the blfs-book mailing list