source: chapter08/meson.xml@ ade3efa

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 arm bdubbs/gcc13 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 ade3efa was ade3efa, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Package updates.
Update to shadow-4.11.1.
Update to readline-8.1.2.
Update to meson-0.61.0.
Update to libpipeline-1.5.5.
Update to bash-5.1.16.

  • 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
[6a156bab]26 <para>Meson is an open source build system meant to be both extremely fast
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">
39 <para>This section is not strictly required for LFS if not using
40 systemd. On the other hand, meson/ninja is a powerful build system,
41 which is expected to be used more and more often. It is required for
42 several packages in <ulink url="&blfs-book;">the BLFS
43 book</ulink>.</para>
44 </tip>
45
[b0aabe0]46 </sect2>
47
48 <sect2 role="installation">
49 <title>Installation of Meson</title>
[1a96e748]50
[ade3efa]51 <para>First, apply a patch that fixes an issue identified upstream:</para>
[02796f8]52
53<screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
[b0aabe0]54 <para>Compile Meson with the following command:</para>
55
[ade3efa]56
[b0aabe0]57<screen><userinput remap="make">python3 setup.py build</userinput></screen>
58
59 <para>This package does not come with a test suite.</para>
60
61 <para>Install the package:</para>
62
[d47b15b]63<screen><userinput remap="install">python3 setup.py install --root=dest
[0d0e874]64cp -rv dest/* /
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>
72 <term><parameter>--root=dest</parameter></term>
73 <listitem>
74 <para>By default <command>python3 setup.py install</command>
75 installs various files (such as man pages) into Python Eggs.
76 With a specified root location, <command>setup.py</command> installs
[6a156bab]77 these files into a standard hierarchy. Then the hierarchy
78 can just be copied to the standard location.
[d47b15b]79 </para>
80 </listitem>
81 </varlistentry>
82
83 </variablelist>
[b0aabe0]84 </sect2>
85
86 <sect2 id="contents-meson" role="content">
87 <title>Contents of Meson</title>
88
89 <segmentedlist>
[f283e24]90 <segtitle>Installed programs</segtitle>
[b0aabe0]91 <segtitle>Installed directory</segtitle>
92
93 <seglistitem>
[78cc3be]94 <seg>meson</seg>
[a9e964e]95 <!-- We are using DESTDIR installation here, so the directory layout
96 is different than other Python modules in LFS
97 (Jinja2 & MarkupSafe). -->
[78cc3be]98 <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]99 </seglistitem>
100 </segmentedlist>
101
102 <variablelist>
103 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
104 <?dbfo list-presentation="list"?>
105 <?dbhtml list-presentation="table"?>
106
[f283e24]107 <varlistentry id="meson">
108 <term><command>meson</command></term>
[b0aabe0]109 <listitem>
[f283e24]110 <para>A high productivity build system</para>
111 <indexterm zone="ch-system-meson meson">
112 <primary sortas="b-meson">meson</primary>
[b0aabe0]113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 </variablelist>
118
119 </sect2>
120
121</sect1>
122
Note: See TracBrowser for help on using the repository browser.