source: chapter08/meson.xml@ a2434bd4

multilib
Last change on this file since a2434bd4 was 75d64be, checked in by David Bryant <davidbryant@…>, 18 months ago

Improve English idiom. Use the indicative mood.

  • Property mode set to 100644
File size: 3.8 KB
RevLine 
[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
[75d64be]26 <para>Meson is an open source build system designed to be both extremely fast
[6a156bab]27 and as user friendly as possible.</para>
[b0aabe0]28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32 <seglistitem>
[fb386e0]33 <seg>&meson-fin-sbu;</seg>
34 <seg>&meson-fin-du;</seg>
[b0aabe0]35 </seglistitem>
36 </segmentedlist>
37
[1cd5961]38 <tip revision="sysv">
[75d64be]39 <para>This section is not strictly required when LFS does not use
40 systemd. On the other hand, Meson, along with Ninja, makes
41 a powerful build system combination,
42 which will probably be used more and more often. It is required for
[1cd5961]43 several packages in <ulink url="&blfs-book;">the BLFS
44 book</ulink>.</para>
45 </tip>
46
[b0aabe0]47 </sect2>
48
49 <sect2 role="installation">
50 <title>Installation of Meson</title>
[18c1947]51<!--
[ade3efa]52 <para>First, apply a patch that fixes an issue identified upstream:</para>
[02796f8]53
54<screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
[18c1947]55-->
[b0aabe0]56 <para>Compile Meson with the following command:</para>
57
[97497444]58<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
[b0aabe0]59
[75d64be]60 <para>The test suite requires some packages outside the scope of LFS.</para>
[b0aabe0]61
62 <para>Install the package:</para>
63
[97497444]64<screen><userinput remap="install">pip3 install --no-index --find-links dist meson
[0d0e874]65install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
66install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen>
[d47b15b]67
68 <variablelist>
69 <title>The meaning of the install parameters:</title>
[d672ab7]70
[d47b15b]71 <varlistentry>
[97497444]72 <term><parameter>-w dist</parameter></term>
[d47b15b]73 <listitem>
[75d64be]74 <para>Puts the created wheels into the
[ee16e55]75 <filename class='directory'>dist</filename> directory.</para>
[97497444]76 </listitem>
77 </varlistentry>
78
79 <varlistentry>
80 <term><parameter>--find-links dist</parameter></term>
81 <listitem>
[75d64be]82 <para>Installs wheels from the
[ee16e55]83 <filename class='directory'>dist</filename> directory.</para>
[d47b15b]84 </listitem>
85 </varlistentry>
86
87 </variablelist>
[b0aabe0]88 </sect2>
89
90 <sect2 id="contents-meson" role="content">
91 <title>Contents of Meson</title>
92
93 <segmentedlist>
[f283e24]94 <segtitle>Installed programs</segtitle>
[b0aabe0]95 <segtitle>Installed directory</segtitle>
96
97 <seglistitem>
[78cc3be]98 <seg>meson</seg>
[97497444]99 <seg>
[7bd0378]100 /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and
[97497444]101 /usr/lib/python&python-minor;/site-packages/mesonbuild
102 </seg>
[b0aabe0]103 </seglistitem>
104 </segmentedlist>
105
106 <variablelist>
107 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
108 <?dbfo list-presentation="list"?>
109 <?dbhtml list-presentation="table"?>
110
[f283e24]111 <varlistentry id="meson">
[c37e846]112 <term><command>meson</command></term>
[b0aabe0]113 <listitem>
[f283e24]114 <para>A high productivity build system</para>
115 <indexterm zone="ch-system-meson meson">
116 <primary sortas="b-meson">meson</primary>
[b0aabe0]117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 </variablelist>
122
123 </sect2>
124
125</sect1>
126
Note: See TracBrowser for help on using the repository browser.