meson.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <sect1 id="ch-system-meson" role="wrap">
  8. <?dbhtml filename="meson.html"?>
  9. <sect1info condition="script">
  10. <productname>meson</productname>
  11. <productnumber>&meson-version;</productnumber>
  12. <address>&meson-url;</address>
  13. </sect1info>
  14. <title>Meson-&meson-version;</title>
  15. <indexterm zone="ch-system-meson">
  16. <primary sortas="a-Meson">Meson</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>Meson is an open source build system meant to be both extremely fast
  21. and as user friendly as possible.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&meson-fin-sbu;</seg>
  27. <seg>&meson-fin-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. <tip revision="sysv">
  31. <para>This section is not strictly required for LFS if not using
  32. systemd. On the other hand, meson/ninja is a powerful build system,
  33. which is expected to be used more and more often. It is required for
  34. several packages in <ulink url="&blfs-book;">the BLFS
  35. book</ulink>.</para>
  36. </tip>
  37. </sect2>
  38. <sect2 role="installation">
  39. <title>Installation of Meson</title>
  40. <para>Compile Meson with the following command:</para>
  41. <screen><userinput remap="make">python3 setup.py build</userinput></screen>
  42. <para>This package does not come with a test suite.</para>
  43. <para>Install the package:</para>
  44. <screen><userinput remap="install">python3 setup.py install --root=dest
  45. cp -rv dest/* /</userinput></screen>
  46. <variablelist>
  47. <title>The meaning of the install parameters:</title>
  48. <varlistentry>
  49. <term><parameter>--root=dest</parameter></term>
  50. <listitem>
  51. <para>By default <command>python3 setup.py install</command>
  52. installs various files (such as man pages) into Python Eggs.
  53. With a specified root location, <command>setup.py</command> installs
  54. these files into a standard hierarchy. Then the hierarchy
  55. can just be copied to the standard location.
  56. </para>
  57. </listitem>
  58. </varlistentry>
  59. </variablelist>
  60. </sect2>
  61. <sect2 id="contents-meson" role="content">
  62. <title>Contents of Meson</title>
  63. <segmentedlist>
  64. <segtitle>Installed programs</segtitle>
  65. <segtitle>Installed directory</segtitle>
  66. <seglistitem>
  67. <seg>meson</seg>
  68. <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>
  69. </seglistitem>
  70. </segmentedlist>
  71. <variablelist>
  72. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  73. <?dbfo list-presentation="list"?>
  74. <?dbhtml list-presentation="table"?>
  75. <varlistentry id="meson">
  76. <term><command>meson</command></term>
  77. <listitem>
  78. <para>A high productivity build system</para>
  79. <indexterm zone="ch-system-meson meson">
  80. <primary sortas="b-meson">meson</primary>
  81. </indexterm>
  82. </listitem>
  83. </varlistentry>
  84. </variablelist>
  85. </sect2>
  86. </sect1>