2013-06-01 20:19:53 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2020-10-02 22:24:40 +08:00
|
|
|
<!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.66/gjs-&gjs-version;.tar.xz">
|
|
|
|
<!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.66/gjs-&gjs-version;.tar.xz">
|
2021-01-12 11:41:46 +08:00
|
|
|
<!ENTITY gjs-md5sum "3c272f27a2ce18c82261698520b1147f">
|
2020-10-02 22:24:40 +08:00
|
|
|
<!ENTITY gjs-size "432 KB">
|
2021-01-12 11:41:46 +08:00
|
|
|
<!ENTITY gjs-buildsize "82 MB (with tests)">
|
2020-10-02 22:24:40 +08:00
|
|
|
<!ENTITY gjs-time "0.8 SBU (with tests)">
|
2013-06-01 20:19:53 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
|
|
|
|
<?dbhtml filename="gjs.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Gjs-&gjs-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gjs">
|
|
|
|
<primary sortas="a-Gjs">Gjs</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Gjs</title>
|
|
|
|
|
|
|
|
<para>
|
2016-07-23 05:00:54 +08:00
|
|
|
<application>Gjs</application> is a set of Javascript bindings for
|
2013-06-01 20:19:53 +08:00
|
|
|
<application>GNOME</application>.
|
|
|
|
</para>
|
|
|
|
|
2020-08-20 03:37:56 +08:00
|
|
|
&lfs10_checked;
|
2013-06-01 20:19:53 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gjs-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gjs-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gjs-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &gjs-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gjs-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &gjs-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Gjs Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="cairo"/>,
|
2018-08-31 03:27:14 +08:00
|
|
|
<xref linkend="dbus"/>,
|
2013-09-03 04:01:46 +08:00
|
|
|
<xref linkend="gobject-introspection"/>, and
|
2020-10-02 22:24:40 +08:00
|
|
|
<xref linkend="js78"/>
|
2013-06-01 20:19:53 +08:00
|
|
|
</para>
|
|
|
|
|
2019-06-28 04:55:17 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
|
|
|
|
<para role="recommended">
|
2016-07-04 08:12:03 +08:00
|
|
|
<xref linkend="gtk3"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2020-09-21 23:55:38 +08:00
|
|
|
<xref linkend="sysprof"/>,
|
2017-09-21 02:43:31 +08:00
|
|
|
<xref linkend="valgrind"/> (for tests),
|
2017-04-06 09:33:46 +08:00
|
|
|
<ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
2020-10-12 00:41:55 +08:00
|
|
|
<ulink url="https://wiki.gnome.org/Projects/GTK/Roadmap/GTK4">GTK+-4</ulink>,
|
2020-09-21 23:55:38 +08:00
|
|
|
<ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
|
2016-07-04 08:12:03 +08:00
|
|
|
<ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
|
|
|
|
</para>
|
|
|
|
|
2013-06-01 20:19:53 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/gjs"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Gjs</title>
|
2020-07-07 20:42:50 +08:00
|
|
|
<!--
|
2020-05-19 02:25:15 +08:00
|
|
|
<para>
|
|
|
|
First, work around a bug in meson caused by support for Windows NT:
|
|
|
|
</para>
|
|
|
|
|
2020-07-07 20:42:50 +08:00
|
|
|
When scripting, 'ninja install' fails because the 'gjs' symlink is
|
2020-05-19 02:25:15 +08:00
|
|
|
generated before 'gjs-console' is installed. This seems to be due
|
|
|
|
to adding symbolic link support for Windows NT-based platforms.
|
|
|
|
This shouldn't affect us, so let's create the symlink manually
|
2020-06-03 11:33:11 +08:00
|
|
|
like we do in other packages.
|
|
|
|
Invalid with 1.64.3. Make sure you don't have DESTDIR
|
2020-07-07 20:42:50 +08:00
|
|
|
set, such as you'd do in an update script.
|
2020-05-19 02:25:15 +08:00
|
|
|
|
2020-07-07 20:42:50 +08:00
|
|
|
<screen><userinput remap="pre">sed -i '/symlink-gjs.py/s/^/#/g' meson.build</userinput></screen>-->
|
2020-05-19 02:25:15 +08:00
|
|
|
|
2013-06-01 20:19:53 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Gjs</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2020-03-29 03:35:39 +08:00
|
|
|
<screen><userinput>mkdir gjs-build &&
|
|
|
|
cd gjs-build &&
|
|
|
|
|
|
|
|
meson --prefix=/usr .. &&
|
|
|
|
ninja</userinput></screen>
|
2013-06-01 20:19:53 +08:00
|
|
|
|
|
|
|
<para>
|
2020-03-29 03:35:39 +08:00
|
|
|
To test the results, issue: <command>ninja test</command>. The
|
2017-04-16 12:12:19 +08:00
|
|
|
<application>GTK</application> and <application>Cairo</application>
|
2020-12-10 13:45:36 +08:00
|
|
|
tests will fail if not running in an Xorg session. <!--Additionally, four
|
2020-10-02 22:24:40 +08:00
|
|
|
tests are currently known to fail:
|
|
|
|
<filename>gjs:C / API tests</filename>,
|
|
|
|
<filename>gjs:JS / GIMarshalling</filename>,
|
|
|
|
<filename>gjs:JS / Regress</filename>, and
|
2020-12-10 13:45:36 +08:00
|
|
|
<filename>gjs:JS / Gtk3</filename>.-->
|
2013-06-01 20:19:53 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2020-05-19 02:25:15 +08:00
|
|
|
<screen role="root"><userinput>ninja install &&
|
|
|
|
ln -sfv gjs-console /usr/bin/gjs</userinput></screen>
|
2013-06-01 20:19:53 +08:00
|
|
|
|
|
|
|
</sect2>
|
2016-03-28 05:29:25 +08:00
|
|
|
|
2013-06-01 20:19:53 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2013-07-29 01:12:40 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2013-06-01 20:19:53 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2014-04-01 05:32:12 +08:00
|
|
|
gjs (symlink) and gjs-console
|
2013-06-01 20:19:53 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-07-29 01:12:40 +08:00
|
|
|
libgjs.so
|
2013-06-01 20:19:53 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2018-08-17 06:09:09 +08:00
|
|
|
/usr/include/gjs-1.0,
|
2020-03-29 03:35:39 +08:00
|
|
|
/usr/lib/gjs,
|
2020-10-02 22:24:40 +08:00
|
|
|
/usr/libexec/installed-tests/gjs,
|
2020-03-29 03:35:39 +08:00
|
|
|
/usr/share/gjs-1.0, and
|
|
|
|
/usr/share/installed-tests/gjs
|
2013-06-01 20:19:53 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2017-04-06 09:33:46 +08:00
|
|
|
<varlistentry id="gjs-console">
|
2013-06-01 20:19:53 +08:00
|
|
|
<term><command>gjs-console</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-04-06 09:33:46 +08:00
|
|
|
contains a console to run <application>JavaScript</application>
|
2021-02-19 23:20:16 +08:00
|
|
|
commands
|
2013-06-01 20:19:53 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gjs gjs-console">
|
|
|
|
<primary sortas="b-gjs-console">gjs-console</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
2017-04-06 09:33:46 +08:00
|
|
|
</varlistentry>
|
2013-06-01 20:19:53 +08:00
|
|
|
|
|
|
|
<varlistentry id="libgjs">
|
|
|
|
<term><filename class="libraryfile">libgjs.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
contains the <application>GNOME</application> JavaScript bindings
|
2013-06-01 20:19:53 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gjs libgjs">
|
|
|
|
<primary sortas="c-libgjs">libgjs.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|