source: chapter06/meson.xml@ d47b15b

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since d47b15b was d47b15b, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Fix failures in texinfo regression tests.
Update to linux-4.17.5.
Update to meson-0.47.0.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11436 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.9 KB
Line 
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>Make a fix from upstream:</para>
44
45<screen><userinput remap="pre">sed -i '309 s/os.getcwd/-C, &amp;/' mesonbuild/minstall.py</userinput></screen>
46
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
55<screen><userinput remap="install">python3 setup.py install --root=dest
56cp -rv dest/* /</userinput></screen>
57<!--
58 <para>At last, move Meson man pages to correct location:</para>
59
60<screen><userinput remap="install">mv -v /usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg/share/man/man1/*.1 \
61 /usr/share/man/man1
62rm -r /usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg/share</userinput></screen>
63-->
64
65 <variablelist>
66 <title>The meaning of the install parameters:</title>
67
68 <varlistentry>
69 <term><parameter>--root=dest</parameter></term>
70 <listitem>
71 <para>By default <command>python3 setup.py install</command>
72 installs various files (such as man pages) into Python Eggs.
73 With a specified root location, <command>setup.py</command> installs
74 these files into a standard hierarchy. Then we can just copy
75 the hierarchy so the files will be in the standard location.
76 </para>
77 </listitem>
78 </varlistentry>
79
80 </variablelist>
81 </sect2>
82
83 <sect2 id="contents-meson" role="content">
84 <title>Contents of Meson</title>
85
86 <segmentedlist>
87 <segtitle>Installed programs</segtitle>
88 <segtitle>Installed directory</segtitle>
89
90 <seglistitem>
91 <seg>meson, mesonconf, mesonintrospect, mesontest, and wraptool</seg>
92 <seg>/usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg</seg>
93 </seglistitem>
94 </segmentedlist>
95
96 <variablelist>
97 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
98 <?dbfo list-presentation="list"?>
99 <?dbhtml list-presentation="table"?>
100
101 <varlistentry id="meson">
102 <term><command>meson</command></term>
103 <listitem>
104 <para>A high productivity build system</para>
105 <indexterm zone="ch-system-meson meson">
106 <primary sortas="b-meson">meson</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="mesonconf">
112 <term><command>mesonconf</command></term>
113 <listitem>
114 <para>A tool to configure Meson builds</para>
115 <indexterm zone="ch-system-meson mesonconf">
116 <primary sortas="b-mesonconf">mesonconf</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="mesonintrospect">
122 <term><command>mesonintrospect</command></term>
123 <listitem>
124 <para>A tool to extract information about a Meson build</para>
125 <indexterm zone="ch-system-meson mesonintrospect">
126 <primary sortas="b-mesonintrospect">mesonintrospect</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="mesontest">
132 <term><command>mesontest</command></term>
133 <listitem>
134 <para>Test tool for the Meson build system</para>
135 <indexterm zone="ch-system-meson mesontest">
136 <primary sortas="b-mesontest">mesontest</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="wraptool">
142 <term><command>wraptool</command></term>
143 <listitem>
144 <para>Source dependency downloader</para>
145 <indexterm zone="ch-system-meson wraptool">
146 <primary sortas="b-wraptool">wraptool</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150 </variablelist>
151
152 </sect2>
153
154</sect1>
155
Note: See TracBrowser for help on using the repository browser.