meson.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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, even more importantly, 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. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Meson</title>
  33. <!--
  34. <para>Apply a fix from upstream to fix a regression:</para>
  35. <screen><userinput remap="pre">sed -i "s@isfile(a)@&amp; and not a.startswith('/dev')@" mesonbuild/interpreter.py</userinput></screen>
  36. -->
  37. <para>Compile Meson with the following command:</para>
  38. <screen><userinput remap="make">python3 setup.py build</userinput></screen>
  39. <para>This package does not come with a test suite.</para>
  40. <para>Install the package:</para>
  41. <screen><userinput remap="install">python3 setup.py install --root=dest
  42. cp -rv dest/* /</userinput></screen>
  43. <variablelist>
  44. <title>The meaning of the install parameters:</title>
  45. <varlistentry>
  46. <term><parameter>--root=dest</parameter></term>
  47. <listitem>
  48. <para>By default <command>python3 setup.py install</command>
  49. installs various files (such as man pages) into Python Eggs.
  50. With a specified root location, <command>setup.py</command> installs
  51. these files into a standard hierarchy. Then we can just copy
  52. the hierarchy so the files will be in the standard location.
  53. </para>
  54. </listitem>
  55. </varlistentry>
  56. </variablelist>
  57. </sect2>
  58. <sect2 id="contents-meson" role="content">
  59. <title>Contents of Meson</title>
  60. <segmentedlist>
  61. <segtitle>Installed programs</segtitle>
  62. <segtitle>Installed directory</segtitle>
  63. <seglistitem>
  64. <seg>meson</seg>
  65. <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>
  66. </seglistitem>
  67. </segmentedlist>
  68. <variablelist>
  69. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  70. <?dbfo list-presentation="list"?>
  71. <?dbhtml list-presentation="table"?>
  72. <varlistentry id="meson">
  73. <term><command>meson</command></term>
  74. <listitem>
  75. <para>A high productivity build system</para>
  76. <indexterm zone="ch-system-meson meson">
  77. <primary sortas="b-meson">meson</primary>
  78. </indexterm>
  79. </listitem>
  80. </varlistentry>
  81. </variablelist>
  82. </sect2>
  83. </sect1>