source: gnome/platform/gjs.xml@ 12b31b3e

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 12b31b3e was 12b31b3e, checked in by Bruce Dubbs <bdubbs@…>, 12 months ago

Update to gjs-1.76.1.

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