source: gnome/platform/gjs.xml@ 387a4d2b

10.0 10.1 11.0 11.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 387a4d2b was b9c5febe, checked in by Douglas R. Reno <renodr@…>, 4 years ago

gjs: Work around a installation error

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23161 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 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.64/gjs-&gjs-version;.tar.xz">
8 <!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.64/gjs-&gjs-version;.tar.xz">
9 <!ENTITY gjs-md5sum "bd2f7f411b46016e8ee2d2c8d3c140d9">
10 <!ENTITY gjs-size "412 KB">
11 <!ENTITY gjs-buildsize "314 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 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&gjs-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&gjs-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &gjs-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &gjs-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &gjs-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &gjs-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Gjs Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="cairo"/>,
78 <xref linkend="dbus"/>,
79 <xref linkend="gobject-introspection"/>, and
80 <xref linkend="js68"/>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
84 <para role="recommended">
85 <xref linkend="gtk3"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="valgrind"/> (for tests),
91 <ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
92 <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>,
93 <ulink url="&gnome-download-http;/sysprof/">Sysprof</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 First, work around a bug in meson caused by support for Windows NT:
107 </para>
108
109 <!-- When scripting, 'ninja install' fails because the 'gjs' symlink is
110 generated before 'gjs-console' is installed. This seems to be due
111 to adding symbolic link support for Windows NT-based platforms.
112 This shouldn't affect us, so let's create the symlink manually
113 like we do in other packages.-->
114
115<screen><userinput remap="pre">sed -i '/symlink-gjs.py/s/^/#/g' meson.build</userinput></screen>
116
117 <para>
118 Install <application>Gjs</application> by running the following
119 commands:
120 </para>
121
122<screen><userinput>mkdir gjs-build &amp;&amp;
123cd gjs-build &amp;&amp;
124
125meson --prefix=/usr .. &amp;&amp;
126ninja</userinput></screen>
127
128 <para>
129 To test the results, issue: <command>ninja test</command>. The
130 <application>GTK</application> and <application>Cairo</application>
131 tests will fail if not running in an Xorg session. One test,
132 <filename>gjs: Scripts/CommandLine</filename>, is known to fail.
133 On some systems, up to four tests may fail with an error.
134 <!-- Still fails with 1.58.5. -->
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>ninja install &amp;&amp;
142ln -sfv gjs-console /usr/bin/gjs</userinput></screen>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Library</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>
156 gjs (symlink) and gjs-console
157 </seg>
158 <seg>
159 libgjs.so
160 </seg>
161 <seg>
162 /usr/include/gjs-1.0,
163 /usr/lib/gjs,
164 /usr/libexec/gjs,
165 /usr/share/gjs-1.0, and
166 /usr/share/installed-tests/gjs
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="gjs-console">
177 <term><command>gjs-console</command></term>
178 <listitem>
179 <para>
180 contains a console to run <application>JavaScript</application>
181 commands.
182 </para>
183 <indexterm zone="gjs gjs-console">
184 <primary sortas="b-gjs-console">gjs-console</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="libgjs">
190 <term><filename class="libraryfile">libgjs.so</filename></term>
191 <listitem>
192 <para>
193 contains the <application>GNOME</application> JavaScript bindings.
194 </para>
195 <indexterm zone="gjs libgjs">
196 <primary sortas="c-libgjs">libgjs.so</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 </variablelist>
202
203 </sect2>
204
205</sect1>
Note: See TracBrowser for help on using the repository browser.