diff options
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz-0.12.20/gettext.patch')
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz-0.12.20/gettext.patch | 21884 |
1 files changed, 21884 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/gettext.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/gettext.patch new file mode 100644 index 0000000..1a24a1f --- /dev/null +++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/gettext.patch | |||
@@ -0,0 +1,21884 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | --- lrzsz-0.12.20.safe/ABOUT-NLS 1998-04-26 09:22:30.000000000 -0400 | ||
4 | +++ lrzsz-0.12.20/ABOUT-NLS 2004-09-12 14:40:34.323752952 -0400 | ||
5 | @@ -1,14 +1,14 @@ | ||
6 | Notes on the Free Translation Project | ||
7 | ************************************* | ||
8 | |||
9 | - Free software is going international! The Free Translation Project | ||
10 | -is a way to get maintainers of free software, translators, and users all | ||
11 | +Free software is going international! The Free Translation Project is | ||
12 | +a way to get maintainers of free software, translators, and users all | ||
13 | together, so that will gradually become able to speak many languages. | ||
14 | A few packages already provide translations for their messages. | ||
15 | |||
16 | If you found this `ABOUT-NLS' file inside a distribution, you may | ||
17 | assume that the distributed package does use GNU `gettext' internally, | ||
18 | -itself available at your nearest GNU archive site. But you do *not* | ||
19 | +itself available at your nearest GNU archive site. But you do _not_ | ||
20 | need to install GNU `gettext' prior to configuring, installing or using | ||
21 | this package with messages translated. | ||
22 | |||
23 | @@ -22,10 +22,10 @@ | ||
24 | `gettext' which is used. The information can be found in the | ||
25 | `intl/VERSION' file, in internationalized packages. | ||
26 | |||
27 | -One advise in advance | ||
28 | -===================== | ||
29 | +Quick configuration advice | ||
30 | +========================== | ||
31 | |||
32 | - If you want to exploit the full power of internationalization, you | ||
33 | +If you want to exploit the full power of internationalization, you | ||
34 | should configure it using | ||
35 | |||
36 | ./configure --with-included-gettext | ||
37 | @@ -34,42 +34,40 @@ | ||
38 | package, despite the existence of internationalizing capabilities in the | ||
39 | operating system where this package is being installed. So far, only | ||
40 | the `gettext' implementation in the GNU C library version 2 provides as | ||
41 | -many features (such as locale alias or message inheritance) as the | ||
42 | -implementation here. It is also not possible to offer this additional | ||
43 | -functionality on top of a `catgets' implementation. Future versions of | ||
44 | -GNU `gettext' will very likely convey even more functionality. So it | ||
45 | -might be a good idea to change to GNU `gettext' as soon as possible. | ||
46 | +many features (such as locale alias, message inheritance, automatic | ||
47 | +charset conversion or plural form handling) as the implementation here. | ||
48 | +It is also not possible to offer this additional functionality on top | ||
49 | +of a `catgets' implementation. Future versions of GNU `gettext' will | ||
50 | +very likely convey even more functionality. So it might be a good idea | ||
51 | +to change to GNU `gettext' as soon as possible. | ||
52 | |||
53 | - So you need not provide this option if you are using GNU libc 2 or | ||
54 | + So you need _not_ provide this option if you are using GNU libc 2 or | ||
55 | you have installed a recent copy of the GNU gettext package with the | ||
56 | included `libintl'. | ||
57 | |||
58 | INSTALL Matters | ||
59 | =============== | ||
60 | |||
61 | - Some packages are "localizable" when properly installed; the | ||
62 | -programs they contain can be made to speak your own native language. | ||
63 | -Most such packages use GNU `gettext'. Other packages have their own | ||
64 | -ways to internationalization, predating GNU `gettext'. | ||
65 | +Some packages are "localizable" when properly installed; the programs | ||
66 | +they contain can be made to speak your own native language. Most such | ||
67 | +packages use GNU `gettext'. Other packages have their own ways to | ||
68 | +internationalization, predating GNU `gettext'. | ||
69 | |||
70 | By default, this package will be installed to allow translation of | ||
71 | -messages. It will automatically detect whether the system provides | ||
72 | -usable `catgets' (if using this is selected by the installer) or | ||
73 | -`gettext' functions. If neither is available, the GNU `gettext' own | ||
74 | +messages. It will automatically detect whether the system already | ||
75 | +provides the GNU `gettext' functions. If not, the GNU `gettext' own | ||
76 | library will be used. This library is wholly contained within this | ||
77 | package, usually in the `intl/' subdirectory, so prior installation of | ||
78 | -the GNU `gettext' package is *not* required. Installers may use | ||
79 | +the GNU `gettext' package is _not_ required. Installers may use | ||
80 | special options at configuration time for changing the default | ||
81 | behaviour. The commands: | ||
82 | |||
83 | ./configure --with-included-gettext | ||
84 | - ./configure --with-catgets | ||
85 | ./configure --disable-nls | ||
86 | |||
87 | -will respectively bypass any pre-existing `catgets' or `gettext' to use | ||
88 | -the internationalizing routines provided within this package, enable | ||
89 | -the use of the `catgets' functions (if found on the locale system), or | ||
90 | -else, *totally* disable translation of messages. | ||
91 | +will respectively bypass any pre-existing `gettext' to use the | ||
92 | +internationalizing routines provided within this package, or else, | ||
93 | +_totally_ disable translation of messages. | ||
94 | |||
95 | When you already have GNU `gettext' installed on your system and run | ||
96 | configure without an option for your new package, `configure' will | ||
97 | @@ -83,18 +81,10 @@ | ||
98 | |||
99 | to prevent auto-detection. | ||
100 | |||
101 | - By default the configuration process will not test for the `catgets' | ||
102 | -function and therefore they will not be used. The reasons are already | ||
103 | -given above: the emulation on top of `catgets' cannot provide all the | ||
104 | -extensions provided by the GNU `gettext' library. If you nevertheless | ||
105 | -want to use the `catgets' functions use | ||
106 | - | ||
107 | - ./configure --with-catgets | ||
108 | - | ||
109 | -to enable the test for `catgets' (this causes no harm if `catgets' is | ||
110 | -not available on your system). If you really select this option we | ||
111 | -would like to hear about the reasons because we cannot think of any | ||
112 | -good one ourself. | ||
113 | + The configuration process will not test for the `catgets' function | ||
114 | +and therefore it will not be used. The reason is that even an | ||
115 | +emulation of `gettext' on top of `catgets' could not provide all the | ||
116 | +extensions of the GNU `gettext' library. | ||
117 | |||
118 | Internationalized packages have usually many `po/LL.po' files, where | ||
119 | LL gives an ISO 639 two-letter code identifying the language. Unless | ||
120 | @@ -108,57 +98,73 @@ | ||
121 | Using This Package | ||
122 | ================== | ||
123 | |||
124 | - As a user, if your language has been installed for this package, you | ||
125 | +As a user, if your language has been installed for this package, you | ||
126 | only have to set the `LANG' environment variable to the appropriate | ||
127 | -ISO 639 `LL' two-letter code prior to using the programs in the | ||
128 | -package. For example, let's suppose that you speak German. At the | ||
129 | -shell prompt, merely execute `setenv LANG de' (in `csh'), | ||
130 | -`export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This | ||
131 | -can be done from your `.login' or `.profile' file, once and for all. | ||
132 | +`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, | ||
133 | +and `CC' is an ISO 3166 two-letter country code. For example, let's | ||
134 | +suppose that you speak German and live in Germany. At the shell | ||
135 | +prompt, merely execute `setenv LANG de_DE' (in `csh'), | ||
136 | +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). | ||
137 | +This can be done from your `.login' or `.profile' file, once and for | ||
138 | +all. | ||
139 | |||
140 | - An operating system might already offer message localization for | ||
141 | -many of its programs, while other programs have been installed locally | ||
142 | -with the full capabilities of GNU `gettext'. Just using `gettext' | ||
143 | -extended syntax for `LANG' would break proper localization of already | ||
144 | -available operating system programs. In this case, users should set | ||
145 | -both `LANGUAGE' and `LANG' variables in their environment, as programs | ||
146 | -using GNU `gettext' give preference to `LANGUAGE'. For example, some | ||
147 | -Swedish users would rather read translations in German than English for | ||
148 | -when Swedish is not available. This is easily accomplished by setting | ||
149 | -`LANGUAGE' to `sv:de' while leaving `LANG' to `sv'. | ||
150 | + You might think that the country code specification is redundant. | ||
151 | +But in fact, some languages have dialects in different countries. For | ||
152 | +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The | ||
153 | +country code serves to distinguish the dialects. | ||
154 | + | ||
155 | + The locale naming convention of `LL_CC', with `LL' denoting the | ||
156 | +language and `CC' denoting the country, is the one use on systems based | ||
157 | +on GNU libc. On other systems, some variations of this scheme are | ||
158 | +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of | ||
159 | +locales supported by your system for your country by running the command | ||
160 | +`locale -a | grep '^LL''. | ||
161 | + | ||
162 | + Not all programs have translations for all languages. By default, an | ||
163 | +English message is shown in place of a nonexistent translation. If you | ||
164 | +understand other languages, you can set up a priority list of languages. | ||
165 | +This is done through a different environment variable, called | ||
166 | +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' | ||
167 | +for the purpose of message handling, but you still need to have `LANG' | ||
168 | +set to the primary language; this is required by other parts of the | ||
169 | +system libraries. For example, some Swedish users who would rather | ||
170 | +read translations in German than English for when Swedish is not | ||
171 | +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. | ||
172 | + | ||
173 | + Special advice for Norwegian users: The language code for Norwegian | ||
174 | +bokma*l changed from `no' to `nb' recently (in 2003). During the | ||
175 | +transition period, while some message catalogs for this language are | ||
176 | +installed under `nb' and some older ones under `no', it's recommended | ||
177 | +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and | ||
178 | +older translations are used. | ||
179 | + | ||
180 | + In the `LANGUAGE' environment variable, but not in the `LANG' | ||
181 | +environment variable, `LL_CC' combinations can be abbreviated as `LL' | ||
182 | +to denote the language's main dialect. For example, `de' is equivalent | ||
183 | +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' | ||
184 | +(Portuguese as spoken in Portugal) in this context. | ||
185 | |||
186 | Translating Teams | ||
187 | ================= | ||
188 | |||
189 | - For the Free Translation Project to be a success, we need interested | ||
190 | +For the Free Translation Project to be a success, we need interested | ||
191 | people who like their own language and write it well, and who are also | ||
192 | able to synergize with other translators speaking the same language. | ||
193 | -Each translation team has its own mailing list, courtesy of Linux | ||
194 | -International. You may reach your translation team at the address | ||
195 | -`LL@li.org', replacing LL by the two-letter ISO 639 code for your | ||
196 | -language. Language codes are *not* the same as the country codes given | ||
197 | -in ISO 3166. The following translation teams exist, as of August 1997: | ||
198 | - | ||
199 | - Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en', | ||
200 | - Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian | ||
201 | - `hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja', | ||
202 | - Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish | ||
203 | - `pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es', | ||
204 | - Swedish `sv', and Turkish `tr'. | ||
205 | - | ||
206 | -For example, you may reach the Chinese translation team by writing to | ||
207 | -`zh@li.org'. | ||
208 | +Each translation team has its own mailing list. The up-to-date list of | ||
209 | +teams can be found at the Free Translation Project's homepage, | ||
210 | +`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" | ||
211 | +area. | ||
212 | |||
213 | - If you'd like to volunteer to *work* at translating messages, you | ||
214 | + If you'd like to volunteer to _work_ at translating messages, you | ||
215 | should become a member of the translating team for your own language. | ||
216 | -The subscribing address is *not* the same as the list itself, it has | ||
217 | +The subscribing address is _not_ the same as the list itself, it has | ||
218 | `-request' appended. For example, speakers of Swedish can send a | ||
219 | message to `sv-request@li.org', having this message body: | ||
220 | |||
221 | subscribe | ||
222 | |||
223 | Keep in mind that team members are expected to participate | ||
224 | -*actively* in translations, or at solving translational difficulties, | ||
225 | +_actively_ in translations, or at solving translational difficulties, | ||
226 | rather than merely lurking around. If your team does not exist yet and | ||
227 | you want to start one, or if you are unsure about what to do or how to | ||
228 | get started, please write to `translation@iro.umontreal.ca' to reach the | ||
229 | @@ -171,43 +177,559 @@ | ||
230 | Available Packages | ||
231 | ================== | ||
232 | |||
233 | - Languages are not equally supported in all packages. The following | ||
234 | -matrix shows the current state of internationalization, as of August | ||
235 | -1997. The matrix shows, in regard of each package, for which languages | ||
236 | -PO files have been submitted to translation coordination. | ||
237 | +Languages are not equally supported in all packages. The following | ||
238 | +matrix shows the current state of internationalization, as of January | ||
239 | +2004. The matrix shows, in regard of each package, for which languages | ||
240 | +PO files have been submitted to translation coordination, with a | ||
241 | +translation percentage of at least 50%. | ||
242 | |||
243 | - Ready PO files cs da de en es fi fr it ja ko nl no pl pt sl sv | ||
244 | - .-------------------------------------------------. | ||
245 | - bash | [] [] [] | 3 | ||
246 | - bison | [] [] [] | 3 | ||
247 | - clisp | [] [] [] [] | 4 | ||
248 | - cpio | [] [] [] [] [] | 5 | ||
249 | - diffutils | [] [] [] [] [] | 5 | ||
250 | - enscript | [] [] [] [] [] [] | 6 | ||
251 | - fileutils | [] [] [] [] [] [] [] [] [] [] | 10 | ||
252 | - findutils | [] [] [] [] [] [] [] [] | 8 | ||
253 | - flex | [] [] [] [] | 4 | ||
254 | - gcal | [] [] [] [] [] | 5 | ||
255 | - gettext | [] [] [] [] [] [] [] [] [] [] | 11 | ||
256 | - grep | [] [] [] [] [] [] [] [] [] | 9 | ||
257 | - hello | [] [] [] [] [] [] [] [] [] [] | 10 | ||
258 | - id-utils | [] [] [] | 3 | ||
259 | - indent | [] [] [] [] | 4 | ||
260 | - libc | [] [] [] [] [] [] [] | 7 | ||
261 | - m4 | [] [] [] [] [] | 5 | ||
262 | - make | [] [] [] [] [] [] | 6 | ||
263 | - music | [] [] | 2 | ||
264 | - ptx | [] [] [] [] [] [] [] [] | 8 | ||
265 | - recode | [] [] [] [] [] [] [] [] [] | 9 | ||
266 | - sh-utils | [] [] [] [] [] [] [] | 7 | ||
267 | - sharutils | [] [] [] [] [] | 5 | ||
268 | - tar | [] [] [] [] [] [] [] [] [] [] | 10 | ||
269 | - texinfo | [] | 1 | ||
270 | - textutils | [] [] [] [] [] [] [] [] [] | 9 | ||
271 | - wdiff | [] [] [] [] [] [] [] [] | 8 | ||
272 | - `-------------------------------------------------' | ||
273 | - 16 languages cs da de en es fi fr it ja ko nl no pl pt sl sv | ||
274 | - 27 packages 3 2 24 1 17 1 26 2 1 11 20 9 19 7 7 17 167 | ||
275 | + Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es | ||
276 | + +----------------------------------------------------+ | ||
277 | + a2ps | [] [] [] [] | | ||
278 | + aegis | () | | ||
279 | + ant-phone | () | | ||
280 | + anubis | | | ||
281 | + ap-utils | | | ||
282 | + aspell | [] | | ||
283 | + bash | [] [] [] [] | | ||
284 | + batchelor | | | ||
285 | + bfd | [] [] | | ||
286 | + binutils | [] [] | | ||
287 | + bison | [] [] [] | | ||
288 | + bluez-pin | [] [] [] | | ||
289 | + clisp | | | ||
290 | + clisp | [] [] [] | | ||
291 | + console-tools | [] [] | | ||
292 | + coreutils | [] [] [] [] | | ||
293 | + cpio | [] [] [] | | ||
294 | + darkstat | [] () [] | | ||
295 | + diffutils | [] [] [] [] [] [] [] | | ||
296 | + e2fsprogs | [] [] [] | | ||
297 | + enscript | [] [] [] [] | | ||
298 | + error | [] [] [] [] [] | | ||
299 | + fetchmail | [] () [] [] [] [] | | ||
300 | + fileutils | [] [] [] | | ||
301 | + findutils | [] [] [] [] [] [] [] | | ||
302 | + flex | [] [] [] [] | | ||
303 | + fslint | | | ||
304 | + gas | [] | | ||
305 | + gawk | [] [] [] [] | | ||
306 | + gbiff | [] | | ||
307 | + gcal | [] | | ||
308 | + gcc | [] [] | | ||
309 | + gettext | [] [] [] [] [] | | ||
310 | + gettext-examples | [] [] [] [] | | ||
311 | + gettext-runtime | [] [] [] [] [] | | ||
312 | + gettext-tools | [] [] [] | | ||
313 | + gimp-print | [] [] [] [] [] | | ||
314 | + gliv | | | ||
315 | + glunarclock | [] [] | | ||
316 | + gnubiff | [] | | ||
317 | + gnucash | [] () [] [] | | ||
318 | + gnucash-glossary | [] () [] | | ||
319 | + gnupg | [] () [] [] [] [] | | ||
320 | + gpe-aerial | [] | | ||
321 | + gpe-beam | [] [] | | ||
322 | + gpe-calendar | [] [] | | ||
323 | + gpe-clock | [] [] | | ||
324 | + gpe-conf | [] [] | | ||
325 | + gpe-contacts | [] [] | | ||
326 | + gpe-edit | [] | | ||
327 | + gpe-go | [] | | ||
328 | + gpe-login | [] [] | | ||
329 | + gpe-ownerinfo | [] [] | | ||
330 | + gpe-sketchbook | [] [] | | ||
331 | + gpe-su | [] [] | | ||
332 | + gpe-taskmanager | [] [] | | ||
333 | + gpe-timesheet | [] | | ||
334 | + gpe-today | [] [] | | ||
335 | + gpe-todo | [] [] | | ||
336 | + gphoto2 | [] [] [] [] | | ||
337 | + gprof | [] [] [] | | ||
338 | + gpsdrive | () () () | | ||
339 | + gramadoir | [] | | ||
340 | + grep | [] [] [] [] [] [] | | ||
341 | + gretl | [] | | ||
342 | + gtick | [] () | | ||
343 | + hello | [] [] [] [] [] [] | | ||
344 | + id-utils | [] [] | | ||
345 | + indent | [] [] [] [] | | ||
346 | + iso_3166 | [] [] [] [] [] [] [] [] [] [] | | ||
347 | + iso_3166_1 | [] [] [] [] [] [] | | ||
348 | + iso_3166_2 | | | ||
349 | + iso_3166_3 | [] | | ||
350 | + iso_4217 | [] [] [] [] | | ||
351 | + iso_639 | | | ||
352 | + jpilot | [] [] [] | | ||
353 | + jtag | | | ||
354 | + jwhois | [] | | ||
355 | + kbd | [] [] [] [] [] | | ||
356 | + latrine | () | | ||
357 | + ld | [] [] | | ||
358 | + libc | [] [] [] [] [] [] | | ||
359 | + libgpewidget | [] [] | | ||
360 | + libiconv | [] [] [] [] [] | | ||
361 | + lifelines | [] () | | ||
362 | + lilypond | [] | | ||
363 | + lingoteach | | | ||
364 | + lingoteach_lessons | () () | | ||
365 | + lynx | [] [] [] [] | | ||
366 | + m4 | [] [] [] [] | | ||
367 | + mailutils | [] [] | | ||
368 | + make | [] [] [] | | ||
369 | + man-db | [] () [] [] () | | ||
370 | + minicom | [] [] [] | | ||
371 | + mysecretdiary | [] [] [] | | ||
372 | + nano | [] () [] [] [] | | ||
373 | + nano_1_0 | [] () [] [] [] | | ||
374 | + opcodes | [] | | ||
375 | + parted | [] [] [] [] [] | | ||
376 | + ptx | [] [] [] [] [] | | ||
377 | + python | | | ||
378 | + radius | [] | | ||
379 | + recode | [] [] [] [] [] [] [] | | ||
380 | + rpm | [] [] | | ||
381 | + screem | | | ||
382 | + scrollkeeper | [] [] [] [] [] [] | | ||
383 | + sed | [] [] [] [] [] [] | | ||
384 | + sh-utils | [] [] [] | | ||
385 | + shared-mime-info | | | ||
386 | + sharutils | [] [] [] [] [] [] | | ||
387 | + silky | () | | ||
388 | + skencil | [] () [] | | ||
389 | + sketch | [] () [] | | ||
390 | + soundtracker | [] [] [] | | ||
391 | + sp | [] | | ||
392 | + tar | [] [] [] [] | | ||
393 | + texinfo | [] [] [] | | ||
394 | + textutils | [] [] [] [] | | ||
395 | + tin | () () | | ||
396 | + tp-robot | | | ||
397 | + tuxpaint | [] [] [] [] [] [] [] | | ||
398 | + unicode-han-tra... | | | ||
399 | + unicode-transla... | | | ||
400 | + util-linux | [] [] [] [] [] | | ||
401 | + vorbis-tools | [] [] [] [] | | ||
402 | + wastesedge | () | | ||
403 | + wdiff | [] [] [] [] | | ||
404 | + wget | [] [] [] [] [] [] | | ||
405 | + xchat | [] [] [] [] | | ||
406 | + xfree86_xkb_xml | [] [] | | ||
407 | + xpad | [] | | ||
408 | + +----------------------------------------------------+ | ||
409 | + af am ar az be bg bs ca cs da de el en en_GB eo es | ||
410 | + 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 | ||
411 | + | ||
412 | + et eu fa fi fr ga gl he hr hu id is it ja ko lg | ||
413 | + +-------------------------------------------------+ | ||
414 | + a2ps | [] [] [] () () | | ||
415 | + aegis | | | ||
416 | + ant-phone | [] | | ||
417 | + anubis | [] | | ||
418 | + ap-utils | [] | | ||
419 | + aspell | [] [] | | ||
420 | + bash | [] [] | | ||
421 | + batchelor | [] [] | | ||
422 | + bfd | [] | | ||
423 | + binutils | [] [] | | ||
424 | + bison | [] [] [] [] | | ||
425 | + bluez-pin | [] [] [] [] [] | | ||
426 | + clisp | | | ||
427 | + clisp | [] | | ||
428 | + console-tools | | | ||
429 | + coreutils | [] [] [] [] [] [] | | ||
430 | + cpio | [] [] [] [] | | ||
431 | + darkstat | () [] [] [] | | ||
432 | + diffutils | [] [] [] [] [] [] [] | | ||
433 | + e2fsprogs | | | ||
434 | + enscript | [] [] | | ||
435 | + error | [] [] [] [] | | ||
436 | + fetchmail | [] | | ||
437 | + fileutils | [] [] [] [] [] [] | | ||
438 | + findutils | [] [] [] [] [] [] [] [] [] [] [] | | ||
439 | + flex | [] [] [] | | ||
440 | + fslint | [] | | ||
441 | + gas | [] | | ||
442 | + gawk | [] [] [] | | ||
443 | + gbiff | [] | | ||
444 | + gcal | [] | | ||
445 | + gcc | [] | | ||
446 | + gettext | [] [] [] | | ||
447 | + gettext-examples | [] [] | | ||
448 | + gettext-runtime | [] [] [] [] [] | | ||
449 | + gettext-tools | [] [] [] | | ||
450 | + gimp-print | [] [] | | ||
451 | + gliv | () | | ||
452 | + glunarclock | [] [] [] [] | | ||
453 | + gnubiff | [] | | ||
454 | + gnucash | () [] | | ||
455 | + gnucash-glossary | [] | | ||
456 | + gnupg | [] [] [] [] [] [] [] | | ||
457 | + gpe-aerial | [] | | ||
458 | + gpe-beam | [] | | ||
459 | + gpe-calendar | [] [] [] | | ||
460 | + gpe-clock | [] | | ||
461 | + gpe-conf | [] | | ||
462 | + gpe-contacts | [] [] | | ||
463 | + gpe-edit | [] [] | | ||
464 | + gpe-go | [] | | ||
465 | + gpe-login | [] [] | | ||
466 | + gpe-ownerinfo | [] [] [] | | ||
467 | + gpe-sketchbook | [] | | ||
468 | + gpe-su | [] | | ||
469 | + gpe-taskmanager | [] | | ||
470 | + gpe-timesheet | [] [] [] | | ||
471 | + gpe-today | [] [] | | ||
472 | + gpe-todo | [] [] | | ||
473 | + gphoto2 | [] [] [] | | ||
474 | + gprof | [] [] | | ||
475 | + gpsdrive | () () () | | ||
476 | + gramadoir | [] [] | | ||
477 | + grep | [] [] [] [] [] [] [] [] [] [] [] | | ||
478 | + gretl | [] [] | | ||
479 | + gtick | [] [] [] | | ||
480 | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | | ||
481 | + id-utils | [] [] [] [] | | ||
482 | + indent | [] [] [] [] [] [] [] [] [] | | ||
483 | + iso_3166 | [] [] [] [] [] [] [] | | ||
484 | + iso_3166_1 | [] [] [] [] [] | | ||
485 | + iso_3166_2 | | | ||
486 | + iso_3166_3 | | | ||
487 | + iso_4217 | [] [] [] [] [] [] | | ||
488 | + iso_639 | | | ||
489 | + jpilot | [] () | | ||
490 | + jtag | [] | | ||
491 | + jwhois | [] [] [] [] | | ||
492 | + kbd | [] | | ||
493 | + latrine | [] | | ||
494 | + ld | [] | | ||
495 | + libc | [] [] [] [] [] [] | | ||
496 | + libgpewidget | [] [] [] [] | | ||
497 | + libiconv | [] [] [] [] [] [] [] [] [] | | ||
498 | + lifelines | () | | ||
499 | + lilypond | [] | | ||
500 | + lingoteach | [] [] | | ||
501 | + lingoteach_lessons | | | ||
502 | + lynx | [] [] [] [] | | ||
503 | + m4 | [] [] [] [] | | ||
504 | + mailutils | | | ||
505 | + make | [] [] [] [] [] [] | | ||
506 | + man-db | () () | | ||
507 | + minicom | [] [] [] [] | | ||
508 | + mysecretdiary | [] [] | | ||
509 | + nano | [] [] [] [] | | ||
510 | + nano_1_0 | [] [] [] [] | | ||
511 | + opcodes | [] | | ||
512 | + parted | [] [] [] | | ||
513 | + ptx | [] [] [] [] [] [] [] | | ||
514 | + python | | | ||
515 | + radius | [] | | ||
516 | + recode | [] [] [] [] [] [] | | ||
517 | + rpm | [] [] | | ||
518 | + screem | | | ||
519 | + scrollkeeper | [] | | ||
520 | + sed | [] [] [] [] [] [] [] [] [] | | ||
521 | + sh-utils | [] [] [] [] [] [] [] | | ||
522 | + shared-mime-info | [] [] [] | | ||
523 | + sharutils | [] [] [] [] [] | | ||
524 | + silky | () [] () () | | ||
525 | + skencil | [] | | ||
526 | + sketch | [] | | ||
527 | + soundtracker | [] [] | | ||
528 | + sp | [] () | | ||
529 | + tar | [] [] [] [] [] [] [] [] [] | | ||
530 | + texinfo | [] [] [] [] | | ||
531 | + textutils | [] [] [] [] [] [] | | ||
532 | + tin | [] () | | ||
533 | + tp-robot | [] | | ||
534 | + tuxpaint | [] [] [] [] [] [] [] [] [] | | ||
535 | + unicode-han-tra... | | | ||
536 | + unicode-transla... | [] [] | | ||
537 | + util-linux | [] [] [] [] () [] | | ||
538 | + vorbis-tools | [] | | ||
539 | + wastesedge | () | | ||
540 | + wdiff | [] [] [] [] [] [] | | ||
541 | + wget | [] [] [] [] [] [] [] | | ||
542 | + xchat | [] [] [] | | ||
543 | + xfree86_xkb_xml | [] [] | | ||
544 | + xpad | [] [] | | ||
545 | + +-------------------------------------------------+ | ||
546 | + et eu fa fi fr ga gl he hr hu id is it ja ko lg | ||
547 | + 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 | ||
548 | + | ||
549 | + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru | ||
550 | + +-----------------------------------------------------+ | ||
551 | + a2ps | [] [] () () [] [] [] | | ||
552 | + aegis | () () () | | ||
553 | + ant-phone | [] [] | | ||
554 | + anubis | [] [] [] [] [] [] | | ||
555 | + ap-utils | [] () [] | | ||
556 | + aspell | [] | | ||
557 | + bash | [] [] [] | | ||
558 | + batchelor | [] | | ||
559 | + bfd | [] | | ||
560 | + binutils | [] | | ||
561 | + bison | [] [] [] [] [] | | ||
562 | + bluez-pin | [] [] [] | | ||
563 | + clisp | | | ||
564 | + clisp | [] | | ||
565 | + console-tools | [] | | ||
566 | + coreutils | [] [] | | ||
567 | + cpio | [] [] [] [] [] | | ||
568 | + darkstat | [] [] [] [] | | ||
569 | + diffutils | [] [] [] [] [] [] | | ||
570 | + e2fsprogs | [] | | ||
571 | + enscript | [] [] [] [] | | ||
572 | + error | [] [] [] | | ||
573 | + fetchmail | [] [] () [] | | ||
574 | + fileutils | [] [] [] | | ||
575 | + findutils | [] [] [] [] [] | | ||
576 | + flex | [] [] [] [] | | ||
577 | + fslint | [] [] | | ||
578 | + gas | | | ||
579 | + gawk | [] [] [] | | ||
580 | + gbiff | [] [] | | ||
581 | + gcal | | | ||
582 | + gcc | | | ||
583 | + gettext | [] [] [] | | ||
584 | + gettext-examples | [] [] [] | | ||
585 | + gettext-runtime | [] [] [] [] | | ||
586 | + gettext-tools | [] [] | | ||
587 | + gimp-print | [] | | ||
588 | + gliv | [] [] [] | | ||
589 | + glunarclock | [] [] [] [] | | ||
590 | + gnubiff | [] | | ||
591 | + gnucash | [] [] () [] | | ||
592 | + gnucash-glossary | [] [] | | ||
593 | + gnupg | [] | | ||
594 | + gpe-aerial | [] [] [] [] | | ||
595 | + gpe-beam | [] [] [] [] | | ||
596 | + gpe-calendar | [] [] [] [] | | ||
597 | + gpe-clock | [] [] [] [] | | ||
598 | + gpe-conf | [] [] [] [] | | ||
599 | + gpe-contacts | [] [] [] [] | | ||
600 | + gpe-edit | [] [] [] [] | | ||
601 | + gpe-go | [] [] [] | | ||
602 | + gpe-login | [] [] [] [] | | ||
603 | + gpe-ownerinfo | [] [] [] [] | | ||
604 | + gpe-sketchbook | [] [] [] [] | | ||
605 | + gpe-su | [] [] [] [] | | ||
606 | + gpe-taskmanager | [] [] [] [] | | ||
607 | + gpe-timesheet | [] [] [] [] | | ||
608 | + gpe-today | [] [] [] [] | | ||
609 | + gpe-todo | [] [] [] [] | | ||
610 | + gphoto2 | [] | | ||
611 | + gprof | [] [] | | ||
612 | + gpsdrive | () () [] | | ||
613 | + gramadoir | () [] | | ||
614 | + grep | [] [] [] [] [] | | ||
615 | + gretl | | | ||
616 | + gtick | [] [] [] | | ||
617 | + hello | [] [] [] [] [] [] [] [] [] [] | | ||
618 | + id-utils | [] [] [] [] | | ||
619 | + indent | [] [] [] [] | | ||
620 | + iso_3166 | [] [] [] | | ||
621 | + iso_3166_1 | [] [] | | ||
622 | + iso_3166_2 | | | ||
623 | + iso_3166_3 | [] | | ||
624 | + iso_4217 | [] [] [] [] [] [] [] [] | | ||
625 | + iso_639 | [] | | ||
626 | + jpilot | () () | | ||
627 | + jtag | | | ||
628 | + jwhois | [] [] [] [] () | | ||
629 | + kbd | [] [] [] | | ||
630 | + latrine | [] | | ||
631 | + ld | | | ||
632 | + libc | [] [] [] [] | | ||
633 | + libgpewidget | [] [] [] | | ||
634 | + libiconv | [] [] [] [] [] | | ||
635 | + lifelines | | | ||
636 | + lilypond | | | ||
637 | + lingoteach | | | ||
638 | + lingoteach_lessons | | | ||
639 | + lynx | [] [] [] | | ||
640 | + m4 | [] [] [] [] [] | | ||
641 | + mailutils | [] [] [] | | ||
642 | + make | [] [] [] [] | | ||
643 | + man-db | [] | | ||
644 | + minicom | [] [] [] [] | | ||
645 | + mysecretdiary | [] [] [] | | ||
646 | + nano | [] [] [] [] [] | | ||
647 | + nano_1_0 | [] [] [] [] [] [] | | ||
648 | + opcodes | [] [] | | ||
649 | + parted | [] [] [] [] | | ||
650 | + ptx | [] [] [] [] [] [] [] [] | | ||
651 | + python | | | ||
652 | + radius | [] [] | | ||
653 | + recode | [] [] [] [] | | ||
654 | + rpm | [] [] [] | | ||
655 | + screem | | | ||
656 | + scrollkeeper | [] [] [] [] [] | | ||
657 | + sed | [] [] [] | | ||
658 | + sh-utils | [] [] | | ||
659 | + shared-mime-info | [] [] | | ||
660 | + sharutils | [] [] | | ||
661 | + silky | () | | ||
662 | + skencil | [] [] | | ||
663 | + sketch | [] [] | | ||
664 | + soundtracker | | | ||
665 | + sp | | | ||
666 | + tar | [] [] [] [] [] [] | | ||
667 | + texinfo | [] [] [] [] | | ||
668 | + textutils | [] [] | | ||
669 | + tin | | | ||
670 | + tp-robot | [] | | ||
671 | + tuxpaint | [] [] [] [] [] [] [] [] | | ||
672 | + unicode-han-tra... | | | ||
673 | + unicode-transla... | | | ||
674 | + util-linux | [] [] [] | | ||
675 | + vorbis-tools | [] [] [] | | ||
676 | + wastesedge | | | ||
677 | + wdiff | [] [] [] [] [] | | ||
678 | + wget | [] [] [] | | ||
679 | + xchat | [] [] [] | | ||
680 | + xfree86_xkb_xml | [] [] | | ||
681 | + xpad | [] [] | | ||
682 | + +-----------------------------------------------------+ | ||
683 | + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru | ||
684 | + 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 | ||
685 | + | ||
686 | + sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu | ||
687 | + +-----------------------------------------------------+ | ||
688 | + a2ps | [] [] [] [] | 16 | ||
689 | + aegis | | 0 | ||
690 | + ant-phone | | 3 | ||
691 | + anubis | [] [] | 9 | ||
692 | + ap-utils | () | 3 | ||
693 | + aspell | | 4 | ||
694 | + bash | | 9 | ||
695 | + batchelor | | 3 | ||
696 | + bfd | [] [] | 6 | ||
697 | + binutils | [] [] [] | 8 | ||
698 | + bison | [] [] | 14 | ||
699 | + bluez-pin | [] [] [] | 14 | ||
700 | + clisp | | 0 | ||
701 | + clisp | | 5 | ||
702 | + console-tools | | 3 | ||
703 | + coreutils | [] [] [] [] | 16 | ||
704 | + cpio | [] [] | 14 | ||
705 | + darkstat | [] [] [] () () | 12 | ||
706 | + diffutils | [] [] [] | 23 | ||
707 | + e2fsprogs | [] [] | 6 | ||
708 | + enscript | [] [] | 12 | ||
709 | + error | [] [] [] | 15 | ||
710 | + fetchmail | [] [] | 11 | ||
711 | + fileutils | [] [] [] [] [] | 17 | ||
712 | + findutils | [] [] [] [] [] [] | 29 | ||
713 | + flex | [] [] | 13 | ||
714 | + fslint | | 3 | ||
715 | + gas | [] | 3 | ||
716 | + gawk | [] [] | 12 | ||
717 | + gbiff | | 4 | ||
718 | + gcal | [] [] | 4 | ||
719 | + gcc | [] | 4 | ||
720 | + gettext | [] [] [] [] [] | 16 | ||
721 | + gettext-examples | [] [] [] [] [] | 14 | ||
722 | + gettext-runtime | [] [] [] [] [] [] [] [] | 22 | ||
723 | + gettext-tools | [] [] [] [] [] [] | 14 | ||
724 | + gimp-print | [] [] | 10 | ||
725 | + gliv | | 3 | ||
726 | + glunarclock | [] [] [] | 13 | ||
727 | + gnubiff | | 3 | ||
728 | + gnucash | [] [] | 9 | ||
729 | + gnucash-glossary | [] [] [] | 8 | ||
730 | + gnupg | [] [] [] [] | 17 | ||
731 | + gpe-aerial | [] | 7 | ||
732 | + gpe-beam | [] | 8 | ||
733 | + gpe-calendar | [] [] [] [] | 13 | ||
734 | + gpe-clock | [] [] [] | 10 | ||
735 | + gpe-conf | [] [] | 9 | ||
736 | + gpe-contacts | [] [] [] | 11 | ||
737 | + gpe-edit | [] [] [] [] [] | 12 | ||
738 | + gpe-go | | 5 | ||
739 | + gpe-login | [] [] [] [] [] | 13 | ||
740 | + gpe-ownerinfo | [] [] [] [] | 13 | ||
741 | + gpe-sketchbook | [] [] | 9 | ||
742 | + gpe-su | [] [] [] | 10 | ||
743 | + gpe-taskmanager | [] [] [] | 10 | ||
744 | + gpe-timesheet | [] [] [] [] | 12 | ||
745 | + gpe-today | [] [] [] [] [] | 13 | ||
746 | + gpe-todo | [] [] [] [] | 12 | ||
747 | + gphoto2 | [] [] [] | 11 | ||
748 | + gprof | [] [] | 9 | ||
749 | + gpsdrive | [] [] | 3 | ||
750 | + gramadoir | [] | 5 | ||
751 | + grep | [] [] [] [] | 26 | ||
752 | + gretl | | 3 | ||
753 | + gtick | | 7 | ||
754 | + hello | [] [] [] [] [] | 34 | ||
755 | + id-utils | [] [] | 12 | ||
756 | + indent | [] [] [] [] | 21 | ||
757 | + iso_3166 | [] [] [] [] [] [] [] | 27 | ||
758 | + iso_3166_1 | [] [] [] | 16 | ||
759 | + iso_3166_2 | | 0 | ||
760 | + iso_3166_3 | | 2 | ||
761 | + iso_4217 | [] [] [] [] [] [] | 24 | ||
762 | + iso_639 | | 1 | ||
763 | + jpilot | [] [] [] [] [] | 9 | ||
764 | + jtag | [] | 2 | ||
765 | + jwhois | () [] [] | 11 | ||
766 | + kbd | [] [] | 11 | ||
767 | + latrine | | 2 | ||
768 | + ld | [] [] | 5 | ||
769 | + libc | [] [] [] [] | 20 | ||
770 | + libgpewidget | [] [] [] [] | 13 | ||
771 | + libiconv | [] [] [] [] [] [] [] [] | 27 | ||
772 | + lifelines | [] | 2 | ||
773 | + lilypond | [] | 3 | ||
774 | + lingoteach | | 2 | ||
775 | + lingoteach_lessons | () | 0 | ||
776 | + lynx | [] [] [] | 14 | ||
777 | + m4 | [] [] | 15 | ||
778 | + mailutils | | 5 | ||
779 | + make | [] [] [] | 16 | ||
780 | + man-db | [] | 5 | ||
781 | + minicom | | 11 | ||
782 | + mysecretdiary | [] [] | 10 | ||
783 | + nano | [] [] [] [] | 17 | ||
784 | + nano_1_0 | [] [] [] | 17 | ||
785 | + opcodes | [] [] | 6 | ||
786 | + parted | [] [] [] | 15 | ||
787 | + ptx | [] [] | 22 | ||
788 | + python | | 0 | ||
789 | + radius | | 4 | ||
790 | + recode | [] [] [] | 20 | ||
791 | + rpm | [] [] | 9 | ||
792 | + screem | [] [] | 2 | ||
793 | + scrollkeeper | [] [] [] | 15 | ||
794 | + sed | [] [] [] [] [] [] | 24 | ||
795 | + sh-utils | [] [] | 14 | ||
796 | + shared-mime-info | [] [] | 7 | ||
797 | + sharutils | [] [] [] [] | 17 | ||
798 | + silky | () | 3 | ||
799 | + skencil | [] | 6 | ||
800 | + sketch | [] | 6 | ||
801 | + soundtracker | [] [] | 7 | ||
802 | + sp | [] | 3 | ||
803 | + tar | [] [] [] [] [] | 24 | ||
804 | + texinfo | [] [] [] | 14 | ||
805 | + textutils | [] [] [] [] | 16 | ||
806 | + tin | | 1 | ||
807 | + tp-robot | | 2 | ||
808 | + tuxpaint | [] [] [] [] [] | 29 | ||
809 | + unicode-han-tra... | | 0 | ||
810 | + unicode-transla... | | 2 | ||
811 | + util-linux | [] [] | 15 | ||
812 | + vorbis-tools | | 8 | ||
813 | + wastesedge | | 0 | ||
814 | + wdiff | [] [] [] | 18 | ||
815 | + wget | [] [] [] [] [] [] [] [] | 24 | ||
816 | + xchat | [] [] [] [] [] | 15 | ||
817 | + xfree86_xkb_xml | [] [] [] [] [] | 11 | ||
818 | + xpad | | 5 | ||
819 | + +-----------------------------------------------------+ | ||
820 | + 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu | ||
821 | + 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 | ||
822 | |||
823 | Some counters in the preceding matrix are higher than the number of | ||
824 | visible blocks let us expect. This is because a few extra PO files are | ||
825 | @@ -220,6 +742,27 @@ | ||
826 | lag between the mere existence a PO file and its wide availability in a | ||
827 | distribution. | ||
828 | |||
829 | - If August 1997 seems to be old, you may fetch a more recent copy of | ||
830 | -this `ABOUT-NLS' file on most GNU archive sites. | ||
831 | + If January 2004 seems to be old, you may fetch a more recent copy of | ||
832 | +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date | ||
833 | +matrix with full percentage details can be found at | ||
834 | +`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. | ||
835 | + | ||
836 | +Using `gettext' in new packages | ||
837 | +=============================== | ||
838 | + | ||
839 | +If you are writing a freely available program and want to | ||
840 | +internationalize it you are welcome to use GNU `gettext' in your | ||
841 | +package. Of course you have to respect the GNU Library General Public | ||
842 | +License which covers the use of the GNU `gettext' library. This means | ||
843 | +in particular that even non-free programs can use `libintl' as a shared | ||
844 | +library, whereas only free software can use `libintl' as a static | ||
845 | +library or use modified versions of `libintl'. | ||
846 | + | ||
847 | + Once the sources are changed appropriately and the setup can handle | ||
848 | +the use of `gettext' the only thing missing are the translations. The | ||
849 | +Free Translation Project is also available for packages which are not | ||
850 | +developed inside the GNU project. Therefore the information given above | ||
851 | +applies also for every other Free Software Project. Contact | ||
852 | +`translation@iro.umontreal.ca' to make the `.pot' files available to | ||
853 | +the translation teams. | ||
854 | |||
855 | --- lrzsz-0.12.20.safe/ChangeLog 1998-12-29 17:49:56.000000000 -0500 | ||
856 | +++ lrzsz-0.12.20/ChangeLog 2004-09-12 14:40:35.846521456 -0400 | ||
857 | @@ -1,3 +1,11 @@ | ||
858 | +2004-09-12 gettextize <bug-gnu-gettext@gnu.org> | ||
859 | + | ||
860 | + * Makefile.am (ACLOCAL_AMFLAGS): New variable. | ||
861 | + (EXTRA_DIST): Add config.rpath. | ||
862 | + * configure.in (AC_OUTPUT): Add m4/Makefile. | ||
863 | + (AC_OUTPUT): Remove command that created po/Makefile. | ||
864 | + (AC_LINK_FILES): Remove invocation. | ||
865 | + | ||
866 | 1998-12-29 Uwe Ohse <uwe@ohse.de> | ||
867 | |||
868 | * src/lrz.c: removed stpcpy call. | ||
869 | --- lrzsz-0.12.20.safe/config.rpath 1969-12-31 19:00:00.000000000 -0500 | ||
870 | +++ lrzsz-0.12.20/config.rpath 2004-09-12 14:40:34.329752040 -0400 | ||
871 | @@ -0,0 +1,548 @@ | ||
872 | +#! /bin/sh | ||
873 | +# Output a system dependent set of variables, describing how to set the | ||
874 | +# run time search path of shared libraries in an executable. | ||
875 | +# | ||
876 | +# Copyright 1996-2003 Free Software Foundation, Inc. | ||
877 | +# Taken from GNU libtool, 2001 | ||
878 | +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | ||
879 | +# | ||
880 | +# This program is free software; you can redistribute it and/or modify | ||
881 | +# it under the terms of the GNU General Public License as published by | ||
882 | +# the Free Software Foundation; either version 2 of the License, or | ||
883 | +# (at your option) any later version. | ||
884 | +# | ||
885 | +# This program is distributed in the hope that it will be useful, but | ||
886 | +# WITHOUT ANY WARRANTY; without even the implied warranty of | ||
887 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
888 | +# General Public License for more details. | ||
889 | +# | ||
890 | +# You should have received a copy of the GNU General Public License | ||
891 | +# along with this program; if not, write to the Free Software | ||
892 | +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
893 | +# | ||
894 | +# As a special exception to the GNU General Public License, if you | ||
895 | +# distribute this file as part of a program that contains a | ||
896 | +# configuration script generated by Autoconf, you may include it under | ||
897 | +# the same distribution terms that you use for the rest of that program. | ||
898 | +# | ||
899 | +# The first argument passed to this file is the canonical host specification, | ||
900 | +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | ||
901 | +# or | ||
902 | +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | ||
903 | +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld | ||
904 | +# should be set by the caller. | ||
905 | +# | ||
906 | +# The set of defined variables is at the end of this script. | ||
907 | + | ||
908 | +# Known limitations: | ||
909 | +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer | ||
910 | +# than 256 bytes, otherwise the compiler driver will dump core. The only | ||
911 | +# known workaround is to choose shorter directory names for the build | ||
912 | +# directory and/or the installation directory. | ||
913 | + | ||
914 | +# All known linkers require a `.a' archive for static linking (except M$VC, | ||
915 | +# which needs '.lib'). | ||
916 | +libext=a | ||
917 | +shrext=.so | ||
918 | + | ||
919 | +host="$1" | ||
920 | +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
921 | +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
922 | +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
923 | + | ||
924 | +# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. | ||
925 | + | ||
926 | +wl= | ||
927 | +if test "$GCC" = yes; then | ||
928 | + wl='-Wl,' | ||
929 | +else | ||
930 | + case "$host_os" in | ||
931 | + aix*) | ||
932 | + wl='-Wl,' | ||
933 | + ;; | ||
934 | + mingw* | pw32* | os2*) | ||
935 | + ;; | ||
936 | + hpux9* | hpux10* | hpux11*) | ||
937 | + wl='-Wl,' | ||
938 | + ;; | ||
939 | + irix5* | irix6* | nonstopux*) | ||
940 | + wl='-Wl,' | ||
941 | + ;; | ||
942 | + newsos6) | ||
943 | + ;; | ||
944 | + linux*) | ||
945 | + case $CC in | ||
946 | + icc|ecc) | ||
947 | + wl='-Wl,' | ||
948 | + ;; | ||
949 | + ccc) | ||
950 | + wl='-Wl,' | ||
951 | + ;; | ||
952 | + esac | ||
953 | + ;; | ||
954 | + osf3* | osf4* | osf5*) | ||
955 | + wl='-Wl,' | ||
956 | + ;; | ||
957 | + sco3.2v5*) | ||
958 | + ;; | ||
959 | + solaris*) | ||
960 | + wl='-Wl,' | ||
961 | + ;; | ||
962 | + sunos4*) | ||
963 | + wl='-Qoption ld ' | ||
964 | + ;; | ||
965 | + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | ||
966 | + wl='-Wl,' | ||
967 | + ;; | ||
968 | + sysv4*MP*) | ||
969 | + ;; | ||
970 | + uts4*) | ||
971 | + ;; | ||
972 | + esac | ||
973 | +fi | ||
974 | + | ||
975 | +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. | ||
976 | + | ||
977 | +hardcode_libdir_flag_spec= | ||
978 | +hardcode_libdir_separator= | ||
979 | +hardcode_direct=no | ||
980 | +hardcode_minus_L=no | ||
981 | + | ||
982 | +case "$host_os" in | ||
983 | + cygwin* | mingw* | pw32*) | ||
984 | + # FIXME: the MSVC++ port hasn't been tested in a loooong time | ||
985 | + # When not using gcc, we currently assume that we are using | ||
986 | + # Microsoft Visual C++. | ||
987 | + if test "$GCC" != yes; then | ||
988 | + with_gnu_ld=no | ||
989 | + fi | ||
990 | + ;; | ||
991 | + openbsd*) | ||
992 | + with_gnu_ld=no | ||
993 | + ;; | ||
994 | +esac | ||
995 | + | ||
996 | +ld_shlibs=yes | ||
997 | +if test "$with_gnu_ld" = yes; then | ||
998 | + case "$host_os" in | ||
999 | + aix3* | aix4* | aix5*) | ||
1000 | + # On AIX/PPC, the GNU linker is very broken | ||
1001 | + if test "$host_cpu" != ia64; then | ||
1002 | + ld_shlibs=no | ||
1003 | + fi | ||
1004 | + ;; | ||
1005 | + amigaos*) | ||
1006 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1007 | + hardcode_minus_L=yes | ||
1008 | + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | ||
1009 | + # that the semantics of dynamic libraries on AmigaOS, at least up | ||
1010 | + # to version 4, is to share data among multiple programs linked | ||
1011 | + # with the same dynamic library. Since this doesn't match the | ||
1012 | + # behavior of shared libraries on other platforms, we can use | ||
1013 | + # them. | ||
1014 | + ld_shlibs=no | ||
1015 | + ;; | ||
1016 | + beos*) | ||
1017 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
1018 | + : | ||
1019 | + else | ||
1020 | + ld_shlibs=no | ||
1021 | + fi | ||
1022 | + ;; | ||
1023 | + cygwin* | mingw* | pw32*) | ||
1024 | + # hardcode_libdir_flag_spec is actually meaningless, as there is | ||
1025 | + # no search path for DLLs. | ||
1026 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1027 | + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | ||
1028 | + : | ||
1029 | + else | ||
1030 | + ld_shlibs=no | ||
1031 | + fi | ||
1032 | + ;; | ||
1033 | + netbsd*) | ||
1034 | + ;; | ||
1035 | + solaris* | sysv5*) | ||
1036 | + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | ||
1037 | + ld_shlibs=no | ||
1038 | + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
1039 | + : | ||
1040 | + else | ||
1041 | + ld_shlibs=no | ||
1042 | + fi | ||
1043 | + ;; | ||
1044 | + sunos4*) | ||
1045 | + hardcode_direct=yes | ||
1046 | + ;; | ||
1047 | + *) | ||
1048 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
1049 | + : | ||
1050 | + else | ||
1051 | + ld_shlibs=no | ||
1052 | + fi | ||
1053 | + ;; | ||
1054 | + esac | ||
1055 | + if test "$ld_shlibs" = yes; then | ||
1056 | + # Unlike libtool, we use -rpath here, not --rpath, since the documented | ||
1057 | + # option of GNU ld is called -rpath, not --rpath. | ||
1058 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | ||
1059 | + fi | ||
1060 | +else | ||
1061 | + case "$host_os" in | ||
1062 | + aix3*) | ||
1063 | + # Note: this linker hardcodes the directories in LIBPATH if there | ||
1064 | + # are no directories specified by -L. | ||
1065 | + hardcode_minus_L=yes | ||
1066 | + if test "$GCC" = yes; then | ||
1067 | + # Neither direct hardcoding nor static linking is supported with a | ||
1068 | + # broken collect2. | ||
1069 | + hardcode_direct=unsupported | ||
1070 | + fi | ||
1071 | + ;; | ||
1072 | + aix4* | aix5*) | ||
1073 | + if test "$host_cpu" = ia64; then | ||
1074 | + # On IA64, the linker does run time linking by default, so we don't | ||
1075 | + # have to do anything special. | ||
1076 | + aix_use_runtimelinking=no | ||
1077 | + else | ||
1078 | + aix_use_runtimelinking=no | ||
1079 | + # Test if we are trying to use run time linking or normal | ||
1080 | + # AIX style linking. If -brtl is somewhere in LDFLAGS, we | ||
1081 | + # need to do runtime linking. | ||
1082 | + case $host_os in aix4.[23]|aix4.[23].*|aix5*) | ||
1083 | + for ld_flag in $LDFLAGS; do | ||
1084 | + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | ||
1085 | + aix_use_runtimelinking=yes | ||
1086 | + break | ||
1087 | + fi | ||
1088 | + done | ||
1089 | + esac | ||
1090 | + fi | ||
1091 | + hardcode_direct=yes | ||
1092 | + hardcode_libdir_separator=':' | ||
1093 | + if test "$GCC" = yes; then | ||
1094 | + case $host_os in aix4.[012]|aix4.[012].*) | ||
1095 | + collect2name=`${CC} -print-prog-name=collect2` | ||
1096 | + if test -f "$collect2name" && \ | ||
1097 | + strings "$collect2name" | grep resolve_lib_name >/dev/null | ||
1098 | + then | ||
1099 | + # We have reworked collect2 | ||
1100 | + hardcode_direct=yes | ||
1101 | + else | ||
1102 | + # We have old collect2 | ||
1103 | + hardcode_direct=unsupported | ||
1104 | + hardcode_minus_L=yes | ||
1105 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1106 | + hardcode_libdir_separator= | ||
1107 | + fi | ||
1108 | + esac | ||
1109 | + fi | ||
1110 | + # Begin _LT_AC_SYS_LIBPATH_AIX. | ||
1111 | + echo 'int main () { return 0; }' > conftest.c | ||
1112 | + ${CC} ${LDFLAGS} conftest.c -o conftest | ||
1113 | + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | ||
1114 | +}'` | ||
1115 | + if test -z "$aix_libpath"; then | ||
1116 | + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | ||
1117 | +}'` | ||
1118 | + fi | ||
1119 | + if test -z "$aix_libpath"; then | ||
1120 | + aix_libpath="/usr/lib:/lib" | ||
1121 | + fi | ||
1122 | + rm -f conftest.c conftest | ||
1123 | + # End _LT_AC_SYS_LIBPATH_AIX. | ||
1124 | + if test "$aix_use_runtimelinking" = yes; then | ||
1125 | + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
1126 | + else | ||
1127 | + if test "$host_cpu" = ia64; then | ||
1128 | + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | ||
1129 | + else | ||
1130 | + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
1131 | + fi | ||
1132 | + fi | ||
1133 | + ;; | ||
1134 | + amigaos*) | ||
1135 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1136 | + hardcode_minus_L=yes | ||
1137 | + # see comment about different semantics on the GNU ld section | ||
1138 | + ld_shlibs=no | ||
1139 | + ;; | ||
1140 | + bsdi4*) | ||
1141 | + ;; | ||
1142 | + cygwin* | mingw* | pw32*) | ||
1143 | + # When not using gcc, we currently assume that we are using | ||
1144 | + # Microsoft Visual C++. | ||
1145 | + # hardcode_libdir_flag_spec is actually meaningless, as there is | ||
1146 | + # no search path for DLLs. | ||
1147 | + hardcode_libdir_flag_spec=' ' | ||
1148 | + libext=lib | ||
1149 | + ;; | ||
1150 | + darwin* | rhapsody*) | ||
1151 | + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | ||
1152 | + hardcode_direct=no | ||
1153 | + fi | ||
1154 | + ;; | ||
1155 | + dgux*) | ||
1156 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1157 | + ;; | ||
1158 | + freebsd1*) | ||
1159 | + ld_shlibs=no | ||
1160 | + ;; | ||
1161 | + freebsd2.2*) | ||
1162 | + hardcode_libdir_flag_spec='-R$libdir' | ||
1163 | + hardcode_direct=yes | ||
1164 | + ;; | ||
1165 | + freebsd2*) | ||
1166 | + hardcode_direct=yes | ||
1167 | + hardcode_minus_L=yes | ||
1168 | + ;; | ||
1169 | + freebsd*) | ||
1170 | + hardcode_libdir_flag_spec='-R$libdir' | ||
1171 | + hardcode_direct=yes | ||
1172 | + ;; | ||
1173 | + hpux9*) | ||
1174 | + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | ||
1175 | + hardcode_libdir_separator=: | ||
1176 | + hardcode_direct=yes | ||
1177 | + # hardcode_minus_L: Not really in the search PATH, | ||
1178 | + # but as the default location of the library. | ||
1179 | + hardcode_minus_L=yes | ||
1180 | + ;; | ||
1181 | + hpux10* | hpux11*) | ||
1182 | + if test "$with_gnu_ld" = no; then | ||
1183 | + case "$host_cpu" in | ||
1184 | + hppa*64*) | ||
1185 | + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | ||
1186 | + hardcode_libdir_separator=: | ||
1187 | + hardcode_direct=no | ||
1188 | + ;; | ||
1189 | + ia64*) | ||
1190 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1191 | + hardcode_direct=no | ||
1192 | + # hardcode_minus_L: Not really in the search PATH, | ||
1193 | + # but as the default location of the library. | ||
1194 | + hardcode_minus_L=yes | ||
1195 | + ;; | ||
1196 | + *) | ||
1197 | + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | ||
1198 | + hardcode_libdir_separator=: | ||
1199 | + hardcode_direct=yes | ||
1200 | + # hardcode_minus_L: Not really in the search PATH, | ||
1201 | + # but as the default location of the library. | ||
1202 | + hardcode_minus_L=yes | ||
1203 | + ;; | ||
1204 | + esac | ||
1205 | + fi | ||
1206 | + ;; | ||
1207 | + irix5* | irix6* | nonstopux*) | ||
1208 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | ||
1209 | + hardcode_libdir_separator=: | ||
1210 | + ;; | ||
1211 | + netbsd*) | ||
1212 | + hardcode_libdir_flag_spec='-R$libdir' | ||
1213 | + hardcode_direct=yes | ||
1214 | + ;; | ||
1215 | + newsos6) | ||
1216 | + hardcode_direct=yes | ||
1217 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | ||
1218 | + hardcode_libdir_separator=: | ||
1219 | + ;; | ||
1220 | + openbsd*) | ||
1221 | + hardcode_direct=yes | ||
1222 | + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | ||
1223 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
1224 | + else | ||
1225 | + case "$host_os" in | ||
1226 | + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | ||
1227 | + hardcode_libdir_flag_spec='-R$libdir' | ||
1228 | + ;; | ||
1229 | + *) | ||
1230 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
1231 | + ;; | ||
1232 | + esac | ||
1233 | + fi | ||
1234 | + ;; | ||
1235 | + os2*) | ||
1236 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1237 | + hardcode_minus_L=yes | ||
1238 | + ;; | ||
1239 | + osf3*) | ||
1240 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | ||
1241 | + hardcode_libdir_separator=: | ||
1242 | + ;; | ||
1243 | + osf4* | osf5*) | ||
1244 | + if test "$GCC" = yes; then | ||
1245 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | ||
1246 | + else | ||
1247 | + # Both cc and cxx compiler support -rpath directly | ||
1248 | + hardcode_libdir_flag_spec='-rpath $libdir' | ||
1249 | + fi | ||
1250 | + hardcode_libdir_separator=: | ||
1251 | + ;; | ||
1252 | + sco3.2v5*) | ||
1253 | + ;; | ||
1254 | + solaris*) | ||
1255 | + hardcode_libdir_flag_spec='-R$libdir' | ||
1256 | + ;; | ||
1257 | + sunos4*) | ||
1258 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1259 | + hardcode_direct=yes | ||
1260 | + hardcode_minus_L=yes | ||
1261 | + ;; | ||
1262 | + sysv4) | ||
1263 | + case $host_vendor in | ||
1264 | + sni) | ||
1265 | + hardcode_direct=yes # is this really true??? | ||
1266 | + ;; | ||
1267 | + siemens) | ||
1268 | + hardcode_direct=no | ||
1269 | + ;; | ||
1270 | + motorola) | ||
1271 | + hardcode_direct=no #Motorola manual says yes, but my tests say they lie | ||
1272 | + ;; | ||
1273 | + esac | ||
1274 | + ;; | ||
1275 | + sysv4.3*) | ||
1276 | + ;; | ||
1277 | + sysv4*MP*) | ||
1278 | + if test -d /usr/nec; then | ||
1279 | + ld_shlibs=yes | ||
1280 | + fi | ||
1281 | + ;; | ||
1282 | + sysv4.2uw2*) | ||
1283 | + hardcode_direct=yes | ||
1284 | + hardcode_minus_L=no | ||
1285 | + ;; | ||
1286 | + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | ||
1287 | + ;; | ||
1288 | + sysv5*) | ||
1289 | + hardcode_libdir_flag_spec= | ||
1290 | + ;; | ||
1291 | + uts4*) | ||
1292 | + hardcode_libdir_flag_spec='-L$libdir' | ||
1293 | + ;; | ||
1294 | + *) | ||
1295 | + ld_shlibs=no | ||
1296 | + ;; | ||
1297 | + esac | ||
1298 | +fi | ||
1299 | + | ||
1300 | +# Check dynamic linker characteristics | ||
1301 | +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. | ||
1302 | +libname_spec='lib$name' | ||
1303 | +case "$host_os" in | ||
1304 | + aix3*) | ||
1305 | + ;; | ||
1306 | + aix4* | aix5*) | ||
1307 | + ;; | ||
1308 | + amigaos*) | ||
1309 | + ;; | ||
1310 | + beos*) | ||
1311 | + ;; | ||
1312 | + bsdi4*) | ||
1313 | + ;; | ||
1314 | + cygwin* | mingw* | pw32*) | ||
1315 | + shrext=.dll | ||
1316 | + ;; | ||
1317 | + darwin* | rhapsody*) | ||
1318 | + shrext=.dylib | ||
1319 | + ;; | ||
1320 | + dgux*) | ||
1321 | + ;; | ||
1322 | + freebsd1*) | ||
1323 | + ;; | ||
1324 | + freebsd*) | ||
1325 | + ;; | ||
1326 | + gnu*) | ||
1327 | + ;; | ||
1328 | + hpux9* | hpux10* | hpux11*) | ||
1329 | + case "$host_cpu" in | ||
1330 | + ia64*) | ||
1331 | + shrext=.so | ||
1332 | + ;; | ||
1333 | + hppa*64*) | ||
1334 | + shrext=.sl | ||
1335 | + ;; | ||
1336 | + *) | ||
1337 | + shrext=.sl | ||
1338 | + ;; | ||
1339 | + esac | ||
1340 | + ;; | ||
1341 | + irix5* | irix6* | nonstopux*) | ||
1342 | + case "$host_os" in | ||
1343 | + irix5* | nonstopux*) | ||
1344 | + libsuff= shlibsuff= | ||
1345 | + ;; | ||
1346 | + *) | ||
1347 | + case $LD in | ||
1348 | + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; | ||
1349 | + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; | ||
1350 | + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; | ||
1351 | + *) libsuff= shlibsuff= ;; | ||
1352 | + esac | ||
1353 | + ;; | ||
1354 | + esac | ||
1355 | + ;; | ||
1356 | + linux*oldld* | linux*aout* | linux*coff*) | ||
1357 | + ;; | ||
1358 | + linux*) | ||
1359 | + ;; | ||
1360 | + netbsd*) | ||
1361 | + ;; | ||
1362 | + newsos6) | ||
1363 | + ;; | ||
1364 | + nto-qnx) | ||
1365 | + ;; | ||
1366 | + openbsd*) | ||
1367 | + ;; | ||
1368 | + os2*) | ||
1369 | + libname_spec='$name' | ||
1370 | + shrext=.dll | ||
1371 | + ;; | ||
1372 | + osf3* | osf4* | osf5*) | ||
1373 | + ;; | ||
1374 | + sco3.2v5*) | ||
1375 | + ;; | ||
1376 | + solaris*) | ||
1377 | + ;; | ||
1378 | + sunos4*) | ||
1379 | + ;; | ||
1380 | + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | ||
1381 | + ;; | ||
1382 | + sysv4*MP*) | ||
1383 | + ;; | ||
1384 | + uts4*) | ||
1385 | + ;; | ||
1386 | +esac | ||
1387 | + | ||
1388 | +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | ||
1389 | +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` | ||
1390 | +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` | ||
1391 | +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | ||
1392 | + | ||
1393 | +sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF | ||
1394 | + | ||
1395 | +# How to pass a linker flag through the compiler. | ||
1396 | +wl="$escaped_wl" | ||
1397 | + | ||
1398 | +# Static library suffix (normally "a"). | ||
1399 | +libext="$libext" | ||
1400 | + | ||
1401 | +# Shared library suffix (normally "so"). | ||
1402 | +shlibext="$shlibext" | ||
1403 | + | ||
1404 | +# Flag to hardcode \$libdir into a binary during linking. | ||
1405 | +# This must work even if \$libdir does not exist. | ||
1406 | +hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" | ||
1407 | + | ||
1408 | +# Whether we need a single -rpath flag with a separated argument. | ||
1409 | +hardcode_libdir_separator="$hardcode_libdir_separator" | ||
1410 | + | ||
1411 | +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the | ||
1412 | +# resulting binary. | ||
1413 | +hardcode_direct="$hardcode_direct" | ||
1414 | + | ||
1415 | +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the | ||
1416 | +# resulting binary. | ||
1417 | +hardcode_minus_L="$hardcode_minus_L" | ||
1418 | + | ||
1419 | +EOF | ||
1420 | --- lrzsz-0.12.20.safe/configure.in 2004-09-12 14:39:55.161706488 -0400 | ||
1421 | +++ lrzsz-0.12.20/configure.in 2004-09-12 14:40:35.816526016 -0400 | ||
1422 | @@ -260,11 +260,10 @@ | ||
1423 | AM_GNU_GETTEXT | ||
1424 | |||
1425 | AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME") | ||
1426 | -AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) | ||
1427 | |||
1428 | -AC_OUTPUT([Makefile intl/Makefile lib/Makefile testsuite/Makefile \ | ||
1429 | +AC_OUTPUT([Makefile intl/Makefile lib/Makefile testsuite/Makefile m4/Makefile \ | ||
1430 | man/Makefile po/Makefile.in src/Makefile debian/rules Specfile systype \ | ||
1431 | src/lrzszbug], | ||
1432 | -[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile; | ||
1433 | +[ | ||
1434 | chmod +x debian/rules; | ||
1435 | test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h]) | ||
1436 | --- lrzsz-0.12.20.safe/intl/bindtextdom.c 1998-04-26 09:22:36.000000000 -0400 | ||
1437 | +++ lrzsz-0.12.20/intl/bindtextdom.c 2004-09-12 14:40:34.343749912 -0400 | ||
1438 | @@ -1,59 +1,75 @@ | ||
1439 | /* Implementation of the bindtextdomain(3) function | ||
1440 | - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. | ||
1441 | + Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. | ||
1442 | |||
1443 | - This program is free software; you can redistribute it and/or modify | ||
1444 | - it under the terms of the GNU General Public License as published by | ||
1445 | - the Free Software Foundation; either version 2, or (at your option) | ||
1446 | + This program is free software; you can redistribute it and/or modify it | ||
1447 | + under the terms of the GNU Library General Public License as published | ||
1448 | + by the Free Software Foundation; either version 2, or (at your option) | ||
1449 | any later version. | ||
1450 | |||
1451 | This program is distributed in the hope that it will be useful, | ||
1452 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1453 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1454 | - GNU General Public License for more details. | ||
1455 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
1456 | + Library General Public License for more details. | ||
1457 | |||
1458 | - You should have received a copy of the GNU General Public License | ||
1459 | - along with this program; if not, write to the Free Software Foundation, | ||
1460 | - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | ||
1461 | + You should have received a copy of the GNU Library General Public | ||
1462 | + License along with this program; if not, write to the Free Software | ||
1463 | + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
1464 | + USA. */ | ||
1465 | |||
1466 | #ifdef HAVE_CONFIG_H | ||
1467 | # include <config.h> | ||
1468 | #endif | ||
1469 | |||
1470 | -#if defined STDC_HEADERS || defined _LIBC | ||
1471 | -# include <stdlib.h> | ||
1472 | -#else | ||
1473 | -# ifdef HAVE_MALLOC_H | ||
1474 | -# include <malloc.h> | ||
1475 | -# else | ||
1476 | -void free (); | ||
1477 | -# endif | ||
1478 | -#endif | ||
1479 | +#include <stddef.h> | ||
1480 | +#include <stdlib.h> | ||
1481 | +#include <string.h> | ||
1482 | |||
1483 | -#if defined HAVE_STRING_H || defined _LIBC | ||
1484 | -# include <string.h> | ||
1485 | +#ifdef _LIBC | ||
1486 | +# include <libintl.h> | ||
1487 | #else | ||
1488 | -# include <strings.h> | ||
1489 | -# ifndef memcpy | ||
1490 | -# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) | ||
1491 | -# endif | ||
1492 | +# include "libgnuintl.h" | ||
1493 | #endif | ||
1494 | +#include "gettextP.h" | ||
1495 | |||
1496 | #ifdef _LIBC | ||
1497 | -# include <libintl.h> | ||
1498 | +/* We have to handle multi-threaded applications. */ | ||
1499 | +# include <bits/libc-lock.h> | ||
1500 | #else | ||
1501 | -# include "libgettext.h" | ||
1502 | +/* Provide dummy implementation if this is outside glibc. */ | ||
1503 | +# define __libc_rwlock_define(CLASS, NAME) | ||
1504 | +# define __libc_rwlock_wrlock(NAME) | ||
1505 | +# define __libc_rwlock_unlock(NAME) | ||
1506 | +#endif | ||
1507 | + | ||
1508 | +/* The internal variables in the standalone libintl.a must have different | ||
1509 | + names than the internal variables in GNU libc, otherwise programs | ||
1510 | + using libintl.a cannot be linked statically. */ | ||
1511 | +#if !defined _LIBC | ||
1512 | +# define _nl_default_dirname libintl_nl_default_dirname | ||
1513 | +# define _nl_domain_bindings libintl_nl_domain_bindings | ||
1514 | +#endif | ||
1515 | + | ||
1516 | +/* Some compilers, like SunOS4 cc, don't have offsetof in <stddef.h>. */ | ||
1517 | +#ifndef offsetof | ||
1518 | +# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) | ||
1519 | #endif | ||
1520 | -#include "gettext.h" | ||
1521 | -#include "gettextP.h" | ||
1522 | |||
1523 | /* @@ end of prolog @@ */ | ||
1524 | |||
1525 | /* Contains the default location of the message catalogs. */ | ||
1526 | extern const char _nl_default_dirname[]; | ||
1527 | +#ifdef _LIBC | ||
1528 | +extern const char _nl_default_dirname_internal[] attribute_hidden; | ||
1529 | +#else | ||
1530 | +# define INTUSE(name) name | ||
1531 | +#endif | ||
1532 | |||
1533 | /* List with bindings of specific domains. */ | ||
1534 | extern struct binding *_nl_domain_bindings; | ||
1535 | |||
1536 | +/* Lock variable to protect the global data in the gettext implementation. */ | ||
1537 | +__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) | ||
1538 | + | ||
1539 | |||
1540 | /* Names for the libintl functions are a problem. They must not clash | ||
1541 | with existing names and they should follow ANSI C. But this source | ||
1542 | @@ -61,23 +77,41 @@ | ||
1543 | prefix. So we have to make a difference here. */ | ||
1544 | #ifdef _LIBC | ||
1545 | # define BINDTEXTDOMAIN __bindtextdomain | ||
1546 | -# define strdup(str) __strdup (str) | ||
1547 | +# define BIND_TEXTDOMAIN_CODESET __bind_textdomain_codeset | ||
1548 | +# ifndef strdup | ||
1549 | +# define strdup(str) __strdup (str) | ||
1550 | +# endif | ||
1551 | #else | ||
1552 | -# define BINDTEXTDOMAIN bindtextdomain__ | ||
1553 | +# define BINDTEXTDOMAIN libintl_bindtextdomain | ||
1554 | +# define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset | ||
1555 | #endif | ||
1556 | |||
1557 | -/* Specify that the DOMAINNAME message catalog will be found | ||
1558 | - in DIRNAME rather than in the system locale data base. */ | ||
1559 | -char * | ||
1560 | -BINDTEXTDOMAIN (domainname, dirname) | ||
1561 | - const char *domainname; | ||
1562 | - const char *dirname; | ||
1563 | +/* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP | ||
1564 | + to be used for the DOMAINNAME message catalog. | ||
1565 | + If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not | ||
1566 | + modified, only the current value is returned. | ||
1567 | + If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither | ||
1568 | + modified nor returned. */ | ||
1569 | +static void | ||
1570 | +set_binding_values (const char *domainname, | ||
1571 | + const char **dirnamep, const char **codesetp) | ||
1572 | { | ||
1573 | struct binding *binding; | ||
1574 | + int modified; | ||
1575 | |||
1576 | /* Some sanity checks. */ | ||
1577 | if (domainname == NULL || domainname[0] == '\0') | ||
1578 | - return NULL; | ||
1579 | + { | ||
1580 | + if (dirnamep) | ||
1581 | + *dirnamep = NULL; | ||
1582 | + if (codesetp) | ||
1583 | + *codesetp = NULL; | ||
1584 | + return; | ||
1585 | + } | ||
1586 | + | ||
1587 | + __libc_rwlock_wrlock (_nl_state_lock); | ||
1588 | + | ||
1589 | + modified = 0; | ||
1590 | |||
1591 | for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) | ||
1592 | { | ||
1593 | @@ -93,81 +127,173 @@ | ||
1594 | } | ||
1595 | } | ||
1596 | |||
1597 | - if (dirname == NULL) | ||
1598 | - /* The current binding has be to returned. */ | ||
1599 | - return binding == NULL ? (char *) _nl_default_dirname : binding->dirname; | ||
1600 | - | ||
1601 | if (binding != NULL) | ||
1602 | { | ||
1603 | - /* The domain is already bound. If the new value and the old | ||
1604 | - one are equal we simply do nothing. Otherwise replace the | ||
1605 | - old binding. */ | ||
1606 | - if (strcmp (dirname, binding->dirname) != 0) | ||
1607 | + if (dirnamep) | ||
1608 | { | ||
1609 | - char *new_dirname; | ||
1610 | + const char *dirname = *dirnamep; | ||
1611 | |||
1612 | - if (strcmp (dirname, _nl_default_dirname) == 0) | ||
1613 | - new_dirname = (char *) _nl_default_dirname; | ||
1614 | + if (dirname == NULL) | ||
1615 | + /* The current binding has be to returned. */ | ||
1616 | + *dirnamep = binding->dirname; | ||
1617 | else | ||
1618 | { | ||
1619 | + /* The domain is already bound. If the new value and the old | ||
1620 | + one are equal we simply do nothing. Otherwise replace the | ||
1621 | + old binding. */ | ||
1622 | + char *result = binding->dirname; | ||
1623 | + if (strcmp (dirname, result) != 0) | ||
1624 | + { | ||
1625 | + if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) | ||
1626 | + result = (char *) INTUSE(_nl_default_dirname); | ||
1627 | + else | ||
1628 | + { | ||
1629 | #if defined _LIBC || defined HAVE_STRDUP | ||
1630 | - new_dirname = strdup (dirname); | ||
1631 | - if (new_dirname == NULL) | ||
1632 | - return NULL; | ||
1633 | + result = strdup (dirname); | ||
1634 | #else | ||
1635 | - size_t len = strlen (dirname) + 1; | ||
1636 | - new_dirname = (char *) malloc (len); | ||
1637 | - if (new_dirname == NULL) | ||
1638 | - return NULL; | ||
1639 | - | ||
1640 | - memcpy (new_dirname, dirname, len); | ||
1641 | + size_t len = strlen (dirname) + 1; | ||
1642 | + result = (char *) malloc (len); | ||
1643 | + if (__builtin_expect (result != NULL, 1)) | ||
1644 | + memcpy (result, dirname, len); | ||
1645 | #endif | ||
1646 | + } | ||
1647 | + | ||
1648 | + if (__builtin_expect (result != NULL, 1)) | ||
1649 | + { | ||
1650 | + if (binding->dirname != INTUSE(_nl_default_dirname)) | ||
1651 | + free (binding->dirname); | ||
1652 | + | ||
1653 | + binding->dirname = result; | ||
1654 | + modified = 1; | ||
1655 | + } | ||
1656 | + } | ||
1657 | + *dirnamep = result; | ||
1658 | } | ||
1659 | + } | ||
1660 | |||
1661 | - if (binding->dirname != _nl_default_dirname) | ||
1662 | - free (binding->dirname); | ||
1663 | + if (codesetp) | ||
1664 | + { | ||
1665 | + const char *codeset = *codesetp; | ||
1666 | |||
1667 | - binding->dirname = new_dirname; | ||
1668 | + if (codeset == NULL) | ||
1669 | + /* The current binding has be to returned. */ | ||
1670 | + *codesetp = binding->codeset; | ||
1671 | + else | ||
1672 | + { | ||
1673 | + /* The domain is already bound. If the new value and the old | ||
1674 | + one are equal we simply do nothing. Otherwise replace the | ||
1675 | + old binding. */ | ||
1676 | + char *result = binding->codeset; | ||
1677 | + if (result == NULL || strcmp (codeset, result) != 0) | ||
1678 | + { | ||
1679 | +#if defined _LIBC || defined HAVE_STRDUP | ||
1680 | + result = strdup (codeset); | ||
1681 | +#else | ||
1682 | + size_t len = strlen (codeset) + 1; | ||
1683 | + result = (char *) malloc (len); | ||
1684 | + if (__builtin_expect (result != NULL, 1)) | ||
1685 | + memcpy (result, codeset, len); | ||
1686 | +#endif | ||
1687 | + | ||
1688 | + if (__builtin_expect (result != NULL, 1)) | ||
1689 | + { | ||
1690 | + if (binding->codeset != NULL) | ||
1691 | + free (binding->codeset); | ||
1692 | + | ||
1693 | + binding->codeset = result; | ||
1694 | + binding->codeset_cntr++; | ||
1695 | + modified = 1; | ||
1696 | + } | ||
1697 | + } | ||
1698 | + *codesetp = result; | ||
1699 | + } | ||
1700 | } | ||
1701 | } | ||
1702 | + else if ((dirnamep == NULL || *dirnamep == NULL) | ||
1703 | + && (codesetp == NULL || *codesetp == NULL)) | ||
1704 | + { | ||
1705 | + /* Simply return the default values. */ | ||
1706 | + if (dirnamep) | ||
1707 | + *dirnamep = INTUSE(_nl_default_dirname); | ||
1708 | + if (codesetp) | ||
1709 | + *codesetp = NULL; | ||
1710 | + } | ||
1711 | else | ||
1712 | { | ||
1713 | /* We have to create a new binding. */ | ||
1714 | - size_t len; | ||
1715 | + size_t len = strlen (domainname) + 1; | ||
1716 | struct binding *new_binding = | ||
1717 | - (struct binding *) malloc (sizeof (*new_binding)); | ||
1718 | + (struct binding *) malloc (offsetof (struct binding, domainname) + len); | ||
1719 | |||
1720 | - if (new_binding == NULL) | ||
1721 | - return NULL; | ||
1722 | + if (__builtin_expect (new_binding == NULL, 0)) | ||
1723 | + goto failed; | ||
1724 | |||
1725 | + memcpy (new_binding->domainname, domainname, len); | ||
1726 | + | ||
1727 | + if (dirnamep) | ||
1728 | + { | ||
1729 | + const char *dirname = *dirnamep; | ||
1730 | + | ||
1731 | + if (dirname == NULL) | ||
1732 | + /* The default value. */ | ||
1733 | + dirname = INTUSE(_nl_default_dirname); | ||
1734 | + else | ||
1735 | + { | ||
1736 | + if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) | ||
1737 | + dirname = INTUSE(_nl_default_dirname); | ||
1738 | + else | ||
1739 | + { | ||
1740 | + char *result; | ||
1741 | #if defined _LIBC || defined HAVE_STRDUP | ||
1742 | - new_binding->domainname = strdup (domainname); | ||
1743 | - if (new_binding->domainname == NULL) | ||
1744 | - return NULL; | ||
1745 | + result = strdup (dirname); | ||
1746 | + if (__builtin_expect (result == NULL, 0)) | ||
1747 | + goto failed_dirname; | ||
1748 | #else | ||
1749 | - len = strlen (domainname) + 1; | ||
1750 | - new_binding->domainname = (char *) malloc (len); | ||
1751 | - if (new_binding->domainname == NULL) | ||
1752 | - return NULL; | ||
1753 | - memcpy (new_binding->domainname, domainname, len); | ||
1754 | + size_t len = strlen (dirname) + 1; | ||
1755 | + result = (char *) malloc (len); | ||
1756 | + if (__builtin_expect (result == NULL, 0)) | ||
1757 | + goto failed_dirname; | ||
1758 | + memcpy (result, dirname, len); | ||
1759 | #endif | ||
1760 | - | ||
1761 | - if (strcmp (dirname, _nl_default_dirname) == 0) | ||
1762 | - new_binding->dirname = (char *) _nl_default_dirname; | ||
1763 | + dirname = result; | ||
1764 | + } | ||
1765 | + } | ||
1766 | + *dirnamep = dirname; | ||
1767 | + new_binding->dirname = (char *) dirname; | ||
1768 | + } | ||
1769 | else | ||
1770 | + /* The default value. */ | ||
1771 | + new_binding->dirname = (char *) INTUSE(_nl_default_dirname); | ||
1772 | + | ||
1773 | + new_binding->codeset_cntr = 0; | ||
1774 | + | ||
1775 | + if (codesetp) | ||
1776 | { | ||
1777 | + const char *codeset = *codesetp; | ||
1778 | + | ||
1779 | + if (codeset != NULL) | ||
1780 | + { | ||
1781 | + char *result; | ||
1782 | + | ||
1783 | #if defined _LIBC || defined HAVE_STRDUP | ||
1784 | - new_binding->dirname = strdup (dirname); | ||
1785 | - if (new_binding->dirname == NULL) | ||
1786 | - return NULL; | ||
1787 | + result = strdup (codeset); | ||
1788 | + if (__builtin_expect (result == NULL, 0)) | ||
1789 | + goto failed_codeset; | ||
1790 | #else | ||
1791 | - len = strlen (dirname) + 1; | ||
1792 | - new_binding->dirname = (char *) malloc (len); | ||
1793 | - if (new_binding->dirname == NULL) | ||
1794 | - return NULL; | ||
1795 | - memcpy (new_binding->dirname, dirname, len); | ||
1796 | + size_t len = strlen (codeset) + 1; | ||
1797 | + result = (char *) malloc (len); | ||
1798 | + if (__builtin_expect (result == NULL, 0)) | ||
1799 | + goto failed_codeset; | ||
1800 | + memcpy (result, codeset, len); | ||
1801 | #endif | ||
1802 | + codeset = result; | ||
1803 | + new_binding->codeset_cntr++; | ||
1804 | + } | ||
1805 | + *codesetp = codeset; | ||
1806 | + new_binding->codeset = (char *) codeset; | ||
1807 | } | ||
1808 | + else | ||
1809 | + new_binding->codeset = NULL; | ||
1810 | |||
1811 | /* Now enqueue it. */ | ||
1812 | if (_nl_domain_bindings == NULL | ||
1813 | @@ -187,13 +313,51 @@ | ||
1814 | binding->next = new_binding; | ||
1815 | } | ||
1816 | |||
1817 | - binding = new_binding; | ||
1818 | + modified = 1; | ||
1819 | + | ||
1820 | + /* Here we deal with memory allocation failures. */ | ||
1821 | + if (0) | ||
1822 | + { | ||
1823 | + failed_codeset: | ||
1824 | + if (new_binding->dirname != INTUSE(_nl_default_dirname)) | ||
1825 | + free (new_binding->dirname); | ||
1826 | + failed_dirname: | ||
1827 | + free (new_binding); | ||
1828 | + failed: | ||
1829 | + if (dirnamep) | ||
1830 | + *dirnamep = NULL; | ||
1831 | + if (codesetp) | ||
1832 | + *codesetp = NULL; | ||
1833 | + } | ||
1834 | } | ||
1835 | |||
1836 | - return binding->dirname; | ||
1837 | + /* If we modified any binding, we flush the caches. */ | ||
1838 | + if (modified) | ||
1839 | + ++_nl_msg_cat_cntr; | ||
1840 | + | ||
1841 | + __libc_rwlock_unlock (_nl_state_lock); | ||
1842 | +} | ||
1843 | + | ||
1844 | +/* Specify that the DOMAINNAME message catalog will be found | ||
1845 | + in DIRNAME rather than in the system locale data base. */ | ||
1846 | +char * | ||
1847 | +BINDTEXTDOMAIN (const char *domainname, const char *dirname) | ||
1848 | +{ | ||
1849 | + set_binding_values (domainname, &dirname, NULL); | ||
1850 | + return (char *) dirname; | ||
1851 | +} | ||
1852 | + | ||
1853 | +/* Specify the character encoding in which the messages from the | ||
1854 | + DOMAINNAME message catalog will be returned. */ | ||
1855 | +char * | ||
1856 | +BIND_TEXTDOMAIN_CODESET (const char *domainname, const char *codeset) | ||
1857 | +{ | ||
1858 | + set_binding_values (domainname, NULL, &codeset); | ||
1859 | + return (char *) codeset; | ||
1860 | } | ||
1861 | |||
1862 | #ifdef _LIBC | ||
1863 | -/* Alias for function name in GNU C Library. */ | ||
1864 | +/* Aliases for function names in GNU C Library. */ | ||
1865 | weak_alias (__bindtextdomain, bindtextdomain); | ||
1866 | +weak_alias (__bind_textdomain_codeset, bind_textdomain_codeset); | ||
1867 | #endif | ||
1868 | --- lrzsz-0.12.20.safe/intl/cat-compat.c 1998-04-26 09:22:37.000000000 -0400 | ||
1869 | +++ lrzsz-0.12.20/intl/cat-compat.c 1969-12-31 19:00:00.000000000 -0500 | ||
1870 | @@ -1,262 +0,0 @@ | ||
1871 | -/* Compatibility code for gettext-using-catgets interface. | ||
1872 | - Copyright (C) 1995, 1997 Free Software Foundation, Inc. | ||
1873 | - | ||
1874 | - This program is free software; you can redistribute it and/or modify | ||
1875 | - it under the terms of the GNU General Public License as published by | ||
1876 | - the Free Software Foundation; either version 2, or (at your option) | ||
1877 | - any later version. | ||
1878 | - | ||
1879 | - This program is distributed in the hope that it will be useful, | ||
1880 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1881 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1882 | - GNU General Public License for more details. | ||
1883 | - | ||
1884 | - You should have received a copy of the GNU General Public License | ||
1885 | - along with this program; if not, write to the Free Software Foundation, | ||
1886 | - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | ||
1887 | - | ||
1888 | -#ifdef HAVE_CONFIG_H | ||
1889 | -# include <config.h> | ||
1890 | -#endif | ||
1891 | - | ||
1892 | -#include <stdio.h> | ||
1893 | - | ||
1894 | -#ifdef STDC_HEADERS | ||
1895 | -# include <stdlib.h> | ||
1896 | -# include <string.h> | ||
1897 | -#else | ||
1898 | -char *getenv (); | ||
1899 | -# ifdef HAVE_MALLOC_H | ||
1900 | -# include <malloc.h> | ||
1901 | -# endif | ||
1902 | -#endif | ||
1903 | - | ||
1904 | -#ifdef HAVE_NL_TYPES_H | ||
1905 | -# include <nl_types.h> | ||
1906 | -#endif | ||
1907 | - | ||
1908 | -#include "libgettext.h" | ||
1909 | - | ||
1910 | -/* @@ end of prolog @@ */ | ||
1911 | - | ||
1912 | -/* XPG3 defines the result of `setlocale (category, NULL)' as: | ||
1913 | - ``Directs `setlocale()' to query `category' and return the current | ||
1914 | - setting of `local'.'' | ||
1915 | - However it does not specify the exact format. And even worse: POSIX | ||
1916 | - defines this not at all. So we can use this feature only on selected | ||
1917 | - system (e.g. those using GNU C Library). */ | ||
1918 | -#ifdef _LIBC | ||
1919 | -# define HAVE_LOCALE_NULL | ||
1920 | -#endif | ||
1921 | - | ||
1922 | -/* The catalog descriptor. */ | ||
1923 | -static nl_catd catalog = (nl_catd) -1; | ||
1924 | - | ||
1925 | -/* Name of the default catalog. */ | ||
1926 | -static const char default_catalog_name[] = "messages"; | ||
1927 | - | ||
1928 | -/* Name of currently used catalog. */ | ||
1929 | -static const char *catalog_name = default_catalog_name; | ||
1930 | - | ||
1931 | -/* Get ID for given string. If not found return -1. */ | ||
1932 | -static int msg_to_cat_id PARAMS ((const char *msg)); | ||
1933 | - | ||
1934 | -/* Substitution for systems lacking this function in their C library. */ | ||
1935 | -#if !_LIBC && !HAVE_STPCPY | ||
1936 | -static char *stpcpy PARAMS ((char *dest, const char *src)); | ||
1937 | -#endif | ||
1938 | - | ||
1939 | - | ||
1940 | -/* Set currently used domain/catalog. */ | ||
1941 | -char * | ||
1942 | -textdomain (domainname) | ||
1943 | - const char *domainname; | ||
1944 | -{ | ||
1945 | - nl_catd new_catalog; | ||
1946 | - char *new_name; | ||
1947 | - size_t new_name_len; | ||
1948 | - char *lang; | ||
1949 | - | ||
1950 | -#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES \ | ||
1951 | - && defined HAVE_LOCALE_NULL | ||
1952 | - lang = setlocale (LC_MESSAGES, NULL); | ||
1953 | -#else | ||
1954 | - lang = getenv ("LC_ALL"); | ||
1955 | - if (lang == NULL || lang[0] == '\0') | ||
1956 | - { | ||
1957 | - lang = getenv ("LC_MESSAGES"); | ||
1958 | - if (lang == NULL || lang[0] == '\0') | ||
1959 | - lang = getenv ("LANG"); | ||
1960 | - } | ||
1961 | -#endif | ||
1962 | - if (lang == NULL || lang[0] == '\0') | ||
1963 | - lang = "C"; | ||
1964 | - | ||
1965 | - /* See whether name of currently used domain is asked. */ | ||
1966 | - if (domainname == NULL) | ||
1967 | - return (char *) catalog_name; | ||
1968 | - | ||
1969 | - if (domainname[0] == '\0') | ||
1970 | - domainname = default_catalog_name; | ||
1971 | - | ||
1972 | - /* Compute length of added path element. */ | ||
1973 | - new_name_len = sizeof (LOCALEDIR) - 1 + 1 + strlen (lang) | ||
1974 | - + sizeof ("/LC_MESSAGES/") - 1 + sizeof (PACKAGE) - 1 | ||
1975 | - + sizeof (".cat"); | ||
1976 | - | ||
1977 | - new_name = (char *) malloc (new_name_len); | ||
1978 | - if (new_name == NULL) | ||
1979 | - return NULL; | ||
1980 | - | ||
1981 | - strcpy (new_name, PACKAGE); | ||
1982 | - new_catalog = catopen (new_name, 0); | ||
1983 | - | ||
1984 | - if (new_catalog == (nl_catd) -1) | ||
1985 | - { | ||
1986 | - /* NLSPATH search didn't work, try absolute path */ | ||
1987 | - sprintf (new_name, "%s/%s/LC_MESSAGES/%s.cat", LOCALEDIR, lang, | ||
1988 | - PACKAGE); | ||
1989 | - new_catalog = catopen (new_name, 0); | ||
1990 | - | ||
1991 | - if (new_catalog == (nl_catd) -1) | ||
1992 | - { | ||
1993 | - free (new_name); | ||
1994 | - return (char *) catalog_name; | ||
1995 | - } | ||
1996 | - } | ||
1997 | - | ||
1998 | - /* Close old catalog. */ | ||
1999 | - if (catalog != (nl_catd) -1) | ||
2000 | - catclose (catalog); | ||
2001 | - if (catalog_name != default_catalog_name) | ||
2002 | - free ((char *) catalog_name); | ||
2003 | - | ||
2004 | - catalog = new_catalog; | ||
2005 | - catalog_name = new_name; | ||
2006 | - | ||
2007 | - return (char *) catalog_name; | ||
2008 | -} | ||
2009 | - | ||
2010 | -char * | ||
2011 | -bindtextdomain (domainname, dirname) | ||
2012 | - const char *domainname; | ||
2013 | - const char *dirname; | ||
2014 | -{ | ||
2015 | -#if HAVE_SETENV || HAVE_PUTENV | ||
2016 | - char *old_val, *new_val, *cp; | ||
2017 | - size_t new_val_len; | ||
2018 | - | ||
2019 | - /* This does not make much sense here but to be compatible do it. */ | ||
2020 | - if (domainname == NULL) | ||
2021 | - return NULL; | ||
2022 | - | ||
2023 | - /* Compute length of added path element. If we use setenv we don't need | ||
2024 | - the first byts for NLSPATH=, but why complicate the code for this | ||
2025 | - peanuts. */ | ||
2026 | - new_val_len = sizeof ("NLSPATH=") - 1 + strlen (dirname) | ||
2027 | - + sizeof ("/%L/LC_MESSAGES/%N.cat"); | ||
2028 | - | ||
2029 | - old_val = getenv ("NLSPATH"); | ||
2030 | - if (old_val == NULL || old_val[0] == '\0') | ||
2031 | - { | ||
2032 | - old_val = NULL; | ||
2033 | - new_val_len += 1 + sizeof (LOCALEDIR) - 1 | ||
2034 | - + sizeof ("/%L/LC_MESSAGES/%N.cat"); | ||
2035 | - } | ||
2036 | - else | ||
2037 | - new_val_len += strlen (old_val); | ||
2038 | - | ||
2039 | - new_val = (char *) malloc (new_val_len); | ||
2040 | - if (new_val == NULL) | ||
2041 | - return NULL; | ||
2042 | - | ||
2043 | -# if HAVE_SETENV | ||
2044 | - cp = new_val; | ||
2045 | -# else | ||
2046 | - cp = stpcpy (new_val, "NLSPATH="); | ||
2047 | -# endif | ||
2048 | - | ||
2049 | - cp = stpcpy (cp, dirname); | ||
2050 | - cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); | ||
2051 | - | ||
2052 | - if (old_val == NULL) | ||
2053 | - { | ||
2054 | -# if __STDC__ | ||
2055 | - stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); | ||
2056 | -# else | ||
2057 | - | ||
2058 | - cp = stpcpy (cp, LOCALEDIR); | ||
2059 | - stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); | ||
2060 | -# endif | ||
2061 | - } | ||
2062 | - else | ||
2063 | - stpcpy (cp, old_val); | ||
2064 | - | ||
2065 | -# if HAVE_SETENV | ||
2066 | - setenv ("NLSPATH", new_val, 1); | ||
2067 | - free (new_val); | ||
2068 | -# else | ||
2069 | - putenv (new_val); | ||
2070 | - /* Do *not* free the environment entry we just entered. It is used | ||
2071 | - from now on. */ | ||
2072 | -# endif | ||
2073 | - | ||
2074 | -#endif | ||
2075 | - | ||
2076 | - return (char *) domainname; | ||
2077 | -} | ||
2078 | - | ||
2079 | -#undef gettext | ||
2080 | -char * | ||
2081 | -gettext (msg) | ||
2082 | - const char *msg; | ||
2083 | -{ | ||
2084 | - int msgid; | ||
2085 | - | ||
2086 | - if (msg == NULL || catalog == (nl_catd) -1) | ||
2087 | - return (char *) msg; | ||
2088 | - | ||
2089 | - /* Get the message from the catalog. We always use set number 1. | ||
2090 | - The message ID is computed by the function `msg_to_cat_id' | ||
2091 | - which works on the table generated by `po-to-tbl'. */ | ||
2092 | - msgid = msg_to_cat_id (msg); | ||
2093 | - if (msgid == -1) | ||
2094 | - return (char *) msg; | ||
2095 | - | ||
2096 | - return catgets (catalog, 1, msgid, (char *) msg); | ||
2097 | -} | ||
2098 | - | ||
2099 | -/* Look through the table `_msg_tbl' which has `_msg_tbl_length' entries | ||
2100 | - for the one equal to msg. If it is found return the ID. In case when | ||
2101 | - the string is not found return -1. */ | ||
2102 | -static int | ||
2103 | -msg_to_cat_id (msg) | ||
2104 | - const char *msg; | ||
2105 | -{ | ||
2106 | - int cnt; | ||
2107 | - | ||
2108 | - for (cnt = 0; cnt < _msg_tbl_length; ++cnt) | ||
2109 | - if (strcmp (msg, _msg_tbl[cnt]._msg) == 0) | ||
2110 | - return _msg_tbl[cnt]._msg_number; | ||
2111 | - | ||
2112 | - return -1; | ||
2113 | -} | ||
2114 | - | ||
2115 | - | ||
2116 | -/* @@ begin of epilog @@ */ | ||
2117 | - | ||
2118 | -/* We don't want libintl.a to depend on any other library. So we | ||
2119 | - avoid the non-standard function stpcpy. In GNU C Library this | ||
2120 | - function is available, though. Also allow the symbol HAVE_STPCPY | ||
2121 | - to be defined. */ | ||
2122 | -#if !_LIBC && !HAVE_STPCPY | ||
2123 | -static char * | ||
2124 | -stpcpy (dest, src) | ||
2125 | - char *dest; | ||
2126 | - const char *src; | ||
2127 | -{ | ||
2128 | - while ((*dest++ = *src++) != '\0') | ||
2129 | - /* Do nothing. */ ; | ||
2130 | - return dest - 1; | ||
2131 | -} | ||
2132 | -#endif | ||
2133 | --- lrzsz-0.12.20.safe/intl/ChangeLog 1998-04-26 09:22:35.000000000 -0400 | ||
2134 | +++ lrzsz-0.12.20/intl/ChangeLog 2004-09-12 14:40:34.349749000 -0400 | ||
2135 | @@ -1,1022 +1,4 @@ | ||
2136 | -1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com> | ||
2137 | - | ||
2138 | - * intlh.inst.in: Reformat copyright. | ||
2139 | - | ||
2140 | -1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com> | ||
2141 | - | ||
2142 | - * dcgettext.c (DCGETTEXT): Remove wrong comment. | ||
2143 | - | ||
2144 | -1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com> | ||
2145 | - | ||
2146 | - * Makefile.in (install-data): Don't change directory to install. | ||
2147 | - | ||
2148 | -1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com> | ||
2149 | - | ||
2150 | - * cat-compat.c: Fix copyright. | ||
2151 | - | ||
2152 | - * localealias.c: Don't define strchr unless !HAVE_STRCHR. | ||
2153 | - | ||
2154 | - * loadmsgcat.c: Update copyright. Fix typos. | ||
2155 | - | ||
2156 | - * l10nflist.c: Don't define strchr unless !HAVE_STRCHR. | ||
2157 | - (_nl_make_l10nflist): Handle sponsor and revision correctly. | ||
2158 | - | ||
2159 | - * gettext.c: Update copyright. | ||
2160 | - * gettext.h: Likewise. | ||
2161 | - * hash-string.h: Likewise. | ||
2162 | - | ||
2163 | - * finddomain.c: Remoave dead code. Define strchr only if | ||
2164 | - !HAVE_STRCHR. | ||
2165 | - | ||
2166 | - * explodename.c: Include <sys/types.h>. | ||
2167 | - | ||
2168 | - * explodename.c: Reformat copyright text. | ||
2169 | - (_nl_explode_name): Fix typo. | ||
2170 | - | ||
2171 | - * dcgettext.c: Define and use __set_errno. | ||
2172 | - (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is | ||
2173 | - not defined. | ||
2174 | - | ||
2175 | - * bindtextdom.c: Pretty printing. | ||
2176 | - | ||
2177 | -1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com> | ||
2178 | - | ||
2179 | - * dcgettext.c (guess_category_value): Don't depend on | ||
2180 | - HAVE_LC_MESSAGES. We don't need the macro here. | ||
2181 | - Patch by Bruno Haible <haible@ilog.fr>. | ||
2182 | - | ||
2183 | - * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL | ||
2184 | - macro. Instead use HAVE_LOCALE_NULL and define it when using | ||
2185 | - glibc, as in dcgettext.c. | ||
2186 | - Patch by Bruno Haible <haible@ilog.fr>. | ||
2187 | - | ||
2188 | - * Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois | ||
2189 | - Pinard. | ||
2190 | - | ||
2191 | -Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com> | ||
2192 | - | ||
2193 | - * Makefile.in: Implement handling of libtool. | ||
2194 | - | ||
2195 | - * gettextP.h: Change data structures for use of generic lowlevel | ||
2196 | - i18n file handling. | ||
2197 | - | ||
2198 | -Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2199 | - | ||
2200 | - * textdomain.c: Put parentheses around arguments of memcpy macro | ||
2201 | - definition. | ||
2202 | - * localealias.c: Likewise. | ||
2203 | - * l10nflist.c: Likewise. | ||
2204 | - * finddomain.c: Likewise. | ||
2205 | - * bindtextdom.c: Likewise. | ||
2206 | - Reported by Thomas Esken. | ||
2207 | - | ||
2208 | -Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2209 | - | ||
2210 | - * textdomain.c: Move definition of `memcpy` macro to right | ||
2211 | - position. | ||
2212 | - | ||
2213 | -Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2214 | - | ||
2215 | - * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using | ||
2216 | - bcopy if not already defined. Reported by Thomas Esken. | ||
2217 | - * bindtextdom.c: Likewise. | ||
2218 | - * l10nflist.c: Likewise. | ||
2219 | - * localealias.c: Likewise. | ||
2220 | - * textdomain.c: Likewise. | ||
2221 | - | ||
2222 | -Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2223 | - | ||
2224 | - * Makefile.in (libdir): Change to use exec_prefix instead of | ||
2225 | - prefix. Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>. | ||
2226 | - | ||
2227 | -Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2228 | - | ||
2229 | - * l10nflist.c (_nl_normalize_codeset): We convert to lower case, | ||
2230 | - so don't prepend uppercase `ISO' for only numeric arg. | ||
2231 | - | ||
2232 | -Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2233 | - | ||
2234 | - * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after | ||
2235 | - definition of _GNU_SOURCE. Patch by Roland McGrath. | ||
2236 | - | ||
2237 | - * Makefile.in (uninstall): Fix another bug with `for' loop and | ||
2238 | - empty arguments. Patch by Jim Meyering. Correct name os | ||
2239 | - uninstalled files: no intl- prefix anymore. | ||
2240 | - | ||
2241 | - * Makefile.in (install-data): Again work around shells which | ||
2242 | - cannot handle mpty for list. Reported by Jim Meyering. | ||
2243 | - | ||
2244 | -Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2245 | - | ||
2246 | - * Makefile.in (install): Split goal. Now depend on install-exec | ||
2247 | - and install-data. | ||
2248 | - (install-exec, install-data): New goals. Created from former | ||
2249 | - install goal. | ||
2250 | - Reported by Karl Berry. | ||
2251 | - | ||
2252 | -Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2253 | - | ||
2254 | - * Makefile.in (MKINSTALLDIRS): New variable. Path to | ||
2255 | - mkinstalldirs script. | ||
2256 | - (install): use MKINSTALLDIRS variable or if the script is not present | ||
2257 | - try to find it in the $top_scrdir). | ||
2258 | - | ||
2259 | -Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2260 | - | ||
2261 | - * l10nflist.c: Linux libc *partly* includes the argz_* functions. | ||
2262 | - Grr. Work around by renaming the static version and use macros | ||
2263 | - for renaming. | ||
2264 | - | ||
2265 | -Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2266 | - | ||
2267 | - * l10nflist.c: Correct presence test macros of __argz_* functions. | ||
2268 | - | ||
2269 | - * l10nflist.c: Include <argz.h> based on test of it instead when | ||
2270 | - __argz_* functions are available. | ||
2271 | - Reported by Andreas Schwab. | ||
2272 | - | ||
2273 | -Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2274 | - | ||
2275 | - * explodename.c, l10nflist.c: Define NULL for dumb systems. | ||
2276 | - | ||
2277 | -Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2278 | - | ||
2279 | - * intlh.inst.in, libgettext.h (dcgettext): Rename local variable | ||
2280 | - result to __result to prevent name clash. | ||
2281 | - | ||
2282 | - * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to | ||
2283 | - get prototype for stpcpy and strcasecmp. | ||
2284 | - | ||
2285 | - * intlh.inst.in, libgettext.h: Move declaration of | ||
2286 | - `_nl_msg_cat_cntr' outside __extension__ block to prevent warning | ||
2287 | - from gcc's -Wnested-extern option. | ||
2288 | - | ||
2289 | -Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2290 | - | ||
2291 | - * Makefile.in (install): Remove comment. | ||
2292 | - | ||
2293 | -Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2294 | - | ||
2295 | - * Makefile.in (install): Work around for another Buglix stupidity. | ||
2296 | - Always use an `else' close for `if's. Reported by Nelson Beebe. | ||
2297 | - | ||
2298 | - * Makefile.in (intlh.inst): Correct typo in phony rule. | ||
2299 | - Reported by Nelson Beebe. | ||
2300 | - | ||
2301 | -Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2302 | - | ||
2303 | - * dcgettext.c (read_alias_file): Rename variable alloca_list to | ||
2304 | - block_list as the macro calls assume. | ||
2305 | - Patch by Eric Backus. | ||
2306 | - | ||
2307 | - * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using | ||
2308 | - malloc. | ||
2309 | - (read_alias_file): Rename varriabe alloca_list to block_list as the | ||
2310 | - macro calls assume. | ||
2311 | - Patch by Eric Backus. | ||
2312 | - | ||
2313 | - * l10nflist.c: Correct conditional for <argz.h> inclusion. | ||
2314 | - Reported by Roland McGrath. | ||
2315 | - | ||
2316 | - * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not | ||
2317 | - all-@USE_NLS@. | ||
2318 | - | ||
2319 | - * Makefile.in (install): intlh.inst comes from local dir, not | ||
2320 | - $(srcdir). | ||
2321 | - | ||
2322 | - * Makefile.in (intlh.inst): Special handling of this goal. If | ||
2323 | - used in gettext, this is really a rul to construct this file. If | ||
2324 | - used in any other package it is defined as a .PHONY rule with | ||
2325 | - empty body. | ||
2326 | - | ||
2327 | - * finddomain.c: Extract locale file information handling into | ||
2328 | - l10nfile.c. Rename local stpcpy__ function to stpcpy. | ||
2329 | - | ||
2330 | - * dcgettext.c (stpcpy): Add local definition. | ||
2331 | - | ||
2332 | - * l10nflist.c: Solve some portability problems. Patches partly by | ||
2333 | - Thomas Esken. Add local definition of stpcpy. | ||
2334 | - | ||
2335 | -Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2336 | - | ||
2337 | - * intlh.inst.in: Don't depend including <locale.h> on | ||
2338 | - HAVE_LOCALE_H. Instead configure must rewrite this fiile | ||
2339 | - depending on the result of the configure run. | ||
2340 | - | ||
2341 | - * Makefile.in (install): libintl.inst is now called intlh.inst. | ||
2342 | - Add rules for updating intlh.inst from intlh.inst.in. | ||
2343 | - | ||
2344 | - * libintl.inst: Renamed to intlh.inst.in. | ||
2345 | - | ||
2346 | - * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1 | ||
2347 | - because gcc has __buitlin_alloca. | ||
2348 | - Reported by Roland McGrath. | ||
2349 | - | ||
2350 | -Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2351 | - | ||
2352 | - * Makefile.in (installcheck): New goal to fulfill needs of | ||
2353 | - automake's distcheck. | ||
2354 | - | ||
2355 | - * Makefile.in (install): Reorder commands so that VERSION is | ||
2356 | - found. | ||
2357 | - | ||
2358 | - * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in | ||
2359 | - @datadir@/gettext. | ||
2360 | - (COMSRCS): Add l10nfile.c. | ||
2361 | - (OBJECTS): Add l10nfile.o. | ||
2362 | - (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common). | ||
2363 | - (DISTFILE.gettext): Remove $(DISTFILES.common). | ||
2364 | - (all-gettext): Remove goal. | ||
2365 | - (install): If $(PACKAGE) = gettext install, otherwose do nothing. No | ||
2366 | - package but gettext itself should install libintl.h + headers. | ||
2367 | - (dist): Extend goal to work for gettext, too. | ||
2368 | - (dist-gettext): Remove goal. | ||
2369 | - | ||
2370 | - * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc. | ||
2371 | - | ||
2372 | -Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2373 | - | ||
2374 | - * loadmsgcat.c (_nl_load_domain): Parameter is now comes from | ||
2375 | - find_l10nfile. | ||
2376 | - | ||
2377 | -Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com> | ||
2378 | - | ||
2379 | - * l10nflist.c (__argz_next): Add definition. | ||
2380 | - | ||
2381 | - * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca | ||
2382 | - code. Use new l10nfile handling. | ||
2383 | - | ||
2384 | - * localealias.c [!HAVE_ALLOCA]: Add code for handling missing | ||
2385 | - alloca code. | ||
2386 | - | ||
2387 | - * l10nflist.c: Initial revision. | ||
2388 | - | ||
2389 | -Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware> | ||
2390 | - | ||
2391 | - * Makefile.in (all-gettext): New goal. Same as all-yes. | ||
2392 | - | ||
2393 | -Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de> | ||
2394 | - | ||
2395 | - * Makefile.in (gettextsrcdir): Define using @datadir@. | ||
2396 | - | ||
2397 | -Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware> | ||
2398 | - | ||
2399 | - * finddomain.c: Include <ctype.h>. Reported by Roland McGrath. | ||
2400 | - | ||
2401 | -Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware> | ||
2402 | - | ||
2403 | - * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing | ||
2404 | - with external declaration. | ||
2405 | - | ||
2406 | -Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware> | ||
2407 | - | ||
2408 | - * Makefile.in (all-no): Rename from all_no. | ||
2409 | - | ||
2410 | -Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware> | ||
2411 | - | ||
2412 | - * gettextP.h [loaded_domain]: Array `successor' must now contain up | ||
2413 | - to 63 elements (because of codeset name normalization). | ||
2414 | - | ||
2415 | - * finddomain.c: Implement codeset name normalization. | ||
2416 | - | ||
2417 | -Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware> | ||
2418 | - | ||
2419 | - * Makefile.in (all): Define to `all-@USE_NLS@'. | ||
2420 | - (all-yes, all_no): New goals. `all-no' is noop, `all-yes' | ||
2421 | - is former all. | ||
2422 | - | ||
2423 | -Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com> | ||
2424 | - | ||
2425 | - * localealias.c (alias_compare): Increment string pointers in loop | ||
2426 | - of strcasecmp replacement. | ||
2427 | - | ||
2428 | -Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware> | ||
2429 | - | ||
2430 | - * Makefile.in (install-src): Who commented this goal out ? :-) | ||
2431 | - | ||
2432 | -Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware> | ||
2433 | - | ||
2434 | - * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls | ||
2435 | - should not effect it because a missing catalog is no error. | ||
2436 | - Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>. | ||
2437 | - | ||
2438 | -Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware> | ||
2439 | - | ||
2440 | - * Makefile.in (Makefile): Explicitly use $(SHELL) for running | ||
2441 | - shell scripts. | ||
2442 | - | ||
2443 | -Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | ||
2444 | - | ||
2445 | - * Makefile.in (install-src): Only install library and header when | ||
2446 | - we use the own implementation. Don't do it when using the | ||
2447 | - system's gettext or catgets functions. | ||
2448 | - | ||
2449 | - * dcgettext.c (find_msg): Must not swap domain->hash_size here. | ||
2450 | - | ||
2451 | -Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware> | ||
2452 | - | ||
2453 | - * localealias.c, libintl.inst, libgettext.h, hash-string.h, | ||
2454 | - gettextP.h, finddomain.c, dcgettext.c, cat-compat.c: | ||
2455 | - Use PARAMS instead of __P. Suggested by Roland McGrath. | ||
2456 | - | ||
2457 | -Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu> | ||
2458 | - | ||
2459 | - * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if | ||
2460 | - !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty. | ||
2461 | - | ||
2462 | -Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware> | ||
2463 | - | ||
2464 | - * Makefile.in (install-src): | ||
2465 | - Install libintl.inst instead of libintl.h.install. | ||
2466 | - | ||
2467 | -Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu> | ||
2468 | - | ||
2469 | - * cat-compat.c (textdomain): | ||
2470 | - Reverse order in which files are tried you load. First | ||
2471 | - try local file, when this failed absolute path. | ||
2472 | - | ||
2473 | -Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu> | ||
2474 | - | ||
2475 | - * cat-compat.c (bindtextdomain): Add missing { }. | ||
2476 | - | ||
2477 | -Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware> | ||
2478 | - | ||
2479 | - * libintl.inst: Add missing __P definition. Reported by Nelson Beebe. | ||
2480 | - | ||
2481 | - * Makefile.in: | ||
2482 | - Add dummy `all' and `dvi' goals. Reported by Tom Tromey. | ||
2483 | - | ||
2484 | -Sat Nov 25 16:12:01 1995 Franc,ois Pinard <pinard@iro.umontreal.ca> | ||
2485 | - | ||
2486 | - * hash-string.h: Capitalize arguments of macros. | ||
2487 | - | ||
2488 | -Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware> | ||
2489 | - | ||
2490 | - * Makefile.in (DISTFILES): Prevent files names longer than 13 | ||
2491 | - characters. libintl.h.glibc->libintl.glibc, | ||
2492 | - libintl.h.install->libintl.inst. Reported by Joshua R. Poulson. | ||
2493 | - | ||
2494 | -Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com> | ||
2495 | - | ||
2496 | - * dcgettext.c: Fix bug in preprocessor conditionals. | ||
2497 | - | ||
2498 | -Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu> | ||
2499 | - | ||
2500 | - * libgettext.h: Solaris cc does not understand | ||
2501 | - #if !SYMBOL1 && !SYMBOL2. Sad but true. | ||
2502 | - | ||
2503 | -Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware> | ||
2504 | - | ||
2505 | - * hash-string.h (hash_string): | ||
2506 | - Fix for machine with >32 bit `unsigned long's. | ||
2507 | - | ||
2508 | - * dcgettext.c (DCGETTEXT): | ||
2509 | - Fix horrible bug in loop for alternative translation. | ||
2510 | - | ||
2511 | -Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware> | ||
2512 | - | ||
2513 | - * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed: | ||
2514 | - Some further simplifications in message number generation. | ||
2515 | - | ||
2516 | -Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware> | ||
2517 | - | ||
2518 | - * libintl.h.glibc: Use __const instead of const in prototypes. | ||
2519 | - | ||
2520 | - * Makefile.in (install-src): | ||
2521 | - Install libintl.h.install instead of libintl.h. This | ||
2522 | - is a stripped-down version. Suggested by Peter Miller. | ||
2523 | - | ||
2524 | - * libintl.h.install, libintl.h.glibc: Initial revision. | ||
2525 | - | ||
2526 | - * localealias.c (_nl_expand_alias, read_alias_file): | ||
2527 | - Protect prototypes in type casts by __P. | ||
2528 | - | ||
2529 | -Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware> | ||
2530 | - | ||
2531 | - * hash-string.h: Correct prototype for hash_string. | ||
2532 | - | ||
2533 | -Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware> | ||
2534 | - | ||
2535 | - * hash-string.h (hash_string): Add prototype. | ||
2536 | - | ||
2537 | - * gettextP.h: Fix copyright. | ||
2538 | - (SWAP): Add prototype. | ||
2539 | - | ||
2540 | -Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware> | ||
2541 | - | ||
2542 | - * localealias.c (read_alias_file): Forgot sizeof. | ||
2543 | - Avoid calling *printf function. This introduces a big overhead. | ||
2544 | - Patch by Roland McGrath. | ||
2545 | - | ||
2546 | -Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware> | ||
2547 | - | ||
2548 | - * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy. | ||
2549 | - | ||
2550 | - * finddomain.c (stpcpy): | ||
2551 | - Define substitution function local. The macro was to flaky. | ||
2552 | - | ||
2553 | - * cat-compat.c: Fix typo. | ||
2554 | - | ||
2555 | - * xopen-msg.sed, linux-msg.sed: | ||
2556 | - While bringing message number to right place only accept digits. | ||
2557 | - | ||
2558 | - * linux-msg.sed, xopen-msg.sed: Now that the counter does not have | ||
2559 | - leading 0s we don't need to remove them. Reported by Marcus | ||
2560 | - Daniels. | ||
2561 | - | ||
2562 | - * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in | ||
2563 | - dependency. Reported by Marcus Daniels. | ||
2564 | - | ||
2565 | - * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement. | ||
2566 | - Generally cleanup using #if instead of #ifndef. | ||
2567 | - | ||
2568 | - * Makefile.in: Correct typos in comment. By Franc,ois Pinard. | ||
2569 | - | ||
2570 | -Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware> | ||
2571 | - | ||
2572 | - * Makefile.in (install-src): Don't install libintl.h and libintl.a | ||
2573 | - if we use an available gettext implementation. | ||
2574 | - | ||
2575 | -Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware> | ||
2576 | - | ||
2577 | - * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported | ||
2578 | - by Franc,ois Pinard. | ||
2579 | - | ||
2580 | - * libgettext.h: Use #if instead of #ifdef/#ifndef. | ||
2581 | - | ||
2582 | - * finddomain.c: | ||
2583 | - Comments describing what has to be done should start with FIXME. | ||
2584 | - | ||
2585 | -Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware> | ||
2586 | - | ||
2587 | - * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning. | ||
2588 | - DISTFILES.common names the files common to both dist goals. | ||
2589 | - DISTFILES.gettext are the files only distributed in GNU gettext. | ||
2590 | - | ||
2591 | -Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware> | ||
2592 | - | ||
2593 | - * dcgettext.c (DCGETTEXT): Correct searching in derived locales. | ||
2594 | - This was necessary since a change in _nl_find_msg several weeks | ||
2595 | - ago. I really don't know this is still not fixed. | ||
2596 | - | ||
2597 | -Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware> | ||
2598 | - | ||
2599 | - * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This | ||
2600 | - might mark a special condition. | ||
2601 | - | ||
2602 | - * finddomain.c (make_entry_rec): Don't make illegal entry as decided. | ||
2603 | - | ||
2604 | - * Makefile.in (dist): Suppress error message when ln failed. | ||
2605 | - Get files from $(srcdir) explicitly. | ||
2606 | - | ||
2607 | - * libgettext.h (gettext_const): Rename to gettext_noop. | ||
2608 | - | ||
2609 | -Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware> | ||
2610 | - | ||
2611 | - * finddomain.c (make_entry_rec): | ||
2612 | - Protect against wrong locale names by testing mask. | ||
2613 | - | ||
2614 | - * libgettext.h (gettext_const): Add macro definition. | ||
2615 | - Capitalize macro arguments. | ||
2616 | - | ||
2617 | -Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware> | ||
2618 | - | ||
2619 | - * finddomain.c (_nl_find_domain): | ||
2620 | - Test for pointer != NULL before accessing value. | ||
2621 | - Reported by Tom Tromey. | ||
2622 | - | ||
2623 | - * gettext.c (NULL): | ||
2624 | - Define as (void*)0 instad of 0. Reported by Franc,ois Pinard. | ||
2625 | - | ||
2626 | -Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware> | ||
2627 | - | ||
2628 | - * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering. | ||
2629 | - | ||
2630 | -Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware> | ||
2631 | - | ||
2632 | - * libgettext.h: Disable dcgettext optimization for Solaris 2.3. | ||
2633 | - | ||
2634 | - * localealias.c (alias_compare): | ||
2635 | - Peter Miller reported that tolower in some systems is | ||
2636 | - even dumber than I thought. Protect call by `isupper'. | ||
2637 | - | ||
2638 | -Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware> | ||
2639 | - | ||
2640 | - * Makefile.in (libdir, includedir): New variables. | ||
2641 | - (install-src): Install libintl.a and libintl.h in correct dirs. | ||
2642 | - | ||
2643 | -Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware> | ||
2644 | - | ||
2645 | - * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c. | ||
2646 | - | ||
2647 | - * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques. | ||
2648 | - | ||
2649 | - * localealias.c: | ||
2650 | - Fix typo and superflous test. Reported by Christian von Roques. | ||
2651 | - | ||
2652 | -Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware> | ||
2653 | - | ||
2654 | - * finddomain.c (_nl_find_domain): | ||
2655 | - Correct some remainder from the pre-CEN syntax. Now | ||
2656 | - we don't have a constant number of successors anymore. | ||
2657 | - | ||
2658 | -Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware> | ||
2659 | - | ||
2660 | - * Makefile.in (DISTFILES): Add libintl.h.glibc. | ||
2661 | - | ||
2662 | - * Makefile.in (dist-libc): Add goal for packing sources for glibc. | ||
2663 | - (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc. | ||
2664 | - | ||
2665 | - * loadmsgcat.c: Forget to continue #if line. | ||
2666 | - | ||
2667 | - * localealias.c: | ||
2668 | - [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name | ||
2669 | - space clean. | ||
2670 | - | ||
2671 | - * dcgettext.c, finddomain.c: Better comment to last change. | ||
2672 | - | ||
2673 | - * loadmsgcat.c: | ||
2674 | - [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to | ||
2675 | - __fstat, __open, __close, __read, __mmap, and __munmap resp | ||
2676 | - to keep ANSI C name space clean. | ||
2677 | - | ||
2678 | - * finddomain.c: | ||
2679 | - [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean. | ||
2680 | - | ||
2681 | - * dcgettext.c: | ||
2682 | - [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to | ||
2683 | - keep ANSI C name space clean. | ||
2684 | - | ||
2685 | - * libgettext.h: | ||
2686 | - Include sys/types.h for those old SysV systems out there. | ||
2687 | - Reported by Francesco Potorti`. | ||
2688 | - | ||
2689 | - * loadmsgcat.c (use_mmap): Define if compiled for glibc. | ||
2690 | - | ||
2691 | - * bindtextdom.c: Include all those standard headers | ||
2692 | - unconditionally if _LIBC is defined. | ||
2693 | - | ||
2694 | - * finddomain.c: Fix 2 times defiend -> defined. | ||
2695 | - | ||
2696 | - * textdomain.c: Include libintl.h instead of libgettext.h when | ||
2697 | - compiling for glibc. Include all those standard headers | ||
2698 | - unconditionally if _LIBC is defined. | ||
2699 | - | ||
2700 | - * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc. | ||
2701 | - | ||
2702 | - * gettext.c: | ||
2703 | - Include libintl.h instead of libgettext.h when compiling for glibc. | ||
2704 | - Get NULL from stddef.h if we compile for glibc. | ||
2705 | - | ||
2706 | - * finddomain.c: Include libintl.h instead of libgettext.h when | ||
2707 | - compiling for glibc. Include all those standard headers | ||
2708 | - unconditionally if _LIBC is defined. | ||
2709 | - | ||
2710 | - * dcgettext.c: Include all those standard headers unconditionally | ||
2711 | - if _LIBC is defined. | ||
2712 | - | ||
2713 | - * dgettext.c: If compiled in glibc include libintl.h instead of | ||
2714 | - libgettext.h. | ||
2715 | - (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc. | ||
2716 | - | ||
2717 | - * dcgettext.c: If compiled in glibc include libintl.h instead of | ||
2718 | - libgettext.h. | ||
2719 | - (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc. | ||
2720 | - | ||
2721 | - * bindtextdom.c: | ||
2722 | - If compiled in glibc include libintl.h instead of libgettext.h. | ||
2723 | - | ||
2724 | -Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware> | ||
2725 | - | ||
2726 | - * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0. | ||
2727 | - Reported by Marcus Daniels. | ||
2728 | - | ||
2729 | - * cat-compat.c (bindtextdomain): | ||
2730 | - String used in putenv must not be recycled. | ||
2731 | - Reported by Marcus Daniels. | ||
2732 | - | ||
2733 | - * libgettext.h (__USE_GNU_GETTEXT): | ||
2734 | - Additional symbol to signal that we use GNU gettext | ||
2735 | - library. | ||
2736 | - | ||
2737 | - * cat-compat.c (bindtextdomain): | ||
2738 | - Fix bug with the strange stpcpy replacement. | ||
2739 | - Reported by Nelson Beebe. | ||
2740 | - | ||
2741 | -Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware> | ||
2742 | - | ||
2743 | - * cat-compat.c: Include <string.h> for stpcpy prototype. | ||
2744 | - | ||
2745 | - * localealias.c (read_alias_file): | ||
2746 | - While expand strdup code temporary variable `cp' hided | ||
2747 | - higher level variable with same name. Rename to `tp'. | ||
2748 | - | ||
2749 | - * textdomain.c (textdomain): | ||
2750 | - Avoid warning by using temporary variable in strdup code. | ||
2751 | - | ||
2752 | - * finddomain.c (_nl_find_domain): Remove unused variable `application'. | ||
2753 | - | ||
2754 | -Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware> | ||
2755 | - | ||
2756 | - * localealias.c (alias_compare): | ||
2757 | - Use strcasecmp() only if available. Else use | ||
2758 | - implementation in place. | ||
2759 | - | ||
2760 | - * intl-compat.c: | ||
2761 | - Wrapper functions now call *__ functions instead of __*. | ||
2762 | - | ||
2763 | - * libgettext.h: Declare prototypes for *__ functions instead for __*. | ||
2764 | - | ||
2765 | - * cat-compat.c, loadmsgcat.c: | ||
2766 | - Don't use xmalloc, xstrdup, and stpcpy. These functions are not part | ||
2767 | - of the standard libc and so prevent libintl.a from being used | ||
2768 | - standalone. | ||
2769 | - | ||
2770 | - * bindtextdom.c: | ||
2771 | - Don't use xmalloc, xstrdup, and stpcpy. These functions are not part | ||
2772 | - of the standard libc and so prevent libintl.a from being used | ||
2773 | - standalone. | ||
2774 | - Rename to bindtextdomain__ if not used in GNU C Library. | ||
2775 | - | ||
2776 | - * dgettext.c: | ||
2777 | - Rename function to dgettext__ if not used in GNU C Library. | ||
2778 | - | ||
2779 | - * gettext.c: | ||
2780 | - Don't use xmalloc, xstrdup, and stpcpy. These functions are not part | ||
2781 | - of the standard libc and so prevent libintl.a from being used | ||
2782 | - standalone. | ||
2783 | - Functions now called gettext__ if not used in GNU C Library. | ||
2784 | - | ||
2785 | - * dcgettext.c, localealias.c, textdomain.c, finddomain.c: | ||
2786 | - Don't use xmalloc, xstrdup, and stpcpy. These functions are not part | ||
2787 | - of the standard libc and so prevent libintl.a from being used | ||
2788 | - standalone. | ||
2789 | - | ||
2790 | -Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware> | ||
2791 | - | ||
2792 | - * finddomain.c: Correct some bugs in handling of CEN standard | ||
2793 | - locale definitions. | ||
2794 | - | ||
2795 | -Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware> | ||
2796 | - | ||
2797 | - * finddomain.c: Implement CEN syntax. | ||
2798 | - | ||
2799 | - * gettextP.h (loaded_domain): Extend number of successors to 31. | ||
2800 | - | ||
2801 | -Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware> | ||
2802 | - | ||
2803 | - * Makefile.in (aliaspath): Remove path to X11 locale dir. | ||
2804 | - | ||
2805 | - * Makefile.in: Make install-src depend on install. This helps | ||
2806 | - gettext to install the sources and other packages can use the | ||
2807 | - install goal. | ||
2808 | - | ||
2809 | -Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware> | ||
2810 | - | ||
2811 | - * Makefile.in (uninstall): Remove stuff installed by install-src. | ||
2812 | - | ||
2813 | -Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware> | ||
2814 | - | ||
2815 | - * VERSION.in: Initial revision. | ||
2816 | - | ||
2817 | - * Makefile.in (DISTFILES): | ||
2818 | - Add VERSION file. This is not necessary for gettext, but | ||
2819 | - for other packages using this library. | ||
2820 | - | ||
2821 | -Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware> | ||
2822 | - | ||
2823 | - * gettextP.h (_nl_find_domain): | ||
2824 | - New prototype after changing search strategy. | ||
2825 | - | ||
2826 | - * finddomain.c (_nl_find_domain): | ||
2827 | - We now try only to find a specified catalog. Fall back to other | ||
2828 | - catalogs listed in the locale list is now done in __dcgettext. | ||
2829 | - | ||
2830 | - * dcgettext.c (__dcgettext): | ||
2831 | - Now we provide message fall back even to different languages. | ||
2832 | - I.e. if a message is not available in one language all the other | ||
2833 | - in the locale list a tried. Formerly fall back was only possible | ||
2834 | - within one language. Implemented by moving one loop from | ||
2835 | - _nl_find_domain to here. | ||
2836 | - | ||
2837 | -Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware> | ||
2838 | - | ||
2839 | - * Makefile.in (gettextsrcdir): | ||
2840 | - Directory where source of GNU gettext library are made | ||
2841 | - available. | ||
2842 | - (INSTALL, INSTALL_DATA): Programs used for installing sources. | ||
2843 | - (gettext-src): New. Rule to install GNU gettext sources for use in | ||
2844 | - gettextize shell script. | ||
2845 | - | ||
2846 | -Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware> | ||
2847 | - | ||
2848 | - * loadmsgcat.c (_nl_load_domain): | ||
2849 | - Use mmap for loading only when munmap function is | ||
2850 | - also available. | ||
2851 | - | ||
2852 | - * Makefile.in (install): Depend on `all' goal. | ||
2853 | - | ||
2854 | -Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware> | ||
2855 | - | ||
2856 | - * localealias.c (read_alias_file): | ||
2857 | - Do not overwrite '\n' when terminating alias value string. | ||
2858 | - | ||
2859 | - * localealias.c (read_alias_file): | ||
2860 | - Handle long lines. Ignore the rest not fitting in | ||
2861 | - the buffer after the initial `fgets' call. | ||
2862 | - | ||
2863 | -Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware> | ||
2864 | - | ||
2865 | - * gettextP.h (_nl_load_domain): | ||
2866 | - Add prototype, replacing prototype for _nl_load_msg_cat. | ||
2867 | - | ||
2868 | - * finddomain.c (_nl_find_domain): | ||
2869 | - Remove unneeded variable filename and filename_len. | ||
2870 | - (expand_alias): Remove prototype because functions does not | ||
2871 | - exist anymore. | ||
2872 | - | ||
2873 | - * localealias.c (read_alias_file): | ||
2874 | - Change type of fname_len parameter to int. | ||
2875 | - (xmalloc): Add prototype. | ||
2876 | - | ||
2877 | - * loadmsgcat.c: Better prototypes for xmalloc. | ||
2878 | - | ||
2879 | -Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware> | ||
2880 | - | ||
2881 | - * finddomain.c (_nl_find_domain): | ||
2882 | - Allow alias name to be constructed from the four components. | ||
2883 | - | ||
2884 | - * Makefile.in (aliaspath): New variable. Set to preliminary value. | ||
2885 | - (SOURCES): Add localealias.c. | ||
2886 | - (OBJECTS): Add localealias.o. | ||
2887 | - | ||
2888 | - * gettextP.h: Add prototype for _nl_expand_alias. | ||
2889 | - | ||
2890 | - * finddomain.c: Aliasing handled in intl/localealias.c. | ||
2891 | - | ||
2892 | - * localealias.c: Aliasing for locale names. | ||
2893 | - | ||
2894 | - * bindtextdom.c: Better prototypes for xmalloc and xstrdup. | ||
2895 | - | ||
2896 | -Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware> | ||
2897 | - | ||
2898 | - * Makefile.in (DISTFILES): gettext.perl is now found in misc/. | ||
2899 | - | ||
2900 | - * cat-compat.c (bindtextdomain): | ||
2901 | - Correct implementation. dirname parameter was not used. | ||
2902 | - Reported by Marcus Daniels. | ||
2903 | - | ||
2904 | - * gettextP.h (loaded_domain): | ||
2905 | - New fields `successor' and `decided' for oo, lazy | ||
2906 | - message handling implementation. | ||
2907 | - | ||
2908 | - * dcgettext.c: | ||
2909 | - Adopt for oo, lazy message handliing. | ||
2910 | - Now we can inherit translations from less specific locales. | ||
2911 | - (find_msg): New function. | ||
2912 | - | ||
2913 | - * loadmsgcat.c, finddomain.c: | ||
2914 | - Complete rewrite. Implement oo, lazy message handling :-). | ||
2915 | - We now have an additional environment variable `LANGUAGE' with | ||
2916 | - a higher priority than LC_ALL for the LC_MESSAGE locale. | ||
2917 | - Here we can set a colon separated list of specifications each | ||
2918 | - of the form `language[_territory[.codeset]][@modifier]'. | ||
2919 | - | ||
2920 | -Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware> | ||
2921 | - | ||
2922 | - * finddomain.c (unistd.h): | ||
2923 | - Include to get _PC_PATH_MAX defined on system having it. | ||
2924 | - | ||
2925 | -Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware> | ||
2926 | - | ||
2927 | - * finddomain.c (stpcpy): Include prototype. | ||
2928 | - | ||
2929 | - * Makefile.in (dist): Remove `copying instead' message. | ||
2930 | - | ||
2931 | -Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware> | ||
2932 | - | ||
2933 | - * Makefile.in (ID, TAGS): Do not use $^. | ||
2934 | - | ||
2935 | -Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware> | ||
2936 | - | ||
2937 | - * Makefile.in (TAGS, ID): Use $^ as command argument. | ||
2938 | - (TAGS): Give etags -o option t write to current directory, | ||
2939 | - not $(srcdir). | ||
2940 | - (ID): Use $(srcdir) instead os $(top_srcdir)/src. | ||
2941 | - (distclean): Remove ID. | ||
2942 | - | ||
2943 | -Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware> | ||
2944 | - | ||
2945 | - * Makefile.in (gnulocaledir): | ||
2946 | - New variable, always using share/ for data directory. | ||
2947 | - (DEFS): Add GNULOCALEDIR, used in finddomain.c. | ||
2948 | - | ||
2949 | - * finddomain.c (_nl_default_dirname): | ||
2950 | - Set to GNULOCALEDIR, because it always has to point | ||
2951 | - to the directory where GNU gettext Library writes it to. | ||
2952 | - | ||
2953 | - * intl-compat.c (textdomain, bindtextdomain): | ||
2954 | - Undefine macros before function definition. | ||
2955 | - | ||
2956 | -Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware> | ||
2957 | - | ||
2958 | - * libgettext.h (_LIBINTL_H): | ||
2959 | - Protect definition in case where this file is included as | ||
2960 | - libgettext.h on Solaris machines. Add comment about this. | ||
2961 | - | ||
2962 | -Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware> | ||
2963 | - | ||
2964 | - * intl-compat.c (textdomain): Correct typo. | ||
2965 | - | ||
2966 | -Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware> | ||
2967 | - | ||
2968 | - * dcgettext.c (dcgettext): Function now called __dcgettext. | ||
2969 | - | ||
2970 | - * dgettext.c (dgettext): Now called __dgettext and calls | ||
2971 | - __dcgettext. | ||
2972 | - | ||
2973 | - * gettext.c (gettext): | ||
2974 | - Function now called __gettext and calls __dgettext. | ||
2975 | - | ||
2976 | - * textdomain.c (textdomain): Function now called __textdomain. | ||
2977 | - | ||
2978 | - * bindtextdom.c (bindtextdomain): Function now called | ||
2979 | - __bindtextdomain. | ||
2980 | - | ||
2981 | - * intl-compat.c: Initial revision. | ||
2982 | - | ||
2983 | - * Makefile.in (SOURCES): Add intl-compat.c. | ||
2984 | - (OBJECTS): We always compile the GNU gettext library functions. | ||
2985 | - OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o, | ||
2986 | - and intl-compat.o. | ||
2987 | - (GETTOBJS): Contains now only intl-compat.o. | ||
2988 | - | ||
2989 | - * libgettext.h: | ||
2990 | - Re-include protection matches dualistic character of libgettext.h. | ||
2991 | - For all functions in GNU gettext library define __ counter part. | ||
2992 | - | ||
2993 | - * finddomain.c (strchr): Define as index if not found in C library. | ||
2994 | - (_nl_find_domain): For relative paths paste / in between. | ||
2995 | - | ||
2996 | -Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware> | ||
2997 | - | ||
2998 | - * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h. | ||
2999 | - | ||
3000 | - * xopen-msg.sed: Fix bug with `msgstr ""' lines. | ||
3001 | - A little bit better comments. | ||
3002 | - | ||
3003 | -Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware> | ||
3004 | - | ||
3005 | - * Makefile.in: | ||
3006 | - po-mode.el, makelinks, combine-sh are now found in ../misc. | ||
3007 | - | ||
3008 | - * po-mode.el, makelinks, combine-sh, elisp-comp: | ||
3009 | - Moved to ../misc/. | ||
3010 | - | ||
3011 | - * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__. | ||
3012 | - | ||
3013 | -Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware> | ||
3014 | - | ||
3015 | - * Makefile.in (INSTALL, INSTALL_DATA): New variables. | ||
3016 | - (install-data, uninstall): Install/uninstall .elc file. | ||
3017 | - | ||
3018 | - * po-mode.el (Installation comment): | ||
3019 | - Add .pox as possible extension of .po files. | ||
3020 | - | ||
3021 | -Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware> | ||
3022 | - | ||
3023 | - * elisp-comp: Complete new version by Franc,ois: This does not | ||
3024 | - fail when not compiling in the source directory. | ||
3025 | - | ||
3026 | -Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware> | ||
3027 | - | ||
3028 | - * Makefile.in (../po/cat-id-tbl.o): | ||
3029 | - Use $(MAKE) instead of make for recursive make. | ||
3030 | - | ||
3031 | - * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh. | ||
3032 | - (install-exec): Add missing dummy goal. | ||
3033 | - (install-data, uninstall): @ in multi-line shell command at | ||
3034 | - beginning, not in front of echo. Reported by Eric Backus. | ||
3035 | - | ||
3036 | -Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware> | ||
3037 | - | ||
3038 | - * Makefile.in (DISTFILES): | ||
3039 | - Rename libgettext.perl to gettext.perl to fit in 14 chars | ||
3040 | - file systems. | ||
3041 | - | ||
3042 | - * gettext.perl: | ||
3043 | - Rename to gettext.perl to fit in 14 chars file systems. | ||
3044 | - | ||
3045 | -Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware> | ||
3046 | - | ||
3047 | - * cat-compat.c: If !STDC_HEADERS try to include malloc.h. | ||
3048 | - | ||
3049 | -Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware> | ||
3050 | - | ||
3051 | - * po2tbl.sed.in: Pretty printing. | ||
3052 | - | ||
3053 | - * linux-msg.sed, xopen-msg.sed: | ||
3054 | - Correct bugs with handling substitute flags in branches. | ||
3055 | - | ||
3056 | - * hash-string.h (hash_string): | ||
3057 | - Old K&R compilers don't under stand `unsigned char'. | ||
3058 | - | ||
3059 | - * gettext.h (nls_uint32): | ||
3060 | - Some old K&R compilers (eg HP) don't understand `unsigned int'. | ||
3061 | - | ||
3062 | - * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes. | ||
3063 | - | ||
3064 | -Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware> | ||
3065 | - | ||
3066 | - * Makefile.in (ELCFILES): New variable. | ||
3067 | - (DISTFILES): Add elisp-comp. | ||
3068 | - Add implicit rule for .el -> .elc compilation. | ||
3069 | - (install-data): install $ELCFILES | ||
3070 | - (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp. | ||
3071 | - | ||
3072 | - * elisp-comp: Initial revision | ||
3073 | - | ||
3074 | -Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware> | ||
3075 | - | ||
3076 | - * Makefile.in: | ||
3077 | - cat-id-tbl.c is now found in po/. This enables us to use an identical | ||
3078 | - intl/ directory in all packages. | ||
3079 | - | ||
3080 | - * dcgettext.c (dcgettext): hashing does not work for table size <= 2. | ||
3081 | - | ||
3082 | - * textdomain.c: fix typo (#if def -> #if defined) | ||
3083 | - | ||
3084 | -Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware> | ||
3085 | - | ||
3086 | - * Makefile.in (stamp-cat-id): use top_srcdir to address source files | ||
3087 | - (DISTFILES,distclean): move tupdate.perl to src/ | ||
3088 | - | ||
3089 | - * po-to-tbl.sed.in: | ||
3090 | - add additional jump to clear change flag to recognize multiline strings | ||
3091 | - | ||
3092 | -Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware> | ||
3093 | - | ||
3094 | - * textdomain.c: Protect inclusion of stdlib.h and string.h. | ||
3095 | - | ||
3096 | - * loadmsgcat.c: Protect inclusion of stdlib.h. | ||
3097 | - | ||
3098 | - * libgettext.h: Protect inclusion of locale.h. | ||
3099 | - Allow use in C++ programs. | ||
3100 | - Define NULL is not happened already. | ||
3101 | - | ||
3102 | - * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of | ||
3103 | - po-to-tbl.sed. | ||
3104 | - (distclean): remove po-to-tbl.sed and tupdate.perl. | ||
3105 | - | ||
3106 | - * tupdate.perl.in: Substitute Perl path even in exec line. | ||
3107 | - Don't include entries without translation from old .po file. | ||
3108 | - | ||
3109 | -Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware> | ||
3110 | - | ||
3111 | - * tupdate.perl.in: use "Updated: " in msgid "". | ||
3112 | - | ||
3113 | - * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR). | ||
3114 | - Define getenv if !__STDC__. | ||
3115 | - | ||
3116 | - * bindtextdom.c: Protect stdlib.h and string.h inclusion. | ||
3117 | - Define free if !__STDC__. | ||
3118 | - | ||
3119 | - * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. | ||
3120 | - Define free if !__STDC__. | ||
3121 | - | ||
3122 | - * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. | ||
3123 | - | ||
3124 | -Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware> | ||
3125 | - | ||
3126 | - * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR. | ||
3127 | - Remove unneeded $(srcdir) from Makefile.in dependency. | ||
3128 | - | ||
3129 | - * makelinks: Add copyright and short description. | ||
3130 | - | ||
3131 | - * po-mode.el: Last version for 0.7. | ||
3132 | - | ||
3133 | - * tupdate.perl.in: Fix die message. | ||
3134 | - | ||
3135 | - * dcgettext.c: Protect include of string.h. | ||
3136 | - | ||
3137 | - * gettext.c: Protect include of stdlib.h and further tries to get NULL. | ||
3138 | - | ||
3139 | - * finddomain.c: Some corrections in includes. | ||
3140 | - | ||
3141 | - * Makefile.in (INCLUDES): Prune list correct path to Makefile.in. | ||
3142 | - | ||
3143 | - * po-to-tbl.sed: Adopt for new .po file format. | ||
3144 | - | ||
3145 | - * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format. | ||
3146 | - | ||
3147 | -Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware> | ||
3148 | - | ||
3149 | - * tupdate.perl.in: Complete rewrite for new .po file format. | ||
3150 | +2004-01-29 GNU <bug-gnu-gettext@gnu.org> | ||
3151 | |||
3152 | -Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware> | ||
3153 | + * Version 0.14.1 released. | ||
3154 | |||
3155 | - * First official release. This directory contains all the code | ||
3156 | - needed to internationalize own packages. It provides functions | ||
3157 | - which allow to use the X/Open catgets function with an interface | ||
3158 | - like the Uniforum gettext function. For system which does not | ||
3159 | - have neither of those a complete implementation is provided. | ||
3160 | --- lrzsz-0.12.20.safe/intl/config.charset 1969-12-31 19:00:00.000000000 -0500 | ||
3161 | +++ lrzsz-0.12.20/intl/config.charset 2004-09-12 14:40:34.354748240 -0400 | ||
3162 | @@ -0,0 +1,608 @@ | ||
3163 | +#! /bin/sh | ||
3164 | +# Output a system dependent table of character encoding aliases. | ||
3165 | +# | ||
3166 | +# Copyright (C) 2000-2004 Free Software Foundation, Inc. | ||
3167 | +# | ||
3168 | +# This program is free software; you can redistribute it and/or modify it | ||
3169 | +# under the terms of the GNU Library General Public License as published | ||
3170 | +# by the Free Software Foundation; either version 2, or (at your option) | ||
3171 | +# any later version. | ||
3172 | +# | ||
3173 | +# This program is distributed in the hope that it will be useful, | ||
3174 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
3175 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
3176 | +# Library General Public License for more details. | ||
3177 | +# | ||
3178 | +# You should have received a copy of the GNU Library General Public | ||
3179 | +# License along with this program; if not, write to the Free Software | ||
3180 | +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||
3181 | +# USA. | ||
3182 | +# | ||
3183 | +# The table consists of lines of the form | ||
3184 | +# ALIAS CANONICAL | ||
3185 | +# | ||
3186 | +# ALIAS is the (system dependent) result of "nl_langinfo (CODESET)". | ||
3187 | +# ALIAS is compared in a case sensitive way. | ||
3188 | +# | ||
3189 | +# CANONICAL is the GNU canonical name for this character encoding. | ||
3190 | +# It must be an encoding supported by libiconv. Support by GNU libc is | ||
3191 | +# also desirable. CANONICAL is case insensitive. Usually an upper case | ||
3192 | +# MIME charset name is preferred. | ||
3193 | +# The current list of GNU canonical charset names is as follows. | ||
3194 | +# | ||
3195 | +# name MIME? used by which systems | ||
3196 | +# ASCII, ANSI_X3.4-1968 glibc solaris freebsd darwin | ||
3197 | +# ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd darwin | ||
3198 | +# ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd darwin | ||
3199 | +# ISO-8859-3 Y glibc solaris | ||
3200 | +# ISO-8859-4 Y osf solaris freebsd darwin | ||
3201 | +# ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd darwin | ||
3202 | +# ISO-8859-6 Y glibc aix hpux solaris | ||
3203 | +# ISO-8859-7 Y glibc aix hpux irix osf solaris | ||
3204 | +# ISO-8859-8 Y glibc aix hpux osf solaris | ||
3205 | +# ISO-8859-9 Y glibc aix hpux irix osf solaris | ||
3206 | +# ISO-8859-13 glibc | ||
3207 | +# ISO-8859-14 glibc | ||
3208 | +# ISO-8859-15 glibc aix osf solaris freebsd | ||
3209 | +# KOI8-R Y glibc solaris freebsd darwin | ||
3210 | +# KOI8-U Y glibc freebsd darwin | ||
3211 | +# KOI8-T glibc | ||
3212 | +# CP437 dos | ||
3213 | +# CP775 dos | ||
3214 | +# CP850 aix osf dos | ||
3215 | +# CP852 dos | ||
3216 | +# CP855 dos | ||
3217 | +# CP856 aix | ||
3218 | +# CP857 dos | ||
3219 | +# CP861 dos | ||
3220 | +# CP862 dos | ||
3221 | +# CP864 dos | ||
3222 | +# CP865 dos | ||
3223 | +# CP866 freebsd darwin dos | ||
3224 | +# CP869 dos | ||
3225 | +# CP874 woe32 dos | ||
3226 | +# CP922 aix | ||
3227 | +# CP932 aix woe32 dos | ||
3228 | +# CP943 aix | ||
3229 | +# CP949 osf woe32 dos | ||
3230 | +# CP950 woe32 dos | ||
3231 | +# CP1046 aix | ||
3232 | +# CP1124 aix | ||
3233 | +# CP1125 dos | ||
3234 | +# CP1129 aix | ||
3235 | +# CP1250 woe32 | ||
3236 | +# CP1251 glibc solaris darwin woe32 | ||
3237 | +# CP1252 aix woe32 | ||
3238 | +# CP1253 woe32 | ||
3239 | +# CP1254 woe32 | ||
3240 | +# CP1255 glibc woe32 | ||
3241 | +# CP1256 woe32 | ||
3242 | +# CP1257 woe32 | ||
3243 | +# GB2312 Y glibc aix hpux irix solaris freebsd darwin | ||
3244 | +# EUC-JP Y glibc aix hpux irix osf solaris freebsd darwin | ||
3245 | +# EUC-KR Y glibc aix hpux irix osf solaris freebsd darwin | ||
3246 | +# EUC-TW glibc aix hpux irix osf solaris | ||
3247 | +# BIG5 Y glibc aix hpux osf solaris freebsd darwin | ||
3248 | +# BIG5-HKSCS glibc solaris | ||
3249 | +# GBK glibc aix osf solaris woe32 dos | ||
3250 | +# GB18030 glibc solaris | ||
3251 | +# SHIFT_JIS Y hpux osf solaris freebsd darwin | ||
3252 | +# JOHAB glibc solaris woe32 | ||
3253 | +# TIS-620 glibc aix hpux osf solaris | ||
3254 | +# VISCII Y glibc | ||
3255 | +# TCVN5712-1 glibc | ||
3256 | +# GEORGIAN-PS glibc | ||
3257 | +# HP-ROMAN8 hpux | ||
3258 | +# HP-ARABIC8 hpux | ||
3259 | +# HP-GREEK8 hpux | ||
3260 | +# HP-HEBREW8 hpux | ||
3261 | +# HP-TURKISH8 hpux | ||
3262 | +# HP-KANA8 hpux | ||
3263 | +# DEC-KANJI osf | ||
3264 | +# DEC-HANYU osf | ||
3265 | +# UTF-8 Y glibc aix hpux osf solaris | ||
3266 | +# | ||
3267 | +# Note: Names which are not marked as being a MIME name should not be used in | ||
3268 | +# Internet protocols for information interchange (mail, news, etc.). | ||
3269 | +# | ||
3270 | +# Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications | ||
3271 | +# must understand both names and treat them as equivalent. | ||
3272 | +# | ||
3273 | +# The first argument passed to this file is the canonical host specification, | ||
3274 | +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | ||
3275 | +# or | ||
3276 | +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | ||
3277 | + | ||
3278 | +host="$1" | ||
3279 | +os=`echo "$host" | sed -e 's/^[^-]*-[^-]*-\(.*\)$/\1/'` | ||
3280 | +echo "# This file contains a table of character encoding aliases," | ||
3281 | +echo "# suitable for operating system '${os}'." | ||
3282 | +echo "# It was automatically generated from config.charset." | ||
3283 | +# List of references, updated during installation: | ||
3284 | +echo "# Packages using this file: " | ||
3285 | +case "$os" in | ||
3286 | + linux-gnulibc1*) | ||
3287 | + # Linux libc5 doesn't have nl_langinfo(CODESET); therefore | ||
3288 | + # localcharset.c falls back to using the full locale name | ||
3289 | + # from the environment variables. | ||
3290 | + echo "C ASCII" | ||
3291 | + echo "POSIX ASCII" | ||
3292 | + for l in af af_ZA ca ca_ES da da_DK de de_AT de_BE de_CH de_DE de_LU \ | ||
3293 | + en en_AU en_BW en_CA en_DK en_GB en_IE en_NZ en_US en_ZA \ | ||
3294 | + en_ZW es es_AR es_BO es_CL es_CO es_DO es_EC es_ES es_GT \ | ||
3295 | + es_HN es_MX es_PA es_PE es_PY es_SV es_US es_UY es_VE et \ | ||
3296 | + et_EE eu eu_ES fi fi_FI fo fo_FO fr fr_BE fr_CA fr_CH fr_FR \ | ||
3297 | + fr_LU ga ga_IE gl gl_ES id id_ID in in_ID is is_IS it it_CH \ | ||
3298 | + it_IT kl kl_GL nl nl_BE nl_NL no no_NO pt pt_BR pt_PT sv \ | ||
3299 | + sv_FI sv_SE; do | ||
3300 | + echo "$l ISO-8859-1" | ||
3301 | + echo "$l.iso-8859-1 ISO-8859-1" | ||
3302 | + echo "$l.iso-8859-15 ISO-8859-15" | ||
3303 | + echo "$l.iso-8859-15@euro ISO-8859-15" | ||
3304 | + echo "$l@euro ISO-8859-15" | ||
3305 | + echo "$l.cp-437 CP437" | ||
3306 | + echo "$l.cp-850 CP850" | ||
3307 | + echo "$l.cp-1252 CP1252" | ||
3308 | + echo "$l.cp-1252@euro CP1252" | ||
3309 | + #echo "$l.atari-st ATARI-ST" # not a commonly used encoding | ||
3310 | + echo "$l.utf-8 UTF-8" | ||
3311 | + echo "$l.utf-8@euro UTF-8" | ||
3312 | + done | ||
3313 | + for l in cs cs_CZ hr hr_HR hu hu_HU pl pl_PL ro ro_RO sk sk_SK sl \ | ||
3314 | + sl_SI sr sr_CS sr_YU; do | ||
3315 | + echo "$l ISO-8859-2" | ||
3316 | + echo "$l.iso-8859-2 ISO-8859-2" | ||
3317 | + echo "$l.cp-852 CP852" | ||
3318 | + echo "$l.cp-1250 CP1250" | ||
3319 | + echo "$l.utf-8 UTF-8" | ||
3320 | + done | ||
3321 | + for l in mk mk_MK ru ru_RU; do | ||
3322 | + echo "$l ISO-8859-5" | ||
3323 | + echo "$l.iso-8859-5 ISO-8859-5" | ||
3324 | + echo "$l.koi8-r KOI8-R" | ||
3325 | + echo "$l.cp-866 CP866" | ||
3326 | + echo "$l.cp-1251 CP1251" | ||
3327 | + echo "$l.utf-8 UTF-8" | ||
3328 | + done | ||
3329 | + for l in ar ar_SA; do | ||
3330 | + echo "$l ISO-8859-6" | ||
3331 | + echo "$l.iso-8859-6 ISO-8859-6" | ||
3332 | + echo "$l.cp-864 CP864" | ||
3333 | + #echo "$l.cp-868 CP868" # not a commonly used encoding | ||
3334 | + echo "$l.cp-1256 CP1256" | ||
3335 | + echo "$l.utf-8 UTF-8" | ||
3336 | + done | ||
3337 | + for l in el el_GR gr gr_GR; do | ||
3338 | + echo "$l ISO-8859-7" | ||
3339 | + echo "$l.iso-8859-7 ISO-8859-7" | ||
3340 | + echo "$l.cp-869 CP869" | ||
3341 | + echo "$l.cp-1253 CP1253" | ||
3342 | + echo "$l.cp-1253@euro CP1253" | ||
3343 | + echo "$l.utf-8 UTF-8" | ||
3344 | + echo "$l.utf-8@euro UTF-8" | ||
3345 | + done | ||
3346 | + for l in he he_IL iw iw_IL; do | ||
3347 | + echo "$l ISO-8859-8" | ||
3348 | + echo "$l.iso-8859-8 ISO-8859-8" | ||
3349 | + echo "$l.cp-862 CP862" | ||
3350 | + echo "$l.cp-1255 CP1255" | ||
3351 | + echo "$l.utf-8 UTF-8" | ||
3352 | + done | ||
3353 | + for l in tr tr_TR; do | ||
3354 | + echo "$l ISO-8859-9" | ||
3355 | + echo "$l.iso-8859-9 ISO-8859-9" | ||
3356 | + echo "$l.cp-857 CP857" | ||
3357 | + echo "$l.cp-1254 CP1254" | ||
3358 | + echo "$l.utf-8 UTF-8" | ||
3359 | + done | ||
3360 | + for l in lt lt_LT lv lv_LV; do | ||
3361 | + #echo "$l BALTIC" # not a commonly used encoding, wrong encoding name | ||
3362 | + echo "$l ISO-8859-13" | ||
3363 | + done | ||
3364 | + for l in ru_UA uk uk_UA; do | ||
3365 | + echo "$l KOI8-U" | ||
3366 | + done | ||
3367 | + for l in zh zh_CN; do | ||
3368 | + #echo "$l GB_2312-80" # not a commonly used encoding, wrong encoding name | ||
3369 | + echo "$l GB2312" | ||
3370 | + done | ||
3371 | + for l in ja ja_JP ja_JP.EUC; do | ||
3372 | + echo "$l EUC-JP" | ||
3373 | + done | ||
3374 | + for l in ko ko_KR; do | ||
3375 | + echo "$l EUC-KR" | ||
3376 | + done | ||
3377 | + for l in th th_TH; do | ||
3378 | + echo "$l TIS-620" | ||
3379 | + done | ||
3380 | + for l in fa fa_IR; do | ||
3381 | + #echo "$l ISIRI-3342" # a broken encoding | ||
3382 | + echo "$l.utf-8 UTF-8" | ||
3383 | + done | ||
3384 | + ;; | ||
3385 | + linux* | *-gnu*) | ||
3386 | + # With glibc-2.1 or newer, we don't need any canonicalization, | ||
3387 | + # because glibc has iconv and both glibc and libiconv support all | ||
3388 | + # GNU canonical names directly. Therefore, the Makefile does not | ||
3389 | + # need to install the alias file at all. | ||
3390 | + # The following applies only to glibc-2.0.x and older libcs. | ||
3391 | + echo "ISO_646.IRV:1983 ASCII" | ||
3392 | + ;; | ||
3393 | + aix*) | ||
3394 | + echo "ISO8859-1 ISO-8859-1" | ||
3395 | + echo "ISO8859-2 ISO-8859-2" | ||
3396 | + echo "ISO8859-5 ISO-8859-5" | ||
3397 | + echo "ISO8859-6 ISO-8859-6" | ||
3398 | + echo "ISO8859-7 ISO-8859-7" | ||
3399 | + echo "ISO8859-8 ISO-8859-8" | ||
3400 | + echo "ISO8859-9 ISO-8859-9" | ||
3401 | + echo "ISO8859-15 ISO-8859-15" | ||
3402 | + echo "IBM-850 CP850" | ||
3403 | + echo "IBM-856 CP856" | ||
3404 | + echo "IBM-921 ISO-8859-13" | ||
3405 | + echo "IBM-922 CP922" | ||
3406 | + echo "IBM-932 CP932" | ||
3407 | + echo "IBM-943 CP943" | ||
3408 | + echo "IBM-1046 CP1046" | ||
3409 | + echo "IBM-1124 CP1124" | ||
3410 | + echo "IBM-1129 CP1129" | ||
3411 | + echo "IBM-1252 CP1252" | ||
3412 | + echo "IBM-eucCN GB2312" | ||
3413 | + echo "IBM-eucJP EUC-JP" | ||
3414 | + echo "IBM-eucKR EUC-KR" | ||
3415 | + echo "IBM-eucTW EUC-TW" | ||
3416 | + echo "big5 BIG5" | ||
3417 | + echo "GBK GBK" | ||
3418 | + echo "TIS-620 TIS-620" | ||
3419 | + echo "UTF-8 UTF-8" | ||
3420 | + ;; | ||
3421 | + hpux*) | ||
3422 | + echo "iso88591 ISO-8859-1" | ||
3423 | + echo "iso88592 ISO-8859-2" | ||
3424 | + echo "iso88595 ISO-8859-5" | ||
3425 | + echo "iso88596 ISO-8859-6" | ||
3426 | + echo "iso88597 ISO-8859-7" | ||
3427 | + echo "iso88598 ISO-8859-8" | ||
3 |