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