2017-09-23 23:22:37 +01: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;
]>
<sect1 id= "ch-system-meson" role= "wrap" >
<?dbhtml filename="meson.html"?>
<sect1info condition= "script" >
<productname > meson</productname>
<productnumber > &meson-version; </productnumber>
<address > &meson-url; </address>
</sect1info>
<title > Meson-&meson-version; </title>
<indexterm zone= "ch-system-meson" >
<primary sortas= "a-Meson" > Meson</primary>
</indexterm>
<sect2 role= "package" >
<title />
<para > Meson is an open source build system meant to be both extremely fast,
and, even more importantly, as user friendly as possible.</para>
<segmentedlist >
<segtitle > &buildtime; </segtitle>
<segtitle > &diskspace; </segtitle>
<seglistitem >
<seg > &meson-ch6-sbu; </seg>
<seg > &meson-ch6-du; </seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role= "installation" >
<title > Installation of Meson</title>
2020-01-10 03:05:04 +00:00
<!--
2019-12-10 15:50:31 +00:00
<para > Apply a fix from upstream to fix a regression:</para>
2019-12-10 22:43:13 +00:00
<screen > <userinput remap= "pre" > sed -i "s@isfile(a)@& and not a.startswith('/dev')@" mesonbuild/interpreter.py</userinput> </screen>
2020-01-10 03:05:04 +00:00
-->
2017-09-23 23:22:37 +01:00
<para > Compile Meson with the following command:</para>
<screen > <userinput remap= "make" > python3 setup.py build</userinput> </screen>
<para > This package does not come with a test suite.</para>
<para > Install the package:</para>
2018-07-08 21:23:05 +01:00
<screen > <userinput remap= "install" > python3 setup.py install --root=dest
cp -rv dest/* /</userinput> </screen>
<variablelist >
<title > The meaning of the install parameters:</title>
<varlistentry >
<term > <parameter > --root=dest</parameter> </term>
<listitem >
<para > By default <command > python3 setup.py install</command>
installs various files (such as man pages) into Python Eggs.
With a specified root location, <command > setup.py</command> installs
these files into a standard hierarchy. Then we can just copy
the hierarchy so the files will be in the standard location.
</para>
</listitem>
</varlistentry>
</variablelist>
2017-09-23 23:22:37 +01:00
</sect2>
<sect2 id= "contents-meson" role= "content" >
<title > Contents of Meson</title>
<segmentedlist >
2018-04-16 17:48:09 +01:00
<segtitle > Installed programs</segtitle>
2017-09-23 23:22:37 +01:00
<segtitle > Installed directory</segtitle>
<seglistitem >
2019-03-13 17:58:54 +00:00
<seg > meson</seg>
<seg > /usr/lib/python&python-minor; /site-packages/meson-&meson-version; -py&python-minor; .egg-info and /usr/lib/python&python-minor; /site-packages/mesonbuild</seg>
2017-09-23 23:22:37 +01:00
</seglistitem>
</segmentedlist>
<variablelist >
<bridgehead renderas= "sect3" > Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
2018-04-16 17:48:09 +01:00
<varlistentry id= "meson" >
<term > <command > meson</command> </term>
2017-09-23 23:22:37 +01:00
<listitem >
2018-04-16 17:48:09 +01:00
<para > A high productivity build system</para>
<indexterm zone= "ch-system-meson meson" >
<primary sortas= "b-meson" > meson</primary>
2017-09-23 23:22:37 +01:00
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>