[dabe4b0] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8e266c6] | 7 | <!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.54/gjs-&gjs-version;.tar.xz">
|
---|
| 8 | <!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.54/gjs-&gjs-version;.tar.xz">
|
---|
[c5207e4] | 9 | <!ENTITY gjs-md5sum "54530c44fef502ac5a0fbc5772d77ace">
|
---|
[8e266c6] | 10 | <!ENTITY gjs-size "636 KB">
|
---|
[c5207e4] | 11 | <!ENTITY gjs-buildsize "78 MB (with tests)">
|
---|
| 12 | <!-- 100 MB less - seems fishy, but seems to work. -->
|
---|
| 13 | <!ENTITY gjs-time "1.0 SBU (with tests)">
|
---|
[dabe4b0] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
|
---|
| 17 | <?dbhtml filename="gjs.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Gjs-&gjs-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="gjs">
|
---|
| 27 | <primary sortas="a-Gjs">Gjs</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Gjs</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
[d278ced] | 34 | <application>Gjs</application> is a set of Javascript bindings for
|
---|
[dabe4b0] | 35 | <application>GNOME</application>.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[c503e811] | 38 | &lfs83_checked;
|
---|
[dabe4b0] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&gjs-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&gjs-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &gjs-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &gjs-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &gjs-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &gjs-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Gjs Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="cairo"/>,
|
---|
[c503e811] | 79 | <xref linkend="dbus"/>,
|
---|
[ee835cc] | 80 | <xref linkend="gobject-introspection"/>, and
|
---|
[8e266c6] | 81 | <xref linkend="js60"/>
|
---|
[dabe4b0] | 82 | </para>
|
---|
| 83 |
|
---|
[a327f9e] | 84 | <bridgehead revision="systemd" renderas="sect4">Recommended (required for GNOME)</bridgehead>
|
---|
| 85 | <para role="recommended" revision="systemd">
|
---|
| 86 | <xref linkend="gtk3"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
[583ec9b3] | 91 | <xref linkend="valgrind"/> (for tests),
|
---|
[560b86d] | 92 | <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
---|
| 93 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
|
---|
[a327f9e] | 94 | <ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
[dabe4b0] | 97 | <para condition="html" role="usernotes">User Notes:
|
---|
| 98 | <ulink url="&blfs-wiki;/gjs"/>
|
---|
| 99 | </para>
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
| 103 | <title>Installation of Gjs</title>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | Install <application>Gjs</application> by running the following
|
---|
| 107 | commands:
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
[d278ced] | 110 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[dabe4b0] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
[e7c9d5a9] | 114 | To test the results, issue: <command>make check</command>. The
|
---|
| 115 | <application>GTK</application> and <application>Cairo</application>
|
---|
[c5207e4] | 116 | tests will fail if not running in an Xorg session. Two tests that
|
---|
| 117 | use Unicode are known to fail.
|
---|
[dabe4b0] | 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
[5cf89d2] | 127 |
|
---|
[dabe4b0] | 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
| 132 | <segtitle>Installed Programs</segtitle>
|
---|
[4cbfd95] | 133 | <segtitle>Installed Library</segtitle>
|
---|
[dabe4b0] | 134 | <segtitle>Installed Directories</segtitle>
|
---|
| 135 |
|
---|
| 136 | <seglistitem>
|
---|
| 137 | <seg>
|
---|
[fb990982] | 138 | gjs (symlink) and gjs-console
|
---|
[dabe4b0] | 139 | </seg>
|
---|
| 140 | <seg>
|
---|
[4cbfd95] | 141 | libgjs.so
|
---|
[dabe4b0] | 142 | </seg>
|
---|
| 143 | <seg>
|
---|
[dbb8c43] | 144 | /usr/include/gjs-1.0,
|
---|
| 145 | /usr/lib/gjs, and
|
---|
| 146 | /usr/share/gjs-1.0
|
---|
[dabe4b0] | 147 | </seg>
|
---|
| 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
[560b86d] | 156 | <varlistentry id="gjs-console">
|
---|
[dabe4b0] | 157 | <term><command>gjs-console</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
[560b86d] | 160 | contains a console to run <application>JavaScript</application>
|
---|
| 161 | commands.
|
---|
[dabe4b0] | 162 | </para>
|
---|
| 163 | <indexterm zone="gjs gjs-console">
|
---|
| 164 | <primary sortas="b-gjs-console">gjs-console</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
[560b86d] | 167 | </varlistentry>
|
---|
[dabe4b0] | 168 |
|
---|
| 169 | <varlistentry id="libgjs">
|
---|
| 170 | <term><filename class="libraryfile">libgjs.so</filename></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>
|
---|
| 173 | contains the <application>GNOME</application> JavaScript bindings.
|
---|
| 174 | </para>
|
---|
| 175 | <indexterm zone="gjs libgjs">
|
---|
| 176 | <primary sortas="c-libgjs">libgjs.so</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | </variablelist>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | </sect1>
|
---|