meson.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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/* /
  51. install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson
  52. install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen>
  53. <variablelist>
  54. <title>The meaning of the install parameters:</title>
  55. <varlistentry>
  56. <term><parameter>--root=dest</parameter></term>
  57. <listitem>
  58. <para>By default <command>python3 setup.py install</command>
  59. installs various files (such as man pages) into Python Eggs.
  60. With a specified root location, <command>setup.py</command> installs
  61. these files into a standard hierarchy. Then the hierarchy
  62. can just be copied to the standard location.
  63. </para>
  64. </listitem>
  65. </varlistentry>
  66. </variablelist>
  67. </sect2>
  68. <sect2 id="contents-meson" role="content">
  69. <title>Contents of Meson</title>
  70. <segmentedlist>
  71. <segtitle>Installed programs</segtitle>
  72. <segtitle>Installed directory</segtitle>
  73. <seglistitem>
  74. <seg>meson</seg>
  75. <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>
  76. </seglistitem>
  77. </segmentedlist>
  78. <variablelist>
  79. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  80. <?dbfo list-presentation="list"?>
  81. <?dbhtml list-presentation="table"?>
  82. <varlistentry id="meson">
  83. <term><command>meson</command></term>
  84. <listitem>
  85. <para>A high productivity build system</para>
  86. <indexterm zone="ch-system-meson meson">
  87. <primary sortas="b-meson">meson</primary>
  88. </indexterm>
  89. </listitem>
  90. </varlistentry>
  91. </variablelist>
  92. </sect2>
  93. </sect1>