[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 |
|
---|
[560b86d] | 7 | <!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.48/gjs-&gjs-version;.tar.xz">
|
---|
| 8 | <!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.48/gjs-&gjs-version;.tar.xz">
|
---|
[3ec206d] | 9 | <!ENTITY gjs-md5sum "1b7f329ea113c98d385e8ea26045d156">
|
---|
[a8f8d6ac] | 10 | <!ENTITY gjs-size "584 KB">
|
---|
[ec67287] | 11 | <!ENTITY gjs-buildsize "37 MB (with tests)">
|
---|
[a8f8d6ac] | 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 |
|
---|
[6827378] | 37 | &lfs80_checked;
|
---|
[ec67287] | 38 | &gcc7_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"/>,
|
---|
[ee835cc] | 79 | <xref linkend="gobject-introspection"/>, and
|
---|
[560b86d] | 80 | <xref linkend="js38"/>
|
---|
[dabe4b0] | 81 | </para>
|
---|
| 82 |
|
---|
[a327f9e] | 83 | <bridgehead revision="systemd" renderas="sect4">Recommended (required for GNOME)</bridgehead>
|
---|
| 84 | <para role="recommended" revision="systemd">
|
---|
| 85 | <xref linkend="gtk3"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
[560b86d] | 90 | <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
---|
| 91 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
|
---|
[a327f9e] | 92 | <ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
[dabe4b0] | 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/gjs"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Gjs</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>Gjs</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[d278ced] | 108 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[dabe4b0] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
[e7c9d5a9] | 112 | To test the results, issue: <command>make check</command>. The
|
---|
| 113 | <application>GTK</application> and <application>Cairo</application>
|
---|
| 114 | tests will fail if not running in an Xorg session.
|
---|
[dabe4b0] | 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
[5cf89d2] | 124 |
|
---|
[dabe4b0] | 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
[4cbfd95] | 130 | <segtitle>Installed Library</segtitle>
|
---|
[dabe4b0] | 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
| 134 | <seg>
|
---|
[fb990982] | 135 | gjs (symlink) and gjs-console
|
---|
[dabe4b0] | 136 | </seg>
|
---|
| 137 | <seg>
|
---|
[4cbfd95] | 138 | libgjs.so
|
---|
[dabe4b0] | 139 | </seg>
|
---|
| 140 | <seg>
|
---|
[20f09631] | 141 | /usr/include/gjs-1.0 and
|
---|
[560b86d] | 142 | /usr/lib/gjs
|
---|
[dabe4b0] | 143 | </seg>
|
---|
| 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
[560b86d] | 152 | <varlistentry id="gjs-console">
|
---|
[dabe4b0] | 153 | <term><command>gjs-console</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>
|
---|
[560b86d] | 156 | contains a console to run <application>JavaScript</application>
|
---|
| 157 | commands.
|
---|
[dabe4b0] | 158 | </para>
|
---|
| 159 | <indexterm zone="gjs gjs-console">
|
---|
| 160 | <primary sortas="b-gjs-console">gjs-console</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
[560b86d] | 163 | </varlistentry>
|
---|
[dabe4b0] | 164 |
|
---|
| 165 | <varlistentry id="libgjs">
|
---|
| 166 | <term><filename class="libraryfile">libgjs.so</filename></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
| 169 | contains the <application>GNOME</application> JavaScript bindings.
|
---|
| 170 | </para>
|
---|
| 171 | <indexterm zone="gjs libgjs">
|
---|
| 172 | <primary sortas="c-libgjs">libgjs.so</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | </variablelist>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | </sect1>
|
---|