<?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 gjs-download-http "&gnome-download-http;/gjs/1.42/gjs-&gjs-version;.tar.xz">
  <!ENTITY gjs-download-ftp  "&gnome-download-ftp;/gjs/1.42/gjs-&gjs-version;.tar.xz">
  <!ENTITY gjs-md5sum        "a30ff5e3e13498c4d3c95d2555751c4d">
  <!ENTITY gjs-size          "440 KB">
  <!ENTITY gjs-buildsize     "24 MB (additional 1 MB for the tests)">
  <!ENTITY gjs-time          "0.3 SBU (additional less than 0.1 SBU for the tests)">
]>

<sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
  <?dbhtml filename="gjs.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-28 23:47:03 -0500 (Sat, 28 Feb 2015) $</date>
  </sect1info>

  <title>Gjs-&gjs-version;</title>

  <indexterm zone="gjs">
    <primary sortas="a-Gjs">Gjs</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Gjs</title>

    <para>
      <application>Gjs</application> is a Javascript binding for
      <application>GNOME</application>.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gjs-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gjs-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gjs-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gjs-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gjs-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gjs-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Gjs Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="cairo"/>,
      <xref linkend="gobject-introspection"/>, and
      <xref linkend="JS2"/>
    </para>

    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/gjs"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Gjs</title>

    <para>
      Install <application>Gjs</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr &amp;&amp;
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</userinput></screen>

  </sect2>
<!--
  <sect2 role="commands">
    <title>Command Explanations</title>

    <para></para>

  </sect2>-->

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Library</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          gjs (symlink) and gjs-console
        </seg>
        <seg>
          libgjs.so
        </seg>
        <seg>
          /usr/include/gjs-1.0,
          /usr/lib/gjs, and
          /usr/libexec/gjs
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

<!--      <varlistentry id="gjs-console">
        <term><command>gjs-console</command></term>
        <listitem>
          <para>
            does this .....
          </para>
          <indexterm zone="gjs gjs-console">
            <primary sortas="b-gjs-console">gjs-console</primary>
          </indexterm>
        </listitem>
      </varlistentry> -->

      <varlistentry id="libgjs">
        <term><filename class="libraryfile">libgjs.so</filename></term>
        <listitem>
          <para>
            contains the <application>GNOME</application> JavaScript bindings.
          </para>
          <indexterm zone="gjs libgjs">
            <primary sortas="c-libgjs">libgjs.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
