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 "1b7f329ea113c98d385e8ea26045d156">
|
---|
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 | &lfs80_checked;
|
---|
38 | &gcc7_checked;
|
---|
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"/>,
|
---|
79 | <xref linkend="gobject-introspection"/>, and
|
---|
80 | <xref linkend="js38"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
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">
|
---|
90 | <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
---|
91 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
|
---|
92 | <ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
|
---|
93 | </para>
|
---|
94 |
|
---|
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 |
|
---|
108 | <screen><userinput>./configure --prefix=/usr &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
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.
|
---|
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>
|
---|
124 |
|
---|
125 | <sect2 role="content">
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <segmentedlist>
|
---|
129 | <segtitle>Installed Programs</segtitle>
|
---|
130 | <segtitle>Installed Library</segtitle>
|
---|
131 | <segtitle>Installed Directories</segtitle>
|
---|
132 |
|
---|
133 | <seglistitem>
|
---|
134 | <seg>
|
---|
135 | gjs (symlink) and gjs-console
|
---|
136 | </seg>
|
---|
137 | <seg>
|
---|
138 | libgjs.so
|
---|
139 | </seg>
|
---|
140 | <seg>
|
---|
141 | /usr/include/gjs-1.0 and
|
---|
142 | /usr/lib/gjs
|
---|
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 |
|
---|
152 | <varlistentry id="gjs-console">
|
---|
153 | <term><command>gjs-console</command></term>
|
---|
154 | <listitem>
|
---|
155 | <para>
|
---|
156 | contains a console to run <application>JavaScript</application>
|
---|
157 | commands.
|
---|
158 | </para>
|
---|
159 | <indexterm zone="gjs gjs-console">
|
---|
160 | <primary sortas="b-gjs-console">gjs-console</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
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>
|
---|