[b0aabe0] | 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 |
|
---|
| 8 | <sect1 id="ch-system-meson" role="wrap">
|
---|
| 9 | <?dbhtml filename="meson.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>meson</productname>
|
---|
| 13 | <productnumber>&meson-version;</productnumber>
|
---|
| 14 | <address>&meson-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Meson-&meson-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-meson">
|
---|
| 20 | <primary sortas="a-Meson">Meson</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>Meson is an open source build system meant to be both extremely fast,
|
---|
| 27 | and, even more importantly, as user friendly as possible.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 | <seglistitem>
|
---|
| 33 | <seg>&meson-ch6-sbu;</seg>
|
---|
| 34 | <seg>&meson-ch6-du;</seg>
|
---|
| 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
| 37 |
|
---|
| 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Meson</title>
|
---|
| 42 |
|
---|
[3ca4306] | 43 | <para>Apply a fix from upstream to fix a regression:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput remap="pre">sed -i "s@isfile(a)@& and not a.startswith('/dev')@" mesonbuild/interpreter.py</userinput></screen>
|
---|
| 46 |
|
---|
[b0aabe0] | 47 | <para>Compile Meson with the following command:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput remap="make">python3 setup.py build</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | <para>This package does not come with a test suite.</para>
|
---|
| 52 |
|
---|
| 53 | <para>Install the package:</para>
|
---|
| 54 |
|
---|
[d47b15b] | 55 | <screen><userinput remap="install">python3 setup.py install --root=dest
|
---|
| 56 | cp -rv dest/* /</userinput></screen>
|
---|
| 57 |
|
---|
| 58 | <variablelist>
|
---|
| 59 | <title>The meaning of the install parameters:</title>
|
---|
| 60 |
|
---|
| 61 | <varlistentry>
|
---|
| 62 | <term><parameter>--root=dest</parameter></term>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>By default <command>python3 setup.py install</command>
|
---|
| 65 | installs various files (such as man pages) into Python Eggs.
|
---|
| 66 | With a specified root location, <command>setup.py</command> installs
|
---|
| 67 | these files into a standard hierarchy. Then we can just copy
|
---|
| 68 | the hierarchy so the files will be in the standard location.
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </varlistentry>
|
---|
| 72 |
|
---|
| 73 | </variablelist>
|
---|
[b0aabe0] | 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 id="contents-meson" role="content">
|
---|
| 77 | <title>Contents of Meson</title>
|
---|
| 78 |
|
---|
| 79 | <segmentedlist>
|
---|
[f283e24] | 80 | <segtitle>Installed programs</segtitle>
|
---|
[b0aabe0] | 81 | <segtitle>Installed directory</segtitle>
|
---|
| 82 |
|
---|
| 83 | <seglistitem>
|
---|
[78cc3be] | 84 | <seg>meson</seg>
|
---|
| 85 | <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>
|
---|
[b0aabe0] | 86 | </seglistitem>
|
---|
| 87 | </segmentedlist>
|
---|
| 88 |
|
---|
| 89 | <variablelist>
|
---|
| 90 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 91 | <?dbfo list-presentation="list"?>
|
---|
| 92 | <?dbhtml list-presentation="table"?>
|
---|
| 93 |
|
---|
[f283e24] | 94 | <varlistentry id="meson">
|
---|
| 95 | <term><command>meson</command></term>
|
---|
[b0aabe0] | 96 | <listitem>
|
---|
[f283e24] | 97 | <para>A high productivity build system</para>
|
---|
| 98 | <indexterm zone="ch-system-meson meson">
|
---|
| 99 | <primary sortas="b-meson">meson</primary>
|
---|
[b0aabe0] | 100 | </indexterm>
|
---|
| 101 | </listitem>
|
---|
| 102 | </varlistentry>
|
---|
| 103 |
|
---|
| 104 | </variablelist>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | </sect1>
|
---|
| 109 |
|
---|