summaryrefslogtreecommitdiffstats
path: root/Admin
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@cygnus.com>2000-06-16 07:49:23 +0000
committerUlrich Drepper <drepper@cygnus.com>2000-06-16 07:49:23 +0000
commit60d2084de5dc3b65e6657f695f0f26df24b0f565 (patch)
tree224f21c30351570d6d7f06a385e829d5ab320f67 /Admin
downloadexternal_gettext-60d2084de5dc3b65e6657f695f0f26df24b0f565.zip
external_gettext-60d2084de5dc3b65e6657f695f0f26df24b0f565.tar.gz
external_gettext-60d2084de5dc3b65e6657f695f0f26df24b0f565.tar.bz2
Initial revision
Diffstat (limited to 'Admin')
-rw-r--r--Admin/gettext.announce88
-rw-r--r--Admin/gettext.spec36
-rw-r--r--Admin/msgfmt.539
3 files changed, 163 insertions, 0 deletions
diff --git a/Admin/gettext.announce b/Admin/gettext.announce
new file mode 100644
index 0000000..1c56758
--- /dev/null
+++ b/Admin/gettext.announce
@@ -0,0 +1,88 @@
+Hi folks,
+
+gettext-0.10 is now avaialble at
+
+ prep.ai.mit.edu:/pub/gnu.
+
+It is a feature release which hopefully can be compiled on all
+interesting system. This package is especially interesting for
+authors and maintainers who want to internationalize their packages,
+but in the presence of GNU sharutils-4.2 it is also useful for the
+common man.
+
+
+For those how don't know about GNU gettext it provides native language
+support in the messages a program prints. GNU gettext provides the
+needed library and tool support to enable the programmers to extend
+their programs and maintain the message catalogs.
+
+It can work in two ways: using the possibly existing catalog handling
+functions of the local system or use the library it provides itself.
+Because there are already a lot of goodies which are only found in GNU
+gettext's library I would always suggest to use the provided
+implementation.
+
+The library code itself will be used in many GNU packages. So
+installing this package and reporting possible problems will also help
+to prevent errors in other packages.
+
+Besides the library, GNU gettext contains programs to maintain message
+catalogs and to produce the needed binary representation. Among the
+maintenance tools is the Emacs PO mode, written by Franc,ois Pinard.
+This mode helps translators to handle the translation files.
+
+For further information, consult the `README' file. The `ABOUT-NLS'
+file gives information about the current state of the
+internationalization effort inside the GNU project. `INSTALL'
+contains the usual information about installation.
+
+In case you find a bug or have problems installing the package, send a
+report to
+ bug-gnu-utils@prep.ai.mi.edu
+
+I want to thanks all those unselfish people helping me to develop
+this software. A list can be found in the `THANKS' file. In case
+I omitted somebody, I beg you not to believe it was intended. Write
+to me, so I may include you in future versions.
+
+
+The next version will not contains many new things. The Makefiles
+will be adjusted to use the new programs but mainly the documentation
+will adjusted. The result will be called gettext-1.0.
+
+
+An excerpt from NEWS:
+
+Version 0.10 - December 1995, by Ulrich Drepper
+
+* implement --shell-script option for gettext program
+
+* implement object-oriented, lazy message handling :-)
+ Consult the manual for more/any information
+
+* implement locale name aliasing, similar to the one used
+ in the X Window System
+
+* support for GNU gettext sources in central place to support
+ use in development environments of other projects
+
+* implement CEN syntax for environment variable values
+
+* msgcmp program to find matches in two .po files
+
+* programs now have exit status != 0 if errors occured
+
+* libintl.a is now selfcontained and can be used without context in
+ other projects
+
+* gettextize now automatically runs config.status
+
+* swedish message catalog
+
+* new options for xgettext: -D/--directory to change in specified directory
+ before processing the input files and -f/--files-from to specify file from
+ which the names of the input files are read.
+ The later option in necessary for large projects such as GNU C Library.
+
+* new programs msgmerge and msgunfmt by Peter Miller. The code of the other
+ programs is now also much cleaner.
diff --git a/Admin/gettext.spec b/Admin/gettext.spec
new file mode 100644
index 0000000..df55ebb
--- /dev/null
+++ b/Admin/gettext.spec
@@ -0,0 +1,36 @@
+Description: Library and tools for message translation.
+Name: gettext
+Version: 0.10.23
+Release: 1
+Copyright: GPL
+Group: Development/Libraries
+Source: ftp://alpha.gnu.ai.mit.edu/gnu/gettext-0.10.23.tar.gz
+Packager: Ulrich Drepper <drepper@cygnus.com>
+Buildprefix: /tmp
+
+%prep
+%setup
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s configure --with-included-gettext --prefix=/usr/local
+make
+
+%install
+make install prefix=$RPM_BUILDPREFIX
+
+%files
+%doc ABOUT-NLS
+%doc NEWS
+
+/usr/local/bin/gettext
+/usr/local/bin/msgcmp
+/usr/local/bin/msgfmt
+/usr/local/bin/msgmerge
+/usr/local/bin/msgunfmt
+/usr/local/bin/xgettext
+/usr/local/include/libintl.h
+/usr/local/lib/libintl.a
+/usr/local/info/gettext*
+/usr/local/share/locale/*/LC_MESSAGES/gettext.mo
+/usr/local/share/gettext
+/usr/local/share/emacs/site-lisp/po-mode.elc
diff --git a/Admin/msgfmt.5 b/Admin/msgfmt.5
new file mode 100644
index 0000000..c8e37f7
--- /dev/null
+++ b/Admin/msgfmt.5
@@ -0,0 +1,39 @@
+'.\" Copyright (C) 1995 Free Software Foundation
+'.\" This file is part of GNU C Library.
+'.\"
+'.\" Author: Ulrich Drepper
+'.\"
+.TH MSGFMT 5 "GNU C Library" "FSF"
+.SH NAME
+msgfmt \- format of protable object files and message object files
+.SH DESCRIPTION
+The
+.IR msgfmt
+program from a set of portable object files another set of files, which are
+machine dependend coded. The special version for GNU msgfmt is
+carefully designed to be readable in whatever byte order.
+.SH Input file format
+(Description of input file format.)
+.SH Output file format
+The message object files consist of three parts:
+.nf
+ 1. Header with magic number etc.
+ 2. Table with offsets to data part.
+ 3. Data part with all the strings.
+.fi
+.PP
+.BR Header.
+The header consists of two 32-bit integer. The first is a magic number whose
+value is
+.B 0x950412DE.
+When the object file is used and the magic number has the reverse byte order
+one can still use it. Only all following multi-byte integers must be
+changed in byte order.
+.PP
+The second integer gives the number entries with
+.B unique
+hash values. The hash value has to be computed by the same function as in
+.I msgfmt
+itself.
+.BR Offsettable.
+