[gtk-doc-cn] r278 committed - update glib

0 views
Skip to first unread message

gtk-d...@googlecode.com

unread,
Apr 17, 2011, 4:48:20 AM4/17/11
to gtk-d...@googlegroups.com
Revision: 278
Author: yetist
Date: Sun Apr 17 01:47:00 2011
Log: update glib
http://code.google.com/p/gtk-doc-cn/source/detail?r=278

Added:
/trunk/zh_CN/glib/glib-docs
/trunk/zh_CN/glib/glib-docs/credits.xml
/trunk/zh_CN/glib/glib-docs/glib-docs.sgml
/trunk/zh_CN/glib/glib-docs/tmpl
/trunk/zh_CN/glib/glib-docs/tmpl/atomic_operations.sgml
/trunk/zh_CN/glib/glib-docs/tmpl/limits.sgml
/trunk/zh_CN/glib/glib-docs/tmpl/thread_pools.sgml
/trunk/zh_CN/glib/glib-docs/tmpl/version.sgml
Modified:
/trunk/zh_CN/glib/AUTHORS
/trunk/zh_CN/glib/build.rc
/trunk/zh_CN/glib/glib-2.26.1.po

=======================================
--- /dev/null
+++ /trunk/zh_CN/glib/glib-docs/credits.xml Sun Apr 17 01:47:00 2011
@@ -0,0 +1,1 @@
+link ../../../tools/credits.xml
=======================================
--- /dev/null
+++ /trunk/zh_CN/glib/glib-docs/glib-docs.sgml Sun Apr 17 01:47:00 2011
@@ -0,0 +1,202 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY % local.common.attrib "xmlns:xi CDATA
#FIXED 'http://www.w3.org/2003/XInclude'">
+<!ENTITY version SYSTEM "version.xml">
+<!ENTITY credits SYSTEM "credits.xml">
+]>
+<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
+ <bookinfo>
+ <title>GLib Reference Manual</title>
+ <releaseinfo>
+ for GLib &version;
+ The latest version of this documentation can be found on-line at
+ <ulink role="online-location"
url="http://library.gnome.org/devel/glib/unstable/">http://library.gnome.org/devel/glib/unstable/</ulink>.
+ </releaseinfo>
+ &credits;
+ </bookinfo>
+
+ <chapter id="glib">
+ <title>GLib Overview</title>
+ <para>
+GLib is a general-purpose utility library, which provides many useful data
+types, macros, type conversions, string utilities, file utilities, a main
+loop abstraction, and so on. It works on many UNIX-like platforms, Windows,
+OS/2 and BeOS. GLib is released under the GNU Library General Public
License
+(GNU LGPL).
+ </para>
+ <para>
+The general policy of GLib is that all functions are invisibly threadsafe
with the
+exception of data structure manipulation functions, where, if you have two
threads
+manipulating the <emphasis>same</emphasis> data structure, they must use a
lock to
+synchronize their operation.
+ </para>
+
+ <xi:include href="building.sgml" />
+ <xi:include href="cross.sgml" />
+ <xi:include href="compiling.sgml" />
+ <xi:include href="running.sgml" />
+ <xi:include href="changes.sgml" />
+ <xi:include href="regex-syntax.sgml" />
+ <xi:include href="resources.sgml" />
+
+ </chapter>
+
+ <chapter id="glib-fundamentals">
+ <title>GLib Fundamentals</title>
+ <xi:include href="xml/version.xml" />
+ <xi:include href="xml/types.xml" />
+ <xi:include href="xml/limits.xml" />
+ <xi:include href="xml/macros.xml" />
+ <xi:include href="xml/type_conversion.xml" />
+ <xi:include href="xml/byte_order.xml" />
+ <xi:include href="xml/numerical.xml" />
+ <xi:include href="xml/macros_misc.xml" />
+ <xi:include href="xml/atomic_operations.xml" />
+ </chapter>
+
+ <chapter id="glib-core">
+ <title>GLib Core Application Support</title>
+ <xi:include href="xml/main.xml" />
+ <xi:include href="xml/threads.xml" />
+ <xi:include href="xml/thread_pools.xml" />
+ <xi:include href="xml/async_queues.xml" />
+ <xi:include href="xml/modules.xml" />
+ <xi:include href="xml/memory.xml" />
+ <xi:include href="xml/iochannels.xml" />
+ <xi:include href="xml/error_reporting.xml" />
+ <xi:include href="xml/warnings.xml" />
+ <xi:include href="xml/messages.xml" />
+ </chapter>
+
+ <chapter id="glib-utilities">
+ <title>GLib Utilities</title>
+ <xi:include href="xml/string_utils.xml" />
+ <xi:include href="xml/conversions.xml" />
+ <xi:include href="xml/unicode.xml" />
+ <xi:include href="xml/base64.xml" />
+ <xi:include href="xml/checksum.xml" />
+ <xi:include href="xml/i18n.xml" />
+ <xi:include href="xml/date.xml" />
+ <xi:include href="xml/timezone.xml" />
+ <xi:include href="xml/date-time.xml" />
+ <xi:include href="xml/random_numbers.xml" />
+ <xi:include href="xml/hooks.xml" />
+ <xi:include href="xml/misc_utils.xml" />
+ <xi:include href="xml/scanner.xml" />
+ <xi:include href="xml/completion.xml" />
+ <xi:include href="xml/timers.xml" />
+ <xi:include href="xml/spawn.xml" />
+ <xi:include href="xml/fileutils.xml" />
+ <xi:include href="xml/gurifuncs.xml" />
+ <xi:include href="xml/ghostutils.xml" />
+ <xi:include href="xml/shell.xml" />
+ <xi:include href="xml/option.xml" />
+ <xi:include href="xml/patterns.xml" />
+ <xi:include href="xml/gregex.xml" />
+ <xi:include href="xml/markup.xml" />
+ <xi:include href="xml/keyfile.xml" />
+ <xi:include href="xml/bookmarkfile.xml" />
+ <xi:include href="xml/testing.xml" />
+ <xi:include href="xml/windows.xml" />
+ </chapter>
+
+ <chapter id="glib-data-types">
+ <title>GLib Data Types</title>
+ <xi:include href="xml/memory_slices.xml" />
+ <xi:include href="xml/memory_chunks.xml" />
+ <xi:include href="xml/linked_lists_double.xml" />
+ <xi:include href="xml/linked_lists_single.xml" />
+ <xi:include href="xml/queue.xml" />
+ <xi:include href="xml/sequence.xml" />
+ <xi:include href="xml/trash_stack.xml" />
+ <xi:include href="xml/hash_tables.xml" />
+ <xi:include href="xml/strings.xml" />
+ <xi:include href="xml/string_chunks.xml" />
+ <xi:include href="xml/arrays.xml" />
+ <xi:include href="xml/arrays_pointer.xml" />
+ <xi:include href="xml/arrays_byte.xml" />
+ <xi:include href="xml/trees-binary.xml" />
+ <xi:include href="xml/trees-nary.xml" />
+ <xi:include href="xml/quarks.xml" />
+ <xi:include href="xml/datalist.xml" />
+ <xi:include href="xml/datasets.xml" />
+ <xi:include href="xml/relations.xml" />
+ <xi:include href="xml/caches.xml" />
+ <xi:include href="xml/allocators.xml" />
+ <xi:include href="xml/gvarianttype.xml"/>
+ <xi:include href="xml/gvariant.xml"/>
+ <xi:include href="gvariant-varargs.xml"/>
+ </chapter>
+
+ <chapter id="tools">
+ <title>GLib Tools</title>
+ <xi:include href="glib-gettextize.xml" />
+ <xi:include href="gtester.xml" />
+ <xi:include href="gtester-report.xml" />
+ </chapter>
+
+ <index id="api-index-full">
+ <title>Index</title>
+ <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-deprecated" role="deprecated">
+ <title>Index of deprecated symbols</title>
+ <xi:include href="xml/api-index-deprecated.xml"><xi:fallback
/></xi:include>
+ </index>
+ <index id="api-index-2-2" role="2.2">
+ <title>Index of new symbols in 2.2</title>
+ <xi:include href="xml/api-index-2.2.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-4" role="2.4">
+ <title>Index of new symbols in 2.4</title>
+ <xi:include href="xml/api-index-2.4.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-6" role="2.6">
+ <title>Index of new symbols in 2.6</title>
+ <xi:include href="xml/api-index-2.6.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-8" role="2.8">
+ <title>Index of new symbols in 2.8</title>
+ <xi:include href="xml/api-index-2.8.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-10" role="2.10">
+ <title>Index of new symbols in 2.10</title>
+ <xi:include href="xml/api-index-2.10.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-12" role="2.12">
+ <title>Index of new symbols in 2.12</title>
+ <xi:include href="xml/api-index-2.12.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-14" role="2.14">
+ <title>Index of new symbols in 2.14</title>
+ <xi:include href="xml/api-index-2.14.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-16" role="2.16">
+ <title>Index of new symbols in 2.16</title>
+ <xi:include href="xml/api-index-2.16.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-18" role="2.18">
+ <title>Index of new symbols in 2.18</title>
+ <xi:include href="xml/api-index-2.18.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-20" role="2.20">
+ <title>Index of new symbols in 2.20</title>
+ <xi:include href="xml/api-index-2.20.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-22" role="2.22">
+ <title>Index of new symbols in 2.22</title>
+ <xi:include href="xml/api-index-2.22.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-24" role="2.24">
+ <title>Index of new symbols in 2.24</title>
+ <xi:include href="xml/api-index-2.24.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-2-26" role="2.26">
+ <title>Index of new symbols in 2.26</title>
+ <xi:include href="xml/api-index-2.26.xml"><xi:fallback /></xi:include>
+ </index>
+
+ <xi:include href="xml/annotation-glossary.xml"><xi:fallback
/></xi:include>
+
+</book>
=======================================
--- /dev/null
+++ /trunk/zh_CN/glib/glib-docs/tmpl/atomic_operations.sgml Sun Apr 17
01:47:00 2011
@@ -0,0 +1,116 @@
+<!-- ##### SECTION Title ##### -->
+原子操作
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION g_atomic_int_get ##### -->
+<para>
+
+</para>
+
+@atomic:
+@Returns:
+
+
+<!-- ##### FUNCTION g_atomic_int_set ##### -->
+<para>
+
+</para>
+
+@atomic:
+@newval:
+
+
+<!-- ##### FUNCTION g_atomic_int_add ##### -->
+<para>
+
+</para>
+
+@atomic:
+@val:
+
+
+<!-- ##### FUNCTION g_atomic_int_exchange_and_add ##### -->
+<para>
+
+</para>
+
+@atomic:
+@val:
+@Returns:
+
+
+<!-- ##### FUNCTION g_atomic_int_compare_and_exchange ##### -->
+<para>
+
+</para>
+
+@atomic:
+@oldval:
+@newval:
+@Returns:
+
+
+<!-- ##### FUNCTION g_atomic_pointer_get ##### -->
+<para>
+
+</para>
+
+@atomic:
+@Returns:
+
+
+<!-- ##### FUNCTION g_atomic_pointer_set ##### -->
+<para>
+
+</para>
+
+@atomic:
+@newval:
+
+
+<!-- ##### FUNCTION g_atomic_pointer_compare_and_exchange ##### -->
+<para>
+
+</para>
+
+@atomic:
+@oldval:
+@newval:
+@Returns:
+
+
+<!-- ##### FUNCTION g_atomic_int_inc ##### -->
+<para>
+
+</para>
+
+@atomic:
+
+
+<!-- ##### FUNCTION g_atomic_int_dec_and_test ##### -->
+<para>
+
+</para>
+
+@atomic:
+@Returns:
+
+
=======================================
--- /dev/null
+++ /trunk/zh_CN/glib/glib-docs/tmpl/limits.sgml Sun Apr 17 01:47:00 2011
@@ -0,0 +1,253 @@
+<!-- ##### SECTION Title ##### -->
+基本类型的限制
+
+<!-- ##### SECTION Short_Description ##### -->
+标准类型限制测试的可移植的方法
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+这些宏提供了可移植的方法来检测某些标准整形和浮点类型的限制
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO G_MININT ##### -->
+<para>
+#gint 能表示的最小值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXINT ##### -->
+<para>
+#gint 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXUINT ##### -->
+<para>
+#guint 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MINSHORT ##### -->
+<para>
+#gshort 能表示的最小值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXSHORT ##### -->
+<para>
+#gshort 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXUSHORT ##### -->
+<para>
+#gushort 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MINLONG ##### -->
+<para>
+#glong 能表示的最小值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXLONG ##### -->
+<para>
+#glong 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXULONG ##### -->
+<para>
+#gulong 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MININT8 ##### -->
+<para>
+#gint8 能表示的最小值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MAXINT8 ##### -->
+<para>
+#gint8 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MAXUINT8 ##### -->
+<para>
+#guint8 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MININT16 ##### -->
+<para>
+#gint16 能表示的最小值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MAXINT16 ##### -->
+<para>
+#gint16 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MAXUINT16 ##### -->
+<para>
+#guint16 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MININT32 ##### -->
+<para>
+#gint32 能表示的最小值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MAXINT32 ##### -->
+<para>
+#gint32 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MAXUINT32 ##### -->
+<para>
+#guint32 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MININT64 ##### -->
+<para>
+#gint64 能表示的最小值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXINT64 ##### -->
+<para>
+#gint64 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXUINT64 ##### -->
+<para>
+#guint64 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXSIZE ##### -->
+<para>
+#gsize 能表示的最大值。
+</para>
+
+@Since: 2.4
+
+
+<!-- ##### MACRO G_MINSSIZE ##### -->
+<para>
+#gssize 能表示的最下值。
+</para>
+
+@Since: 2.14
+
+
+<!-- ##### MACRO G_MAXSSIZE ##### -->
+<para>
+#gssize 能表示的最大值。
+</para>
+
+@Since: 2.14
+
+
+<!-- ##### MACRO G_MINOFFSET ##### -->
+<para>
+#goffset 能表示的最小值。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXOFFSET ##### -->
+<para>
+#goffset 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MINFLOAT ##### -->
+<para>
+#gfloat 能表示的最小的正数。
+</para>
+<para>
+如果你对#gfloat能表示的最小值感兴趣,可以使用
+-G_MAX_FLOAT。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXFLOAT ##### -->
+<para>
+#gfloat 能表示的最大值。
+</para>
+
+
+
+<!-- ##### MACRO G_MINDOUBLE ##### -->
+<para>
+#gdouble 能表示的最小的正数。
+</para>
+<para>
+如果你对#gdouble 能表示的最小值感兴趣可以使用
+-G_MAXDOUBLE。
+</para>
+
+
+
+<!-- ##### MACRO G_MAXDOUBLE ##### -->
+<para>
+#gdouble 能表示的最大值。
+</para>
+
+
+
=======================================
--- /dev/null
+++ /trunk/zh_CN/glib/glib-docs/tmpl/thread_pools.sgml Sun Apr 17 01:47:00
2011
@@ -0,0 +1,162 @@
+<!-- ##### SECTION Title ##### -->
+线程池
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT GThreadPool ##### -->
+<para>
+
+</para>
+
+@func:
+@user_data:
+@exclusive:
+
+<!-- ##### FUNCTION g_thread_pool_new ##### -->
+<para>
+
+</para>
+
+@func:
+@user_data:
+@max_threads:
+@exclusive:
+@error:
+@Returns:
+
+
+<!-- ##### FUNCTION g_thread_pool_push ##### -->
+<para>
+
+</para>
+
+@pool:
+@data:
+@error:
+
+
+<!-- ##### FUNCTION g_thread_pool_set_max_threads ##### -->
+<para>
+
+</para>
+
+@pool:
+@max_threads:
+@error:
+
+
+<!-- ##### FUNCTION g_thread_pool_get_max_threads ##### -->
+<para>
+
+</para>
+
+@pool:
+@Returns:
+
+
+<!-- ##### FUNCTION g_thread_pool_get_num_threads ##### -->
+<para>
+
+</para>
+
+@pool:
+@Returns:
+
+
+<!-- ##### FUNCTION g_thread_pool_unprocessed ##### -->
+<para>
+
+</para>
+
+@pool:
+@Returns:
+
+
+<!-- ##### FUNCTION g_thread_pool_free ##### -->
+<para>
+
+</para>
+
+@pool:
+@immediate:
+@wait_:
+
+
+<!-- ##### FUNCTION g_thread_pool_set_max_unused_threads ##### -->
+<para>
+
+</para>
+
+@max_threads:
+
+
+<!-- ##### FUNCTION g_thread_pool_get_max_unused_threads ##### -->
+<para>
+
+</para>
+
+@void:
+@Returns:
+
+
+<!-- ##### FUNCTION g_thread_pool_get_num_unused_threads ##### -->
+<para>
+
+</para>
+
+@void:
+@Returns:
+
+
+<!-- ##### FUNCTION g_thread_pool_stop_unused_threads ##### -->
+<para>
+
+</para>
+
+@void:
+
+
+<!-- ##### FUNCTION g_thread_pool_set_sort_function ##### -->
+<para>
+
+</para>
+
+@pool:
+@func:
+@user_data:
+
+
+<!-- ##### FUNCTION g_thread_pool_set_max_idle_time ##### -->
+<para>
+
+</para>
+
+@interval:
+
+
+<!-- ##### FUNCTION g_thread_pool_get_max_idle_time ##### -->
+<para>
+
+</para>
+
+@void:
+@Returns:
+
+
=======================================
--- /dev/null
+++ /trunk/zh_CN/glib/glib-docs/tmpl/version.sgml Sun Apr 17 01:47:00 2011
@@ -0,0 +1,62 @@
+<!-- ##### SECTION Title ##### -->
+GLib版本信息
+
+<!-- ##### SECTION Short_Description ##### -->
+检查GLib版本信息的变量和函数
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+GLib提供了版本信息,主要在编译脚本中用来做配置检查。通常应用程序不会使用到
这些信息。
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO GLIB_MAJOR_VERSION ##### -->
+<para>
+GLib头文件的主版本号。来自于应用程序编译时使用的头文件的主版本号,而不是来
自链接的库文件的主版本号。
+</para>
+
+
+
+<!-- ##### MACRO GLIB_MINOR_VERSION ##### -->
+<para>
+GLib头文件的次版本号。来自于应用程序编译时使用的头文件的次版本号,而不是来
自链接的库文件的次版本号。
+</para>
+
+
+
+<!-- ##### MACRO GLIB_MICRO_VERSION ##### -->
+<para>
+GLib头文件的小版本号。来自于应用程序编译时使用的头文件的小版本号,而不是来
自链接的库文件的小版本号。
+</para>
+
+
+
+<!-- ##### MACRO GLIB_CHECK_VERSION ##### -->
+<para>
+检查GLib的版本。
+如果引用的GLib头文件的版本与传入的版本号相同,或者比传入的版本号更新,则返
回%TRUE。
+
+<example>
+<title>检查GLib的版本号</title>
+<programlisting>
+ if (!GLIB_CHECK_VERSION (1, 2, 0))
+ g_error ("GLib version 1.2.0 or above is needed");
+</programlisting>
+</example>
+</para>
+
+@major: 主版本号。
+@minor: 次版本号。
+@micro: 小版本号。
+
+
=======================================
--- /trunk/zh_CN/glib/AUTHORS Thu Apr 14 03:02:18 2011
+++ /trunk/zh_CN/glib/AUTHORS Sun Apr 17 01:47:00 2011
@@ -1,104 +1,102 @@
#!/bin/sh
-####################################################################################
-#一、[目录]
-#1. (yetist)glib-docs.sgml
-#二、[GLib Overview]
-#1. (yetist)building.sgml
-#2. (yetist)cross.sgml
-#3. (lerosua)compiling.sgml
-#4. (lerosua)running.sgml
-#5. (wzssyqa)changes.sgml
-#6. (kovchou)regex-syntax.sgml
-#7. (chuangshengguan)resources.sgml
-#三、[GLib Fundamentals]
-#1. (功夫熊猫)tmpl/version.sgml gutils.po
-#2. (NULL)tmpl/types.sgml
-#3. (cnkilior)tmpl/limits.sgml
-#4. (NULL)tmpl/macros.sgml
-#5. (NULL)tmpl/type_conversion.sgml
-#6. (NULL)tmpl/byte_order.sgml
-#7. (NULL)tmpl/numerical.sgml
-#8. (R.4ntix)tmpl/macros_misc.sgml
-#9. (NULL)tmpl/atomic_operations.sgml
-#四、[GLib Core Application Support]
-#1. (unknown)tmpl/main.sgml gmain.po,gpoll.po
-#2. (zhang)tmpl/threads.sgml gthread.po
-#3. (R.4ntix)tmpl/thread_pools.sgml gthreadpool.po
-#4. (unknown)tmpl/async_queues.sgml gasyncqueue.po
-#5. tmpl/modules.sgml
-#6. tmpl/memory.sgml gmem.po
-#7. tmpl/iochannels.sgml giochannel.po
-#8. tmpl/error_reporting.sgml gerror.po
-#9. tmpl/warnings.sgml
-#10. tmpl/messages.sgml
-#五、[GLib Utilities]
-#1. tmpl/string_utils.sgml gprintf.po,gstrfuncs.po
-#2. tmpl/conversions.sgml gconvert.po
-#3. tmpl/unicode.sgml
gunibreak.po,gunicollate.po,gunidecomp.po,guniprop.po,gutf8.po
-#4. tmpl/base64.sgml gbase64.po
-#5. tmpl/checksum.sgml gchecksum.po
-#6. tmpl/i18n.sgml
-#7. tmpl/date.sgml gdate.po
-#8. tmpl/random_numbers.sgml grand.po
-#9. tmpl/hooks.sgml
-#10. tmpl/misc_utils.sgml gqsort.po
-#11. tmpl/scanner.sgml
-#12. tmpl/completion.sgml gcompletion.po
-#13. tmpl/timers.sgml gtimer.po
-#14. tmpl/spawn.sgml gspawn.po
-#15. tmpl/fileutils.sgml gfileutils.po,gdir.po,gmappedfile.po,gstdio.po
-#16. tmpl/gurifuncs.sgml gurifuncs.po
-#17. tmpl/shell.sgml gshell.po
-#18. tmpl/option.sgml goption.po
-#19. tmpl/patterns.sgml
-#20. tmpl/gregex.sgml gregex.po
-#21. tmpl/markup.sgml gmarkup.po
-#22. tmpl/keyfile.sgml gkeyfile.po
-#23. tmpl/bookmarkfile.sgml gbookmarkfile.po
-#24. tmpl/testing.sgml gtestutils.po
-#25. tmpl/windows.sgml gwin32.po
-#六、[GLib Data Types]
-#1. tmpl/memory_slices.sgml
-#2. tmpl/memory_chunks.sgml
-#3. tmpl/linked_lists_double.sgml glist.po
-#4. tmpl/linked_lists_single.sgml gslist.po
-#5. tmpl/queue.sgml gqueue.po
-#6. tmpl/sequence.sgml gsequence.po
-#7. tmpl/trash_stack.sgml
-#8. tmpl/hash_tables.sgml ghash.po
-#9. tmpl/strings.sgml gstring.po
-#10. tmpl/string_chunks.sgml
-#11. tmpl/arrays.sgml
-#12. tmpl/arrays_pointer.sgml garray.po
-#13. tmpl/arrays_byte.sgml
-#14. tmpl/trees-binary.sgml gtree.po
-#15. tmpl/trees-nary.sgml gnode.po
-#16. tmpl/quarks.sgml
-#17. tmpl/datalist.sgml
-#18. tmpl/datasets.sgml gdataset.po
-#19. tmpl/relations.sgml
-#20. tmpl/caches.sgml
-#21. tmpl/allocators.sgml
-#七、[GLib Tools]
-#1. glib-gettextize.xml
-#2. gtester.xml
-#3. gtester-report.xml
+#一、[xmlpo 文件列表]
+#1. glib-docs.po (yetist)
+#2. building.po (yetist)
+#3. cross.po (yetist)
+#4. compiling.po (lerosua)
+#5. running.po (lerosua)
+#6. changes.po (wzssyqa)
+#7. regex-syntax.po (kovchou)
+#8. gvariant-varargs.po (chuangshengguan)
+#9. resources.po (chuangshengguan)
+#10. glib-gettextize.po
+#11. gtester.po
+#12. gtester-report.po
+
+#二、[po 文件列表]
+#1. galloca.po
+#1. garray.po
+#1. gasyncqueue.po
+#1. gatomic.po
+#1. gbase64.po
+#1. gbitlock.po
+#1. gbookmarkfile.po
+#1. gcache.po
+#1. gchecksum.po
+#1. gcompletion.po
+#1. gconvert.po
+#1. gdataset.po
+#1. gdate.po
+#1. gdatetime.po
+#1. gdir.po
+#1. gerror.po
+#1. gfileutils.po
+#1. ghash.po
+#1. ghostutils.po
+#1. giochannel.po
+#1. giounix.po
+#1. giowin32.po
+#1. gkeyfile.po
+#1. glist.po
+#1. gmain.po
+#1. gmappedfile.po
+#1. gmarkup.po
+#1. gmem.po
+#1. gmessages.po
+#1. gnode.po
+#1. goption.po
+#1. gpattern.po
+#1. gpoll.po
+#1. gprintf.po
+#1. gqsort.po
+#1. gqueue.po
+#1. grand.po
+#1. gregex.po
+#1. grel.po
+#1. gsequence.po
+#1. gshell.po
+#1. gslist.po
+#1. gspawn.po
+#1. gstdio.po
+#1. gstrfuncs.po
+#1. gstring.po
+#1. gtestutils.po
+#1. gthreadpool.po
+#1. gthread.po
+#1. gtimer.po
+#1. gtimezone.po
+#1. gtree.po
+#1. gtypes.po
+#1. gunibreak.po
+#1. gunicollate.po
+#1. gunidecomp.po
+#1. guniprop.po
+#1. gurifuncs.po
+#1. gutf8.po
+#1. gutils.po
+#1. gvariant-core.po
+#1. gvariant-parser.po
+#1. gvariant.po
+#1. gvarianttype.po
+#1. gwin32.po
+#

####################################################################################
#此文件的格式如下
#作者 邮箱 sgml文件数组 po文件数组
-#docpo_files和po_files数组内容以","分隔,中间不要使用空格,否则项目脚本将出
错。
+#xmlpo_files和po_files数组内容以","分隔,中间不要使用空格,否则项目脚本将出
错。
#作者名为unknown表示计划翻译,但目前还无人认领
#作者名为finished表示内容已经翻译完成。
########已经和正在翻译的文档###############
-yetist yet...@gmail.com docpo_files=(glib-docs.po) po_files=(gkeyfile.po)
-lerosua ler...@gmail.com docpo_files=(compiling.po,running.po) po_files=()
-wzssyqa wzs...@gmail.com docpo_files=(changes.po) po_files=()
-kovchou kov...@gmail.com docpo_files=(regex-syntax.po) po_files=()
-NULL chuangs...@gmail.com docpo_files=(tmpl/atomic_operations.po)
po_files=()
-cnkilior zhang...@gmail.com docpo_files=(tmpl/limits.po) po_files=()
-功夫熊猫 toub...@163.com docpo_files=(tmpl/version.po) po_files=()
-R.4ntix r.4...@gmail.com docpo_files=(tmpl/thread_pools.po)
po_files=(gthreadpool.po)
-zhang mymz...@gmail.com docpo_files=(tmpl/threads.po)
po_files=(gthread.po)
-piuruile liur...@gmail.com docpo_files=(regex-syntax.po)
po_files=(garray.po)
+yetist yet...@gmail.com xmlpo_files=(glib-docs.po) po_files=()
+lerosua ler...@gmail.com xmlpo_files=(compiling.po,running.po) po_files=()
+wzssyqa wzs...@gmail.com xmlpo_files=(changes.po) po_files=()
+kovchou kov...@gmail.com xmlpo_files=(regex-syntax.po) po_files=()
+NULL chuangs...@gmail.com xmlpo_files=() po_files=()
+cnkilior zhang...@gmail.com xmlpo_files=() po_files=()
+功夫熊猫 toub...@163.com xmlpo_files=() po_files=()
+R.4ntix r.4...@gmail.com xmlpo_files=() po_files=(gthreadpool.po)
+zhang mymz...@gmail.com xmlpo_files=() po_files=(gthread.po)
+piuruile liur...@gmail.com xmlpo_files=() po_files=(garray.po)
########计划翻译的文档###############
-unknown unk...@nomail.com docpo_files=(tmpl/main.po,tmpl/async_queues.po)
po_files=(gutils.po,gmain.po,gpoll.po,gasyncqueue.po)
+unknown unk...@nomail.com xmlpo_files=()
po_files=(gutils.po,gmain.po,gpoll.po,gasyncqueue.po)
+####################################################################################
=======================================
--- /trunk/zh_CN/glib/build.rc Tue Apr 12 03:17:53 2011
+++ /trunk/zh_CN/glib/build.rc Sun Apr 17 01:47:00 2011
@@ -1,6 +1,8 @@
+#!/bin/sh
pkgname=glib
modname=glib
pkgver=2.26.1
+xml_lang="zh_CN"
url="http://www.gtk.org/"

source="http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${pkgver}.tar.bz2"
configure="--enable-gtk-doc --prefix=/usr"
@@ -11,11 +13,19 @@

make_release()
{
- tmpdir=`mktemp -d`
- svn checkout $svnroot $tmpdir/$modname
- cp tmp/html/* $tmpdir/$modname/
- svn status $tmpdir/$modname |grep "?" |awk '{print $2}'|xargs svn add
- find $tmpdir/$modname -maxdepth 1 -type f -name "*.htm*" -exec svn
propset "svn:mime-type" "text/html" {} \;
- svn commit -m "update $modname docs" $tmpdir/$modname
- rm -rf $tmpdir
-}
+ tmpdir=tmp/svndocs
+ if [ -d $tmpdir ];then
+ svn update $tmpdir/$modname
+ else
+ mkdir $tmpdir
+ svn checkout $svnroot $tmpdir/$modname
+ fi
+ if [ -d tmp/html ];then
+ cp tmp/html/* $tmpdir/$modname/
+ svn status $tmpdir/$modname |grep "?" |awk '{print $2}'|xargs svn add
+ find $tmpdir/$modname -maxdepth 1 -type f -name "*.htm*" -exec svn
propset "svn:mime-type" "text/html" {} \;
+ svn commit -m "update $modname html docs" $tmpdir/$modname
+ else
+ echo "please make docs first"
+ fi
+}
=======================================
--- /trunk/zh_CN/glib/glib-2.26.1.po Wed Apr 13 09:24:45 2011
+++ /trunk/zh_CN/glib/glib-2.26.1.po Sun Apr 17 01:47:00 2011
File is too large to display a diff.
Reply all
Reply to author
Forward
0 new messages