msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-06-17 12:44+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 2.2.5\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:14 #, no-wrap msgid "&pkgconfig-url;" msgstr "&pkgconfig-url;" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:12 msgid "" "pkg-config &pkgconfig-version; " msgstr "" "pkg-config &pkgconfig-version; " #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:17 msgid "Pkg-config-&pkgconfig-version;" msgstr "Pkg-config-&pkgconfig-version;" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:20 msgid "Pkgconfig" msgstr "Pkgconfig" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:26 msgid "" "The pkg-config package contains a tool for passing the include path and/or " "library paths to build tools during the configure and make phases of package " "installations." msgstr "" "pkg-config 软件包提供一个在软件包安装的配置和编译阶段,向构建工具传递头" "文件和/或库文件路径的工具。" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:31 msgid "&buildtime;" msgstr "&buildtime;" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:32 msgid "&diskspace;" msgstr "&diskspace;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:35 msgid "&pkgconfig-fin-sbu;" msgstr "&pkgconfig-fin-sbu;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:36 msgid "&pkgconfig-fin-du;" msgstr "&pkgconfig-fin-du;" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:43 msgid "Installation of Pkg-config" msgstr "安装 Pkg-config" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:45 msgid "Prepare Pkg-config for compilation:" msgstr "准备编译 Pkg-config:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:47 #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --with-internal-glib \\\n" " --disable-host-tool \\\n" " --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput>" msgstr "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --with-internal-glib \\\n" " --disable-host-tool \\\n" " --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput>" #. type: Content of: <sect1><sect2><variablelist><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:53 msgid "The meaning of the new configure options:" msgstr "新的配置选项的含义:" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:56 msgid "<parameter>--with-internal-glib</parameter>" msgstr "<parameter>--with-internal-glib</parameter>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:58 msgid "" "This will allow pkg-config to use its internal version of Glib because an " "external version is not available in LFS." msgstr "" "该选项允许 pkg-config 使用它内部的 Glib 版本,因为 LFS 不提供外部的 Glib。" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:64 msgid "<parameter>--disable-host-tool</parameter>" msgstr "<parameter>--disable-host-tool</parameter>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:66 msgid "" "This option disables the creation of an undesired hard link to the pkg-" "config program." msgstr "该选项防止创建一个指向 pkg-config 程序的不需要的硬链接。" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:73 msgid "Compile the package:" msgstr "编译该软件包:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:75 #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "<userinput remap=\"make\">make</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:77 msgid "To test the results, issue:" msgstr "运行以下命令以测试编译结果:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:79 #, no-wrap msgid "<userinput remap=\"test\">make check</userinput>" msgstr "<userinput remap=\"test\">make check</userinput>" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:81 msgid "Install the package:" msgstr "安装该软件包:" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:83 #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "<userinput remap=\"install\">make install</userinput>" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:88 msgid "Contents of Pkg-config" msgstr "Pkg-config 的内容" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:91 msgid "Installed program" msgstr "安装的程序" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:92 msgid "Installed directory" msgstr "安装的目录" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:95 #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:112 msgid "pkg-config" msgstr "pkg-config" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:96 msgid "/usr/share/doc/pkg-config-&pkgconfig-version;" msgstr "/usr/share/doc/pkg-config-&pkgconfig-version;" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:101 msgid "Short Descriptions" msgstr "简要描述" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:102 msgid "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:107 msgid "<command>pkg-config </command>" msgstr "<command>pkg-config </command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/pkgconfig.xml:109 msgid "Returns meta information for the specified library or package" msgstr "返回某个库或软件包的元数据信息"