Codebase list libhdate / dcef673
[svn-upgrade] Integrating new upstream version, libhdate (1.4.10) Baruch Even 15 years ago
132 changed file(s) with 13255 addition(s) and 25205 deletion(s). Raw diff Collapse all Expand all
0 Notes on the Free Translation Project
1 *************************************
2
3 Free software is going international! The Free Translation Project
4 is a way to get maintainers of free software, translators, and users all
5 together, so that will gradually become able to speak many languages.
6 A few packages already provide translations for their messages.
0 1 Notes on the Free Translation Project
1 ***************************************
2
3 Free software is going international! The Free Translation Project is
4 a way to get maintainers of free software, translators, and users all
5 together, so that free software will gradually become able to speak many
6 languages. A few packages already provide translations for their
7 messages.
78
89 If you found this `ABOUT-NLS' file inside a distribution, you may
910 assume that the distributed package does use GNU `gettext' internally,
1415 Installers will find here some useful hints. These notes also
1516 explain how users should proceed for getting the programs to use the
1617 available translations. They tell how people wanting to contribute and
17 work at translations should contact the appropriate team.
18 work on translations can contact the appropriate team.
1819
1920 When reporting bugs in the `intl/' directory or bugs which may be
2021 related to internationalization, you should tell about the version of
2122 `gettext' which is used. The information can be found in the
2223 `intl/VERSION' file, in internationalized packages.
2324
24 Quick configuration advice
25 ==========================
26
27 If you want to exploit the full power of internationalization, you
25 1.1 Quick configuration advice
26 ==============================
27
28 If you want to exploit the full power of internationalization, you
2829 should configure it using
2930
3031 ./configure --with-included-gettext
4445 you have installed a recent copy of the GNU gettext package with the
4546 included `libintl'.
4647
47 INSTALL Matters
48 ===============
49
50 Some packages are "localizable" when properly installed; the
51 programs they contain can be made to speak your own native language.
52 Most such packages use GNU `gettext'. Other packages have their own
53 ways to internationalization, predating GNU `gettext'.
48 1.2 INSTALL Matters
49 ===================
50
51 Some packages are "localizable" when properly installed; the programs
52 they contain can be made to speak your own native language. Most such
53 packages use GNU `gettext'. Other packages have their own ways to
54 internationalization, predating GNU `gettext'.
5455
5556 By default, this package will be installed to allow translation of
5657 messages. It will automatically detect whether the system already
57 provides the GNU `gettext' functions. If not, the GNU `gettext' own
58 library will be used. This library is wholly contained within this
59 package, usually in the `intl/' subdirectory, so prior installation of
60 the GNU `gettext' package is _not_ required. Installers may use
61 special options at configuration time for changing the default
62 behaviour. The commands:
58 provides the GNU `gettext' functions. If not, the included GNU
59 `gettext' library will be used. This library is wholly contained
60 within this package, usually in the `intl/' subdirectory, so prior
61 installation of the GNU `gettext' package is _not_ required.
62 Installers may use special options at configuration time for changing
63 the default behaviour. The commands:
6364
6465 ./configure --with-included-gettext
6566 ./configure --disable-nls
6667
67 will respectively bypass any pre-existing `gettext' to use the
68 will, respectively, bypass any pre-existing `gettext' to use the
6869 internationalizing routines provided within this package, or else,
6970 _totally_ disable translation of messages.
7071
7172 When you already have GNU `gettext' installed on your system and run
7273 configure without an option for your new package, `configure' will
7374 probably detect the previously built and installed `libintl.a' file and
74 will decide to use this. This might be not what is desirable. You
75 should use the more recent version of the GNU `gettext' library. I.e.
76 if the file `intl/VERSION' shows that the library which comes with this
77 package is more recent, you should use
75 will decide to use this. This might not be desirable. You should use
76 the more recent version of the GNU `gettext' library. I.e. if the file
77 `intl/VERSION' shows that the library which comes with this package is
78 more recent, you should use
7879
7980 ./configure --with-included-gettext
8081
8586 emulation of `gettext' on top of `catgets' could not provide all the
8687 extensions of the GNU `gettext' library.
8788
88 Internationalized packages have usually many `po/LL.po' files, where
89 Internationalized packages usually have many `po/LL.po' files, where
8990 LL gives an ISO 639 two-letter code identifying the language. Unless
9091 translations have been forbidden at `configure' time by using the
9192 `--disable-nls' switch, all available translations are installed
9495 `LINGUAS' should then contain a space separated list of two-letter
9596 codes, stating which languages are allowed.
9697
97 Using This Package
98 ==================
99
100 As a user, if your language has been installed for this package, you
98 1.3 Using This Package
99 ======================
100
101 As a user, if your language has been installed for this package, you
101102 only have to set the `LANG' environment variable to the appropriate
102 `LL_CC' combination. Here `LL' is an ISO 639 two-letter language code,
103 and `CC' is an ISO 3166 two-letter country code. For example, let's
103 `LL_CC' combination. If you happen to have the `LC_ALL' or some other
104 `LC_xxx' environment variables set, you should unset them before
105 setting `LANG', otherwise the setting of `LANG' will not have the
106 desired effect. Here `LL' is an ISO 639 two-letter language code, and
107 `CC' is an ISO 3166 two-letter country code. For example, let's
104108 suppose that you speak German and live in Germany. At the shell
105109 prompt, merely execute `setenv LANG de_DE' (in `csh'),
106110 `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
111115 But in fact, some languages have dialects in different countries. For
112116 example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
113117 country code serves to distinguish the dialects.
118
119 The locale naming convention of `LL_CC', with `LL' denoting the
120 language and `CC' denoting the country, is the one use on systems based
121 on GNU libc. On other systems, some variations of this scheme are
122 used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
123 locales supported by your system for your language by running the
124 command `locale -a | grep '^LL''.
114125
115126 Not all programs have translations for all languages. By default, an
116127 English message is shown in place of a nonexistent translation. If you
123134 read translations in German than English for when Swedish is not
124135 available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
125136
137 Special advice for Norwegian users: The language code for Norwegian
138 bokma*l changed from `no' to `nb' recently (in 2003). During the
139 transition period, while some message catalogs for this language are
140 installed under `nb' and some older ones under `no', it's recommended
141 for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
142 older translations are used.
143
126144 In the `LANGUAGE' environment variable, but not in the `LANG'
127145 environment variable, `LL_CC' combinations can be abbreviated as `LL'
128146 to denote the language's main dialect. For example, `de' is equivalent
129147 to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
130148 (Portuguese as spoken in Portugal) in this context.
131149
132 Translating Teams
133 =================
134
135 For the Free Translation Project to be a success, we need interested
150 1.4 Translating Teams
151 =====================
152
153 For the Free Translation Project to be a success, we need interested
136154 people who like their own language and write it well, and who are also
137155 able to synergize with other translators speaking the same language.
138156 Each translation team has its own mailing list. The up-to-date list of
139157 teams can be found at the Free Translation Project's homepage,
140 `http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams"
141 area.
158 `http://translationproject.org/', in the "Teams" area.
142159
143160 If you'd like to volunteer to _work_ at translating messages, you
144161 should become a member of the translating team for your own language.
152169 _actively_ in translations, or at solving translational difficulties,
153170 rather than merely lurking around. If your team does not exist yet and
154171 you want to start one, or if you are unsure about what to do or how to
155 get started, please write to `translation@iro.umontreal.ca' to reach the
156 coordinator for all translator teams.
172 get started, please write to `coordinator@translationproject.org' to
173 reach the coordinator for all translator teams.
157174
158175 The English team is special. It works at improving and uniformizing
159 the terminology in use. Proven linguistic skill are praised more than
160 programming skill, here.
161
162 Available Packages
163 ==================
164
165 Languages are not equally supported in all packages. The following
166 matrix shows the current state of internationalization, as of September
167 2001. The matrix shows, in regard of each package, for which languages
176 the terminology in use. Proven linguistic skills are praised more than
177 programming skills, here.
178
179 1.5 Available Packages
180 ======================
181
182 Languages are not equally supported in all packages. The following
183 matrix shows the current state of internationalization, as of November
184 2007. The matrix shows, in regard of each package, for which languages
168185 PO files have been submitted to translation coordination, with a
169186 translation percentage of at least 50%.
170187
171 Ready PO files bg cs da de el en eo es et fi fr gl he hr id it ja
172 +----------------------------------------------------+
173 a2ps | [] [] [] |
174 bash | [] [] [] [] |
175 bfd | |
176 binutils | [] |
177 bison | [] [] [] [] [] |
178 clisp | [] [] [] [] |
179 cpio | [] [] [] [] [] |
180 diffutils | [] [] [] [] [] [] [] |
181 enscript | [] [] |
182 error | [] [] |
183 fetchmail | |
184 fileutils | [] [] [] [] [] [] [] [] |
185 findutils | [] [] [] [] [] [] [] [] |
186 flex | [] [] [] |
187 freetype | |
188 gas | |
189 gawk | [] [] |
190 gcal | |
191 gcc | |
192 gettext | [] [] [] [] [] [] [] [] [] [] |
193 gnupg | [] [] [] [] [] [] [] |
194 gprof | |
195 grep | [] [] [] [] [] [] [] [] |
196 hello | [] [] [] [] [] [] [] [] [] [] [] |
197 id-utils | [] [] [] |
198 indent | [] [] [] [] [] |
199 jpilot | [] |
200 kbd | |
201 ld | [] |
202 libc | [] [] [] [] [] [] [] [] |
203 lilypond | [] |
204 lynx | [] [] [] [] |
205 m4 | [] [] [] [] [] [] [] [] |
206 make | [] [] [] [] [] [] |
207 mysecretdiary | [] |
208 nano | [] [] [] |
209 opcodes | |
210 parted | [] [] [] |
211 ptx | [] [] [] [] [] [] [] |
212 python | |
213 recode | [] [] [] [] [] [] [] [] [] |
214 sed | [] [] [] [] [] [] [] [] [] [] [] [] |
215 sh-utils | [] [] [] [] [] [] [] [] [] [] |
216 sharutils | [] [] [] [] [] [] [] [] |
217 sketch | |
218 soundtracker | [] [] [] |
219 sp | |
220 tar | [] [] [] [] [] [] [] [] |
221 texinfo | [] [] [] [] [] [] |
222 textutils | [] [] [] [] [] [] [] [] |
223 util-linux | [] [] |
224 wdiff | [] [] [] |
225 wget | [] [] [] [] [] [] [] [] [] [] |
226 +----------------------------------------------------+
227 bg cs da de el en eo es et fi fr gl he hr id it ja
228 0 14 24 32 11 1 8 23 13 1 33 22 4 0 7 9 18
229
230 ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh
231 +----------------------------------------------------+
232 a2ps | [] [] [] | 6
233 bash | | 4
234 bfd | | 0
235 binutils | | 1
236 bison | [] | 6
237 clisp | [] | 5
238 cpio | [] [] [] [] [] | 10
239 diffutils | [] [] [] [] | 11
240 enscript | [] [] [] | 5
241 error | [] [] | 4
242 fetchmail | | 0
243 fileutils | [] [] [] [] [] [] [] [] [] | 17
244 findutils | [] [] [] [] [] [] [] [] | 16
245 flex | [] [] [] | 6
246 freetype | | 0
247 gas | | 0
248 gawk | [] | 3
249 gcal | | 0
250 gcc | | 0
251 gettext | [] [] [] [] [] [] [] [] | 18
252 gnupg | [] [] [] | 10
253 gprof | | 0
254 grep | [] [] [] [] | 12
255 hello | [] [] [] [] [] [] [] [] [] [] [] | 22
256 id-utils | [] [] [] | 6
257 indent | [] [] [] [] [] [] [] | 12
258 jpilot | | 1
259 kbd | [] | 1
260 ld | | 1
261 libc | [] [] [] [] [] [] [] [] | 16
262 lilypond | [] [] | 3
263 lynx | [] [] [] [] | 8
264 m4 | [] [] [] [] | 12
265 make | [] [] [] [] [] [] | 12
266 mysecretdiary | | 1
267 nano | [] | 4
268 opcodes | [] | 1
269 parted | [] [] | 5
270 ptx | [] [] [] [] [] [] [] [] | 15
271 python | | 0
272 recode | [] [] [] [] | 13
273 sed | [] [] [] [] [] [] [] | 19
274 sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 21
275 sharutils | [] [] [] | 11
276 sketch | | 0
277 soundtracker | | 3
278 sp | | 0
279 tar | [] [] [] [] [] [] [] | 15
280 texinfo | [] | 7
281 textutils | [] [] [] [] [] [] [] [] | 16
282 util-linux | [] [] | 4
283 wdiff | [] [] [] [] | 7
284 wget | [] [] [] [] [] [] [] | 17
285 +----------------------------------------------------+
286 33 teams ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh
287 53 domains 9 1 6 20 0 6 17 1 13 25 10 11 23 21 2 2 387
188 Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo
189 +----------------------------------------------------+
190 Compendium | [] [] [] [] |
191 a2ps | [] [] [] [] [] |
192 aegis | () |
193 ant-phone | () |
194 anubis | [] |
195 ap-utils | |
196 aspell | [] [] [] [] [] |
197 bash | [] |
198 bfd | |
199 bibshelf | [] |
200 binutils | |
201 bison | [] [] |
202 bison-runtime | [] |
203 bluez-pin | [] [] [] [] [] |
204 cflow | [] |
205 clisp | [] [] [] |
206 console-tools | [] [] |
207 coreutils | [] [] [] [] |
208 cpio | |
209 cpplib | [] [] [] |
210 cryptonit | [] |
211 dialog | |
212 diffutils | [] [] [] [] [] [] |
213 doodle | [] |
214 e2fsprogs | [] [] |
215 enscript | [] [] [] [] |
216 fetchmail | [] [] () [] [] |
217 findutils | [] |
218 findutils_stable | [] [] [] |
219 flex | [] [] [] |
220 fslint | |
221 gas | |
222 gawk | [] [] [] |
223 gcal | [] |
224 gcc | [] |
225 gettext-examples | [] [] [] [] [] |
226 gettext-runtime | [] [] [] [] [] |
227 gettext-tools | [] [] |
228 gip | [] |
229 gliv | [] [] |
230 glunarclock | [] |
231 gmult | [] [] |
232 gnubiff | () |
233 gnucash | [] [] () () [] |
234 gnuedu | |
235 gnulib | [] |
236 gnunet | |
237 gnunet-gtk | |
238 gnutls | [] |
239 gpe-aerial | [] [] |
240 gpe-beam | [] [] |
241 gpe-calendar | |
242 gpe-clock | [] [] |
243 gpe-conf | [] [] |
244 gpe-contacts | |
245 gpe-edit | [] |
246 gpe-filemanager | |
247 gpe-go | [] |
248 gpe-login | [] [] |
249 gpe-ownerinfo | [] [] |
250 gpe-package | |
251 gpe-sketchbook | [] [] |
252 gpe-su | [] [] |
253 gpe-taskmanager | [] [] |
254 gpe-timesheet | [] |
255 gpe-today | [] [] |
256 gpe-todo | |
257 gphoto2 | [] [] [] [] |
258 gprof | [] [] |
259 gpsdrive | |
260 gramadoir | [] [] |
261 grep | [] [] |
262 gretl | () |
263 gsasl | |
264 gss | |
265 gst-plugins-bad | [] [] |
266 gst-plugins-base | [] [] |
267 gst-plugins-good | [] [] [] |
268 gst-plugins-ugly | [] [] |
269 gstreamer | [] [] [] [] [] [] [] |
270 gtick | () |
271 gtkam | [] [] [] [] |
272 gtkorphan | [] [] |
273 gtkspell | [] [] [] [] |
274 gutenprint | [] |
275 hello | [] [] [] [] [] |
276 herrie | [] |
277 hylafax | |
278 idutils | [] [] |
279 indent | [] [] [] [] |
280 iso_15924 | |
281 iso_3166 | [] [] [] [] [] [] [] [] [] [] [] |
282 iso_3166_2 | |
283 iso_4217 | [] [] [] |
284 iso_639 | [] [] [] [] |
285 jpilot | [] |
286 jtag | |
287 jwhois | |
288 kbd | [] [] [] [] |
289 keytouch | [] [] |
290 keytouch-editor | [] |
291 keytouch-keyboa... | [] |
292 latrine | () |
293 ld | [] |
294 leafpad | [] [] [] [] [] |
295 libc | [] [] [] [] |
296 libexif | [] |
297 libextractor | [] |
298 libgpewidget | [] [] [] |
299 libgpg-error | [] |
300 libgphoto2 | [] [] |
301 libgphoto2_port | [] [] |
302 libgsasl | |
303 libiconv | [] [] |
304 libidn | [] [] [] |
305 lifelines | [] () |
306 lilypond | [] |
307 lingoteach | |
308 lprng | |
309 lynx | [] [] [] [] |
310 m4 | [] [] [] [] |
311 mailfromd | |
312 mailutils | [] |
313 make | [] [] |
314 man-db | [] [] [] |
315 minicom | [] [] [] |
316 nano | [] [] [] |
317 opcodes | [] |
318 parted | [] [] |
319 pilot-qof | |
320 popt | [] [] [] |
321 psmisc | [] |
322 pwdutils | |
323 qof | |
324 radius | [] |
325 recode | [] [] [] [] [] [] |
326 rpm | [] |
327 screem | |
328 scrollkeeper | [] [] [] [] [] [] [] [] |
329 sed | [] [] [] |
330 shared-mime-info | [] [] [] [] () [] [] [] |
331 sharutils | [] [] [] [] [] [] |
332 shishi | |
333 skencil | [] () |
334 solfege | |
335 soundtracker | [] [] |
336 sp | [] |
337 system-tools-ba... | [] [] [] [] [] [] [] [] [] |
338 tar | [] [] |
339 texinfo | [] [] [] |
340 tin | () () |
341 tuxpaint | [] [] [] [] [] [] |
342 unicode-han-tra... | |
343 unicode-transla... | |
344 util-linux | [] [] [] [] |
345 util-linux-ng | [] [] [] [] |
346 vorbis-tools | [] |
347 wastesedge | () |
348 wdiff | [] [] [] [] |
349 wget | [] [] [] |
350 xchat | [] [] [] [] [] [] [] |
351 xkeyboard-config | [] |
352 xpad | [] [] [] |
353 +----------------------------------------------------+
354 af am ar az be bg bs ca cs cy da de el en en_GB eo
355 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18
356
357 es et eu fa fi fr ga gl gu he hi hr hu id is it
358 +--------------------------------------------------+
359 Compendium | [] [] [] [] [] |
360 a2ps | [] [] [] () |
361 aegis | |
362 ant-phone | [] |
363 anubis | [] |
364 ap-utils | [] [] |
365 aspell | [] [] [] |
366 bash | [] |
367 bfd | [] [] |
368 bibshelf | [] [] [] |
369 binutils | [] [] [] |
370 bison | [] [] [] [] [] [] |
371 bison-runtime | [] [] [] [] [] |
372 bluez-pin | [] [] [] [] [] |
373 cflow | [] |
374 clisp | [] [] |
375 console-tools | |
376 coreutils | [] [] [] [] [] [] |
377 cpio | [] [] [] |
378 cpplib | [] [] |
379 cryptonit | [] |
380 dialog | [] [] [] |
381 diffutils | [] [] [] [] [] [] [] [] [] |
382 doodle | [] [] |
383 e2fsprogs | [] [] [] |
384 enscript | [] [] [] |
385 fetchmail | [] |
386 findutils | [] [] [] |
387 findutils_stable | [] [] [] [] |
388 flex | [] [] [] |
389 fslint | |
390 gas | [] [] |
391 gawk | [] [] [] [] () |
392 gcal | [] [] |
393 gcc | [] |
394 gettext-examples | [] [] [] [] [] [] [] |
395 gettext-runtime | [] [] [] [] [] [] |
396 gettext-tools | [] [] [] [] |
397 gip | [] [] [] [] |
398 gliv | () |
399 glunarclock | [] [] [] |
400 gmult | [] [] [] |
401 gnubiff | () () |
402 gnucash | () () () |
403 gnuedu | [] |
404 gnulib | [] [] [] |
405 gnunet | |
406 gnunet-gtk | |
407 gnutls | |
408 gpe-aerial | [] [] |
409 gpe-beam | [] [] |
410 gpe-calendar | |
411 gpe-clock | [] [] [] [] |
412 gpe-conf | [] |
413 gpe-contacts | [] [] |
414 gpe-edit | [] [] [] [] |
415 gpe-filemanager | [] |
416 gpe-go | [] [] [] |
417 gpe-login | [] [] [] |
418 gpe-ownerinfo | [] [] [] [] [] |
419 gpe-package | [] |
420 gpe-sketchbook | [] [] |
421 gpe-su | [] [] [] [] |
422 gpe-taskmanager | [] [] [] |
423 gpe-timesheet | [] [] [] [] |
424 gpe-today | [] [] [] [] |
425 gpe-todo | [] |
426 gphoto2 | [] [] [] [] [] |
427 gprof | [] [] [] [] [] |
428 gpsdrive | [] |
429 gramadoir | [] [] |
430 grep | [] [] [] |
431 gretl | [] [] [] () |
432 gsasl | [] [] |
433 gss | [] [] |
434 gst-plugins-bad | [] [] [] [] |
435 gst-plugins-base | [] [] [] [] |
436 gst-plugins-good | [] [] [] [] [] |
437 gst-plugins-ugly | [] [] [] [] |
438 gstreamer | [] [] [] |
439 gtick | [] [] [] |
440 gtkam | [] [] [] [] |
441 gtkorphan | [] [] |
442 gtkspell | [] [] [] [] [] [] [] |
443 gutenprint | [] |
444 hello | [] [] [] [] [] [] [] [] [] [] [] [] [] |
445 herrie | [] |
446 hylafax | |
447 idutils | [] [] [] [] [] |
448 indent | [] [] [] [] [] [] [] [] [] [] |
449 iso_15924 | [] |
450 iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] |
451 iso_3166_2 | [] |
452 iso_4217 | [] [] [] [] [] [] |
453 iso_639 | [] [] [] [] [] [] |
454 jpilot | [] [] |
455 jtag | [] |
456 jwhois | [] [] [] [] [] |
457 kbd | [] [] |
458 keytouch | [] [] [] |
459 keytouch-editor | [] |
460 keytouch-keyboa... | [] [] |
461 latrine | [] [] |
462 ld | [] [] [] [] |
463 leafpad | [] [] [] [] [] [] |
464 libc | [] [] [] [] [] |
465 libexif | [] |
466 libextractor | [] |
467 libgpewidget | [] [] [] [] [] |
468 libgpg-error | [] |
469 libgphoto2 | [] [] [] |
470 libgphoto2_port | [] [] |
471 libgsasl | [] [] |
472 libiconv | [] [] [] |
473 libidn | [] [] |
474 lifelines | () |
475 lilypond | [] [] [] |
476 lingoteach | [] [] [] |
477 lprng | |
478 lynx | [] [] [] |
479 m4 | [] [] [] [] |
480 mailfromd | |
481 mailutils | [] [] |
482 make | [] [] [] [] [] [] [] [] |
483 man-db | [] |
484 minicom | [] [] [] [] |
485 nano | [] [] [] [] [] [] [] |
486 opcodes | [] [] [] [] |
487 parted | [] [] [] |
488 pilot-qof | |
489 popt | [] [] [] [] |
490 psmisc | [] [] |
491 pwdutils | |
492 qof | [] |
493 radius | [] [] |
494 recode | [] [] [] [] [] [] [] [] |
495 rpm | [] [] |
496 screem | |
497 scrollkeeper | [] [] [] |
498 sed | [] [] [] [] [] |
499 shared-mime-info | [] [] [] [] [] [] |
500 sharutils | [] [] [] [] [] [] [] [] |
501 shishi | [] |
502 skencil | [] [] |
503 solfege | [] |
504 soundtracker | [] [] [] |
505 sp | [] |
506 system-tools-ba... | [] [] [] [] [] [] [] [] [] |
507 tar | [] [] [] [] [] |
508 texinfo | [] [] [] |
509 tin | [] () |
510 tuxpaint | [] [] |
511 unicode-han-tra... | |
512 unicode-transla... | [] [] |
513 util-linux | [] [] [] [] [] [] [] |
514 util-linux-ng | [] [] [] [] [] [] [] |
515 vorbis-tools | |
516 wastesedge | () |
517 wdiff | [] [] [] [] [] [] [] [] |
518 wget | [] [] [] [] [] [] [] [] |
519 xchat | [] [] [] [] [] [] [] |
520 xkeyboard-config | [] [] [] [] |
521 xpad | [] [] [] |
522 +--------------------------------------------------+
523 es et eu fa fi fr ga gl gu he hi hr hu id is it
524 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52
525
526 ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn
527 +--------------------------------------------------+
528 Compendium | [] |
529 a2ps | () [] [] |
530 aegis | () |
531 ant-phone | [] |
532 anubis | [] [] [] |
533 ap-utils | [] |
534 aspell | [] [] |
535 bash | [] |
536 bfd | |
537 bibshelf | [] |
538 binutils | |
539 bison | [] [] [] |
540 bison-runtime | [] [] [] |
541 bluez-pin | [] [] [] |
542 cflow | |
543 clisp | [] |
544 console-tools | |
545 coreutils | [] |
546 cpio | [] |
547 cpplib | [] |
548 cryptonit | [] |
549 dialog | [] [] |
550 diffutils | [] [] [] |
551 doodle | |
552 e2fsprogs | [] |
553 enscript | [] |
554 fetchmail | [] [] |
555 findutils | [] |
556 findutils_stable | [] |
557 flex | [] [] |
558 fslint | |
559 gas | |
560 gawk | [] [] |
561 gcal | |
562 gcc | |
563 gettext-examples | [] [] [] |
564 gettext-runtime | [] [] [] |
565 gettext-tools | [] [] |
566 gip | [] [] |
567 gliv | [] |
568 glunarclock | [] [] |
569 gmult | [] [] [] |
570 gnubiff | |
571 gnucash | () () () |
572 gnuedu | |
573 gnulib | [] [] |
574 gnunet | |
575 gnunet-gtk | |
576 gnutls | [] |
577 gpe-aerial | [] |
578 gpe-beam | [] |
579 gpe-calendar | [] |
580 gpe-clock | [] [] [] |
581 gpe-conf | [] [] [] |
582 gpe-contacts | [] |
583 gpe-edit | [] [] [] |
584 gpe-filemanager | [] [] |
585 gpe-go | [] [] [] |
586 gpe-login | [] [] [] |
587 gpe-ownerinfo | [] [] |
588 gpe-package | [] [] |
589 gpe-sketchbook | [] [] |
590 gpe-su | [] [] [] |
591 gpe-taskmanager | [] [] [] [] |
592 gpe-timesheet | [] |
593 gpe-today | [] [] |
594 gpe-todo | [] |
595 gphoto2 | [] [] |
596 gprof | [] |
597 gpsdrive | [] |
598 gramadoir | () |
599 grep | [] [] |
600 gretl | |
601 gsasl | [] |
602 gss | |
603 gst-plugins-bad | [] |
604 gst-plugins-base | [] |
605 gst-plugins-good | [] |
606 gst-plugins-ugly | [] |
607 gstreamer | [] |
608 gtick | [] |
609 gtkam | [] [] |
610 gtkorphan | [] |
611 gtkspell | [] [] |
612 gutenprint | [] |
613 hello | [] [] [] [] [] [] [] |
614 herrie | [] |
615 hylafax | |
616 idutils | [] |
617 indent | [] [] |
618 iso_15924 | [] |
619 iso_3166 | [] [] [] [] [] [] [] [] |
620 iso_3166_2 | [] |
621 iso_4217 | [] [] [] |
622 iso_639 | [] [] [] [] |
623 jpilot | () () |
624 jtag | |
625 jwhois | [] |
626 kbd | [] |
627 keytouch | [] |
628 keytouch-editor | [] |
629 keytouch-keyboa... | |
630 latrine | [] |
631 ld | |
632 leafpad | [] [] |
633 libc | [] [] [] |
634 libexif | |
635 libextractor | |
636 libgpewidget | [] |
637 libgpg-error | |
638 libgphoto2 | [] |
639 libgphoto2_port | [] |
640 libgsasl | [] |
641 libiconv | [] |
642 libidn | [] [] |
643 lifelines | [] |
644 lilypond | [] |
645 lingoteach | [] |
646 lprng | |
647 lynx | [] [] |
648 m4 | [] [] |
649 mailfromd | |
650 mailutils | |
651 make | [] [] [] |
652 man-db | |
653 minicom | [] |
654 nano | [] [] [] |
655 opcodes | [] |
656 parted | [] [] |
657 pilot-qof | |
658 popt | [] [] [] |
659 psmisc | [] [] [] |
660 pwdutils | |
661 qof | |
662 radius | |
663 recode | [] |
664 rpm | [] [] |
665 screem | [] |
666 scrollkeeper | [] [] [] [] |
667 sed | [] [] |
668 shared-mime-info | [] [] [] [] [] [] [] |
669 sharutils | [] [] |
670 shishi | |
671 skencil | |
672 solfege | () () |
673 soundtracker | |
674 sp | () |
675 system-tools-ba... | [] [] [] [] |
676 tar | [] [] [] |
677 texinfo | [] [] |
678 tin | |
679 tuxpaint | () [] [] |
680 unicode-han-tra... | |
681 unicode-transla... | |
682 util-linux | [] [] |
683 util-linux-ng | [] [] |
684 vorbis-tools | |
685 wastesedge | [] |
686 wdiff | [] [] |
687 wget | [] [] |
688 xchat | [] [] [] [] |
689 xkeyboard-config | [] [] [] |
690 xpad | [] [] [] |
691 +--------------------------------------------------+
692 ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn
693 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6
694
695 or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta
696 +--------------------------------------------------+
697 Compendium | [] [] [] [] [] |
698 a2ps | () [] [] [] [] [] [] |
699 aegis | () () |
700 ant-phone | [] [] |
701 anubis | [] [] [] |
702 ap-utils | () |
703 aspell | [] [] [] |
704 bash | [] [] |
705 bfd | |
706 bibshelf | [] |
707 binutils | [] [] |
708 bison | [] [] [] [] [] |
709 bison-runtime | [] [] [] [] [] |
710 bluez-pin | [] [] [] [] [] [] [] [] [] |
711 cflow | [] |
712 clisp | [] |
713 console-tools | [] |
714 coreutils | [] [] [] [] |
715 cpio | [] [] [] |
716 cpplib | [] |
717 cryptonit | [] [] |
718 dialog | [] |
719 diffutils | [] [] [] [] [] [] |
720 doodle | [] [] |
721 e2fsprogs | [] [] |
722 enscript | [] [] [] [] [] |
723 fetchmail | [] [] [] |
724 findutils | [] [] [] |
725 findutils_stable | [] [] [] [] [] [] |
726 flex | [] [] [] [] [] |
727 fslint | [] |
728 gas | |
729 gawk | [] [] [] [] |
730 gcal | [] |
731 gcc | [] [] |
732 gettext-examples | [] [] [] [] [] [] [] [] |
733 gettext-runtime | [] [] [] [] [] [] [] [] |
734 gettext-tools | [] [] [] [] [] [] [] |
735 gip | [] [] [] [] |
736 gliv | [] [] [] [] [] [] |
737 glunarclock | [] [] [] [] [] [] |
738 gmult | [] [] [] [] |
739 gnubiff | () [] |
740 gnucash | () [] |
741 gnuedu | |
742 gnulib | [] [] [] |
743 gnunet | |
744 gnunet-gtk | [] |
745 gnutls | [] [] |
746 gpe-aerial | [] [] [] [] [] [] [] |
747 gpe-beam | [] [] [] [] [] [] [] |
748 gpe-calendar | [] [] [] [] |
749 gpe-clock | [] [] [] [] [] [] [] [] |
750 gpe-conf | [] [] [] [] [] [] [] |
751 gpe-contacts | [] [] [] [] [] |
752 gpe-edit | [] [] [] [] [] [] [] [] [] |
753 gpe-filemanager | [] [] |
754 gpe-go | [] [] [] [] [] [] [] [] |
755 gpe-login | [] [] [] [] [] [] [] [] |
756 gpe-ownerinfo | [] [] [] [] [] [] [] [] |
757 gpe-package | [] [] |
758 gpe-sketchbook | [] [] [] [] [] [] [] [] |
759 gpe-su | [] [] [] [] [] [] [] [] |
760 gpe-taskmanager | [] [] [] [] [] [] [] [] |
761 gpe-timesheet | [] [] [] [] [] [] [] [] |
762 gpe-today | [] [] [] [] [] [] [] [] |
763 gpe-todo | [] [] [] [] |
764 gphoto2 | [] [] [] [] [] [] |
765 gprof | [] [] [] |
766 gpsdrive | [] [] |
767 gramadoir | [] [] |
768 grep | [] [] [] [] |
769 gretl | [] [] [] |
770 gsasl | [] [] [] |
771 gss | [] [] [] [] |
772 gst-plugins-bad | [] [] [] |
773 gst-plugins-base | [] [] |
774 gst-plugins-good | [] [] |
775 gst-plugins-ugly | [] [] [] |
776 gstreamer | [] [] [] [] |
777 gtick | [] |
778 gtkam | [] [] [] [] [] |
779 gtkorphan | [] |
780 gtkspell | [] [] [] [] [] [] [] [] |
781 gutenprint | [] |
782 hello | [] [] [] [] [] [] [] [] |
783 herrie | [] [] [] |
784 hylafax | |
785 idutils | [] [] [] [] [] |
786 indent | [] [] [] [] [] [] [] |
787 iso_15924 | |
788 iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] |
789 iso_3166_2 | |
790 iso_4217 | [] [] [] [] [] [] [] |
791 iso_639 | [] [] [] [] [] [] [] |
792 jpilot | |
793 jtag | [] |
794 jwhois | [] [] [] [] |
795 kbd | [] [] [] |
796 keytouch | [] |
797 keytouch-editor | [] |
798 keytouch-keyboa... | [] |
799 latrine | |
800 ld | [] |
801 leafpad | [] [] [] [] [] [] |
802 libc | [] [] [] [] |
803 libexif | [] [] |
804 libextractor | [] [] |
805 libgpewidget | [] [] [] [] [] [] [] [] |
806 libgpg-error | [] [] [] |
807 libgphoto2 | [] |
808 libgphoto2_port | [] [] [] |
809 libgsasl | [] [] [] [] |
810 libiconv | [] [] [] |
811 libidn | [] [] () |
812 lifelines | [] [] |
813 lilypond | |
814 lingoteach | [] |
815 lprng | [] |
816 lynx | [] [] [] |
817 m4 | [] [] [] [] [] |
818 mailfromd | [] |
819 mailutils | [] [] [] |
820 make | [] [] [] [] |
821 man-db | [] [] [] [] |
822 minicom | [] [] [] [] [] |
823 nano | [] [] [] [] |
824 opcodes | [] [] |
825 parted | [] |
826 pilot-qof | |
827 popt | [] [] [] [] |
828 psmisc | [] [] |
829 pwdutils | [] [] |
830 qof | [] [] |
831 radius | [] [] |
832 recode | [] [] [] [] [] [] [] |
833 rpm | [] [] [] [] |
834 screem | |
835 scrollkeeper | [] [] [] [] [] [] [] |
836 sed | [] [] [] [] [] [] [] [] [] |
837 shared-mime-info | [] [] [] [] [] [] |
838 sharutils | [] [] [] [] |
839 shishi | [] |
840 skencil | [] [] [] |
841 solfege | [] |
842 soundtracker | [] [] |
843 sp | |
844 system-tools-ba... | [] [] [] [] [] [] [] [] [] |
845 tar | [] [] [] [] |
846 texinfo | [] [] [] [] |
847 tin | () |
848 tuxpaint | [] [] [] [] [] [] |
849 unicode-han-tra... | |
850 unicode-transla... | |
851 util-linux | [] [] [] [] |
852 util-linux-ng | [] [] [] [] |
853 vorbis-tools | [] |
854 wastesedge | |
855 wdiff | [] [] [] [] [] [] [] |
856 wget | [] [] [] [] |
857 xchat | [] [] [] [] [] [] [] |
858 xkeyboard-config | [] [] [] |
859 xpad | [] [] [] |
860 +--------------------------------------------------+
861 or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta
862 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3
863
864 tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu
865 +---------------------------------------------------+
866 Compendium | [] [] [] [] | 19
867 a2ps | [] [] [] | 19
868 aegis | [] | 1
869 ant-phone | [] [] | 6
870 anubis | [] [] [] | 11
871 ap-utils | () [] | 4
872 aspell | [] [] [] | 16
873 bash | [] | 6
874 bfd | | 2
875 bibshelf | [] | 7
876 binutils | [] [] [] [] | 9
877 bison | [] [] [] [] | 20
878 bison-runtime | [] [] [] [] | 18
879 bluez-pin | [] [] [] [] [] [] | 28
880 cflow | [] [] | 5
881 clisp | | 9
882 console-tools | [] [] | 5
883 coreutils | [] [] [] | 18
884 cpio | [] [] [] [] | 11
885 cpplib | [] [] [] [] [] | 12
886 cryptonit | [] | 6
887 dialog | [] [] [] | 9
888 diffutils | [] [] [] [] [] | 29
889 doodle | [] | 6
890 e2fsprogs | [] [] | 10
891 enscript | [] [] [] | 16
892 fetchmail | [] [] | 12
893 findutils | [] [] [] | 11
894 findutils_stable | [] [] [] [] | 18
895 flex | [] [] | 15
896 fslint | [] | 2
897 gas | [] | 3
898 gawk | [] [] [] | 16
899 gcal | [] | 5
900 gcc | [] [] [] | 7
901 gettext-examples | [] [] [] [] [] [] | 29
902 gettext-runtime | [] [] [] [] [] [] | 28
903 gettext-tools | [] [] [] [] [] | 20
904 gip | [] [] | 13
905 gliv | [] [] | 11
906 glunarclock | [] [] [] | 15
907 gmult | [] [] [] [] | 16
908 gnubiff | [] | 2
909 gnucash | () [] | 5
910 gnuedu | [] | 2
911 gnulib | [] | 10
912 gnunet | | 0
913 gnunet-gtk | [] [] | 3
914 gnutls | | 4
915 gpe-aerial | [] [] | 14
916 gpe-beam | [] [] | 14
917 gpe-calendar | [] [] | 7
918 gpe-clock | [] [] [] [] | 21
919 gpe-conf | [] [] [] | 16
920 gpe-contacts | [] [] | 10
921 gpe-edit | [] [] [] [] [] | 22
922 gpe-filemanager | [] [] | 7
923 gpe-go | [] [] [] [] | 19
924 gpe-login | [] [] [] [] [] | 21
925 gpe-ownerinfo | [] [] [] [] | 21
926 gpe-package | [] | 6
927 gpe-sketchbook | [] [] | 16
928 gpe-su | [] [] [] [] | 21
929 gpe-taskmanager | [] [] [] [] | 21
930 gpe-timesheet | [] [] [] [] | 18
931 gpe-today | [] [] [] [] [] | 21
932 gpe-todo | [] [] | 8
933 gphoto2 | [] [] [] [] | 21
934 gprof | [] [] | 13
935 gpsdrive | [] | 5
936 gramadoir | [] | 7
937 grep | [] | 12
938 gretl | | 6
939 gsasl | [] [] [] | 9
940 gss | [] | 7
941 gst-plugins-bad | [] [] [] | 13
942 gst-plugins-base | [] [] | 11
943 gst-plugins-good | [] [] [] [] [] | 16
944 gst-plugins-ugly | [] [] [] | 13
945 gstreamer | [] [] [] | 18
946 gtick | [] [] | 7
947 gtkam | [] | 16
948 gtkorphan | [] | 7
949 gtkspell | [] [] [] [] [] [] | 27
950 gutenprint | | 4
951 hello | [] [] [] [] [] | 38
952 herrie | [] [] | 8
953 hylafax | | 0
954 idutils | [] [] | 15
955 indent | [] [] [] [] [] | 28
956 iso_15924 | [] [] | 4
957 iso_3166 | [] [] [] [] [] [] [] [] [] | 54
958 iso_3166_2 | [] [] | 4
959 iso_4217 | [] [] [] [] [] | 24
960 iso_639 | [] [] [] [] [] | 26
961 jpilot | [] [] [] [] | 7
962 jtag | [] | 3
963 jwhois | [] [] [] | 13
964 kbd | [] [] [] | 13
965 keytouch | [] | 8
966 keytouch-editor | [] | 5
967 keytouch-keyboa... | [] | 5
968 latrine | [] [] | 5
969 ld | [] [] [] [] | 10
970 leafpad | [] [] [] [] [] | 24
971 libc | [] [] [] | 19
972 libexif | [] | 5
973 libextractor | [] | 5
974 libgpewidget | [] [] [] | 20
975 libgpg-error | [] | 6
976 libgphoto2 | [] [] | 9
977 libgphoto2_port | [] [] [] | 11
978 libgsasl | [] | 8
979 libiconv | [] [] | 11
980 libidn | [] [] | 11
981 lifelines | | 4
982 lilypond | [] | 6
983 lingoteach | [] | 6
984 lprng | [] | 2
985 lynx | [] [] [] | 15
986 m4 | [] [] [] | 18
987 mailfromd | [] [] | 3
988 mailutils | [] [] | 8
989 make | [] [] [] | 20
990 man-db | [] | 9
991 minicom | [] | 14
992 nano | [] [] [] | 20
993 opcodes | [] [] | 10
994 parted | [] [] [] | 11
995 pilot-qof | [] | 1
996 popt | [] [] [] [] | 18
997 psmisc | [] [] | 10
998 pwdutils | [] | 3
999 qof | [] | 4
1000 radius | [] [] | 7
1001 recode | [] [] [] | 25
1002 rpm | [] [] [] [] | 13
1003 screem | [] | 2
1004 scrollkeeper | [] [] [] [] | 26
1005 sed | [] [] [] [] | 23
1006 shared-mime-info | [] [] [] | 29
1007 sharutils | [] [] [] | 23
1008 shishi | [] | 3
1009 skencil | [] | 7
1010 solfege | [] | 3
1011 soundtracker | [] [] | 9
1012 sp | [] | 3
1013 system-tools-ba... | [] [] [] [] [] [] [] | 38
1014 tar | [] [] [] | 17
1015 texinfo | [] [] [] | 15
1016 tin | | 1
1017 tuxpaint | [] [] [] | 19
1018 unicode-han-tra... | | 0
1019 unicode-transla... | | 2
1020 util-linux | [] [] [] | 20
1021 util-linux-ng | [] [] [] | 20
1022 vorbis-tools | [] [] | 4
1023 wastesedge | | 1
1024 wdiff | [] [] | 23
1025 wget | [] [] [] | 20
1026 xchat | [] [] [] [] | 29
1027 xkeyboard-config | [] [] [] | 14
1028 xpad | [] [] [] | 15
1029 +---------------------------------------------------+
1030 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu
1031 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036
2881032
2891033 Some counters in the preceding matrix are higher than the number of
2901034 visible blocks let us expect. This is because a few extra PO files are
2971041 lag between the mere existence a PO file and its wide availability in a
2981042 distribution.
2991043
300 If September 2001 seems to be old, you may fetch a more recent copy
1044 If November 2007 seems to be old, you may fetch a more recent copy
3011045 of this `ABOUT-NLS' file on most GNU archive sites. The most
3021046 up-to-date matrix with full percentage details can be found at
303 `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
304
305 Using `gettext' in new packages
306 ===============================
307
308 If you are writing a freely available program and want to
1047 `http://translationproject.org/extra/matrix.html'.
1048
1049 1.6 Using `gettext' in new packages
1050 ===================================
1051
1052 If you are writing a freely available program and want to
3091053 internationalize it you are welcome to use GNU `gettext' in your
3101054 package. Of course you have to respect the GNU Library General Public
3111055 License which covers the use of the GNU `gettext' library. This means
3141058 library or use modified versions of `libintl'.
3151059
3161060 Once the sources are changed appropriately and the setup can handle
317 to use of `gettext' the only thing missing are the translations. The
1061 the use of `gettext' the only thing missing are the translations. The
3181062 Free Translation Project is also available for packages which are not
3191063 developed inside the GNU project. Therefore the information given above
3201064 applies also for every other Free Software Project. Contact
321 `translation@iro.umontreal.ca' to make the `.pot' files available to
322 the translation teams.
323
1065 `coordinator@translationproject.org' to make the `.pot' files available
1066 to the translation teams.
1067
0 (C) Yaacov Zamir <kzamir@walla.co.il> 2003-2005.
0 (C) Yaacov Zamir <kzamir@walla.co.il> 2003-2008.
1 (C) Amos Shapir <amos083@hotmail.com> 1984-2003.
2
0 GNU GENERAL PUBLIC LICENSE
1 Version 2, June 1991
2
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
0 GNU GENERAL PUBLIC LICENSE
1 Version 3, 29 June 2007
2
3 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
54 Everyone is permitted to copy and distribute verbatim copies
65 of this license document, but changing it is not allowed.
76
8 Preamble
9
10 The licenses for most software are designed to take away your
11 freedom to share and change it. By contrast, the GNU General Public
12 License is intended to guarantee your freedom to share and change free
13 software--to make sure the software is free for all its users. This
14 General Public License applies to most of the Free Software
15 Foundation's software and to any other program whose authors commit to
16 using it. (Some other Free Software Foundation software is covered by
17 the GNU Library General Public License instead.) You can apply it to
7 Preamble
8
9 The GNU General Public License is a free, copyleft license for
10 software and other kinds of works.
11
12 The licenses for most software and other practical works are designed
13 to take away your freedom to share and change the works. By contrast,
14 the GNU General Public License is intended to guarantee your freedom to
15 share and change all versions of a program--to make sure it remains free
16 software for all its users. We, the Free Software Foundation, use the
17 GNU General Public License for most of our software; it applies also to
18 any other work released this way by its authors. You can apply it to
1819 your programs, too.
1920
2021 When we speak of free software, we are referring to freedom, not
2122 price. Our General Public Licenses are designed to make sure that you
2223 have the freedom to distribute copies of free software (and charge for
23 this service if you wish), that you receive source code or can get it
24 if you want it, that you can change the software or use pieces of it
25 in new free programs; and that you know you can do these things.
26
27 To protect your rights, we need to make restrictions that forbid
28 anyone to deny you these rights or to ask you to surrender the rights.
29 These restrictions translate to certain responsibilities for you if you
30 distribute copies of the software, or if you modify it.
24 them if you wish), that you receive source code or can get it if you
25 want it, that you can change the software or use pieces of it in new
26 free programs, and that you know you can do these things.
27
28 To protect your rights, we need to prevent others from denying you
29 these rights or asking you to surrender the rights. Therefore, you have
30 certain responsibilities if you distribute copies of the software, or if
31 you modify it: responsibilities to respect the freedom of others.
3132
3233 For example, if you distribute copies of such a program, whether
33 gratis or for a fee, you must give the recipients all the rights that
34 you have. You must make sure that they, too, receive or can get the
35 source code. And you must show them these terms so they know their
36 rights.
37
38 We protect your rights with two steps: (1) copyright the software, and
39 (2) offer you this license which gives you legal permission to copy,
40 distribute and/or modify the software.
41
42 Also, for each author's protection and ours, we want to make certain
43 that everyone understands that there is no warranty for this free
44 software. If the software is modified by someone else and passed on, we
45 want its recipients to know that what they have is not the original, so
46 that any problems introduced by others will not reflect on the original
47 authors' reputations.
48
49 Finally, any free program is threatened constantly by software
50 patents. We wish to avoid the danger that redistributors of a free
51 program will individually obtain patent licenses, in effect making the
52 program proprietary. To prevent this, we have made it clear that any
53 patent must be licensed for everyone's free use or not licensed at all.
34 gratis or for a fee, you must pass on to the recipients the same
35 freedoms that you received. You must make sure that they, too, receive
36 or can get the source code. And you must show them these terms so they
37 know their rights.
38
39 Developers that use the GNU GPL protect your rights with two steps:
40 (1) assert copyright on the software, and (2) offer you this License
41 giving you legal permission to copy, distribute and/or modify it.
42
43 For the developers' and authors' protection, the GPL clearly explains
44 that there is no warranty for this free software. For both users' and
45 authors' sake, the GPL requires that modified versions be marked as
46 changed, so that their problems will not be attributed erroneously to
47 authors of previous versions.
48
49 Some devices are designed to deny users access to install or run
50 modified versions of the software inside them, although the manufacturer
51 can do so. This is fundamentally incompatible with the aim of
52 protecting users' freedom to change the software. The systematic
53 pattern of such abuse occurs in the area of products for individuals to
54 use, which is precisely where it is most unacceptable. Therefore, we
55 have designed this version of the GPL to prohibit the practice for those
56 products. If such problems arise substantially in other domains, we
57 stand ready to extend this provision to those domains in future versions
58 of the GPL, as needed to protect the freedom of users.
59
60 Finally, every program is threatened constantly by software patents.
61 States should not allow patents to restrict development and use of
62 software on general-purpose computers, but in those that do, we wish to
63 avoid the special danger that patents applied to a free program could
64 make it effectively proprietary. To prevent this, the GPL assures that
65 patents cannot be used to render the program non-free.
5466
5567 The precise terms and conditions for copying, distribution and
5668 modification follow.
57
58 GNU GENERAL PUBLIC LICENSE
59 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
60
61 0. This License applies to any program or other work which contains
62 a notice placed by the copyright holder saying it may be distributed
63 under the terms of this General Public License. The "Program", below,
64 refers to any such program or work, and a "work based on the Program"
65 means either the Program or any derivative work under copyright law:
66 that is to say, a work containing the Program or a portion of it,
67 either verbatim or with modifications and/or translated into another
68 language. (Hereinafter, translation is included without limitation in
69 the term "modification".) Each licensee is addressed as "you".
70
71 Activities other than copying, distribution and modification are not
72 covered by this License; they are outside its scope. The act of
73 running the Program is not restricted, and the output from the Program
74 is covered only if its contents constitute a work based on the
75 Program (independent of having been made by running the Program).
76 Whether that is true depends on what the Program does.
77
78 1. You may copy and distribute verbatim copies of the Program's
79 source code as you receive it, in any medium, provided that you
80 conspicuously and appropriately publish on each copy an appropriate
81 copyright notice and disclaimer of warranty; keep intact all the
82 notices that refer to this License and to the absence of any warranty;
83 and give any other recipients of the Program a copy of this License
84 along with the Program.
85
86 You may charge a fee for the physical act of transferring a copy, and
87 you may at your option offer warranty protection in exchange for a fee.
88
89 2. You may modify your copy or copies of the Program or any portion
90 of it, thus forming a work based on the Program, and copy and
91 distribute such modifications or work under the terms of Section 1
92 above, provided that you also meet all of these conditions:
93
94 a) You must cause the modified files to carry prominent notices
95 stating that you changed the files and the date of any change.
96
97 b) You must cause any work that you distribute or publish, that in
98 whole or in part contains or is derived from the Program or any
99 part thereof, to be licensed as a whole at no charge to all third
100 parties under the terms of this License.
101
102 c) If the modified program normally reads commands interactively
103 when run, you must cause it, when started running for such
104 interactive use in the most ordinary way, to print or display an
105 announcement including an appropriate copyright notice and a
106 notice that there is no warranty (or else, saying that you provide
107 a warranty) and that users may redistribute the program under
108 these conditions, and telling the user how to view a copy of this
109 License. (Exception: if the Program itself is interactive but
110 does not normally print such an announcement, your work based on
111 the Program is not required to print an announcement.)
112
113 These requirements apply to the modified work as a whole. If
114 identifiable sections of that work are not derived from the Program,
115 and can be reasonably considered independent and separate works in
116 themselves, then this License, and its terms, do not apply to those
117 sections when you distribute them as separate works. But when you
118 distribute the same sections as part of a whole which is a work based
119 on the Program, the distribution of the whole must be on the terms of
120 this License, whose permissions for other licensees extend to the
121 entire whole, and thus to each and every part regardless of who wrote it.
122
123 Thus, it is not the intent of this section to claim rights or contest
124 your rights to work written entirely by you; rather, the intent is to
125 exercise the right to control the distribution of derivative or
126 collective works based on the Program.
127
128 In addition, mere aggregation of another work not based on the Program
129 with the Program (or with a work based on the Program) on a volume of
130 a storage or distribution medium does not bring the other work under
131 the scope of this License.
132
133 3. You may copy and distribute the Program (or a work based on it,
134 under Section 2) in object code or executable form under the terms of
135 Sections 1 and 2 above provided that you also do one of the following:
136
137 a) Accompany it with the complete corresponding machine-readable
138 source code, which must be distributed under the terms of Sections
139 1 and 2 above on a medium customarily used for software interchange; or,
140
141 b) Accompany it with a written offer, valid for at least three
142 years, to give any third party, for a charge no more than your
143 cost of physically performing source distribution, a complete
144 machine-readable copy of the corresponding source code, to be
145 distributed under the terms of Sections 1 and 2 above on a medium
146 customarily used for software interchange; or,
147
148 c) Accompany it with the information you received as to the offer
149 to distribute corresponding source code. (This alternative is
150 allowed only for noncommercial distribution and only if you
151 received the program in object code or executable form with such
152 an offer, in accord with Subsection b above.)
153
154 The source code for a work means the preferred form of the work for
155 making modifications to it. For an executable work, complete source
156 code means all the source code for all modules it contains, plus any
157 associated interface definition files, plus the scripts used to
158 control compilation and installation of the executable. However, as a
159 special exception, the source code distributed need not include
160 anything that is normally distributed (in either source or binary
161 form) with the major components (compiler, kernel, and so on) of the
162 operating system on which the executable runs, unless that component
163 itself accompanies the executable.
164
165 If distribution of executable or object code is made by offering
166 access to copy from a designated place, then offering equivalent
167 access to copy the source code from the same place counts as
168 distribution of the source code, even though third parties are not
169 compelled to copy the source along with the object code.
170
171 4. You may not copy, modify, sublicense, or distribute the Program
172 except as expressly provided under this License. Any attempt
173 otherwise to copy, modify, sublicense or distribute the Program is
174 void, and will automatically terminate your rights under this License.
175 However, parties who have received copies, or rights, from you under
176 this License will not have their licenses terminated so long as such
177 parties remain in full compliance.
178
179 5. You are not required to accept this License, since you have not
180 signed it. However, nothing else grants you permission to modify or
181 distribute the Program or its derivative works. These actions are
182 prohibited by law if you do not accept this License. Therefore, by
183 modifying or distributing the Program (or any work based on the
184 Program), you indicate your acceptance of this License to do so, and
185 all its terms and conditions for copying, distributing or modifying
186 the Program or works based on it.
187
188 6. Each time you redistribute the Program (or any work based on the
189 Program), the recipient automatically receives a license from the
190 original licensor to copy, distribute or modify the Program subject to
191 these terms and conditions. You may not impose any further
192 restrictions on the recipients' exercise of the rights granted herein.
193 You are not responsible for enforcing compliance by third parties to
69
70 TERMS AND CONDITIONS
71
72 0. Definitions.
73
74 "This License" refers to version 3 of the GNU General Public License.
75
76 "Copyright" also means copyright-like laws that apply to other kinds of
77 works, such as semiconductor masks.
78
79 "The Program" refers to any copyrightable work licensed under this
80 License. Each licensee is addressed as "you". "Licensees" and
81 "recipients" may be individuals or organizations.
82
83 To "modify" a work means to copy from or adapt all or part of the work
84 in a fashion requiring copyright permission, other than the making of an
85 exact copy. The resulting work is called a "modified version" of the
86 earlier work or a work "based on" the earlier work.
87
88 A "covered work" means either the unmodified Program or a work based
89 on the Program.
90
91 To "propagate" a work means to do anything with it that, without
92 permission, would make you directly or secondarily liable for
93 infringement under applicable copyright law, except executing it on a
94 computer or modifying a private copy. Propagation includes copying,
95 distribution (with or without modification), making available to the
96 public, and in some countries other activities as well.
97
98 To "convey" a work means any kind of propagation that enables other
99 parties to make or receive copies. Mere interaction with a user through
100 a computer network, with no transfer of a copy, is not conveying.
101
102 An interactive user interface displays "Appropriate Legal Notices"
103 to the extent that it includes a convenient and prominently visible
104 feature that (1) displays an appropriate copyright notice, and (2)
105 tells the user that there is no warranty for the work (except to the
106 extent that warranties are provided), that licensees may convey the
107 work under this License, and how to view a copy of this License. If
108 the interface presents a list of user commands or options, such as a
109 menu, a prominent item in the list meets this criterion.
110
111 1. Source Code.
112
113 The "source code" for a work means the preferred form of the work
114 for making modifications to it. "Object code" means any non-source
115 form of a work.
116
117 A "Standard Interface" means an interface that either is an official
118 standard defined by a recognized standards body, or, in the case of
119 interfaces specified for a particular programming language, one that
120 is widely used among developers working in that language.
121
122 The "System Libraries" of an executable work include anything, other
123 than the work as a whole, that (a) is included in the normal form of
124 packaging a Major Component, but which is not part of that Major
125 Component, and (b) serves only to enable use of the work with that
126 Major Component, or to implement a Standard Interface for which an
127 implementation is available to the public in source code form. A
128 "Major Component", in this context, means a major essential component
129 (kernel, window system, and so on) of the specific operating system
130 (if any) on which the executable work runs, or a compiler used to
131 produce the work, or an object code interpreter used to run it.
132
133 The "Corresponding Source" for a work in object code form means all
134 the source code needed to generate, install, and (for an executable
135 work) run the object code and to modify the work, including scripts to
136 control those activities. However, it does not include the work's
137 System Libraries, or general-purpose tools or generally available free
138 programs which are used unmodified in performing those activities but
139 which are not part of the work. For example, Corresponding Source
140 includes interface definition files associated with source files for
141 the work, and the source code for shared libraries and dynamically
142 linked subprograms that the work is specifically designed to require,
143 such as by intimate data communication or control flow between those
144 subprograms and other parts of the work.
145
146 The Corresponding Source need not include anything that users
147 can regenerate automatically from other parts of the Corresponding
148 Source.
149
150 The Corresponding Source for a work in source code form is that
151 same work.
152
153 2. Basic Permissions.
154
155 All rights granted under this License are granted for the term of
156 copyright on the Program, and are irrevocable provided the stated
157 conditions are met. This License explicitly affirms your unlimited
158 permission to run the unmodified Program. The output from running a
159 covered work is covered by this License only if the output, given its
160 content, constitutes a covered work. This License acknowledges your
161 rights of fair use or other equivalent, as provided by copyright law.
162
163 You may make, run and propagate covered works that you do not
164 convey, without conditions so long as your license otherwise remains
165 in force. You may convey covered works to others for the sole purpose
166 of having them make modifications exclusively for you, or provide you
167 with facilities for running those works, provided that you comply with
168 the terms of this License in conveying all material for which you do
169 not control copyright. Those thus making or running the covered works
170 for you must do so exclusively on your behalf, under your direction
171 and control, on terms that prohibit them from making any copies of
172 your copyrighted material outside their relationship with you.
173
174 Conveying under any other circumstances is permitted solely under
175 the conditions stated below. Sublicensing is not allowed; section 10
176 makes it unnecessary.
177
178 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
179
180 No covered work shall be deemed part of an effective technological
181 measure under any applicable law fulfilling obligations under article
182 11 of the WIPO copyright treaty adopted on 20 December 1996, or
183 similar laws prohibiting or restricting circumvention of such
184 measures.
185
186 When you convey a covered work, you waive any legal power to forbid
187 circumvention of technological measures to the extent such circumvention
188 is effected by exercising rights under this License with respect to
189 the covered work, and you disclaim any intention to limit operation or
190 modification of the work as a means of enforcing, against the work's
191 users, your or third parties' legal rights to forbid circumvention of
192 technological measures.
193
194 4. Conveying Verbatim Copies.
195
196 You may convey verbatim copies of the Program's source code as you
197 receive it, in any medium, provided that you conspicuously and
198 appropriately publish on each copy an appropriate copyright notice;
199 keep intact all notices stating that this License and any
200 non-permissive terms added in accord with section 7 apply to the code;
201 keep intact all notices of the absence of any warranty; and give all
202 recipients a copy of this License along with the Program.
203
204 You may charge any price or no price for each copy that you convey,
205 and you may offer support or warranty protection for a fee.
206
207 5. Conveying Modified Source Versions.
208
209 You may convey a work based on the Program, or the modifications to
210 produce it from the Program, in the form of source code under the
211 terms of section 4, provided that you also meet all of these conditions:
212
213 a) The work must carry prominent notices stating that you modified
214 it, and giving a relevant date.
215
216 b) The work must carry prominent notices stating that it is
217 released under this License and any conditions added under section
218 7. This requirement modifies the requirement in section 4 to
219 "keep intact all notices".
220
221 c) You must license the entire work, as a whole, under this
222 License to anyone who comes into possession of a copy. This
223 License will therefore apply, along with any applicable section 7
224 additional terms, to the whole of the work, and all its parts,
225 regardless of how they are packaged. This License gives no
226 permission to license the work in any other way, but it does not
227 invalidate such permission if you have separately received it.
228
229 d) If the work has interactive user interfaces, each must display
230 Appropriate Legal Notices; however, if the Program has interactive
231 interfaces that do not display Appropriate Legal Notices, your
232 work need not make them do so.
233
234 A compilation of a covered work with other separate and independent
235 works, which are not by their nature extensions of the covered work,
236 and which are not combined with it such as to form a larger program,
237 in or on a volume of a storage or distribution medium, is called an
238 "aggregate" if the compilation and its resulting copyright are not
239 used to limit the access or legal rights of the compilation's users
240 beyond what the individual works permit. Inclusion of a covered work
241 in an aggregate does not cause this License to apply to the other
242 parts of the aggregate.
243
244 6. Conveying Non-Source Forms.
245
246 You may convey a covered work in object code form under the terms
247 of sections 4 and 5, provided that you also convey the
248 machine-readable Corresponding Source under the terms of this License,
249 in one of these ways:
250
251 a) Convey the object code in, or embodied in, a physical product
252 (including a physical distribution medium), accompanied by the
253 Corresponding Source fixed on a durable physical medium
254 customarily used for software interchange.
255
256 b) Convey the object code in, or embodied in, a physical product
257 (including a physical distribution medium), accompanied by a
258 written offer, valid for at least three years and valid for as
259 long as you offer spare parts or customer support for that product
260 model, to give anyone who possesses the object code either (1) a
261 copy of the Corresponding Source for all the software in the
262 product that is covered by this License, on a durable physical
263 medium customarily used for software interchange, for a price no
264 more than your reasonable cost of physically performing this
265 conveying of source, or (2) access to copy the
266 Corresponding Source from a network server at no charge.
267
268 c) Convey individual copies of the object code with a copy of the
269 written offer to provide the Corresponding Source. This
270 alternative is allowed only occasionally and noncommercially, and
271 only if you received the object code with such an offer, in accord
272 with subsection 6b.
273
274 d) Convey the object code by offering access from a designated
275 place (gratis or for a charge), and offer equivalent access to the
276 Corresponding Source in the same way through the same place at no
277 further charge. You need not require recipients to copy the
278 Corresponding Source along with the object code. If the place to
279 copy the object code is a network server, the Corresponding Source
280 may be on a different server (operated by you or a third party)
281 that supports equivalent copying facilities, provided you maintain
282 clear directions next to the object code saying where to find the
283 Corresponding Source. Regardless of what server hosts the
284 Corresponding Source, you remain obligated to ensure that it is
285 available for as long as needed to satisfy these requirements.
286
287 e) Convey the object code using peer-to-peer transmission, provided
288 you inform other peers where the object code and Corresponding
289 Source of the work are being offered to the general public at no
290 charge under subsection 6d.
291
292 A separable portion of the object code, whose source code is excluded
293 from the Corresponding Source as a System Library, need not be
294 included in conveying the object code work.
295
296 A "User Product" is either (1) a "consumer product", which means any
297 tangible personal property which is normally used for personal, family,
298 or household purposes, or (2) anything designed or sold for incorporation
299 into a dwelling. In determining whether a product is a consumer product,
300 doubtful cases shall be resolved in favor of coverage. For a particular
301 product received by a particular user, "normally used" refers to a
302 typical or common use of that class of product, regardless of the status
303 of the particular user or of the way in which the particular user
304 actually uses, or expects or is expected to use, the product. A product
305 is a consumer product regardless of whether the product has substantial
306 commercial, industrial or non-consumer uses, unless such uses represent
307 the only significant mode of use of the product.
308
309 "Installation Information" for a User Product means any methods,
310 procedures, authorization keys, or other information required to install
311 and execute modified versions of a covered work in that User Product from
312 a modified version of its Corresponding Source. The information must
313 suffice to ensure that the continued functioning of the modified object
314 code is in no case prevented or interfered with solely because
315 modification has been made.
316
317 If you convey an object code work under this section in, or with, or
318 specifically for use in, a User Product, and the conveying occurs as
319 part of a transaction in which the right of possession and use of the
320 User Product is transferred to the recipient in perpetuity or for a
321 fixed term (regardless of how the transaction is characterized), the
322 Corresponding Source conveyed under this section must be accompanied
323 by the Installation Information. But this requirement does not apply
324 if neither you nor any third party retains the ability to install
325 modified object code on the User Product (for example, the work has
326 been installed in ROM).
327
328 The requirement to provide Installation Information does not include a
329 requirement to continue to provide support service, warranty, or updates
330 for a work that has been modified or installed by the recipient, or for
331 the User Product in which it has been modified or installed. Access to a
332 network may be denied when the modification itself materially and
333 adversely affects the operation of the network or violates the rules and
334 protocols for communication across the network.
335
336 Corresponding Source conveyed, and Installation Information provided,
337 in accord with this section must be in a format that is publicly
338 documented (and with an implementation available to the public in
339 source code form), and must require no special password or key for
340 unpacking, reading or copying.
341
342 7. Additional Terms.
343
344 "Additional permissions" are terms that supplement the terms of this
345 License by making exceptions from one or more of its conditions.
346 Additional permissions that are applicable to the entire Program shall
347 be treated as though they were included in this License, to the extent
348 that they are valid under applicable law. If additional permissions
349 apply only to part of the Program, that part may be used separately
350 under those permissions, but the entire Program remains governed by
351 this License without regard to the additional permissions.
352
353 When you convey a copy of a covered work, you may at your option
354 remove any additional permissions from that copy, or from any part of
355 it. (Additional permissions may be written to require their own
356 removal in certain cases when you modify the work.) You may place
357 additional permissions on material, added by you to a covered work,
358 for which you have or can give appropriate copyright permission.
359
360 Notwithstanding any other provision of this License, for material you
361 add to a covered work, you may (if authorized by the copyright holders of
362 that material) supplement the terms of this License with terms:
363
364 a) Disclaiming warranty or limiting liability differently from the
365 terms of sections 15 and 16 of this License; or
366
367 b) Requiring preservation of specified reasonable legal notices or
368 author attributions in that material or in the Appropriate Legal
369 Notices displayed by works containing it; or
370
371 c) Prohibiting misrepresentation of the origin of that material, or
372 requiring that modified versions of such material be marked in
373 reasonable ways as different from the original version; or
374
375 d) Limiting the use for publicity purposes of names of licensors or
376 authors of the material; or
377
378 e) Declining to grant rights under trademark law for use of some
379 trade names, trademarks, or service marks; or
380
381 f) Requiring indemnification of licensors and authors of that
382 material by anyone who conveys the material (or modified versions of
383 it) with contractual assumptions of liability to the recipient, for
384 any liability that these contractual assumptions directly impose on
385 those licensors and authors.
386
387 All other non-permissive additional terms are considered "further
388 restrictions" within the meaning of section 10. If the Program as you
389 received it, or any part of it, contains a notice stating that it is
390 governed by this License along with a term that is a further
391 restriction, you may remove that term. If a license document contains
392 a further restriction but permits relicensing or conveying under this
393 License, you may add to a covered work material governed by the terms
394 of that license document, provided that the further restriction does
395 not survive such relicensing or conveying.
396
397 If you add terms to a covered work in accord with this section, you
398 must place, in the relevant source files, a statement of the
399 additional terms that apply to those files, or a notice indicating
400 where to find the applicable terms.
401
402 Additional terms, permissive or non-permissive, may be stated in the
403 form of a separately written license, or stated as exceptions;
404 the above requirements apply either way.
405
406 8. Termination.
407
408 You may not propagate or modify a covered work except as expressly
409 provided under this License. Any attempt otherwise to propagate or
410 modify it is void, and will automatically terminate your rights under
411 this License (including any patent licenses granted under the third
412 paragraph of section 11).
413
414 However, if you cease all violation of this License, then your
415 license from a particular copyright holder is reinstated (a)
416 provisionally, unless and until the copyright holder explicitly and
417 finally terminates your license, and (b) permanently, if the copyright
418 holder fails to notify you of the violation by some reasonable means
419 prior to 60 days after the cessation.
420
421 Moreover, your license from a particular copyright holder is
422 reinstated permanently if the copyright holder notifies you of the
423 violation by some reasonable means, this is the first time you have
424 received notice of violation of this License (for any work) from that
425 copyright holder, and you cure the violation prior to 30 days after
426 your receipt of the notice.
427
428 Termination of your rights under this section does not terminate the
429 licenses of parties who have received copies or rights from you under
430 this License. If your rights have been terminated and not permanently
431 reinstated, you do not qualify to receive new licenses for the same
432 material under section 10.
433
434 9. Acceptance Not Required for Having Copies.
435
436 You are not required to accept this License in order to receive or
437 run a copy of the Program. Ancillary propagation of a covered work
438 occurring solely as a consequence of using peer-to-peer transmission
439 to receive a copy likewise does not require acceptance. However,
440 nothing other than this License grants you permission to propagate or
441 modify any covered work. These actions infringe copyright if you do
442 not accept this License. Therefore, by modifying or propagating a
443 covered work, you indicate your acceptance of this License to do so.
444
445 10. Automatic Licensing of Downstream Recipients.
446
447 Each time you convey a covered work, the recipient automatically
448 receives a license from the original licensors, to run, modify and
449 propagate that work, subject to this License. You are not responsible
450 for enforcing compliance by third parties with this License.
451
452 An "entity transaction" is a transaction transferring control of an
453 organization, or substantially all assets of one, or subdividing an
454 organization, or merging organizations. If propagation of a covered
455 work results from an entity transaction, each party to that
456 transaction who receives a copy of the work also receives whatever
457 licenses to the work the party's predecessor in interest had or could
458 give under the previous paragraph, plus a right to possession of the
459 Corresponding Source of the work from the predecessor in interest, if
460 the predecessor has it or can get it with reasonable efforts.
461
462 You may not impose any further restrictions on the exercise of the
463 rights granted or affirmed under this License. For example, you may
464 not impose a license fee, royalty, or other charge for exercise of
465 rights granted under this License, and you may not initiate litigation
466 (including a cross-claim or counterclaim in a lawsuit) alleging that
467 any patent claim is infringed by making, using, selling, offering for
468 sale, or importing the Program or any portion of it.
469
470 11. Patents.
471
472 A "contributor" is a copyright holder who authorizes use under this
473 License of the Program or a work on which the Program is based. The
474 work thus licensed is called the contributor's "contributor version".
475
476 A contributor's "essential patent claims" are all patent claims
477 owned or controlled by the contributor, whether already acquired or
478 hereafter acquired, that would be infringed by some manner, permitted
479 by this License, of making, using, or selling its contributor version,
480 but do not include claims that would be infringed only as a
481 consequence of further modification of the contributor version. For
482 purposes of this definition, "control" includes the right to grant
483 patent sublicenses in a manner consistent with the requirements of
194484 this License.
195485
196 7. If, as a consequence of a court judgment or allegation of patent
197 infringement or for any other reason (not limited to patent issues),
198 conditions are imposed on you (whether by court order, agreement or
486 Each contributor grants you a non-exclusive, worldwide, royalty-free
487 patent license under the contributor's essential patent claims, to
488 make, use, sell, offer for sale, import and otherwise run, modify and
489 propagate the contents of its contributor version.
490
491 In the following three paragraphs, a "patent license" is any express
492 agreement or commitment, however denominated, not to enforce a patent
493 (such as an express permission to practice a patent or covenant not to
494 sue for patent infringement). To "grant" such a patent license to a
495 party means to make such an agreement or commitment not to enforce a
496 patent against the party.
497
498 If you convey a covered work, knowingly relying on a patent license,
499 and the Corresponding Source of the work is not available for anyone
500 to copy, free of charge and under the terms of this License, through a
501 publicly available network server or other readily accessible means,
502 then you must either (1) cause the Corresponding Source to be so
503 available, or (2) arrange to deprive yourself of the benefit of the
504 patent license for this particular work, or (3) arrange, in a manner
505 consistent with the requirements of this License, to extend the patent
506 license to downstream recipients. "Knowingly relying" means you have
507 actual knowledge that, but for the patent license, your conveying the
508 covered work in a country, or your recipient's use of the covered work
509 in a country, would infringe one or more identifiable patents in that
510 country that you have reason to believe are valid.
511
512 If, pursuant to or in connection with a single transaction or
513 arrangement, you convey, or propagate by procuring conveyance of, a
514 covered work, and grant a patent license to some of the parties
515 receiving the covered work authorizing them to use, propagate, modify
516 or convey a specific copy of the covered work, then the patent license
517 you grant is automatically extended to all recipients of the covered
518 work and works based on it.
519
520 A patent license is "discriminatory" if it does not include within
521 the scope of its coverage, prohibits the exercise of, or is
522 conditioned on the non-exercise of one or more of the rights that are
523 specifically granted under this License. You may not convey a covered
524 work if you are a party to an arrangement with a third party that is
525 in the business of distributing software, under which you make payment
526 to the third party based on the extent of your activity of conveying
527 the work, and under which the third party grants, to any of the
528 parties who would receive the covered work from you, a discriminatory
529 patent license (a) in connection with copies of the covered work
530 conveyed by you (or copies made from those copies), or (b) primarily
531 for and in connection with specific products or compilations that
532 contain the covered work, unless you entered into that arrangement,
533 or that patent license was granted, prior to 28 March 2007.
534
535 Nothing in this License shall be construed as excluding or limiting
536 any implied license or other defenses to infringement that may
537 otherwise be available to you under applicable patent law.
538
539 12. No Surrender of Others' Freedom.
540
541 If conditions are imposed on you (whether by court order, agreement or
199542 otherwise) that contradict the conditions of this License, they do not
200 excuse you from the conditions of this License. If you cannot
201 distribute so as to satisfy simultaneously your obligations under this
202 License and any other pertinent obligations, then as a consequence you
203 may not distribute the Program at all. For example, if a patent
204 license would not permit royalty-free redistribution of the Program by
205 all those who receive copies directly or indirectly through you, then
206 the only way you could satisfy both it and this License would be to
207 refrain entirely from distribution of the Program.
208
209 If any portion of this section is held invalid or unenforceable under
210 any particular circumstance, the balance of the section is intended to
211 apply and the section as a whole is intended to apply in other
212 circumstances.
213
214 It is not the purpose of this section to induce you to infringe any
215 patents or other property right claims or to contest validity of any
216 such claims; this section has the sole purpose of protecting the
217 integrity of the free software distribution system, which is
218 implemented by public license practices. Many people have made
219 generous contributions to the wide range of software distributed
220 through that system in reliance on consistent application of that
221 system; it is up to the author/donor to decide if he or she is willing
222 to distribute software through any other system and a licensee cannot
223 impose that choice.
224
225 This section is intended to make thoroughly clear what is believed to
226 be a consequence of the rest of this License.
227
228 8. If the distribution and/or use of the Program is restricted in
229 certain countries either by patents or by copyrighted interfaces, the
230 original copyright holder who places the Program under this License
231 may add an explicit geographical distribution limitation excluding
232 those countries, so that distribution is permitted only in or among
233 countries not thus excluded. In such case, this License incorporates
234 the limitation as if written in the body of this License.
235
236 9. The Free Software Foundation may publish revised and/or new versions
237 of the General Public License from time to time. Such new versions will
543 excuse you from the conditions of this License. If you cannot convey a
544 covered work so as to satisfy simultaneously your obligations under this
545 License and any other pertinent obligations, then as a consequence you may
546 not convey it at all. For example, if you agree to terms that obligate you
547 to collect a royalty for further conveying from those to whom you convey
548 the Program, the only way you could satisfy both those terms and this
549 License would be to refrain entirely from conveying the Program.
550
551 13. Use with the GNU Affero General Public License.
552
553 Notwithstanding any other provision of this License, you have
554 permission to link or combine any covered work with a work licensed
555 under version 3 of the GNU Affero General Public License into a single
556 combined work, and to convey the resulting work. The terms of this
557 License will continue to apply to the part which is the covered work,
558 but the special requirements of the GNU Affero General Public License,
559 section 13, concerning interaction through a network will apply to the
560 combination as such.
561
562 14. Revised Versions of this License.
563
564 The Free Software Foundation may publish revised and/or new versions of
565 the GNU General Public License from time to time. Such new versions will
238566 be similar in spirit to the present version, but may differ in detail to
239567 address new problems or concerns.
240568
241 Each version is given a distinguishing version number. If the Program
242 specifies a version number of this License which applies to it and "any
243 later version", you have the option of following the terms and conditions
244 either of that version or of any later version published by the Free
245 Software Foundation. If the Program does not specify a version number of
246 this License, you may choose any version ever published by the Free Software
247 Foundation.
248
249 10. If you wish to incorporate parts of the Program into other free
250 programs whose distribution conditions are different, write to the author
251 to ask for permission. For software which is copyrighted by the Free
252 Software Foundation, write to the Free Software Foundation; we sometimes
253 make exceptions for this. Our decision will be guided by the two goals
254 of preserving the free status of all derivatives of our free software and
255 of promoting the sharing and reuse of software generally.
256
257 NO WARRANTY
258
259 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
260 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
261 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
262 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
263 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
264 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
265 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
266 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
267 REPAIR OR CORRECTION.
268
269 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
270 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
271 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
272 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
273 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
274 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
275 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
276 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
277 POSSIBILITY OF SUCH DAMAGES.
278
279 END OF TERMS AND CONDITIONS
280
281 How to Apply These Terms to Your New Programs
569 Each version is given a distinguishing version number. If the
570 Program specifies that a certain numbered version of the GNU General
571 Public License "or any later version" applies to it, you have the
572 option of following the terms and conditions either of that numbered
573 version or of any later version published by the Free Software
574 Foundation. If the Program does not specify a version number of the
575 GNU General Public License, you may choose any version ever published
576 by the Free Software Foundation.
577
578 If the Program specifies that a proxy can decide which future
579 versions of the GNU General Public License can be used, that proxy's
580 public statement of acceptance of a version permanently authorizes you
581 to choose that version for the Program.
582
583 Later license versions may give you additional or different
584 permissions. However, no additional obligations are imposed on any
585 author or copyright holder as a result of your choosing to follow a
586 later version.
587
588 15. Disclaimer of Warranty.
589
590 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
591 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
592 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
593 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
594 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
595 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
596 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
597 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
598
599 16. Limitation of Liability.
600
601 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
602 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
603 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
604 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
605 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
606 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
607 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
608 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
609 SUCH DAMAGES.
610
611 17. Interpretation of Sections 15 and 16.
612
613 If the disclaimer of warranty and limitation of liability provided
614 above cannot be given local legal effect according to their terms,
615 reviewing courts shall apply local law that most closely approximates
616 an absolute waiver of all civil liability in connection with the
617 Program, unless a warranty or assumption of liability accompanies a
618 copy of the Program in return for a fee.
619
620 END OF TERMS AND CONDITIONS
621
622 How to Apply These Terms to Your New Programs
282623
283624 If you develop a new program, and you want it to be of the greatest
284625 possible use to the public, the best way to achieve this is to make it
286627
287628 To do so, attach the following notices to the program. It is safest
288629 to attach them to the start of each source file to most effectively
289 convey the exclusion of warranty; and each file should have at least
630 state the exclusion of warranty; and each file should have at least
290631 the "copyright" line and a pointer to where the full notice is found.
291632
292633 <one line to give the program's name and a brief idea of what it does.>
293634 Copyright (C) <year> <name of author>
294635
295 This program is free software; you can redistribute it and/or modify
636 This program is free software: you can redistribute it and/or modify
296637 it under the terms of the GNU General Public License as published by
297 the Free Software Foundation; either version 2 of the License, or
638 the Free Software Foundation, either version 3 of the License, or
298639 (at your option) any later version.
299640
300641 This program is distributed in the hope that it will be useful,
303644 GNU General Public License for more details.
304645
305646 You should have received a copy of the GNU General Public License
306 along with this program; if not, write to the Free Software
307 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
308
647 along with this program. If not, see <http://www.gnu.org/licenses/>.
309648
310649 Also add information on how to contact you by electronic and paper mail.
311650
312 If the program is interactive, make it output a short notice like this
313 when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
651 If the program does terminal interaction, make it output a short
652 notice like this when it starts in an interactive mode:
653
654 <program> Copyright (C) <year> <name of author>
655 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317656 This is free software, and you are welcome to redistribute it
318657 under certain conditions; type `show c' for details.
319658
320659 The hypothetical commands `show w' and `show c' should show the appropriate
321 parts of the General Public License. Of course, the commands you use may
322 be called something other than `show w' and `show c'; they could even be
323 mouse-clicks or menu items--whatever suits your program.
324
325 You should also get your employer (if you work as a programmer) or your
326 school, if any, to sign a "copyright disclaimer" for the program, if
327 necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335 This General Public License does not permit incorporating your program into
336 proprietary programs. If your program is a subroutine library, you may
337 consider it more useful to permit linking proprietary applications with the
338 library. If this is what you want to do, use the GNU Library General
339 Public License instead of this License.
660 parts of the General Public License. Of course, your program's commands
661 might be different; for a GUI interface, you would use an "about box".
662
663 You should also get your employer (if you work as a programmer) or school,
664 if any, to sign a "copyright disclaimer" for the program, if necessary.
665 For more information on this, and how to apply and follow the GNU GPL, see
666 <http://www.gnu.org/licenses/>.
667
668 The GNU General Public License does not permit incorporating your program
669 into proprietary programs. If your program is a subroutine library, you
670 may consider it more useful to permit linking proprietary applications with
671 the library. If this is what you want to do, use the GNU Lesser General
672 Public License instead of this License. But first, please read
673 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
0 libhdate (1.4.10)
1
2 * Move to GPL3 (COPYING, AUTHORS)
3 - Add Amos Shapir as author in Authors file
4 - Update Amos's email
5 * Change defult config options (configure.in)
6 - Gettext version used now is 0.17
7 - Python, Perl, Pascal bindings now built by default
8 * Update the man files (docs/man)
9 - add man files for c++ language
10 - move all man files to docs/man directory
11 * Bug fixes
12 - Fix Kislev Hebrew translation misspell (Bug report: Ariel Galola)
13 - Fix Julian day calculation (Bug report: Afonso Arantes)
14 * Add new events
15 - 30 shvat : Family day
16 - 12 heshvan : rabin memorial day
17 - 29 tamuz : zhabotinsky day
18
19 * Changes to hdate command line utility
20 - flag -j print the Julian day number
21 - if argument is greater than 100000 it is asumed as Julian day number
22 - "hdate -S YEAR" now print out same format as "hebcal -d -h -e YEAR"
23
24 -- Yaacov Zamir <kzamir@wall.co.il> Thusday, 3 January 2008 22:00
25
026 libhdate (1.4.9)
127
228 * Fix endianess bug in big endian machins (/examples/hcal/hcal.c and hdate.c)
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
4 Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
8
09 Basic Installation
110 ==================
211
3 These are generic installation instructions.
12 These are generic installation instructions.
413
514 The `configure' shell script attempts to guess correct values for
615 various system-dependent variables used during compilation. It uses
716 those values to create a `Makefile' in each directory of the package.
817 It may also create one or more `.h' files containing system-dependent
918 definitions. Finally, it creates a shell script `config.status' that
10 you can run in the future to recreate the current configuration, a file
11 `config.cache' that saves the results of its tests to speed up
12 reconfiguring, and a file `config.log' containing compiler output
13 (useful mainly for debugging `configure').
19 you can run in the future to recreate the current configuration, and a
20 file `config.log' containing compiler output (useful mainly for
21 debugging `configure').
22
23 It can also use an optional file (typically called `config.cache'
24 and enabled with `--cache-file=config.cache' or simply `-C') that saves
25 the results of its tests to speed up reconfiguring. (Caching is
26 disabled by default to prevent problems with accidental use of stale
27 cache files.)
1428
1529 If you need to do unusual things to compile the package, please try
1630 to figure out how `configure' could check whether to do them, and mail
1731 diffs or instructions to the address given in the `README' so they can
18 be considered for the next release. If at some point `config.cache'
19 contains results you don't want to keep, you may remove or edit it.
20
21 The file `configure.in' is used to create `configure' by a program
22 called `autoconf'. You only need `configure.in' if you want to change
23 it or regenerate `configure' using a newer version of `autoconf'.
32 be considered for the next release. If you are using the cache, and at
33 some point `config.cache' contains results you don't want to keep, you
34 may remove or edit it.
35
36 The file `configure.ac' (or `configure.in') is used to create
37 `configure' by a program called `autoconf'. You only need
38 `configure.ac' if you want to change it or regenerate `configure' using
39 a newer version of `autoconf'.
2440
2541 The simplest way to compile this package is:
2642
5369 Compilers and Options
5470 =====================
5571
56 Some systems require unusual options for compilation or linking that
57 the `configure' script does not know about. You can give `configure'
58 initial values for variables by setting them in the environment. Using
59 a Bourne-compatible shell, you can do that on the command line like
60 this:
61 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
62
63 Or on systems that have the `env' program, you can do it like this:
64 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
75
76 You can give `configure' initial values for configuration parameters
77 by setting variables in the command line or in the environment. Here
78 is an example:
79
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
81
82 *Note Defining Variables::, for more details.
6583
6684 Compiling For Multiple Architectures
6785 ====================================
6886
69 You can compile the package for more than one kind of computer at the
87 You can compile the package for more than one kind of computer at the
7088 same time, by placing the object files for each architecture in their
7189 own directory. To do this, you must use a version of `make' that
7290 supports the `VPATH' variable, such as GNU `make'. `cd' to the
7492 the `configure' script. `configure' automatically checks for the
7593 source code in the directory that `configure' is in and in `..'.
7694
77 If you have to use a `make' that does not supports the `VPATH'
78 variable, you have to compile the package for one architecture at a time
79 in the source code directory. After you have installed the package for
80 one architecture, use `make distclean' before reconfiguring for another
81 architecture.
95 If you have to use a `make' that does not support the `VPATH'
96 variable, you have to compile the package for one architecture at a
97 time in the source code directory. After you have installed the
98 package for one architecture, use `make distclean' before reconfiguring
99 for another architecture.
82100
83101 Installation Names
84102 ==================
85103
86 By default, `make install' will install the package's files in
87 `/usr/local/bin', `/usr/local/man', etc. You can specify an
88 installation prefix other than `/usr/local' by giving `configure' the
89 option `--prefix=PATH'.
104 By default, `make install' installs the package's commands under
105 `/usr/local/bin', include files under `/usr/local/include', etc. You
106 can specify an installation prefix other than `/usr/local' by giving
107 `configure' the option `--prefix=PREFIX'.
90108
91109 You can specify separate installation prefixes for
92110 architecture-specific files and architecture-independent files. If you
93 give `configure' the option `--exec-prefix=PATH', the package will use
94 PATH as the prefix for installing programs and libraries.
95 Documentation and other data files will still use the regular prefix.
111 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
112 PREFIX as the prefix for installing programs and libraries.
113 Documentation and other data files still use the regular prefix.
96114
97115 In addition, if you use an unusual directory layout you can give
98 options like `--bindir=PATH' to specify different values for particular
116 options like `--bindir=DIR' to specify different values for particular
99117 kinds of files. Run `configure --help' for a list of the directories
100118 you can set and what kinds of files go in them.
101119
106124 Optional Features
107125 =================
108126
109 Some packages pay attention to `--enable-FEATURE' options to
127 Some packages pay attention to `--enable-FEATURE' options to
110128 `configure', where FEATURE indicates an optional part of the package.
111129 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
112130 is something like `gnu-as' or `x' (for the X Window System). The
121139 Specifying the System Type
122140 ==========================
123141
124 There may be some features `configure' can not figure out
125 automatically, but needs to determine by the type of host the package
126 will run on. Usually `configure' can figure that out, but if it prints
127 a message saying it can not guess the host type, give it the
128 `--host=TYPE' option. TYPE can either be a short name for the system
129 type, such as `sun4', or a canonical name with three fields:
142 There may be some features `configure' cannot figure out automatically,
143 but needs to determine by the type of machine the package will run on.
144 Usually, assuming the package is built to be run on the _same_
145 architectures, `configure' can figure that out, but if it prints a
146 message saying it cannot guess the machine type, give it the
147 `--build=TYPE' option. TYPE can either be a short name for the system
148 type, such as `sun4', or a canonical name which has the form:
149
130150 CPU-COMPANY-SYSTEM
131151
132 See the file `config.sub' for the possible values of each field. If
152 where SYSTEM can have one of these forms:
153
154 OS KERNEL-OS
155
156 See the file `config.sub' for the possible values of each field. If
133157 `config.sub' isn't included in this package, then this package doesn't
134 need to know the host type.
135
136 If you are building compiler tools for cross-compiling, you can also
137 use the `--target=TYPE' option to select the type of system they will
138 produce code for and the `--build=TYPE' option to select the type of
139 system on which you are compiling the package.
158 need to know the machine type.
159
160 If you are _building_ compiler tools for cross-compiling, you should
161 use the option `--target=TYPE' to select the type of system they will
162 produce code for.
163
164 If you want to _use_ a cross compiler, that generates code for a
165 platform different from the build platform, you should specify the
166 "host" platform (i.e., that on which the generated programs will
167 eventually be run) with `--host=TYPE'.
140168
141169 Sharing Defaults
142170 ================
143171
144 If you want to set default values for `configure' scripts to share,
145 you can create a site shell script called `config.site' that gives
146 default values for variables like `CC', `cache_file', and `prefix'.
172 If you want to set default values for `configure' scripts to share, you
173 can create a site shell script called `config.site' that gives default
174 values for variables like `CC', `cache_file', and `prefix'.
147175 `configure' looks for `PREFIX/share/config.site' if it exists, then
148176 `PREFIX/etc/config.site' if it exists. Or, you can set the
149177 `CONFIG_SITE' environment variable to the location of the site script.
150178 A warning: not all `configure' scripts look for a site script.
151179
152 Operation Controls
180 Defining Variables
153181 ==================
154182
155 `configure' recognizes the following options to control how it
156 operates.
183 Variables not defined in a site shell script can be set in the
184 environment passed to `configure'. However, some packages may run
185 configure again during the build, and the customized values of these
186 variables may be lost. In order to avoid this problem, you should set
187 them in the `configure' command line, using `VAR=value'. For example:
188
189 ./configure CC=/usr/local2/bin/gcc
190
191 causes the specified `gcc' to be used as the C compiler (unless it is
192 overridden in the site shell script). Here is a another example:
193
194 /bin/bash ./configure CONFIG_SHELL=/bin/bash
195
196 Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
197 configuration-related scripts to be executed by `/bin/bash'.
198
199 `configure' Invocation
200 ======================
201
202 `configure' recognizes the following options to control how it operates.
203
204 `--help'
205 `-h'
206 Print a summary of the options to `configure', and exit.
207
208 `--version'
209 `-V'
210 Print the version of Autoconf used to generate the `configure'
211 script, and exit.
157212
158213 `--cache-file=FILE'
159 Use and save the results of the tests in FILE instead of
160 `./config.cache'. Set FILE to `/dev/null' to disable caching, for
161 debugging `configure'.
162
163 `--help'
164 Print a summary of the options to `configure', and exit.
214 Enable the cache: use and save the results of the tests in FILE,
215 traditionally `config.cache'. FILE defaults to `/dev/null' to
216 disable caching.
217
218 `--config-cache'
219 `-C'
220 Alias for `--cache-file=config.cache'.
165221
166222 `--quiet'
167223 `--silent'
174230 Look for the package's source code in directory DIR. Usually
175231 `configure' can determine that directory automatically.
176232
177 `--version'
178 Print the version of Autoconf used to generate the `configure'
179 script, and exit.
180
181 `configure' also accepts some other, not widely useful, options.
233 `configure' also accepts some other, not widely useful, options. Run
234 `configure --help' for more details.
235
00 ## Process this file with automake to produce Makefile.in
1 ## Created by Anjuta - will be overwritten
2 ## If you don't want it to overwrite it,
3 ## Please disable it in the Anjuta project configuration
41
5 SUBDIRS = intl po src examples bindings
2 SUBDIRS = po docs src examples bindings
63
74 pkgconfigdir = $(libdir)/pkgconfig
85 pkgconfig_DATA = libhdate.pc
107 libhdatedocdir = ${prefix}/share/doc/libhdate
118 libhdatedoc_DATA = \
129 README\
13 hdate_README\
1410 COPYING\
1511 AUTHORS\
1612 ChangeLog\
1713 INSTALL\
1814 NEWS\
19 TODO\
20 USE\
21 ABOUT-NLS
15 USE \
16 ABOUT-NLS
2217
23 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in libhdate.spec libhdate.spec.in
18 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in
19
20 ACLOCAL_AMFLAGS = -I m4
3737 host_triplet = @host@
3838 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
3939 $(srcdir)/Makefile.in $(srcdir)/libhdate.pc.in \
40 $(srcdir)/libhdate.spec.in $(top_srcdir)/configure \
41 $(top_srcdir)/intl/Makefile.in ABOUT-NLS AUTHORS COPYING \
42 ChangeLog INSTALL NEWS TODO compile config.guess config.sub \
43 depcomp install-sh ltmain.sh missing mkinstalldirs
40 $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \
41 INSTALL NEWS compile config.guess config.rpath config.sub \
42 depcomp install-sh ltmain.sh missing
4443 subdir = .
4544 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/configure.in
45 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
46 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
47 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
48 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
49 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
50 $(top_srcdir)/configure.in
4751 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4852 $(ACLOCAL_M4)
4953 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
5054 configure.lineno configure.status.lineno
51 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
52 CONFIG_CLEAN_FILES = libhdate.spec libhdate.pc intl/Makefile
55 mkinstalldirs = $(install_sh) -d
56 CONFIG_CLEAN_FILES = libhdate.pc
5357 SOURCES =
5458 DIST_SOURCES =
5559 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
8488 distuninstallcheck_listfiles = find . -type f -print
8589 distcleancheck_listfiles = find . -type f -print
8690 ACLOCAL = @ACLOCAL@
87 ALLOCA = @ALLOCA@
8891 AMDEP_FALSE = @AMDEP_FALSE@
8992 AMDEP_TRUE = @AMDEP_TRUE@
9093 AMTAR = @AMTAR@
9396 AUTOHEADER = @AUTOHEADER@
9497 AUTOMAKE = @AUTOMAKE@
9598 AWK = @AWK@
96 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
97 CATOBJEXT = @CATOBJEXT@
9899 CC = @CC@
99100 CCDEPMODE = @CCDEPMODE@
100101 CFLAGS = @CFLAGS@
101 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
102102 CPP = @CPP@
103103 CPPFLAGS = @CPPFLAGS@
104104 CXX = @CXX@
117117 EXEEXT = @EXEEXT@
118118 F77 = @F77@
119119 FFLAGS = @FFLAGS@
120 GENCAT = @GENCAT@
121 GLIBC2 = @GLIBC2@
122 GLIBC21 = @GLIBC21@
120 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
123121 GMSGFMT = @GMSGFMT@
124122 GMSGFMT_015 = @GMSGFMT_015@
125123 GREP = @GREP@
126 HAVE_ASPRINTF = @HAVE_ASPRINTF@
127 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
128 HAVE_SNPRINTF = @HAVE_SNPRINTF@
129 HAVE_VISIBILITY = @HAVE_VISIBILITY@
130 HAVE_WPRINTF = @HAVE_WPRINTF@
131124 INSTALL_DATA = @INSTALL_DATA@
132125 INSTALL_PROGRAM = @INSTALL_PROGRAM@
133126 INSTALL_SCRIPT = @INSTALL_SCRIPT@
134127 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
135 INSTOBJEXT = @INSTOBJEXT@
136 INTLBISON = @INTLBISON@
137128 INTLLIBS = @INTLLIBS@
138 INTLOBJS = @INTLOBJS@
139 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
140129 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
141130 LDFLAGS = @LDFLAGS@
142131 LIBICONV = @LIBICONV@
143132 LIBINTL = @LIBINTL@
144 LIBMULTITHREAD = @LIBMULTITHREAD@
145133 LIBOBJS = @LIBOBJS@
146 LIBPTH = @LIBPTH@
147134 LIBS = @LIBS@
148 LIBTHREAD = @LIBTHREAD@
149135 LIBTOOL = @LIBTOOL@
150136 LN_S = @LN_S@
151137 LTLIBICONV = @LTLIBICONV@
152138 LTLIBINTL = @LTLIBINTL@
153 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
154139 LTLIBOBJS = @LTLIBOBJS@
155 LTLIBPTH = @LTLIBPTH@
156 LTLIBTHREAD = @LTLIBTHREAD@
157140 MAINT = @MAINT@
158141 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
159142 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
175158 PE_MODULES_PATH = @PE_MODULES_PATH@
176159 PKG_CONFIG = @PKG_CONFIG@
177160 POSUB = @POSUB@
178 PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
179161 PY_CFLAGS = @PY_CFLAGS@
180162 PY_MODULES_PATH = @PY_MODULES_PATH@
181163 PY_VERSION = @PY_VERSION@
182164 RANLIB = @RANLIB@
165 SED = @SED@
183166 SET_MAKE = @SET_MAKE@
184167 SHELL = @SHELL@
185168 STRIP = @STRIP@
186 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
187169 USE_NLS = @USE_NLS@
188170 VERSION = @VERSION@
189171 VERSION_INFO = @VERSION_INFO@
190 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
191 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
192172 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
193173 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
194174 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
197177 WITH_PERL_TRUE = @WITH_PERL_TRUE@
198178 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
199179 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
200 WOE32DLL = @WOE32DLL@
201180 XGETTEXT = @XGETTEXT@
202181 XGETTEXT_015 = @XGETTEXT_015@
182 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
203183 ac_ct_CC = @ac_ct_CC@
204184 ac_ct_CXX = @ac_ct_CXX@
205185 ac_ct_F77 = @ac_ct_F77@
251231 sharedstatedir = @sharedstatedir@
252232 sysconfdir = @sysconfdir@
253233 target_alias = @target_alias@
254 SUBDIRS = intl po src examples bindings
234 SUBDIRS = po docs src examples bindings
255235 pkgconfigdir = $(libdir)/pkgconfig
256236 pkgconfig_DATA = libhdate.pc
257237 libhdatedocdir = ${prefix}/share/doc/libhdate
258238 libhdatedoc_DATA = \
259239 README\
260 hdate_README\
261240 COPYING\
262241 AUTHORS\
263242 ChangeLog\
264243 INSTALL\
265244 NEWS\
266 TODO\
267 USE\
268 ABOUT-NLS
269
270 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in libhdate.spec libhdate.spec.in
245 USE \
246 ABOUT-NLS
247
248 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in
249 ACLOCAL_AMFLAGS = -I m4
271250 all: all-recursive
272251
273252 .SUFFIXES:
304283 cd $(srcdir) && $(AUTOCONF)
305284 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
306285 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
307 libhdate.spec: $(top_builddir)/config.status $(srcdir)/libhdate.spec.in
308 cd $(top_builddir) && $(SHELL) ./config.status $@
309286 libhdate.pc: $(top_builddir)/config.status $(srcdir)/libhdate.pc.in
310 cd $(top_builddir) && $(SHELL) ./config.status $@
311 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
312287 cd $(top_builddir) && $(SHELL) ./config.status $@
313288
314289 mostlyclean-libtool:
490465 distdir: $(DISTFILES)
491466 $(am__remove_distdir)
492467 mkdir $(distdir)
493 $(mkdir_p) $(distdir)/. $(distdir)/intl $(distdir)/po
468 $(mkdir_p) $(distdir)/. $(distdir)/m4 $(distdir)/po
494469 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
495470 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
496471 list='$(DISTFILES)'; for file in $$list; do \
586561 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
587562 && cd $(distdir)/_build \
588563 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
589 --with-included-gettext \
590564 $(DISTCHECK_CONFIGURE_FLAGS) \
591565 && $(MAKE) $(AM_MAKEFLAGS) \
592566 && $(MAKE) $(AM_MAKEFLAGS) dvi \
0 Libhdate -
1
2 LibHdate is a small C,C++ library for Hebrew calendar, dates, holidays, and reading sequence
3
04 This library of functions are using the sorce code from
15 Amos Shapir's "hdate" package fixed and patched by Nadav Har'El.
26 See the original package's README (hdate_README)
711 patched by Nadav Har'El. The Torah reading sequence
812 is from tables by Zvi Har'El.
913
10 15 Adar II 5763 Shusan Purim
14 15 Adar II 5763 Shusan Purim, 19 March 2003
1115 kobi zamir <kzamir@walla.co.il>
1216 -------------------------------------
1317
1418 see USE file for usage.
1519
20 -------------------------------------
21 -------------------------------------
22
23 Below is the original README file from hdate 0.5p by Amos Shapir.
24
25 --------------------------------------
26
27 This is Amos Shapir's "hdate" package fixed and patched by Nadav Har'El.
28 Below is the original package's README - see NEWS for what changed.
29
30 ------------------------------------------------------------------------------
31 This is the 5th distribution of hdate/hcal. It should be portable
32 anywhere, but for machines which have sizeof(int) != sizeof(long), you
33 may have to change a few 'int's to 'long', and suffix 'L' to some
34 constants; sorry, I have no way to tell which. It also expects the UNIX
35 "time.h" structures, but that shouldn't be hard to change to fit other
36 systems. If you port the code to any other system, please send the
37 diffs to the author for inclusion in the next release.
38
39 The files included herein are:
40 README - this file.
41 explain - an explanation of the algorithm.
42 hdate.6 - the man page (nroff/troff source).
43 Makefile
44 hdate.h - common definitions.
45 hdate.c - main source file for hdate.
46 hcal.c - main source file for hcal.
47 hcom.c - code common to both hdate & hcal.
48
49 Compilation options:
50
51 HEBREW - make a version that prints on a Hebrew printer/terminal, given
52 the "-h" flag. All Hebrew words are initialized in left-to-right
53 lower-case letters, and passed through the function rev() for
54 conversion. I have included a function which reverses them to
55 right-to-left order, and optionally converts to the ISO-8859/8 standard
56 or IBM representation. You may need to write your own rev() function to
57 convert to what your printer expects, or else delete it and pipe the
58 output through "rev", "tr" or "sed".
59
60 USA_DATE - make hdate accept the arguments as "month day year" instead
61 of the default "day month year" (note that hdate.6 has to be changed to
62 document this order).
63
64 Good Luck,
65 Amos Shapir
66 July 1992 - Tamuz 5752
67
68 Net: amos@cs.cs.huji.ac.il
69 Paper: The Hebrew Univ. of Jerusalem, Dept. of Comp. Science.
70 Givat-Ram, Jerusalem 91904, Israel
71 Tel: +972 2 585706 GEO: 35 11 46 E / 31 46 21 N
72
+0
-17
current/TODO less more
0 libhdate (1.2.1)
1
2 * hcal example to print hebrew months and years
3 * configure.in - prefix for pascal, version for debian changlog
4 * mono binding usig swig
5 * ask eytan about the freanch
6 * clean the c code out of the pascal demo file ?
7
8 -- Yaacov Zamir <kzamir@wall.co.il> Tue, 15 Mar 2005 08:04:32
9
10 libhdate (0.16.3)
11
12 * Check date conversion, for more dates.
13 * More checks for Holyday function.
14 * More checks for Parasha function.
15
16 -- Yaacov Zamir <kzamir@wall.co.il> Mon, 21 Feb 2005 09:93:12
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 # codeset.m4 serial 2 (gettext-0.16)
14 dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc.
15 dnl This file is free software; the Free Software Foundation
16 dnl gives unlimited permission to copy and/or distribute it,
17 dnl with or without modifications, as long as this notice is preserved.
18
19 dnl From Bruno Haible.
20
21 AC_DEFUN([AM_LANGINFO_CODESET],
22 [
23 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
24 [AC_TRY_LINK([#include <langinfo.h>],
25 [char* cs = nl_langinfo(CODESET); return !cs;],
26 am_cv_langinfo_codeset=yes,
27 am_cv_langinfo_codeset=no)
28 ])
29 if test $am_cv_langinfo_codeset = yes; then
30 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
31 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
32 fi
33 ])
34
35 # gettext.m4 serial 59 (gettext-0.16.1)
36 dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
37 dnl This file is free software; the Free Software Foundation
38 dnl gives unlimited permission to copy and/or distribute it,
39 dnl with or without modifications, as long as this notice is preserved.
40 dnl
41 dnl This file can can be used in projects which are not available under
42 dnl the GNU General Public License or the GNU Library General Public
43 dnl License but which still want to provide support for the GNU gettext
44 dnl functionality.
45 dnl Please note that the actual code of the GNU gettext library is covered
46 dnl by the GNU Library General Public License, and the rest of the GNU
47 dnl gettext package package is covered by the GNU General Public License.
48 dnl They are *not* in the public domain.
49
50 dnl Authors:
51 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
52 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
53
54 dnl Macro to add for using GNU gettext.
55
56 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
57 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
58 dnl default (if it is not specified or empty) is 'no-libtool'.
59 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
60 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
61 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
62 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
63 dnl depending on --{enable,disable}-{shared,static} and on the presence of
64 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
65 dnl $(top_builddir)/intl/libintl.a will be created.
66 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
67 dnl implementations (in libc or libintl) without the ngettext() function
68 dnl will be ignored. If NEEDSYMBOL is specified and is
69 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
70 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
71 dnl INTLDIR is used to find the intl libraries. If empty,
72 dnl the value `$(top_builddir)/intl/' is used.
73 dnl
74 dnl The result of the configuration is one of three cases:
75 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
76 dnl and used.
77 dnl Catalog format: GNU --> install in $(datadir)
78 dnl Catalog extension: .mo after installation, .gmo in source tree
79 dnl 2) GNU gettext has been found in the system's C library.
80 dnl Catalog format: GNU --> install in $(datadir)
81 dnl Catalog extension: .mo after installation, .gmo in source tree
82 dnl 3) No internationalization, always use English msgid.
83 dnl Catalog format: none
84 dnl Catalog extension: none
85 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
86 dnl The use of .gmo is historical (it was needed to avoid overwriting the
87 dnl GNU format catalogs when building on a platform with an X/Open gettext),
88 dnl but we keep it in order not to force irrelevant filename changes on the
89 dnl maintainers.
90 dnl
91 AC_DEFUN([AM_GNU_GETTEXT],
92 [
93 dnl Argument checking.
94 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
95 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
96 ])])])])])
97 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
98 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
99 ])])])])
100 define([gt_included_intl],
101 ifelse([$1], [external],
102 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
103 [yes]))
104 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
105 gt_NEEDS_INIT
106 AM_GNU_GETTEXT_NEED([$2])
107
108 AC_REQUIRE([AM_PO_SUBDIRS])dnl
109 ifelse(gt_included_intl, yes, [
110 AC_REQUIRE([AM_INTL_SUBDIR])dnl
111 ])
112
113 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
114 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
115 AC_REQUIRE([AC_LIB_RPATH])
116
117 dnl Sometimes libintl requires libiconv, so first search for libiconv.
118 dnl Ideally we would do this search only after the
119 dnl if test "$USE_NLS" = "yes"; then
120 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
121 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
122 dnl the configure script would need to contain the same shell code
123 dnl again, outside any 'if'. There are two solutions:
124 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
125 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
126 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
127 dnl documented, we avoid it.
128 ifelse(gt_included_intl, yes, , [
129 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
130 ])
131
132 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
133 gt_INTL_MACOSX
134
135 dnl Set USE_NLS.
136 AC_REQUIRE([AM_NLS])
137
138 ifelse(gt_included_intl, yes, [
139 BUILD_INCLUDED_LIBINTL=no
140 USE_INCLUDED_LIBINTL=no
141 ])
142 LIBINTL=
143 LTLIBINTL=
144 POSUB=
145
146 dnl Add a version number to the cache macros.
147 case " $gt_needs " in
148 *" need-formatstring-macros "*) gt_api_version=3 ;;
149 *" need-ngettext "*) gt_api_version=2 ;;
150 *) gt_api_version=1 ;;
151 esac
152 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
153 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
154
155 dnl If we use NLS figure out what method
156 if test "$USE_NLS" = "yes"; then
157 gt_use_preinstalled_gnugettext=no
158 ifelse(gt_included_intl, yes, [
159 AC_MSG_CHECKING([whether included gettext is requested])
160 AC_ARG_WITH(included-gettext,
161 [ --with-included-gettext use the GNU gettext library included here],
162 nls_cv_force_use_gnu_gettext=$withval,
163 nls_cv_force_use_gnu_gettext=no)
164 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
165
166 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
167 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
168 ])
169 dnl User does not insist on using GNU NLS library. Figure out what
170 dnl to use. If GNU gettext is available we use this. Else we have
171 dnl to fall back to GNU NLS library.
172
173 if test $gt_api_version -ge 3; then
174 gt_revision_test_code='
175 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
176 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
177 #endif
178 changequote(,)dnl
179 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
180 changequote([,])dnl
181 '
182 else
183 gt_revision_test_code=
184 fi
185 if test $gt_api_version -ge 2; then
186 gt_expression_test_code=' + * ngettext ("", "", 0)'
187 else
188 gt_expression_test_code=
189 fi
190
191 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
192 [AC_TRY_LINK([#include <libintl.h>
193 $gt_revision_test_code
194 extern int _nl_msg_cat_cntr;
195 extern int *_nl_domain_bindings;],
196 [bindtextdomain ("", "");
197 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
198 [eval "$gt_func_gnugettext_libc=yes"],
199 [eval "$gt_func_gnugettext_libc=no"])])
200
201 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
202 dnl Sometimes libintl requires libiconv, so first search for libiconv.
203 ifelse(gt_included_intl, yes, , [
204 AM_ICONV_LINK
205 ])
206 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
207 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
208 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
209 dnl even if libiconv doesn't exist.
210 AC_LIB_LINKFLAGS_BODY([intl])
211 AC_CACHE_CHECK([for GNU gettext in libintl],
212 [$gt_func_gnugettext_libintl],
213 [gt_save_CPPFLAGS="$CPPFLAGS"
214 CPPFLAGS="$CPPFLAGS $INCINTL"
215 gt_save_LIBS="$LIBS"
216 LIBS="$LIBS $LIBINTL"
217 dnl Now see whether libintl exists and does not depend on libiconv.
218 AC_TRY_LINK([#include <libintl.h>
219 $gt_revision_test_code
220 extern int _nl_msg_cat_cntr;
221 extern
222 #ifdef __cplusplus
223 "C"
224 #endif
225 const char *_nl_expand_alias (const char *);],
226 [bindtextdomain ("", "");
227 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
228 [eval "$gt_func_gnugettext_libintl=yes"],
229 [eval "$gt_func_gnugettext_libintl=no"])
230 dnl Now see whether libintl exists and depends on libiconv.
231 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
232 LIBS="$LIBS $LIBICONV"
233 AC_TRY_LINK([#include <libintl.h>
234 $gt_revision_test_code
235 extern int _nl_msg_cat_cntr;
236 extern
237 #ifdef __cplusplus
238 "C"
239 #endif
240 const char *_nl_expand_alias (const char *);],
241 [bindtextdomain ("", "");
242 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
243 [LIBINTL="$LIBINTL $LIBICONV"
244 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
245 eval "$gt_func_gnugettext_libintl=yes"
246 ])
247 fi
248 CPPFLAGS="$gt_save_CPPFLAGS"
249 LIBS="$gt_save_LIBS"])
250 fi
251
252 dnl If an already present or preinstalled GNU gettext() is found,
253 dnl use it. But if this macro is used in GNU gettext, and GNU
254 dnl gettext is already preinstalled in libintl, we update this
255 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
256 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
257 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
258 && test "$PACKAGE" != gettext-runtime \
259 && test "$PACKAGE" != gettext-tools; }; then
260 gt_use_preinstalled_gnugettext=yes
261 else
262 dnl Reset the values set by searching for libintl.
263 LIBINTL=
264 LTLIBINTL=
265 INCINTL=
266 fi
267
268 ifelse(gt_included_intl, yes, [
269 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
270 dnl GNU gettext is not found in the C library.
271 dnl Fall back on included GNU gettext library.
272 nls_cv_use_gnu_gettext=yes
273 fi
274 fi
275
276 if test "$nls_cv_use_gnu_gettext" = "yes"; then
277 dnl Mark actions used to generate GNU NLS library.
278 BUILD_INCLUDED_LIBINTL=yes
279 USE_INCLUDED_LIBINTL=yes
280 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
281 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
282 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
283 fi
284
285 CATOBJEXT=
286 if test "$gt_use_preinstalled_gnugettext" = "yes" \
287 || test "$nls_cv_use_gnu_gettext" = "yes"; then
288 dnl Mark actions to use GNU gettext tools.
289 CATOBJEXT=.gmo
290 fi
291 ])
292
293 if test -n "$INTL_MACOSX_LIBS"; then
294 if test "$gt_use_preinstalled_gnugettext" = "yes" \
295 || test "$nls_cv_use_gnu_gettext" = "yes"; then
296 dnl Some extra flags are needed during linking.
297 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
298 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
299 fi
300 fi
301
302 if test "$gt_use_preinstalled_gnugettext" = "yes" \
303 || test "$nls_cv_use_gnu_gettext" = "yes"; then
304 AC_DEFINE(ENABLE_NLS, 1,
305 [Define to 1 if translation of program messages to the user's native language
306 is requested.])
307 else
308 USE_NLS=no
309 fi
310 fi
311
312 AC_MSG_CHECKING([whether to use NLS])
313 AC_MSG_RESULT([$USE_NLS])
314 if test "$USE_NLS" = "yes"; then
315 AC_MSG_CHECKING([where the gettext function comes from])
316 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
317 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
318 gt_source="external libintl"
319 else
320 gt_source="libc"
321 fi
322 else
323 gt_source="included intl directory"
324 fi
325 AC_MSG_RESULT([$gt_source])
326 fi
327
328 if test "$USE_NLS" = "yes"; then
329
330 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
331 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
332 AC_MSG_CHECKING([how to link with libintl])
333 AC_MSG_RESULT([$LIBINTL])
334 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
335 fi
336
337 dnl For backward compatibility. Some packages may be using this.
338 AC_DEFINE(HAVE_GETTEXT, 1,
339 [Define if the GNU gettext() function is already present or preinstalled.])
340 AC_DEFINE(HAVE_DCGETTEXT, 1,
341 [Define if the GNU dcgettext() function is already present or preinstalled.])
342 fi
343
344