meson.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. <!-- Applied in 0.56.2
  41. <para>First, apply a patch that fixes an issue with pkgconfig files
  42. for static libraries:</para>
  43. <screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
  44. -->
  45. <para>Compile Meson with the following command:</para>
  46. <screen><userinput remap="make">python3 setup.py build</userinput></screen>
  47. <para>This package does not come with a test suite.</para>
  48. <para>Install the package:</para>
  49. <screen><userinput remap="install">python3 setup.py install --root=dest
  50. cp -rv dest/* /</userinput></screen>
  51. <variablelist>
  52. <title>The meaning of the install parameters:</title>
  53. <varlistentry>
  54. <term><parameter>--root=dest</parameter></term>
  55. <listitem>
  56. <para>By default <command>python3 setup.py install</command>
  57. installs various files (such as man pages) into Python Eggs.
  58. With a specified root location, <command>setup.py</command> installs
  59. these files into a standard hierarchy. Then the hierarchy
  60. can just be copied to the standard location.
  61. </para>
  62. </listitem>
  63. </varlistentry>
  64. </variablelist>
  65. </sect2>
  66. <sect2 id="contents-meson" role="content">
  67. <title>Contents of Meson</title>
  68. <segmentedlist>
  69. <segtitle>Installed programs</segtitle>
  70. <segtitle>Installed directory</segtitle>
  71. <seglistitem>
  72. <seg>meson</seg>
  73. <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>
  74. </seglistitem>
  75. </segmentedlist>
  76. <variablelist>
  77. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  78. <?dbfo list-presentation="list"?>
  79. <?dbhtml list-presentation="table"?>
  80. <varlistentry id="meson">
  81. <term><command>meson</command></term>
  82. <listitem>
  83. <para>A high productivity build system</para>
  84. <indexterm zone="ch-system-meson meson">
  85. <primary sortas="b-meson">meson</primary>
  86. </indexterm>
  87. </listitem>
  88. </varlistentry>
  89. </variablelist>
  90. </sect2>
  91. </sect1>