source: gnome/platform/gjs.xml@ dff46c6

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since dff46c6 was 7896e480, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Update to gjs-1.72.0

  • Property mode set to 100644
File size: 5.5 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
[7896e480]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 "20ffc307c666aafb88f90e2cd31abf58">
10 <!ENTITY gjs-size "606 KB">
11 <!ENTITY gjs-buildsize "230 MB (with tests)">
[c1d5e64]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 <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>
[d278ced]32 <application>Gjs</application> is a set of Javascript bindings for
[dabe4b0]33 <application>GNOME</application>.
34 </para>
35
[89efcadc]36 &lfs111_checked;
[dabe4b0]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"/>,
[c503e811]77 <xref linkend="dbus"/>,
[ee835cc]78 <xref linkend="gobject-introspection"/>, and
[b5b1af68]79 <xref linkend="js91"/>
[dabe4b0]80 </para>
81
[51dfb3e]82 <bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
83 <para role="recommended">
[3b339ddc]84 <xref linkend="gtk3"/> and
85 <xref linkend="gtk4"/>
[a327f9e]86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
[3d3560c5]90 <xref linkend="sysprof"/>,
[583ec9b3]91 <xref linkend="valgrind"/> (for tests),
[560b86d]92 <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
[3d3560c5]93 <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
[a327f9e]94 <ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
95 </para>
96
[dabe4b0]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>
[b9c5febe]104
[dabe4b0]105 <para>
106 Install <application>Gjs</application> by running the following
107 commands:
108 </para>
109
[7af46e6]110<screen><userinput>mkdir gjs-build &amp;&amp;
111cd gjs-build &amp;&amp;
112
[adf17153]113meson --prefix=/usr --buildtype=release .. &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>
[7f142f7]119 tests will fail if not running in an Xorg session. The
120 <filename>gjs:JS / Gtk4</filename> test is known to exit with an ERROR
121 on some systems.
[dabe4b0]122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
[b9c5febe]128<screen role="root"><userinput>ninja install &amp;&amp;
129ln -sfv gjs-console /usr/bin/gjs</userinput></screen>
[dabe4b0]130
131 </sect2>
[5cf89d2]132
[adf17153]133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
137 href="../../xincludes/meson-buildtype-release.xml"/>
138
139 </sect2>
140
[dabe4b0]141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Programs</segtitle>
[4cbfd95]146 <segtitle>Installed Library</segtitle>
[dabe4b0]147 <segtitle>Installed Directories</segtitle>
148
149 <seglistitem>
150 <seg>
[fb990982]151 gjs (symlink) and gjs-console
[dabe4b0]152 </seg>
153 <seg>
[4cbfd95]154 libgjs.so
[dabe4b0]155 </seg>
156 <seg>
[dbb8c43]157 /usr/include/gjs-1.0,
[7af46e6]158 /usr/lib/gjs,
[8252e757]159 /usr/libexec/installed-tests/gjs,
[7af46e6]160 /usr/share/gjs-1.0, and
161 /usr/share/installed-tests/gjs
[dabe4b0]162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
[560b86d]171 <varlistentry id="gjs-console">
[dabe4b0]172 <term><command>gjs-console</command></term>
173 <listitem>
174 <para>
[560b86d]175 contains a console to run <application>JavaScript</application>
[4c24eb0a]176 commands
[dabe4b0]177 </para>
178 <indexterm zone="gjs gjs-console">
179 <primary sortas="b-gjs-console">gjs-console</primary>
180 </indexterm>
181 </listitem>
[560b86d]182 </varlistentry>
[dabe4b0]183
184 <varlistentry id="libgjs">
185 <term><filename class="libraryfile">libgjs.so</filename></term>
186 <listitem>
187 <para>
[4c24eb0a]188 contains the <application>GNOME</application> JavaScript bindings
[dabe4b0]189 </para>
190 <indexterm zone="gjs libgjs">
191 <primary sortas="c-libgjs">libgjs.so</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.