[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 |
|
---|
| 43 | <para>Compile Meson with the following command:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput remap="make">python3 setup.py build</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para>This package does not come with a test suite.</para>
|
---|
| 48 |
|
---|
| 49 | <para>Install the package:</para>
|
---|
| 50 |
|
---|
[d47b15b] | 51 | <screen><userinput remap="install">python3 setup.py install --root=dest
|
---|
| 52 | cp -rv dest/* /</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | <variablelist>
|
---|
| 55 | <title>The meaning of the install parameters:</title>
|
---|
| 56 |
|
---|
| 57 | <varlistentry>
|
---|
| 58 | <term><parameter>--root=dest</parameter></term>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>By default <command>python3 setup.py install</command>
|
---|
| 61 | installs various files (such as man pages) into Python Eggs.
|
---|
| 62 | With a specified root location, <command>setup.py</command> installs
|
---|
| 63 | these files into a standard hierarchy. Then we can just copy
|
---|
| 64 | the hierarchy so the files will be in the standard location.
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </varlistentry>
|
---|
| 68 |
|
---|
| 69 | </variablelist>
|
---|
[b0aabe0] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 id="contents-meson" role="content">
|
---|
| 73 | <title>Contents of Meson</title>
|
---|
| 74 |
|
---|
| 75 | <segmentedlist>
|
---|
[f283e24] | 76 | <segtitle>Installed programs</segtitle>
|
---|
[b0aabe0] | 77 | <segtitle>Installed directory</segtitle>
|
---|
| 78 |
|
---|
| 79 | <seglistitem>
|
---|
[f283e24] | 80 | <seg>meson, mesonconf, mesonintrospect, mesontest, and wraptool</seg>
|
---|
[e6035d6] | 81 | <seg>/usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg</seg>
|
---|
[b0aabe0] | 82 | </seglistitem>
|
---|
| 83 | </segmentedlist>
|
---|
| 84 |
|
---|
| 85 | <variablelist>
|
---|
| 86 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 87 | <?dbfo list-presentation="list"?>
|
---|
| 88 | <?dbhtml list-presentation="table"?>
|
---|
| 89 |
|
---|
[f283e24] | 90 | <varlistentry id="meson">
|
---|
| 91 | <term><command>meson</command></term>
|
---|
[b0aabe0] | 92 | <listitem>
|
---|
[f283e24] | 93 | <para>A high productivity build system</para>
|
---|
| 94 | <indexterm zone="ch-system-meson meson">
|
---|
| 95 | <primary sortas="b-meson">meson</primary>
|
---|
[b0aabe0] | 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
[f283e24] | 100 | <varlistentry id="mesonconf">
|
---|
| 101 | <term><command>mesonconf</command></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>A tool to configure Meson builds</para>
|
---|
| 104 | <indexterm zone="ch-system-meson mesonconf">
|
---|
| 105 | <primary sortas="b-mesonconf">mesonconf</primary>
|
---|
| 106 | </indexterm>
|
---|
| 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
| 109 |
|
---|
| 110 | <varlistentry id="mesonintrospect">
|
---|
| 111 | <term><command>mesonintrospect</command></term>
|
---|
| 112 | <listitem>
|
---|
| 113 | <para>A tool to extract information about a Meson build</para>
|
---|
| 114 | <indexterm zone="ch-system-meson mesonintrospect">
|
---|
| 115 | <primary sortas="b-mesonintrospect">mesonintrospect</primary>
|
---|
| 116 | </indexterm>
|
---|
| 117 | </listitem>
|
---|
| 118 | </varlistentry>
|
---|
| 119 |
|
---|
| 120 | <varlistentry id="mesontest">
|
---|
| 121 | <term><command>mesontest</command></term>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>Test tool for the Meson build system</para>
|
---|
| 124 | <indexterm zone="ch-system-meson mesontest">
|
---|
| 125 | <primary sortas="b-mesontest">mesontest</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </listitem>
|
---|
| 128 | </varlistentry>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="wraptool">
|
---|
| 131 | <term><command>wraptool</command></term>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>Source dependency downloader</para>
|
---|
| 134 | <indexterm zone="ch-system-meson wraptool">
|
---|
| 135 | <primary sortas="b-wraptool">wraptool</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
[b0aabe0] | 139 | </variablelist>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | </sect1>
|
---|
| 144 |
|
---|