ninja.po 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><sect1info><address>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:14
  20. #, no-wrap
  21. msgid "&ninja-url;"
  22. msgstr ""
  23. #. type: Content of: <sect1><sect1info>
  24. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:12
  25. msgid ""
  26. "<productname>ninja</productname> "
  27. "<productnumber>&ninja-version;</productnumber> <placeholder type=\"address\" "
  28. "id=\"0\"/>"
  29. msgstr ""
  30. #. type: Content of: <sect1><title>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:17
  32. msgid "Ninja-&ninja-version;"
  33. msgstr ""
  34. #. type: Content of: <sect1><indexterm><primary>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:20
  36. msgid "Ninja"
  37. msgstr ""
  38. #. type: Content of: <sect1><sect2><para>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:26
  40. msgid "Ninja is a small build system with a focus on speed."
  41. msgstr ""
  42. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:29
  44. msgid "&buildtime;"
  45. msgstr ""
  46. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  47. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:30
  48. msgid "&diskspace;"
  49. msgstr ""
  50. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  51. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:33
  52. msgid "&ninja-fin-sbu;"
  53. msgstr ""
  54. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  55. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:34
  56. msgid "&ninja-fin-du;"
  57. msgstr ""
  58. #. type: Content of: <sect1><sect2><tip><para>
  59. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:39
  60. msgid ""
  61. "This section is not strictly required for LFS if not using systemd. On the "
  62. "other hand, ninja associated to meson makes a powerful build system "
  63. "combination, which is expected to be used more and more often. It is "
  64. "required for several packages in <ulink url=\"&blfs-book;\">the BLFS "
  65. "book</ulink>."
  66. msgstr ""
  67. #. type: Content of: <sect1><sect2><title>
  68. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:50
  69. msgid "Installation of Ninja"
  70. msgstr ""
  71. #. type: Content of: <sect1><sect2><para>
  72. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:52
  73. msgid ""
  74. "When run, ninja normally runs a maximum number of processes in parallel. By "
  75. "default this is the number of cores on the system plus two. In some cases "
  76. "this can overheat a CPU or run a system out of memory. If run from the "
  77. "command line, passing a -jN parameter will limit the number of parallel "
  78. "processes, but some packages embed the execution of ninja and do not pass a "
  79. "-j parameter."
  80. msgstr ""
  81. #. Using <command>
  82. #. here to make the output bold. We really don't want
  83. #. users setting this now and experience shows that many users blindly
  84. #. copy/paste anything in a box.
  85. #. type: Content of: <sect1><sect2><para><screen>
  86. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:67
  87. #, no-wrap
  88. msgid "export NINJAJOBS=4"
  89. msgstr ""
  90. #. type: Content of: <sect1><sect2><para>
  91. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:59
  92. msgid ""
  93. "Using the <emphasis>optional</emphasis> procedure below allows a user to "
  94. "limit the number of parallel processes via an environment variable, "
  95. "NINJAJOBS. <command>For example</command>, setting: <placeholder "
  96. "type=\"screen\" id=\"0\"/> will limit ninja to four parallel processes."
  97. msgstr ""
  98. #. type: Content of: <sect1><sect2><para>
  99. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:71
  100. msgid ""
  101. "If desired, add the capability to use the environment variable NINJAJOBS by "
  102. "running:"
  103. msgstr ""
  104. #. type: Content of: <sect1><sect2><screen>
  105. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:74
  106. #, no-wrap
  107. msgid ""
  108. "<userinput remap=\"pre\">sed -i '/int Guess/a \\\n"
  109. " int j = 0;\\\n"
  110. " char* jobs = getenv( \"NINJAJOBS\" );\\\n"
  111. " if ( jobs != NULL ) j = atoi( jobs );\\\n"
  112. " if ( j > 0 ) return j;\\\n"
  113. "' src/ninja.cc</userinput>"
  114. msgstr ""
  115. #. type: Content of: <sect1><sect2><para>
  116. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:81
  117. msgid "Build Ninja with:"
  118. msgstr ""
  119. #. type: Content of: <sect1><sect2><screen>
  120. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:83
  121. #, no-wrap
  122. msgid "<userinput remap=\"configure\">python3 configure.py --bootstrap</userinput>"
  123. msgstr ""
  124. #. type: Content of: <sect1><sect2><variablelist><title>
  125. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:86
  126. msgid "The meaning of the build option:"
  127. msgstr ""
  128. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  129. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:89
  130. msgid "<parameter>--bootstrap</parameter>"
  131. msgstr ""
  132. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  133. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:91
  134. msgid "This parameter forces ninja to rebuild itself for the current system."
  135. msgstr ""
  136. #. type: Content of: <sect1><sect2><para>
  137. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:98
  138. msgid "To test the results, issue:"
  139. msgstr ""
  140. #. type: Content of: <sect1><sect2><screen>
  141. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:100
  142. #, no-wrap
  143. msgid ""
  144. "<userinput remap=\"test\">./ninja ninja_test\n"
  145. "./ninja_test --gtest_filter=-SubprocessTest.SetWithLots</userinput>"
  146. msgstr ""
  147. #. type: Content of: <sect1><sect2><para>
  148. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:103
  149. msgid "Install the package:"
  150. msgstr ""
  151. #. type: Content of: <sect1><sect2><screen>
  152. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:105
  153. #, no-wrap
  154. msgid ""
  155. "<userinput remap=\"install\">install -vm755 ninja /usr/bin/\n"
  156. "install -vDm644 misc/bash-completion "
  157. "/usr/share/bash-completion/completions/ninja\n"
  158. "install -vDm644 misc/zsh-completion "
  159. "/usr/share/zsh/site-functions/_ninja</userinput>"
  160. msgstr ""
  161. #. type: Content of: <sect1><sect2><title>
  162. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:112
  163. msgid "Contents of Ninja"
  164. msgstr ""
  165. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  166. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:115
  167. msgid "Installed programs"
  168. msgstr ""
  169. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  170. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:118
  171. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:131
  172. msgid "ninja"
  173. msgstr ""
  174. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  175. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:122
  176. msgid "Short Descriptions"
  177. msgstr ""
  178. #. type: Content of: <sect1><sect2><variablelist>
  179. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:123
  180. msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  181. msgstr ""
  182. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  183. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:127
  184. msgid "<command>ninja</command>"
  185. msgstr ""
  186. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  187. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/ninja.xml:129
  188. msgid "is the Ninja build system."
  189. msgstr ""