source: gnome/platform/gjs.xml@ ba0239e

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since ba0239e was dad7b883, checked in by Douglas R. Reno <renodr@…>, 15 months ago

Update to gjs-1.76.0

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[dabe4b0]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
[dad7b883]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 "0d5ad8f315872e5dce7335d182cda546">
10 <!ENTITY gjs-size "632 KB">
11 <!ENTITY gjs-buildsize "239 MB (with tests)">
[f5742d5]12 <!ENTITY gjs-time "0.6 SBU (with tests)">
[dabe4b0]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>
[d278ced]29 <application>Gjs</application> is a set of Javascript bindings for
[dabe4b0]30 <application>GNOME</application>.
31 </para>
32
[b4642992]33 &lfs113_checked;
[dabe4b0]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"/>,
[c503e811]74 <xref linkend="dbus"/>,
[ee835cc]75 <xref linkend="gobject-introspection"/>, and
[14bd41d]76 <xref linkend="js102"/>
[dabe4b0]77 </para>
78
[51dfb3e]79 <bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
80 <para role="recommended">
[3b339ddc]81 <xref linkend="gtk3"/> and
82 <xref linkend="gtk4"/>
[a327f9e]83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
[3d3560c5]87 <xref linkend="sysprof"/>,
[583ec9b3]88 <xref linkend="valgrind"/> (for tests),
[560b86d]89 <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
[dad7b883]90 <ulink url="https://github.com/linux-test-project/lcov">LCOV</ulink>, and
[a327f9e]91 <ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
92 </para>
93
[dabe4b0]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>
[b9c5febe]101
[dabe4b0]102 <para>
103 Install <application>Gjs</application> by running the following
104 commands:
105 </para>
106
[7af46e6]107<screen><userinput>mkdir gjs-build &amp;&amp;
108cd gjs-build &amp;&amp;
109
[02c7572d]110meson setup --prefix=/usr \
111 --buildtype=release \
112 --wrap-mode=nofallback \
113 .. &amp;&amp;
[7af46e6]114ninja</userinput></screen>
[dabe4b0]115
116 <para>
[7af46e6]117 To test the results, issue: <command>ninja test</command>. The
[e7c9d5a9]118 <application>GTK</application> and <application>Cairo</application>
[6cea467f]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.
[dabe4b0]122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
[02c7572d]128<screen role="root"><userinput>ninja install</userinput></screen>
[dabe4b0]129
130 </sect2>
[5cf89d2]131
[adf17153]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
[02c7572d]138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/meson-wrap-nofallback.xml"/>
140
141 <para>
142 <option>-Dprofiler=disabled</option>: prevents building the profiler
143 backend even if <xref linkend="sysprof"/> is installed.
144 </para>
145
[adf17153]146 </sect2>
147
[dabe4b0]148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
[4cbfd95]153 <segtitle>Installed Library</segtitle>
[dabe4b0]154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
[fb990982]158 gjs (symlink) and gjs-console
[dabe4b0]159 </seg>
160 <seg>
[4cbfd95]161 libgjs.so
[dabe4b0]162 </seg>
163 <seg>
[dbb8c43]164 /usr/include/gjs-1.0,
[7af46e6]165 /usr/lib/gjs,
[8252e757]166 /usr/libexec/installed-tests/gjs,
[7af46e6]167 /usr/share/gjs-1.0, and
168 /usr/share/installed-tests/gjs
[dabe4b0]169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
[560b86d]178 <varlistentry id="gjs-console">
[dabe4b0]179 <term><command>gjs-console</command></term>
180 <listitem>
181 <para>
[560b86d]182 contains a console to run <application>JavaScript</application>
[4c24eb0a]183 commands
[dabe4b0]184 </para>
185 <indexterm zone="gjs gjs-console">
186 <primary sortas="b-gjs-console">gjs-console</primary>
187 </indexterm>
188 </listitem>
[560b86d]189 </varlistentry>
[dabe4b0]190
191 <varlistentry id="libgjs">
192 <term><filename class="libraryfile">libgjs.so</filename></term>
193 <listitem>
194 <para>
[4c24eb0a]195 contains the <application>GNOME</application> JavaScript bindings
[dabe4b0]196 </para>
197 <indexterm zone="gjs libgjs">
198 <primary sortas="c-libgjs">libgjs.so</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 </variablelist>
204
205 </sect2>
206
207</sect1>
Note: See TracBrowser for help on using the repository browser.