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