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.72/gjs-&gjs-version;.tar.xz">
|
---|
8 | <!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.72/gjs-&gjs-version;.tar.xz">
|
---|
9 | <!ENTITY gjs-md5sum "e0a715951ee3941132f5b1149f28ba5d">
|
---|
10 | <!ENTITY gjs-size "608 KB">
|
---|
11 | <!ENTITY gjs-buildsize "245 MB (with tests)">
|
---|
12 | <!ENTITY gjs-time "1.0 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
|
---|
16 | <?dbhtml filename="gjs.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Gjs-&gjs-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="gjs">
|
---|
25 | <primary sortas="a-Gjs">Gjs</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to Gjs</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | <application>Gjs</application> is a set of Javascript bindings for
|
---|
33 | <application>GNOME</application>.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs112_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&gjs-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&gjs-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &gjs-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &gjs-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &gjs-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &gjs-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">Gjs Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required">
|
---|
76 | <xref linkend="cairo"/>,
|
---|
77 | <xref linkend="dbus"/>,
|
---|
78 | <xref linkend="gobject-introspection"/>, and
|
---|
79 | <xref linkend="js102"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
|
---|
83 | <para role="recommended">
|
---|
84 | <xref linkend="gtk3"/> and
|
---|
85 | <xref linkend="gtk4"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
89 | <para role="optional">
|
---|
90 | <xref linkend="sysprof"/>,
|
---|
91 | <xref linkend="valgrind"/> (for tests),
|
---|
92 | <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
---|
93 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
|
---|
94 | <ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
|
---|
95 | </para>
|
---|
96 |
|
---|
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 |
|
---|
110 | <screen><userinput>mkdir gjs-build &&
|
---|
111 | cd gjs-build &&
|
---|
112 |
|
---|
113 | meson --prefix=/usr --buildtype=release .. &&
|
---|
114 | ninja</userinput></screen>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | To test the results, issue: <command>ninja test</command>. The
|
---|
118 | <application>GTK</application> and <application>Cairo</application>
|
---|
119 | tests will fail if not running in an Xorg session.
|
---|
120 | <!-- https://github.com/mesonbuild/meson/issues/10577 --> Four tests
|
---|
121 | are known to timeout.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen role="root"><userinput>ninja install &&</userinput></screen>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="commands">
|
---|
133 | <title>Command Explanations</title>
|
---|
134 |
|
---|
135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
136 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="content">
|
---|
141 | <title>Contents</title>
|
---|
142 |
|
---|
143 | <segmentedlist>
|
---|
144 | <segtitle>Installed Programs</segtitle>
|
---|
145 | <segtitle>Installed Library</segtitle>
|
---|
146 | <segtitle>Installed Directories</segtitle>
|
---|
147 |
|
---|
148 | <seglistitem>
|
---|
149 | <seg>
|
---|
150 | gjs (symlink) and gjs-console
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | libgjs.so
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | /usr/include/gjs-1.0,
|
---|
157 | /usr/lib/gjs,
|
---|
158 | /usr/libexec/installed-tests/gjs,
|
---|
159 | /usr/share/gjs-1.0, and
|
---|
160 | /usr/share/installed-tests/gjs
|
---|
161 | </seg>
|
---|
162 | </seglistitem>
|
---|
163 | </segmentedlist>
|
---|
164 |
|
---|
165 | <variablelist>
|
---|
166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
167 | <?dbfo list-presentation="list"?>
|
---|
168 | <?dbhtml list-presentation="table"?>
|
---|
169 |
|
---|
170 | <varlistentry id="gjs-console">
|
---|
171 | <term><command>gjs-console</command></term>
|
---|
172 | <listitem>
|
---|
173 | <para>
|
---|
174 | contains a console to run <application>JavaScript</application>
|
---|
175 | commands
|
---|
176 | </para>
|
---|
177 | <indexterm zone="gjs gjs-console">
|
---|
178 | <primary sortas="b-gjs-console">gjs-console</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | <varlistentry id="libgjs">
|
---|
184 | <term><filename class="libraryfile">libgjs.so</filename></term>
|
---|
185 | <listitem>
|
---|
186 | <para>
|
---|
187 | contains the <application>GNOME</application> JavaScript bindings
|
---|
188 | </para>
|
---|
189 | <indexterm zone="gjs libgjs">
|
---|
190 | <primary sortas="c-libgjs">libgjs.so</primary>
|
---|
191 | </indexterm>
|
---|
192 | </listitem>
|
---|
193 | </varlistentry>
|
---|
194 |
|
---|
195 | </variablelist>
|
---|
196 |
|
---|
197 | </sect2>
|
---|
198 |
|
---|
199 | </sect1>
|
---|