glfs/gnome/platform/gjs.xml
Douglas R. Reno 0b4d98d21a Archive sysprof.
It's optional for the packages that use it, and they only use it to
provide additional support for profiling.

Sysprof now requires two more packages which are specific to it, so
let's archive it.
2023-09-18 15:53:46 -05:00

202 lines
5.5 KiB
XML

<?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;
<!ENTITY gjs-download-http "&gnome-download-http;/gjs/1.78/gjs-&gjs-version;.tar.xz">
<!ENTITY gjs-download-ftp "&gnome-download-ftp;/gjs/1.78/gjs-&gjs-version;.tar.xz">
<!ENTITY gjs-md5sum "adb083a5245ee4fefaf2714084174190">
<!ENTITY gjs-size "640 KB">
<!ENTITY gjs-buildsize "240 MB (with tests)">
<!ENTITY gjs-time "0.3 SBU (with tests; with parallelism=4)">
]>
<sect1 id="gjs" xreflabel="Gjs-&gjs-version;">
<?dbhtml filename="gjs.html"?>
<title>Gjs-&gjs-version;</title>
<indexterm zone="gjs">
<primary sortas="a-Gjs">Gjs</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Gjs</title>
<para>
<application>Gjs</application> is a set of Javascript bindings for
<application>GNOME</application>.
</para>
&lfs120_checked;
<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"/>,
<xref linkend="dbus"/>,
<xref linkend="gobject-introspection"/>, and
<xref linkend="spidermonkey"/>
</para>
<bridgehead renderas="sect4">Recommended (required for GNOME)</bridgehead>
<para role="recommended">
<xref linkend="gtk3"/> and
<xref linkend="gtk4"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<!--<xref linkend="sysprof"/>,-->
<xref linkend="valgrind"/> (for tests),
<ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
<ulink url="https://github.com/linux-test-project/lcov">LCOV</ulink>,
<ulink url="&sysprof-url;">sysprof</ulink>, and
<ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Gjs</title>
<para>
Install <application>Gjs</application> by running the following
commands:
</para>
<screen><userinput>mkdir gjs-build &amp;&amp;
cd gjs-build &amp;&amp;
meson setup --prefix=/usr \
--buildtype=release \
--wrap-mode=nofallback \
.. &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, issue: <command>ninja test</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/meson-buildtype-release.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/meson-wrap-nofallback.xml"/>
<para>
<option>-Dprofiler=disabled</option>: prevents building the profiler
backend even if <ulink url="&sysprof-url;">sysprof</ulink> is installed.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
gjs (symlink) and gjs-console
</seg>
<seg>
libgjs.so
</seg>
<seg>
/usr/include/gjs-1.0,
/usr/lib/gjs,
/usr/libexec/installed-tests/gjs,
/usr/share/gjs-1.0, and
/usr/share/installed-tests/gjs
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gjs-console">
<term><command>gjs-console</command></term>
<listitem>
<para>
contains a console to run <application>JavaScript</application>
commands
</para>
<indexterm zone="gjs gjs-console">
<primary sortas="b-gjs-console">gjs-console</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgjs">
<term><filename class="libraryfile">libgjs.so</filename></term>
<listitem>
<para>
contains the <application>GNOME</application> JavaScript bindings
</para>
<indexterm zone="gjs libgjs">
<primary sortas="c-libgjs">libgjs.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>