1
0

ncurses.po 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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/chapter06/ncurses.xml:14
  20. #, no-wrap
  21. msgid "&ncurses-url;"
  22. msgstr ""
  23. #. type: Content of: <sect1><sect1info>
  24. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:12
  25. msgid ""
  26. "<productname>ncurses</productname> "
  27. "<productnumber>&ncurses-version;</productnumber> <placeholder "
  28. "type=\"address\" id=\"0\"/>"
  29. msgstr ""
  30. #. type: Content of: <sect1><title>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:17
  32. msgid "Ncurses-&ncurses-version;"
  33. msgstr ""
  34. #. type: Content of: <sect1><indexterm><primary>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:20
  36. msgid "Ncurses"
  37. msgstr ""
  38. #. type: Content of: <sect1><indexterm><secondary>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:21
  40. msgid "tools"
  41. msgstr ""
  42. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:32
  44. msgid "&buildtime;"
  45. msgstr ""
  46. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  47. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:33
  48. msgid "&diskspace;"
  49. msgstr ""
  50. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  51. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:36
  52. msgid "&ncurses-tmp-sbu;"
  53. msgstr ""
  54. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  55. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:37
  56. msgid "&ncurses-tmp-du;"
  57. msgstr ""
  58. #. type: Content of: <sect1><sect2><title>
  59. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:44
  60. msgid "Installation of Ncurses"
  61. msgstr ""
  62. #. type: Content of: <sect1><sect2><para>
  63. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:46
  64. msgid ""
  65. "First, ensure that <command>gawk</command> is found first during "
  66. "configuration:"
  67. msgstr ""
  68. #. type: Content of: <sect1><sect2><screen>
  69. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:48
  70. #, no-wrap
  71. msgid "<userinput remap=\"pre\">sed -i s/mawk// configure</userinput>"
  72. msgstr ""
  73. #. type: Content of: <sect1><sect2><para>
  74. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:50
  75. msgid ""
  76. "Then, run the following commands to build the <quote>tic</quote> program on "
  77. "the build host:"
  78. msgstr ""
  79. #. type: Content of: <sect1><sect2><screen>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:53
  81. #, no-wrap
  82. msgid ""
  83. "<userinput remap=\"pre\">mkdir build\n"
  84. "pushd build\n"
  85. " ../configure\n"
  86. " make -C include\n"
  87. " make -C progs tic\n"
  88. "popd</userinput>"
  89. msgstr ""
  90. #. type: Content of: <sect1><sect2><para>
  91. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:60
  92. msgid "Prepare Ncurses for compilation:"
  93. msgstr ""
  94. #. type: Content of: <sect1><sect2><screen>
  95. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:62
  96. #, no-wrap
  97. msgid ""
  98. "<userinput remap=\"configure\">./configure --prefix=/usr \\\n"
  99. " --host=$LFS_TGT \\\n"
  100. " --build=$(./config.guess) \\\n"
  101. " --mandir=/usr/share/man \\\n"
  102. " --with-manpage-format=normal \\\n"
  103. " --with-shared \\\n"
  104. " --without-debug \\\n"
  105. " --without-ada \\\n"
  106. " --without-normal \\\n"
  107. " --enable-widec</userinput>"
  108. msgstr ""
  109. #. type: Content of: <sect1><sect2><variablelist><title>
  110. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:74
  111. msgid "The meaning of the new configure options:"
  112. msgstr ""
  113. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  114. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:77
  115. msgid "<parameter>--with-manpage-format=normal</parameter>"
  116. msgstr ""
  117. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  118. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:79
  119. msgid ""
  120. "This prevents Ncurses installing compressed manual pages, which may happen "
  121. "if the host distribution itself has compressed manual pages."
  122. msgstr ""
  123. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  124. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:86
  125. msgid "<parameter>--without-ada</parameter>"
  126. msgstr ""
  127. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  128. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:88
  129. msgid ""
  130. "This ensures that Ncurses does not build support for the Ada compiler which "
  131. "may be present on the host but will not be available once we enter the "
  132. "<command>chroot</command> environment."
  133. msgstr ""
  134. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  135. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:95
  136. msgid "<parameter>--enable-widec</parameter>"
  137. msgstr ""
  138. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  139. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:97
  140. msgid ""
  141. "This switch causes wide-character libraries (e.g., <filename "
  142. "class=\"libraryfile\">libncursesw.so.&ncurses-version;</filename>) to be "
  143. "built instead of normal ones (e.g., <filename "
  144. "class=\"libraryfile\">libncurses.so.&ncurses-version;</filename>). These "
  145. "wide-character libraries are usable in both multibyte and traditional 8-bit "
  146. "locales, while normal libraries work properly only in 8-bit "
  147. "locales. Wide-character and normal libraries are source-compatible, but not "
  148. "binary-compatible."
  149. msgstr ""
  150. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  151. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:109
  152. msgid "<parameter>--without-normal</parameter>"
  153. msgstr ""
  154. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  155. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:111
  156. msgid "This switch disables building and installing most static libraries."
  157. msgstr ""
  158. #. type: Content of: <sect1><sect2><para>
  159. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:118
  160. msgid "Compile the package:"
  161. msgstr ""
  162. #. type: Content of: <sect1><sect2><screen>
  163. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:120
  164. #, no-wrap
  165. msgid "<userinput remap=\"make\">make</userinput>"
  166. msgstr ""
  167. #. type: Content of: <sect1><sect2><para>
  168. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:122
  169. msgid "Install the package:"
  170. msgstr ""
  171. #. TODO: check and document
  172. #. type: Content of: <sect1><sect2><screen>
  173. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:124
  174. #, no-wrap
  175. msgid ""
  176. "<userinput remap=\"install\">make DESTDIR=$LFS "
  177. "TIC_PATH=$(pwd)/build/progs/tic install\n"
  178. "ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput>"
  179. msgstr ""
  180. #. type: Content of: <sect1><sect2><para>
  181. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:127
  182. msgid ""
  183. "Move the shared libraries to the <filename "
  184. "class=\"directory\">/lib</filename> directory, where they are expected to "
  185. "reside:"
  186. msgstr ""
  187. #. type: Content of: <sect1><sect2><screen>
  188. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:131
  189. #, no-wrap
  190. msgid ""
  191. "<userinput remap=\"install\">mv -v $LFS/usr/lib/libncursesw.so.6* "
  192. "$LFS/lib</userinput>"
  193. msgstr ""
  194. #. type: Content of: <sect1><sect2><para>
  195. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:133
  196. msgid ""
  197. "Because the libraries have been moved, one symlink points to a non-existent "
  198. "file. Recreate it:"
  199. msgstr ""
  200. #. type: Content of: <sect1><sect2><screen>
  201. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:136
  202. #, no-wrap
  203. msgid ""
  204. "<userinput remap=\"install\">ln -sfv ../../lib/$(readlink "
  205. "$LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so</userinput>"
  206. msgstr ""
  207. #. type: Content of: <sect1><sect2><para>
  208. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/ncurses.xml:144
  209. msgid ""
  210. "Details on this package are located in <xref linkend=\"contents-ncurses\" "
  211. "role=\".\"/>"
  212. msgstr ""