[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 |
|
---|
[7af46e6] | 7 | <!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.64/gjs-&gjs-version;.tar.xz">
|
---|
| 8 | <!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.64/gjs-&gjs-version;.tar.xz">
|
---|
[81158c37] | 9 | <!ENTITY gjs-md5sum "bd2f7f411b46016e8ee2d2c8d3c140d9">
|
---|
[7af46e6] | 10 | <!ENTITY gjs-size "412 KB">
|
---|
[81158c37] | 11 | <!ENTITY gjs-buildsize "314 MB (with tests)">
|
---|
| 12 | <!ENTITY gjs-time "0.6 SBU (with tests)">
|
---|
[dabe4b0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
|
---|
| 16 | <?dbhtml filename="gjs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Gjs-&gjs-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gjs">
|
---|
| 26 | <primary sortas="a-Gjs">Gjs</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Gjs</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
[d278ced] | 33 | <application>Gjs</application> is a set of Javascript bindings for
|
---|
[dabe4b0] | 34 | <application>GNOME</application>.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[1f61010e] | 37 | &lfs91_checked;
|
---|
[dabe4b0] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&gjs-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&gjs-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &gjs-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &gjs-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &gjs-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &gjs-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Gjs Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="cairo"/>,
|
---|
[c503e811] | 78 | <xref linkend="dbus"/>,
|
---|
[ee835cc] | 79 | <xref linkend="gobject-introspection"/>, and
|
---|
[7af46e6] | 80 | <xref linkend="js68"/>
|
---|
[dabe4b0] | 81 | </para>
|
---|
| 82 |
|
---|
[51dfb3e] | 83 | <bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
[a327f9e] | 85 | <xref linkend="gtk3"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
[583ec9b3] | 90 | <xref linkend="valgrind"/> (for tests),
|
---|
[560b86d] | 91 | <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
---|
[ee5f6ce] | 92 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>,
|
---|
| 93 | <ulink url="&gnome-download-http;/sysprof/">Sysprof</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 |
|
---|
[7af46e6] | 110 | <screen><userinput>mkdir gjs-build &&
|
---|
| 111 | cd gjs-build &&
|
---|
| 112 |
|
---|
| 113 | meson --prefix=/usr .. &&
|
---|
| 114 | ninja</userinput></screen>
|
---|
[dabe4b0] | 115 |
|
---|
| 116 | <para>
|
---|
[7af46e6] | 117 | To test the results, issue: <command>ninja test</command>. The
|
---|
[e7c9d5a9] | 118 | <application>GTK</application> and <application>Cairo</application>
|
---|
[7af46e6] | 119 | tests will fail if not running in an Xorg session. One test,
|
---|
| 120 | <filename>gjs: Scripts/CommandLine</filename>, is known to fail.
|
---|
[876948d] | 121 | On some systems, up to four tests may fail with an error.
|
---|
[1f61010e] | 122 | <!-- Still fails with 1.58.5. -->
|
---|
[dabe4b0] | 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[7af46e6] | 129 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[dabe4b0] | 130 |
|
---|
| 131 | </sect2>
|
---|
[5cf89d2] | 132 |
|
---|
[dabe4b0] | 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
[4cbfd95] | 138 | <segtitle>Installed Library</segtitle>
|
---|
[dabe4b0] | 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
| 142 | <seg>
|
---|
[fb990982] | 143 | gjs (symlink) and gjs-console
|
---|
[dabe4b0] | 144 | </seg>
|
---|
| 145 | <seg>
|
---|
[4cbfd95] | 146 | libgjs.so
|
---|
[dabe4b0] | 147 | </seg>
|
---|
| 148 | <seg>
|
---|
[dbb8c43] | 149 | /usr/include/gjs-1.0,
|
---|
[7af46e6] | 150 | /usr/lib/gjs,
|
---|
| 151 | /usr/libexec/gjs,
|
---|
| 152 | /usr/share/gjs-1.0, and
|
---|
| 153 | /usr/share/installed-tests/gjs
|
---|
[dabe4b0] | 154 | </seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
[560b86d] | 163 | <varlistentry id="gjs-console">
|
---|
[dabe4b0] | 164 | <term><command>gjs-console</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
[560b86d] | 167 | contains a console to run <application>JavaScript</application>
|
---|
| 168 | commands.
|
---|
[dabe4b0] | 169 | </para>
|
---|
| 170 | <indexterm zone="gjs gjs-console">
|
---|
| 171 | <primary sortas="b-gjs-console">gjs-console</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
[560b86d] | 174 | </varlistentry>
|
---|
[dabe4b0] | 175 |
|
---|
| 176 | <varlistentry id="libgjs">
|
---|
| 177 | <term><filename class="libraryfile">libgjs.so</filename></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
| 180 | contains the <application>GNOME</application> JavaScript bindings.
|
---|
| 181 | </para>
|
---|
| 182 | <indexterm zone="gjs libgjs">
|
---|
| 183 | <primary sortas="c-libgjs">libgjs.so</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|