Add js60 for gjs

Update to atk-2.30.0
Update to gjs-1.54.0
Update to geoclue-2.4.12

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20475 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2018-09-08 17:41:32 +00:00
parent 152e77844b
commit 0191b610af
9 changed files with 262 additions and 22 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "06"> <!-- Always 2 digits -->
<!ENTITY day "08"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2018">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "September 6th, &year;">
<!ENTITY releasedate "September 8th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -69,6 +69,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icu.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="js52.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js60.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"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="keyutils.xml"/>

217
general/genlib/js60.xml Normal file
View File

@ -0,0 +1,217 @@
<?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 js60-download-http "http://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-&JS60-version;.tar.bz2">
<!ENTITY js60-download-ftp "ftp://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-&JS60-version;.tar.bz2">
<!ENTITY js60-md5sum "202f71313e53d9b92e7c578107541539">
<!ENTITY js60-size "31 MB">
<!ENTITY js60-buildsize "640 MB"> <!-- The buildsize is over 4GB! Actually installed is much smaller. -->
<!ENTITY js60-time "6.6 SBU">
]>
<sect1 id="js60" xreflabel="js60-&JS60-version;">
<?dbhtml filename="js60.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>JS-&JS60-version;</title>
<indexterm zone="js60">
<primary sortas="a-js60">js60</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to JS</title>
<para>
<application>JS</application> is Mozilla's JavaScript engine
written in C. This package is present for GJS.
</para>
&lfs83_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&js60-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&js60-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &js60-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &js60-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &js60-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &js60-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">JS60 Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="autoconf213"/>,
<xref linkend="icu"/>,
<xref linkend="nspr"/>,
<xref linkend="python2"/>,
<xref linkend="xorg7-lib"/>,
<xref linkend="yasm"/>, 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;/js60"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of JS</title>
<para>
Install <application>JS</application> by running the following
commands:
</para>
&shell-env;
<screen><userinput>mkdir mozjs-build &amp;&amp;
cd mozjs-build &amp;&amp;
../js/src/configure --prefix=/usr \
--with-intl-api \
--with-system-zlib \
--with-system-nspr \
--with-system-icu \
--disable-jemalloc
--enable-readline &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a working test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>--with-*</parameter>: These parameters allow the build system
to use system versions of the above libriares. These are required for
stability.
</para>
<para>
<parameter>--enable-readline</parameter>: This switch enables Readline
support in the JS shell.
</para>
<para>
<parameter>--disable-jemalloc</parameter>: This switch disables the
internal memory allocator used in JS60. jemalloc causes a conflict with glibc.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries)</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
js60 and js60-config
</seg>
<!-- Yes, the static library is required. -->
<seg>
libmozjs-60.so and libjs_static.ajs <!-- These two may conflict, can't
verify without a rebuild unfortunately :-( -->
</seg>
<seg>
/usr/include/mozjs-60
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="js6-js60">
<term><command>js60</command></term>
<listitem>
<para>
provides a command line interface to the
<application>JavaScript</application> engine.
</para>
<indexterm zone="js60 js60">
<primary sortas="b-js60">js60</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="js60-config">
<term><command>js60-config</command></term>
<listitem>
<para>
is used to find the JS compiler and linker flags.
</para>
<indexterm zone="js60 js60-config">
<primary sortas="b-js60-config">js60-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libmozjs-60">
<term><filename class="libraryfile">libmozjs-60.so</filename></term>
<listitem>
<para>
contains the Mozilla JavaScript API functions.
</para>
<indexterm zone="js60 libmozjs-60">
<primary sortas="c-libmozjs60">libmozjs-60.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -24,7 +24,7 @@
<!ENTITY yelp-xsl-version "3.28.0">
<!ENTITY GConf-version "3.2.6">
<!ENTITY geocode-glib-version "3.26.0">
<!ENTITY gjs-version "1.52.3">
<!ENTITY gjs-version "1.54.0">
<!ENTITY gnome-autoar-version "0.2.3">
<!ENTITY gnome-desktop-version "3.28.2">
<!ENTITY gnome-menus-version "3.13.3">

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.52/gjs-&gjs-version;.tar.xz">
<!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.52/gjs-&gjs-version;.tar.xz">
<!ENTITY gjs-md5sum "a94375e3a1ec49735ca9116dbc1b1494">
<!ENTITY gjs-size "612 KB">
<!ENTITY gjs-buildsize "68 MB (with tests)">
<!ENTITY gjs-time "0.7 SBU (with tests)">
<!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.54/gjs-&gjs-version;.tar.xz">
<!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.54/gjs-&gjs-version;.tar.xz">
<!ENTITY gjs-md5sum "d1511700758439e76704b28ac033a465">
<!ENTITY gjs-size "636 KB">
<!ENTITY gjs-buildsize "175 MB (with tests)">
<!ENTITY gjs-time "0.8 SBU (with tests)">
]>
<sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
@ -77,7 +77,7 @@
<xref linkend="cairo"/>,
<xref linkend="dbus"/>,
<xref linkend="gobject-introspection"/>, and
<xref linkend="js52"/>
<xref linkend="js60"/>
</para>
<bridgehead revision="systemd" renderas="sect4">Recommended (required for GNOME)</bridgehead>

View File

@ -41,6 +41,28 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>September 8th, 2018</para>
<itemizedlist>
<listitem>
<para>[renodr] - Update to atk-2.30.0. Fixes
<ulink url="&blfs-ticket-root;11070">#11070</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Update to gjs-1.54.0. Fixes
<ulink url="&blfs-ticket-root;11093">#11093</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Update to geoclue-2.4.12. Fixes
<ulink url="&blfs-ticket-root;11027">#11027</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Add mozjs60 for gjs. Fixes
<ulink url="&blfs-ticket-root;11110">#11110</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>September 6th, 2018</para>
<itemizedlist>

View File

@ -7,9 +7,9 @@
<!ENTITY geoclue2-download-http
"https://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-&geoclue2-version;.tar.xz">
<!ENTITY geoclue2-download-ftp " ">
<!ENTITY geoclue2-md5sum "8bc64e7b9a18c7bf12c48b1c4323cf14">
<!ENTITY geoclue2-size "368 KB">
<!ENTITY geoclue2-buildsize "16 MB">
<!ENTITY geoclue2-md5sum "469bfcebef36723b34aaa5816de93e18">
<!ENTITY geoclue2-size "392 KB">
<!ENTITY geoclue2-buildsize "17 MB">
<!ENTITY geoclue2-time "0.1 SBU">
]>

View File

@ -116,10 +116,11 @@
<!ENTITY icu-dl-version "&icu-major;_&icu-minor;"><!-- _&icu-patch;-->
<!ENTITY iso-codes-version "4.1">
<!ENTITY JS-version "17.0.0">
<!-- <!ENTITY JS-version "17.0.0">
<!ENTITY JS2-version "24.2.0">
<!ENTITY JS38-version "38.2.1">
<!ENTITY JS38-version "38.2.1"> -->
<!ENTITY JS52-version "52.2.1gnome1">
<!ENTITY JS60-version "60.1.0">
<!ENTITY json-c-version "0.13.1">
<!ENTITY json-glib-version "1.4.2">
<!ENTITY keyutils-version "1.5.11">
@ -466,7 +467,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!-- Chapter 17 -->
<!ENTITY c-ares-version "1.14.0">
<!ENTITY curl-version "7.61.0">
<!ENTITY geoclue2-version "2.4.11">
<!ENTITY geoclue2-version "2.4.12">
<!ENTITY glib-networking-version "2.58.0">
<!ENTITY ldns-version "1.7.0">
<!ENTITY libevent-version "2.1.8">
@ -557,7 +558,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!-- Chapter 25 -->
<!ENTITY agg-version "2.5">
<!ENTITY atk-version "2.29.2">
<!ENTITY atk-version "2.30.0">
<!ENTITY atkmm-version "2.24.2">
<!ENTITY at-spi2-core-version "2.30.0">
<!ENTITY at-spi2-atk-version "2.30.0">

View File

@ -4,9 +4,9 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY atk-download-http "&gnome-download-http;/atk/2.29/atk-&atk-version;.tar.xz">
<!ENTITY atk-download-ftp "&gnome-download-ftp;/atk/2.29/atk-&atk-version;.tar.xz">
<!ENTITY atk-md5sum "5bbf717d2534251dc72736704148da30">
<!ENTITY atk-download-http "&gnome-download-http;/atk/2.30/atk-&atk-version;.tar.xz">
<!ENTITY atk-download-ftp "&gnome-download-ftp;/atk/2.30/atk-&atk-version;.tar.xz">
<!ENTITY atk-md5sum "769c85005d392ad17ffbc063f2d26454">
<!ENTITY atk-size "284 KB">
<!ENTITY atk-buildsize "11 MB">
<!ENTITY atk-time "less than 0.1 SBU">
@ -136,8 +136,7 @@ ninja</userinput></screen>
libatk-1.0.so
</seg>
<seg>
/usr/include/atk-1.0 and
/usr/share/gtk-doc/html/atk
/usr/include/atk-1.0
</seg>
</seglistitem>
</segmentedlist>