source: trunk/third/gettext2/PACKAGING @ 22167

Revision 22167, 5.1 KB checked in by ghudson, 19 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22166, which included commits to RCS files with non-trunk default branches.
Line 
1Packaging hints for binary package distributors
2===============================================
3
4Although the source of the gettext package comes as a single package,
5I recommend that in distributions of binary packages the installed files
6be split into two packages:
7
8   gettext-runtime
9        Contents: Runtime libraries and programs.
10        Audience: Anyone who wants to run internationalized programs.
11
12   gettext-tools
13        Contents: Tools and documentation for developers and translators.
14        Audience: Anyone who wants to develop or localize internationalized
15                  programs, i.e. developers and translators.
16        Dependencies: requires gettext-runtime.
17
18The 'gettext-runtime' binary package is much smaller than the 'gettext-tools'
19binary package (420 KB versus 5.5 MB). I recommend to include it in the default
20installation list, like GNU 'sh-utils'; in fact, the runtime programs are
21utilities for sh programs.
22
23The 'gettext-runtime' binary package can be installed by doing
24
25      cd gettext-runtime
26      ./configure
27      make
28      make install
29
30The 'gettext-tools' binary package can be installed by doing
31
32      cd gettext-tools
33      ./configure
34      make
35      make install
36
37If you want to install both at the same time, you simply do at the toplevel
38directory:
39
40      ./configure
41      make
42      make install
43
44The precise split between gettext and gettext-tools is according to the
45following file list.
46
47   gettext-runtime
48
49      $prefix/share/gettext/ABOUT-NLS
50
51      $prefix/bin/gettext
52      $prefix/bin/ngettext
53      $prefix/bin/envsubst
54      $prefix/bin/gettext.sh
55      $prefix/share/man/man1/gettext.1
56      $prefix/share/man/man1/ngettext.1
57      $prefix/share/man/man1/envsubst.1
58      $prefix/share/doc/gettext/gettext.1.html
59      $prefix/share/doc/gettext/ngettext.1.html
60      $prefix/share/doc/gettext/envsubst.1.html
61      $prefix/share/locale/*/LC_MESSAGES/gettext-runtime.mo
62
63      $prefix/lib/libintl.*               (not installed on glibc systems)
64      $prefix/lib/charset.alias           (not installed on glibc systems)
65      $prefix/share/locale/locale.alias   (not installed on glibc systems)
66      $prefix/include/libintl.h           (not installed on glibc systems)
67      $prefix/share/man/man3/*
68      $prefix/share/doc/gettext/*.3.html
69
70      $prefix/share/gettext/libintl.jar
71      $prefix/share/doc/gettext/javadoc1/*
72      $prefix/share/doc/gettext/javadoc2/*
73
74      $prefix/lib/libasprintf.*
75      $prefix/include/autosprintf.h
76      $prefix/share/doc/libasprintf/autosprintf.html
77      $prefix/info/autosprintf.info
78
79   gettext-tools
80
81      Everything else, i.e. currently:
82
83      $prefix/bin/msg*
84      $prefix/bin/xgettext
85      $prefix/bin/gettextize
86      $prefix/bin/autopoint
87      $prefix/share/man/man1/msg*.1
88      $prefix/share/man/man1/xgettext.1
89      $prefix/share/man/man1/gettextize.1
90      $prefix/share/man/man1/autopoint.1
91      $prefix/share/doc/gettext/msg*.1.html
92      $prefix/share/doc/gettext/xgettext.1.html
93      $prefix/share/doc/gettext/gettextize.1.html
94      $prefix/share/doc/gettext/autopoint.1.html
95      $prefix/share/doc/gettext/gettext_*.html
96      $prefix/share/doc/gettext/examples/*
97      $prefix/info/gettext.info*
98      $prefix/include/gettext-po.h
99      $prefix/lib/libgettextlib*
100      $prefix/lib/libgettextsrc*
101      $prefix/lib/libgettextpo*
102      $prefix/lib/preloadable_libintl.so  (only installed on glibc systems)
103      $prefix/lib/gettext/*
104      $prefix/share/locale/*/LC_MESSAGES/gettext-tools.mo
105      $prefix/share/gettext/config.rpath
106      $prefix/share/gettext/mkinstalldirs
107      $prefix/share/gettext/intl/*
108      $prefix/share/gettext/po/*
109      $prefix/share/gettext/projects/*
110      $prefix/share/gettext/gettext.h
111      $prefix/share/gettext/gettext.jar
112      $prefix/share/gettext/msgunfmt.tcl
113      $prefix/share/gettext/archive.tar.gz
114      $prefix/share/aclocal/codeset.m4
115      $prefix/share/aclocal/gettext.m4
116      $prefix/share/aclocal/glibc21.m4
117      $prefix/share/aclocal/iconv.m4
118      $prefix/share/aclocal/intdiv0.m4
119      $prefix/share/aclocal/intmax.m4
120      $prefix/share/aclocal/inttypes.m4
121      $prefix/share/aclocal/inttypes_h.m4
122      $prefix/share/aclocal/inttypes-pri.m4
123      $prefix/share/aclocal/isc-posix.m4
124      $prefix/share/aclocal/lcmessage.m4
125      $prefix/share/aclocal/lib-ld.m4
126      $prefix/share/aclocal/lib-link.m4
127      $prefix/share/aclocal/lib-prefix.m4
128      $prefix/share/aclocal/longdouble.m4
129      $prefix/share/aclocal/longlong.m4
130      $prefix/share/aclocal/nls.m4
131      $prefix/share/aclocal/po.m4
132      $prefix/share/aclocal/printf-posix.m4
133      $prefix/share/aclocal/progtest.m4
134      $prefix/share/aclocal/signed.m4
135      $prefix/share/aclocal/size_max.m4
136      $prefix/share/aclocal/stdint_h.m4
137      $prefix/share/aclocal/uintmax_t.m4
138      $prefix/share/aclocal/ulonglong.m4
139      $prefix/share/aclocal/wchar_t.m4
140      $prefix/share/aclocal/wint_t.m4
141      $prefix/share/aclocal/xsize.m4
142      $prefix/share/emacs/site-lisp/po-compat.el
143      $prefix/share/emacs/site-lisp/po-compat.elc
144      $prefix/share/emacs/site-lisp/po-mode.el
145      $prefix/share/emacs/site-lisp/po-mode.elc
Note: See TracBrowser for help on using the repository browser.