Commit Graph

1338 Commits

Author SHA1 Message Date
Daiki Ueno 7fa0c2779d maint: Update copyright year 2016-01-02 18:58:05 +09:00
Daiki Ueno 0a083666b1 Update translations
* gettext-runtime/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>.
* gettext-runtime/po/nb.po: Update from Johnny A. Solbu <johnny@solbu.net>.
* gettext-runtime/po/pt_BR.po: Update from Rafael Ferreira <rffontenelle@gmail.com>.
* gettext-runtime/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>.
* gettext-runtime/po/zh_TW.po: Update from Wei-Lun Chao <bluebat@member.fsf.org>.
* gettext-tools/examples/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>.
* gettext-tools/examples/po/nb.po: Update from Johnny A. Solbu <johnny@solbu.net>.
* gettext-tools/examples/po/pt_BR.po: Update from Rafael Ferreira <rffontenelle@gmail.com>.
* gettext-tools/examples/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>.
* gettext-tools/examples/po/zh_TW.po: Update from Wei-Lun Chao <bluebat@member.fsf.org>.
* gettext-tools/po/bg.po: Update from Roumen Petrov <transl@roumenpetrov.info>.
* gettext-tools/po/es.po: Update from Antonio Ceballos <aceballos@gmail.com>.
* gettext-tools/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>.
* gettext-tools/po/ja.po: Update from Masahito Yamaga <ma@yama-ga.com>.
* gettext-tools/po/nl.po: Update from Benno Schulenberg <benno@vertaalt.nl>.
* gettext-tools/po/pt_BR.po: Update from Rafael Fontenelle <rffontenelle@gmail.com>.
* gettext-tools/po/sk.po: Update from Marcel Telka <marcel@telka.sk>.
* gettext-tools/po/sl.po: Update from Primoz PETERLIN <primozz.peterlin@gmail.com>.
* gettext-tools/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>.
* gettext-tools/po/uk.po: Update from Yuri Chornoivan <yurchor@ukr.net>.
* gettext-tools/po/vi.po: Update from Trần Ngọc Quân <vnwildman@gmail.com>.
2015-12-28 07:58:08 +09:00
Daiki Ueno c9215f6f6b Prepare for 0.19.7 2015-12-28 07:58:08 +09:00
Daiki Ueno 61bbedee6e doc: Regenerate translation matrix
* gettext-runtime/ABOUT-NLS: Regenerate for 0.19.7.
* gettext-runtime/doc/matrix.texi: Regenerate for 0.19.7.
2015-12-28 07:58:08 +09:00
Daiki Ueno 7d14c54656 po: Prefer to use host tools when cross compiling
* gettext-runtime/po/Makefile.in.in (CROSS_COMPILING): New substitute
variable.
(.nop.po-update): Don't prepend ../src to $PATH when cross compiling.
* gettext-runtime/po/Rules-quot (.insert-header.po-update-en): Likewise.
2015-12-17 17:12:49 +09:00
KO Myung-Hun 660d9c6bc5 intl: Fix name resolution failures on kLIBC
kLIBC already has _nl_default_dirname and _nl_msg_cat_cntr in its own
gettext implmenetation.
* gettext-runtime/intl/dcigettext.c: Do not declare _nl_default_dirname
on kLIBC.
* gettext-runtime/intl/gettextP.h: Define _nl_msg_cat_cntr to
libintl_nl_msg_cat_cntr on kLIBC.

Copyright-paperwork-exempt: yes
2015-12-10 12:45:20 +09:00
KO Myung-Hun 6f2223058e build: Do not include os2compat.[ch]
kLIBC does not need os2compat.[ch]
* gettext-runtime/configure.ac (AH_BOTTOM): Do not include
intl/os2compat.h on kLIBC.
* gettext-runtime/intl/osdep.c: Do not include os2compat.c on kLIBC.
* gettext-tools/configure.ac (AH_BOTTOM): Do not include
intl/os2compat.h on kLIBC.

Copyright-paperwork-exempt: yes
2015-12-10 12:44:52 +09:00
KO Myung-Hun 8f36b74295 test-lock: Do not include sched.h on kLIBC
* gettext-runtime/tests/test-lock.c: Do not include sched.h on kLIBC,
since kLIBC does not have sched.h.

Copyright-paperwork-exempt: yes
2015-12-10 12:43:21 +09:00
Daiki Ueno f6dde6baee build: Fix texi2html failure with perl 5.22
* gettext-runtime/libasprintf/texi2html (update_sec_num): Don't use
"defined" against an array ref.
* gettext-tools/doc/texi2html (update_sec_num): Likewise.
2015-12-08 19:18:10 +09:00
Daiki Ueno c9ca873196 m4: Fix typo in usage comment
* gettext-runtime/m4/gettext.m4: Remove duplicate words.
* gettext-runtime/m4/intl.m4: Likewise.
* gettext-runtime/m4/intldir.m4: Likewise.
* gettext-runtime/m4/intlmacosx.m4: Likewise.
* gettext-runtime/m4/lcmessage.m4: Likewise.
* gettext-runtime/m4/nls.m4: Likewise.
* gettext-runtime/m4/po.m4: Likewise.
* gettext-runtime/m4/progtest.m4: Likewise.
Reported by Jakub Wilk in:
https://lists.gnu.org/archive/html/bug-gettext/2015-10/msg00026.html.
2015-10-29 16:20:05 +09:00
Daiki Ueno 767ec35d1f build: Generate ChangeLogs for intl and po
* autogen.sh: Create empty ChangeLog files under intl and po.
* Makefile.am (gen-ChangeLogs): Rename from gen-ChangeLog.  Generate
ChangeLog files for */intl and */po as well as top-level.
* gettext-runtime/intl/ChangeLog.0: Rename from ChangeLog.
* gettext-runtime/po/ChangeLog.0: Rename from ChangeLog.
* gettext-tools/po/ChangeLog.1: Rename from ChangeLog.
2015-10-15 12:37:53 +09:00
Mike Frysinger 1e3624c5ff tests: use check_PROGRAMS
The noinst_xxx targets will be compiled all the time.  For test programs,
the check_xxx targets make more sense as they'll only be built when the
user runs `make check`.

* gettext-runtime/tests/Makefile.am (noinst_PROGRAMS): Rename to ...
(check_PROGRAMS): ... this.
2015-10-14 15:03:58 +09:00
Mike Frysinger afe42f6d0b intl/localename: control langinfo.h inclusion
This header is only used to work around buggy behavior in old versions
of glibc, so do not include it all the time.  Otherwise we get build
failures on systems that do not provide langinfo.h.

* gettext-runtime/intl/localename.c: Wrap langinfo.h include with same
ifdefs used in the source later on.
2015-10-14 15:03:32 +09:00
Daiki Ueno 614ff78da5 build: Remove ChangeLogs
Generate ChangeLog files at "make dist" time, using
gitlog-to-changelog.  We still keep ChangeLog files under "po" and
"intl" directories, since those files are copied as part of gettext
infrastructure and it is still meaningful to have them there.
* .gitignore: Add ChangeLog files.
* Admin/release-steps: Remove mention of running update-changelog
script.
* Admin/update-changelog: Remove.
* Makefile.am (gen-ChangeLog): New rule.
* autogen.sh: Copy gitlog-to-changelog from gnulib.  Create empty
ChangeLog files to suppress Automake errors.
* gettext-tools/doc/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/man/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/src/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/tests/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gnulib-local/Makefile.am (EXTRA_DIST): Remove ChangeLog files.
* */ChangeLog: Rename to ChangeLog.0 or ChangeLog.1.
* HACKING: Add brief guideline to submit patches.
2015-10-14 15:00:09 +09:00
Daiki Ueno 20eb508d5a build: Fix the last commit 2015-10-01 18:08:45 +09:00
Daiki Ueno 5b49354cc5 build: Fix the last commit 2015-09-30 18:10:03 +09:00
Daiki Ueno 813429f64d build: Avoid file name length limitation of tar
"csharpdoc" is a bit too long to accommodate long file names with
the version returned from git-version-gen:
  tar: gettext-0.19.6.4-1e74e4/.../csharpdoc/...: file name is too
    long (max 99); not dumped
* gettext-runtime/intl-csharp/doc: Rename from csharpdoc.
* gettext-runtime/intl-cshap/Makefile.am (doc, DOC_FILES): Adjust to the
directory name change.
2015-09-30 17:34:08 +09:00
Daiki Ueno b0df895fb5 build: Regenerate ABOUT-NLS 2015-09-30 15:36:48 +09:00
Daiki Ueno 3297b0f236 build: Fix ABOUT-NLS generation with newer Texinfo 2015-09-30 15:35:46 +09:00
Daiki Ueno c00302c3b2 Release 0.19.6 2015-09-11 12:03:07 +09:00
Daiki Ueno 14df6a2c35 Update translations 2015-09-11 12:01:48 +09:00
Daiki Ueno 2a8f15846f Prepare for 0.19.6 2015-09-11 11:49:14 +09:00
Daiki Ueno 827cf93296 doc: Regenerate translation matrix
* gettext-runtime/ABOUT-NLS: Regenerate for 0.19.6.
* gettext-runtime/doc/matrix.texi: Regenerate for 0.19.6.
2015-09-11 10:43:14 +09:00
Daiki Ueno e4ec2e69c5 po: Support reading header comments from file
* Makefile.in.in ($(DOMAIN).pot-update): Replace header comment
with the content of $(DOMAIN).pot-header, if exists.
2015-09-01 11:18:17 +09:00
Paul Eggert 26dd339d2c intl: fix memory leak in _nl_load_domain
* loadmsgcat.c (_nl_load_domain):
Free data after a read failure.  See:
https://sourceware.org/bugzilla/show_bug.cgi?id=18871
2015-08-27 11:22:12 +09:00
Daiki Ueno 50eae3f047 autopoint: Respect AM_GNU_GETTEXT_REQUIRE_VERSION
* gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT_REQUIRE_VERSION): New macro.
Bump serial to 67.
* gettext-tools/doc/autopoint.texi: Mention AM_GNU_GETTEXT_REQUIRE_VERSION.
* gettext-tools/misc/gettextize.in: Check if AM_GNU_GETTEXT_VERSION is
used.
* gettext-tools/misc/autopoint.in: Respect AM_GNU_GETTEXT_REQUIRE_VERSION.
* gettext-tools/tests/autopoint-2: Check AM_GNU_GETTEXT_REQUIRE_VERSION.
2015-08-21 15:42:48 +09:00
Daiki Ueno 2929cd21f3 intl: Pacify compilation with pre-C99 compilers
* loadmsgcat.c (_nl_load_domain): Move the call to
__libc_lock_define_initialized_recursive to the end of local
variable declarations to avoid extra ';' being expanded to an
empty statement.
Reported by pan7 in:
<http://savannah.gnu.org/support/?108864>.
2015-08-21 10:22:01 +09:00
Daiki Ueno 1ec1eb9e73 Release 0.19.5 2015-07-10 15:04:12 +09:00
Daiki Ueno 9a4dfca3d5 Update translations 2015-07-10 15:03:12 +09:00
Daiki Ueno fce5fdcbc5 intl: Check for getlocalename_l
* intl.m4 (gt_INTL_SUBDIR_CORE): Check also for getlocalename_l.
Bump serial to 29.
2015-07-10 10:55:31 +09:00
Daiki Ueno 43775d2095 intl: Update from gnulib
* localename.c: Update from gnulib.
2015-07-10 10:35:50 +09:00
Daiki Ueno edcb137ca2 maint: Add more files to .gitignore 2015-06-25 13:01:05 +09:00
Daiki Ueno f4563a292c m4, help2man: Update from gnulib
* gettext-runtime/m4/codeset.m4: Update copyright year.
* gettext-runtime/m4/gettext.m4: Likewise.
* gettext-runtime/m4/iconv.m4: Likewise.
* gettext-runtime/m4/intl.m4: Likewise.
* gettext-runtime/m4/intldir.m4: Likewise.
* gettext-runtime/m4/intlmacosx.m4: Likewise.
* gettext-runtime/m4/lcmessage.m4: Likewise.
* gettext-runtime/m4/nls.m4: Likewise.
* gettext-runtime/m4/po.m4: Likewise.
* gettext-runtime/m4/extern-inline.m4: Likewise.  Port the following
change:
  2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>
    extern-inline: no need for workaround in GCC 5.1
    * doc/extern-inline.texi (extern inline):
    * m4/extern-inline.m4 (gl_EXTERN_INLINE):
    GCC bugs 54113 and 63877 are fixed in GCC 5.1, so don't work
    around these bugs in GCC 5.1 and later.  Maybe in a decade or
    two we can remove these workarounds.
* gettext-tools/man/help2man: Update copyright year.
2015-06-23 13:08:50 +09:00
Daiki Ueno 7afc7f7c19 Prepare for 0.19.5 2015-06-23 12:32:37 +09:00
Daiki Ueno 03ed1fb83b intl: Update locale.alias
* locale.alias: Update from glibc:
2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
  Remove obsolete aliases that broke 'locale -a'
  [BZ #18412]
  * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
  which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
  breaking some applications that use 'locale -a' output.
  Change the encoding of this file from Latin-1 to ASCII to avoid
  other potential problems with people grepping this file.
2015-06-23 12:29:11 +09:00
Daiki Ueno 4c0c9292f4 doc: Regenerate translation matrix
* gettext-runtime/ABOUT-NLS: Regenerate for 0.19.5.
* gettext-runtime/doc/matrix.texi: Regenerate for 0.19.5.
2015-06-23 12:20:25 +09:00
Daiki Ueno 685db98ea9 maint: Make Matrix.java more flexible
* gettext-runtime/doc/Admin/Matrix.java (Matrix): Group teams
considering the actual table width, instead of using a hard-coded rule.
2015-06-23 12:08:38 +09:00
Daiki Ueno 4a22b2df2b maint: Update copyright year 2015-06-05 16:11:39 +09:00
Benno Schulenberg 501d166b9c po: When doing msgmerge --version, no other options are needed.
* gettext-runtime/po/Makefile.in.in: Do not use --update when simply
checking for the version, as this might fail when msgmerge is very old.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-06-02 11:50:59 +09:00
Daiki Ueno 6e9a7a6fc4 intl: Update from gnulib
* gettext-runtime/intl/localename.c, gettext-runtime/intl/vasnprintf.c:
Update from gnulib.
* gettext-runtime/libasprintf/vasnprintf.c: Update from gnulib.
2015-03-12 13:13:02 +09:00
Daiki Ueno 9e117619d8 po: Clarify license notice
* gettext-runtime/po/Makefile.in.in: Replace our own wording of
licensing with GNU All-Permissive License.  Reported by Riley Baird in:
<https://lists.debian.org/debian-legal/2015/01/msg00048.html>.
2015-02-18 11:17:38 +09:00
Daiki Ueno fe642a4949 intl: Update from gnulib
* config.charset, localcharset.c, relocatable.c, vasnprintf.c:
Update from gnulib.
* codeset.m4, extern-inline.m4, fcntl-o.m4, gettext.m4, glibc2.m4:
* glibc21.m4, iconv.m4, intdiv0.m4, intldir.m4, intlmacosx.m4:
* intmax.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lock.m4:
* longlong.m4, nls.m4, printf-posix.m4, progtest.m4:
* size_max.m4, stdint_h.m4, threadlib.m4, uintmax_t.m4:
* visibility.m4, wchar_t.m4, wint_t.m4, xsize.m4: Update copyright
year.
2015-01-22 17:55:36 +09:00
Will Newton d5c2a5163b intl: Merge from glibc
* bindtextdom.c: Update copyright to use year ranges.
* dcgettext.c: Update copyright to use year ranges.
[_LIBC]: Use libc_hidden_def instead of INTDEF.
* dcigettext.c: Update copyright to use year ranges.
Test HAVE_TSEARCH with #ifdef rather than #if.
(DCIGETTEXT) [_LIBC]: Use __current_locale_name instead of
_current_locale_name.
* dcngettext.c: Update copyright to use year ranges.
* dgettext.c: Update copyright to use year ranges.
[_LIBC]: Remove use of INTUSE macro.
* dngettext.c: Update copyright to use year ranges.
* explodename.c: Likewise.
* finddomain.c: Update copyright to use year ranges.
(_nl_finddomain_subfreeres): Use void in no-arguments function
definition.
* gettext.c: Update copyright to use year ranges.
[_LIBC]: Remove use of INTUSE macro.
* gettextP.h: Update copyright to use year ranges.
[_LIBC]: Forward declaration of struct loaded_domain.
* gmo.h: Update copyright to use year ranges.
* hash-string.c: Likewise.
* hash-string.h: Likewise.
* l10nflist.c: Update copyright to use year ranges.
[_LIBC]: Remove use of INTUSE macro.
Wrap pop function in [!ARCH_POP].
* loadinfo.h: Update copyright to use year ranges.
* loadmsgcat.c: Likewise.
* localealias.c: Update copyright to use year ranges.
Test ENABLE_RELOCATABLE with #ifdef rather than #if.
[_LIBC]: Use __strcasecmp_l for strcasecmp.
[_LIBC]: Use __fgets_unlocked for FGETS.
Test HAVE_DECL_FGETS_UNLOCKED with #ifdef rather than #if.
Test HAVE_DECL_FEOF_UNLOCKED with #ifdef rather than #if.
(read_alias_file) [_LIBC]: Open file with O_CLOEXEC.
(extend_alias_table): Use void in no-arguments function
definition.
* ngettext.c: Update copyright to use year ranges.
* plural-exp.c: Update copyright to use year ranges.
Test __APPLE_CC__ with #ifdef rather than #if.
(GERMANIC_PLURAL): Make const.
(init_germanic_plural): Use void in no-arguments function
definition.
* plural-exp.h: Update copyright to use year ranges.
(GERMANIC_PLURAL): Make const.
* plural.y: Update copyright to use year ranges.
* textdomain.c: Likewise.
2015-01-21 12:01:15 +09:00
Václav Slavík cb29e273b0 intl: Add missing libintl.h dependency from pluralx.$lo
plural(x).c depends on libintl.h if ENABLE_NLS, but the makefile
didn't have corresponding dependency for pluralx.c, because
d2d04ba forgot to add it.  Fix by using $(PLURAL_OBJECT) for the
dependency rule too.
* Makefile.in ($(PLURAL_OBJECT)): Depend on libintl.h.
2015-01-04 08:46:24 +09:00
Daiki Ueno 92097b86a1 Release 0.19.4 2014-12-24 15:33:18 +09:00
Daiki Ueno bae5495f84 Prepare for 0.19.4 2014-12-24 15:32:05 +09:00
Daiki Ueno d91696cf9c Update translations 2014-12-24 15:32:02 +09:00
Daiki Ueno c6bce7fbea intl: Bump m4 serial
* intl.m4, po.m4: Bump serial to avoid any conflict with Gnulib's
version after Gnulib commit 71be4c87.
2014-12-10 13:05:20 +09:00
Daiki Ueno d2d04ba907 intl: Make the LCOV workaround non-intrusive
* gettext-runtime/intl/Makefile.in (PLURAL_OBJECT): New variable.
(OBJECTS): Refer to $(PLURAL_OBJECT) instead of plural.$lo.
(pluralx.c, pluralx.lo): New rule.
(mostlyclean): Remove pluralx.c.
* gettext-tools/configure.ac: Replace PLURAL_OBJECT in intl/Makefile.
2014-12-04 12:00:36 +09:00
Daiki Ueno f31999248a Update after Gnulib changed
* extern-inline.m4, iconv.m4: Update from Gnulib.
2014-12-03 16:42:35 +09:00