Author: krejzi
Date: Sun Jul 28 10:12:40 2013
New Revision: 11514

Log:
Mozilla JS 17.0.0 and Gjs 1.36.1.

Added:
   trunk/BOOK/general/genutils/js.xml
      - copied, changed from r11512, 
trunk/BOOK/general/genutils/spidermonkey.xml
Deleted:
   trunk/BOOK/general/genutils/spidermonkey.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genutils/genutils.xml
   trunk/BOOK/gnome/platform/gjs.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/polkit.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Sun Jul 28 09:36:49 2013        (r11513)
+++ trunk/BOOK/general.ent      Sun Jul 28 10:12:40 2013        (r11514)
@@ -314,6 +314,7 @@
 <!ENTITY icon-naming-utils-version    "0.8.90">
 <!ENTITY imagemagick-version          "6.8.6">
 <!ENTITY intltool-version             "0.50.2">
+<!ENTITY JS-version                   "17.0.0">
 <!ENTITY libiodbc-version             "3.52.8">
 <!ENTITY pinentry-version             "0.8.3">
 <!ENTITY rarian-version               "0.8.1">
@@ -322,7 +323,6 @@
 <!ENTITY rxvt-unicode-version         "9.18">
 <!ENTITY screen-version               "4.0.3">
 <!ENTITY sharutils-version            "4.13.5">
-<!ENTITY spidermonkey-version         "1.0.0">
 <!ENTITY tidy-version                 "cvs_20101110">
 <!ENTITY unixodbc-version             "2.3.1">
 <!ENTITY xscreensaver-version         "5.22">

Modified: trunk/BOOK/general/genutils/genutils.xml
==============================================================================
--- trunk/BOOK/general/genutils/genutils.xml    Sun Jul 28 09:36:49 2013        
(r11513)
+++ trunk/BOOK/general/genutils/genutils.xml    Sun Jul 28 10:12:40 2013        
(r11514)
@@ -31,6 +31,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="icon-naming-utils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="imagemagick.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="intltool.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="libiodbc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="pinentry.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="rarian.xml"/>
@@ -38,7 +39,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="rxvt-unicode.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="screen.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="sharutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="spidermonkey.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="tidy.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="unixodbc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="xscreensaver.xml"/>

Copied and modified: trunk/BOOK/general/genutils/js.xml (from r11512, 
trunk/BOOK/general/genutils/spidermonkey.xml)
==============================================================================
--- trunk/BOOK/general/genutils/spidermonkey.xml        Sun Jul 28 08:52:42 
2013        (r11512, copy source)
+++ trunk/BOOK/general/genutils/js.xml  Sun Jul 28 10:12:40 2013        (r11514)
@@ -4,37 +4,36 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY SpiderMonkey-download-http
-           
"http://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz";>
-  <!ENTITY SpiderMonkey-download-ftp
-           
"ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz";>
-  <!ENTITY SpiderMonkey-md5sum        "a4574365938222adca0a6bd33329cb32">
-  <!ENTITY SpiderMonkey-size          "5.9 MB">
-  <!ENTITY SpiderMonkey-buildsize     "99 MB">
-  <!ENTITY SpiderMonkey-time          "1.1 SBU">
+  <!ENTITY JS-download-http
+           "http://ftp.mozilla.org/pub/mozilla.org/js/js&JS-version;.tar.gz";>
+  <!ENTITY JS-download-ftp
+           "ftp://ftp.mozilla.org/pub/mozilla.org/js/js&JS-version;.tar.gz";>
+  <!ENTITY JS-md5sum        "20b6f8f1140ef6e47daa3b16965c9202">
+  <!ENTITY JS-size          "6.5 MB">
+  <!ENTITY JS-buildsize     "1.2 GB">
+  <!ENTITY JS-time          "2.0 SBU">
 ]>
 
-<sect1 id="SpiderMonkey" xreflabel="SpiderMonkey-&spidermonkey-version;">
-  <?dbhtml filename="SpiderMonkey.html"?>
+<sect1 id="JS" xreflabel="JS-&JS-version;">
+  <?dbhtml filename="JS.html"?>
 
   <sect1info>
     <othername>$LastChangedBy$</othername>
     <date>$Date$</date>
   </sect1info>
 
-  <title>SpiderMonkey-&spidermonkey-version;</title>
+  <title>JS-&JS-version;</title>
 
-  <indexterm zone="SpiderMonkey">
-    <primary sortas="a-SpiderMonkey">SpiderMonkey</primary>
+  <indexterm zone="JS">
+    <primary sortas="a-JS">JS</primary>
   </indexterm>
 
   <sect2 role="package">
-    <title>Introduction to SpiderMonkey</title>
+    <title>Introduction to JS</title>
 
     <para>
-      <application>SpiderMonkey</application> is Mozilla's JavaScript engine
-      written in C/C++. The most recent standalone source code release 
implements
-      JavaScript 1.8.5.
+      <application>JS</application> is Mozilla's JavaScript engine
+      written in C/C++.
     </para>
 
     &lfs73_checked;
@@ -43,65 +42,75 @@
     <itemizedlist spacing="compact">
       <listitem>
         <para>
-          Download (HTTP): <ulink url="&SpiderMonkey-download-http;"/>
+          Download (HTTP): <ulink url="&JS-download-http;"/>
         </para>
       </listitem>
       <listitem>
         <para>
-          Download (FTP): <ulink url="&SpiderMonkey-download-ftp;"/>
+          Download (FTP): <ulink url="&JS-download-ftp;"/>
         </para>
       </listitem>
       <listitem>
         <para>
-          Download MD5 sum: &SpiderMonkey-md5sum;
+          Download MD5 sum: &JS-md5sum;
         </para>
       </listitem>
       <listitem>
         <para>
-          Download size: &SpiderMonkey-size;
+          Download size: &JS-size;
         </para>
       </listitem>
       <listitem>
         <para>
-          Estimated disk space required: &SpiderMonkey-buildsize;
+          Estimated disk space required: &JS-buildsize;
         </para>
       </listitem>
       <listitem>
         <para>
-          Estimated build time: &SpiderMonkey-time;
+          Estimated build time: &JS-time;
         </para>
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead>
+    <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"/> and
+      <xref linkend="makedepend"/>
+    </para>
+
     <para condition="html" role="usernotes">User Notes:
-      <ulink url="&blfs-wiki;/SpiderMonkey"/>
+      <ulink url="&blfs-wiki;/JS"/>
     </para>
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of SpiderMonkey</title>
+    <title>Installation of JS</title>
 
     <para>
-      Install <application>SpiderMonkey</application> by running the
+      Install <application>JS</application> by running the
       following commands:
     </para>
 
 <screen><userinput>cd js/src &amp;&amp;
-sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#' Makefile.in 
&amp;&amp;
-./configure --prefix=/usr --enable-threadsafe --with-system-nspr &amp;&amp;
+./configure --prefix=/usr       \
+            --enable-readline   \
+            --enable-threadsafe \
+            --with-system-ffi   \
+            --with-system-nspr &amp;&amp;
 make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>TZ=US/Pacific make check</command>.
+      To test the results, issue: <command>make check</command>.
     </para>
 
     <para>
@@ -109,34 +118,35 @@
       user:
     </para>
 
-<screen role="root"><userinput>make install</userinput></screen>
+<screen role="root"><userinput>make install &amp;&amp;
+find /usr/include/js-17.0/            \
+     /usr/lib/libmzjs-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 -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#'
-      Makefile.in</command>: This sed fixes the symlinks for
-      <filename>libmozjs185.so</filename> so that they are
-      relative and not absolute symlinks.
+      <option>--enable-threadsafe</option>: This switch enables
+      support for multiple threads.
     </para>
 
     <para>
-      <command>TZ=US/Pacific make check</command>: the timezone tests were
-      written to be executed in Pacific time and to assume an mm/dd/yyyy
-      date format. The test suite runs in the local timezone, so override
-      its environment to prevent multiple failures in the
-      <command>check-date-format-tofte.js</command> tests.
+      <option>--enable-readline</option>: This switch enables
+      <application>Readline</application> support in JS shell.
     </para>
 
     <para>
-      <option>--enable-threadsafe</option>: This switch enables
-      support for multiple threads.
+      <option>--with-system-ffi</option>: 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>
-      <option>--with-system-nspr</option>: This parameter forces the
+      <option>--with-system-nspr</option>: 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>
@@ -147,19 +157,19 @@
     <title>Contents</title>
 
     <segmentedlist>
-      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Programs</segtitle>
       <segtitle>Installed Libraries</segtitle>
       <segtitle>Installed Directory</segtitle>
 
       <seglistitem>
         <seg>
-          js-config
+          js17 and js17-config
         </seg>
         <seg>
-          libmozjs185-1.0.a and libmozjs185.so
+          libmozjs-17.0.a and libmozjs-17.0.so
         </seg>
         <seg>
-          /usr/include/js
+          /usr/include/js-17.0
         </seg>
       </seglistitem>
     </segmentedlist>
@@ -169,27 +179,39 @@
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
 
-      <varlistentry id="js-config">
-        <term><command>js-config</command></term>
+      <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>SpiderMonkey</application>
+            is used to find out <application>JS</application>
             compiler and linker flags.
           </para>
-          <indexterm zone="SpiderMonkey js-config">
-            <primary sortas="b-js-config">js-config</primary>
+          <indexterm zone="JS js17-config">
+            <primary sortas="b-js17-config">js17-config</primary>
           </indexterm>
         </listitem>
       </varlistentry>
 
-      <varlistentry id="libmozjs185">
-        <term><filename class="libraryfile">libmozjs185.so</filename></term>
+      <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="SpiderMonkey libmozjs185">
-            <primary sortas="c-libmozjs185">libmozjs185.so</primary>
+          <indexterm zone="JS libmozjs">
+            <primary sortas="c-libmozjs">libmozjs-17.0.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>

Modified: trunk/BOOK/gnome/platform/gjs.xml
==============================================================================
--- trunk/BOOK/gnome/platform/gjs.xml   Sun Jul 28 09:36:49 2013        (r11513)
+++ trunk/BOOK/gnome/platform/gjs.xml   Sun Jul 28 10:12:40 2013        (r11514)
@@ -4,12 +4,16 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
+<!--
   <!ENTITY gjs-download-http 
"&gnome-download-http;/gjs/1.34/gjs-&gjs-version;.tar.xz">
   <!ENTITY gjs-download-ftp  
"&gnome-download-ftp;/gjs/1.34/gjs-&gjs-version;.tar.xz">
-  <!ENTITY gjs-md5sum        "736f11821d785512bc92c0fe50968c5a">
-  <!ENTITY gjs-size          "464 KB">
-  <!ENTITY gjs-buildsize     "16 MB">
-  <!ENTITY gjs-time          "0.2 SBU">
+ -->
+  <!ENTITY gjs-download-http 
"https://people.gnome.org/~walters/gjs-js17-&gjs-version;.tar.bz2";>
+  <!ENTITY gjs-download-ftp  " ">
+  <!ENTITY gjs-md5sum        "d97bdc386ee6ce84d7c69e7fbeed238d">
+  <!ENTITY gjs-size          "468 KB">
+  <!ENTITY gjs-buildsize     "15 MB">
+  <!ENTITY gjs-time          "0.3 SBU">
 ]>
 
 <sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
@@ -75,9 +79,8 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
       <xref linkend="cairo"/>,
-      <xref linkend="dbus-glib"/>,
       <xref linkend="gobject-introspection"/> and
-      <xref linkend="SpiderMonkey"/>
+      <xref linkend="JS"/>
     </para>
 
     <para condition="html" role="usernotes">User Notes:
@@ -113,7 +116,7 @@
 
     <segmentedlist>
       <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Library</segtitle>
       <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
@@ -121,7 +124,7 @@
           gjs and gjs-console
         </seg>
         <seg>
-          libgjs-dbus.so and libgjs.so
+          libgjs.so
         </seg>
         <seg>
           /usr/include/gjs-1.0,

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sun Jul 28 09:36:49 
2013        (r11513)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sun Jul 28 10:12:40 
2013        (r11514)
@@ -47,6 +47,9 @@
       <para>July 28th, 2013</para>
       <itemizedlist>
         <listitem>
+          <para>[krejzi] - Mozilla JS 17.0.0.</para>
+        </listitem>
+        <listitem>
           <para>[krejzi] - WebKitGTK+ 2.0.4.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/postlfs/security/polkit.xml
==============================================================================
--- trunk/BOOK/postlfs/security/polkit.xml      Sun Jul 28 09:36:49 2013        
(r11513)
+++ trunk/BOOK/postlfs/security/polkit.xml      Sun Jul 28 10:12:40 2013        
(r11514)
@@ -78,7 +78,7 @@
     <para role="required">
       <xref linkend="glib2"/>,
       <xref linkend="intltool"/> and
-      <xref linkend="SpiderMonkey"/>
+      <xref linkend="JS"/>
     </para>
 
     <bridgehead renderas="sect4">Optional (Required if building 
GNOME)</bridgehead>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to