1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 designed to be both extremely fast
|
---|
27 | and as user friendly as possible.</para>
|
---|
28 |
|
---|
29 | <segmentedlist>
|
---|
30 | <segtitle>&buildtime;</segtitle>
|
---|
31 | <segtitle>&diskspace;</segtitle>
|
---|
32 | <seglistitem>
|
---|
33 | <seg>&meson-fin-sbu;</seg>
|
---|
34 | <seg>&meson-fin-du;</seg>
|
---|
35 | </seglistitem>
|
---|
36 | </segmentedlist>
|
---|
37 |
|
---|
38 | </sect2>
|
---|
39 |
|
---|
40 | <sect2 role="installation">
|
---|
41 | <title>Installation of Meson</title>
|
---|
42 | <!--
|
---|
43 | <para>First, apply a patch that fixes an issue identified upstream:</para>
|
---|
44 |
|
---|
45 | <screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
|
---|
46 | -->
|
---|
47 | <para>Compile Meson with the following command:</para>
|
---|
48 |
|
---|
49 | <screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
50 |
|
---|
51 | <para>The test suite requires some packages outside the scope of LFS.</para>
|
---|
52 |
|
---|
53 | <para>Install the package:</para>
|
---|
54 |
|
---|
55 | <screen><userinput remap="install">pip3 install --no-index --find-links dist meson
|
---|
56 | install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
|
---|
57 | install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen>
|
---|
58 |
|
---|
59 | <variablelist>
|
---|
60 | <title>The meaning of the install parameters:</title>
|
---|
61 |
|
---|
62 | <varlistentry>
|
---|
63 | <term><parameter>-w dist</parameter></term>
|
---|
64 | <listitem>
|
---|
65 | <para>Puts the created wheels into the
|
---|
66 | <filename class='directory'>dist</filename> directory.</para>
|
---|
67 | </listitem>
|
---|
68 | </varlistentry>
|
---|
69 |
|
---|
70 | <varlistentry>
|
---|
71 | <term><parameter>--find-links dist</parameter></term>
|
---|
72 | <listitem>
|
---|
73 | <para>Installs wheels from the
|
---|
74 | <filename class='directory'>dist</filename> directory.</para>
|
---|
75 | </listitem>
|
---|
76 | </varlistentry>
|
---|
77 |
|
---|
78 | </variablelist>
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 id="contents-meson" role="content">
|
---|
82 | <title>Contents of Meson</title>
|
---|
83 |
|
---|
84 | <segmentedlist>
|
---|
85 | <segtitle>Installed programs</segtitle>
|
---|
86 | <segtitle>Installed directory</segtitle>
|
---|
87 |
|
---|
88 | <seglistitem>
|
---|
89 | <seg>meson</seg>
|
---|
90 | <seg>
|
---|
91 | /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and
|
---|
92 | /usr/lib/python&python-minor;/site-packages/mesonbuild
|
---|
93 | </seg>
|
---|
94 | </seglistitem>
|
---|
95 | </segmentedlist>
|
---|
96 |
|
---|
97 | <variablelist>
|
---|
98 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
99 | <?dbfo list-presentation="list"?>
|
---|
100 | <?dbhtml list-presentation="table"?>
|
---|
101 |
|
---|
102 | <varlistentry id="meson">
|
---|
103 | <term><command>meson</command></term>
|
---|
104 | <listitem>
|
---|
105 | <para>A high productivity build system</para>
|
---|
106 | <indexterm zone="ch-system-meson meson">
|
---|
107 | <primary sortas="b-meson">meson</primary>
|
---|
108 | </indexterm>
|
---|
109 | </listitem>
|
---|
110 | </varlistentry>
|
---|
111 |
|
---|
112 | </variablelist>
|
---|
113 |
|
---|
114 | </sect2>
|
---|
115 |
|
---|
116 | </sect1>
|
---|
117 |
|
---|