source: chapter08/meson.xml@ 02796f8

10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 ml-11.0 multilib trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since 02796f8 was 02796f8, checked in by Ken Moffat <ken@…>, 12 months ago

Patch meson so that the pkgconfig file for sysprof in BLFS is created correctly.

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

  • Property mode set to 100644
File size: 3.5 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 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 <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
46 </sect2>
47
48 <sect2 role="installation">
49 <title>Installation of Meson</title>
50
51 <para>First, apply a patch that fixes an issue with pkgconfig files
52 for static libraries:</para>
53
54<screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
55
56 <para>Compile Meson with the following command:</para>
57
58<screen><userinput remap="make">python3 setup.py build</userinput></screen>
59
60 <para>This package does not come with a test suite.</para>
61
62 <para>Install the package:</para>
63
64<screen><userinput remap="install">python3 setup.py install --root=dest
65cp -rv dest/* /</userinput></screen>
66
67 <variablelist>
68 <title>The meaning of the install parameters:</title>
69
70 <varlistentry>
71 <term><parameter>--root=dest</parameter></term>
72 <listitem>
73 <para>By default <command>python3 setup.py install</command>
74 installs various files (such as man pages) into Python Eggs.
75 With a specified root location, <command>setup.py</command> installs
76 these files into a standard hierarchy. Then the hierarchy
77 can just be copied to the standard location.
78 </para>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83 </sect2>
84
85 <sect2 id="contents-meson" role="content">
86 <title>Contents of Meson</title>
87
88 <segmentedlist>
89 <segtitle>Installed programs</segtitle>
90 <segtitle>Installed directory</segtitle>
91
92 <seglistitem>
93 <seg>meson</seg>
94 <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>
95 </seglistitem>
96 </segmentedlist>
97
98 <variablelist>
99 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
100 <?dbfo list-presentation="list"?>
101 <?dbhtml list-presentation="table"?>
102
103 <varlistentry id="meson">
104 <term><command>meson</command></term>
105 <listitem>
106 <para>A high productivity build system</para>
107 <indexterm zone="ch-system-meson meson">
108 <primary sortas="b-meson">meson</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 </variablelist>
114
115 </sect2>
116
117</sect1>
118
Note: See TracBrowser for help on using the repository browser.