summaryrefslogtreecommitdiffstats
path: root/autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* build: Create intl/ChangeLogDaiki Ueno2016-06-071-1/+1
| | | | | * autogen.sh: Create an empty ChangeLog for gettext-runtime/intl, which is necessary when running "make dist" from the top level directory.
* build: Simplify placeholder ChangeLog creationDaiki Ueno2016-06-021-50/+40
| | | | | * autogen.sh: Use empty ChangeLog for placeholder. Bail out if any error occurs in autoreconf phase.
* Update gnulibDaiki Ueno2016-05-191-0/+1
| | | | | | | | | | | * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Explicitly pull 'gettext', as the module is now marked as obsolete. * gnulib-local/Makefile.am (EXTRA_DIST): Remove m4/hard-locale.m4.diff. * gnulib-local/m4/hard-locale.m4.diff: Remove, as it is no longer needed. * gettext-tools/gnulib-lib/.gitignore: Ignore files brought by gnulib-tool. * gettext-tools/gnulib-tests/.gitignore: Likewise. * gettext-tools/libgettextpo/.gitignore: Likewise.
* maint: Add --no-git option to autogen.shDaiki Ueno2016-05-181-2/+10
| | | | * autogen.sh: Port --no-git option from Gnulib's bootstrap.
* msgfmt, xgettext: Respect XDG_DATA_DIRSDaiki Ueno2016-05-161-1/+2
| | | | | | | | | | | | | | | Suggested in https://savannah.gnu.org/bugs/?47123 * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add 'xmemdup0'. * gettext-tools/gnulib-lib/.gitignore: Ignore files brought by gnulib-tool. * gettext-tools/gnulib-tests/.gitignore: Likewise. * gettext-tools/src/search-path.c: New file. * gettext-tools/src/search-path.h: New file. * gettext-tools/src/Makefile.am (noinst_HEADERS): Add search-path.h. (libgettextsrc_la_SOURCES): Add search-path.c. * gettext-tools/src/msgfmt.c: Include "search-path.h". (main): Use get_search_path to locate ITS directories. * gettext-tools/src/xgettext.c: Include "search-path.h". (main): Use get_search_path to locate ITS directories.
* maint: Use maintainer-makefile from gnulibDaiki Ueno2016-01-021-1/+6
| | | | | | | | * autogen.sh: Pull GNUmakefile, maint.mk, and dependency scripts in build-aux. * cfg.mk (update-copyright-env): Adjust for gettext. * .x-update-copyright: New file. * .gitignore: Ignore files brought in by gnulib-tool.
* build: Remove expat dependencyDaiki Ueno2015-12-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * DEPENDENCIES: Suggest libxml2 instead of expat. * gnulib-local/lib/markup.c: New file. * gnulib-local/lib/markup.h: New file. * gnulib-local/modules/markup: New file. * autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Add markup module. * gettext-tools/configure.ac: Remove checks for expat. * gettext-tools/gnulib-lib/.gitignore: Ignore modules pulled by gnulib-tool due to the markup module usage. * gettext-tools/gnulib-tests/.gitignore: Likewise. * gettext-tools/libgettextpo/.gitignore: Likewise. * gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_AUXSOURCES): Remove ../src/libexpat-compat.c. (libgettextpo_la_LDFLAGS): Remove @LTLIBEXPAT@. * gettext-tools/src/Makefile.am (noinst_HEADERS): Remove libexpat-compat.h. (libgettextsrc_la_SOURCES): Remove libexpat-compat.c. (libgettextsrc_la_LDFLAGS): Remove @LTLIBEXPAT@. * gettext-tools/src/format-kde-kuit.c: Use functions from markup.h, when the file is being compiled as part of libgettextpo. Otherwise use libxml2. * gettext-tools/src/libexpat-compat.c: Remove. * gettext-tools/src/libexpat-compat.h: Remove.
* xgettext: Add support for generic XML filesDaiki Ueno2015-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add trim module. * gettext-tools/src/locating-rule.h: New file. * gettext-tools/src/locating-rule.c: New file. * gettext-tools/src/its.h: New file. * gettext-tools/src/its.c: New file. * gettext-tools/src/xgettext.c: Include "locating-rule.h" and "its.h". (its_locators): New variable. (long_options): Add --itstool option. (extract_from_xml_file): New function. (main): Handle --itstool option. (usage): Document --itstool option. * gettext-tools/src/Makefile.am (noinst_HEADERS): Add locating-rule.h and its.h. (libgettextsrc_la_CPPFLAGS): Add $(INCXML). (libgettextsrc_la_SOURCES): Add locating-rule.c and its.c. * gettext-tools/Makefile.am (SUBDIRS): Add its directory. * gettext-tools/configure.ac: Output its/Makefile. * gettext-tools/doc/gettext.texi (Preparing ITS Rules): New section. * gettext-tools/doc/xgettext.texi: Mention --itstool option. * gettext-tools/tests/Makefile.am (TESTS): Add new tests. * gettext-tools/tests/xgettext-its-1: New file * gettext-tools/tests/init-env.in: Set GETTEXTDATADIR for ITS tests.
* build: Generate ChangeLogs for intl and poDaiki Ueno2015-10-151-5/+2
| | | | | | | | | * 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.
* build: Remove ChangeLogsDaiki Ueno2015-10-141-0/+23
| | | | | | | | | | | | | | | | | | | | | 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.
* build: Import stpcpy as well to libgettextpoDaiki Ueno2015-07-121-0/+1
|
* build: Avoid link error on Mac OS X < 10.6Daiki Ueno2015-07-121-0/+1
| | | | | | Reported by Ryan Schmidt in: <http://savannah.gnu.org/bugs/?45527>. * autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Add stpncpy.
* maint: Update copyright yearDaiki Ueno2015-06-051-1/+1
|
* xgettext: Support message syntax checksDaiki Ueno2015-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, xgettext could report common syntactic problems in extracted strings. The current built-in checks are ellipsis-unicode, space-ellipsis, and quote-unicode. Those checks can be enabled with --check option of xgettext and disabled with special "xgettext:" comment in source files. Feature suggested by Philip Withnall in: https://savannah.gnu.org/bugs/?44098 * gettext-tools/src/message.h (enum syntax_check_type): New enum. (NSYNTAXCHECKS): New constant. (enum is_syntax_check): New enum. (struct message_ty): New field 'do_syntax_check'. (syntax_check_name): New variable declaration. * gettext-tools/src/message.c (syntax_check_name): New variable. * gettext-tools/src/msgl-cat.c (catenate_msgdomain_list): Propagate mp->do_syntax_check. * gettext-tools/src/msgmerge.c (message_merge): Propagate ref->do_syntax_check. * gettext-tools/src/msgl-check.h (syntax_check_message_list): New declaration. * gettext-tools/src/msgl-check.c (sentence_end): New function. (syntax_check_ellipsis_unicode): New function. (syntax_check_space_ellipsis): New function. (syntax_check_quote_unicode): New function. (syntax_check_message): New function. (syntax_check_message_list): New function. * gettext-tools/src/read-catalog-abstract.h (po_parse_comment_special): Adjust function declaration. * gettext-tools/src/read-catalog-abstract.c (po_parse_comment_special): Add new argument SCP for syntax checking; all callers changed. * gettext-tools/src/read-catalog.h (DEFAULT_CATALOG_READER_TY): New field 'do_syntax_check'. * gettext-tools/src/read-catalog.c (default_constructor): Initialize this->do_syntax_check. (default_copy_comment_state): Propagate this->do_syntax_check. * gettext-tools/src/xgettext.c (long_options): Add --check option. (main): Handle --check option. (usage): Document --check option. (remember_a_message): Propagate do_syntax_check value. * gettext-tools/tests/xgettext-14: New file. * gettext-tools/tests/sentence.c: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new test. (noinst_PROGRAMS): Add 'sentence'. (sentence_SOURCES): New variable. (sentence_CPPFLAGS): New variable. (sentence_LDADD): New variable. * gettext-tools/doc/xgettext.texi: Document --check option.
* autogen.sh: Copy intl.m4 and po.m4Daiki Ueno2014-12-101-0/+13
| | | | | * autogen.sh: Copy intl.m4 and po.m4 to gettext-tools, if Gnulib's version are older.
* autogen.sh: Fix typoDaiki Ueno2014-12-031-3/+3
| | | | * autogen.sh: Fix typo: geneating -> generating.
* autogen.sh: Use xz-compressed archive tarballDaiki Ueno2014-06-061-5/+6
| | | | * autogen.sh: Fetch archive.dir-latest.tar.xz instead of .tar.gz.
* maint: Remove duplicate files from the repositoryDaiki Ueno2014-05-011-0/+9
|
* build: Turn update-po.sh into a Makefile ruleDaiki Ueno2014-04-251-2/+1
| | | | | | | | | | | | | | Suggested by Andreas Stricker in: <https://lists.gnu.org/archive/html/bug-gettext/2014-04/msg00020.html>. * configure.ac (maintainer-update-po): New recursive rule. * update-po.sh: Remove. * autogen.sh: Don't mention update-po.sh. * Makefile.am (maintainer-update-po-local): New rule. * gettext-runtime/Makefile.am (maintainer-update-po): New rule. * gettext-runtime/man/Makefile.am (update-man1): Remove; add explicit dependency on the executable to each .1 rule. * gettext-tools/man/Makefile.am (update-man1): Remove; add explicit dependency on the executable to each .1 rule.
* build: Use git-version-gen intead of version.shDaiki Ueno2014-04-221-0/+2
| | | | | | | | | | | | | | | | | * version.sh: Remove. * autogen.sh: Import git-version-gen from Gnulib. * Makefile.am (EXTRA_DIST): Add $(top_srcdir)/.version. (BUILT_SOURCES): Likewise. ($(top_srcdir)/.version): New rule. (dist-hook): New rule. * configure.ac: Use git-version-gen in AC_INIT. * gettext-runtime/configure.ac: Likewise. * gettext-tools/configure.ac: Likewise. * gettext-tools/examples/configure.ac: Likewise. * gettext-runtime/man/Makefile.am: Refer to .version instead of version.sh. * gettext-tools/doc/Makefile.am: Likewise. * gettext-tools/man/Makefile.am: Likewise.
* autogen.sh: Split the regeneration of data files into update.shDaiki Ueno2014-04-211-102/+32
| | | | | | * autogen.sh: Separate out PO files update logic to... * update-po.sh: ...here. * Makefile.am (EXTRA_DIST): Add update-po.sh.
* autogen.sh: Use included gettext-tools for bootstrapDaiki Ueno2014-04-171-28/+90
| | | | | | | To regenerate POT files, autogen.sh had an implicit dependency on gettext-tools installed on system. This prohibited to use any new features in our examples. Let autogen.sh use included version of gettext-tools, by prepending $builddir to the PATH.
* autogen.sh: Error out when gnulib-tool exit with non-zeroDaiki Ueno2014-04-071-8/+8
| | | | | As the local patches to Gnulib tool often fail to apply after updating the submodule, it would be good to stop processing there.
* gettext-tools: convert tests to use init.sh from GnulibDaiki Ueno2013-07-101-0/+1
|
* Prepare for 0.18.3.Daiki Ueno2013-07-071-2/+2
|
* autogen.sh: Mention GNULIB_TOOL again for off-line bootstrap.Daiki Ueno2013-06-261-3/+6
|
* Respect only GNULIB_SRCDIR, not GNULIB_TOOL.Daiki Ueno2013-06-171-50/+49
|
* Embed gnulib as a git submodule.Daiki Ueno2013-06-171-8/+64
|
* build: drop the 'fixacocal' auxiliary scriptStefano Lattarini2013-06-101-5/+5
| | | | | | | | | | | | | | | | | | The comments in that script state that its use is only required to work around issues in aclocal from Automake 1.10, while the rest of the Gettext build infrastructure assumes Automake >= 1.11 anyway. * autogen.sh: Drop invocations of 'fixaclocal', simply invoke the 'aclocal' program directly. * build-aux/fixaclocal: Remove. * Makefile.am (EXTRA_DIST): Stop distributing it. (ACLOCAL): Drop redefinition in function of 'fixaclocal'. * gettext-runtime/Makefile.am (ACLOCAL): Likewise. * gettext-runtime/libasprintf/Makefile.am (ACLOCAL): Likewise. * gettext-tools/Makefile.am (ACLOCAL): Likewise. * gettext-tools/examples/Makefile.am (ACLOCAL): Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* build: enable parallel tests harness from AutomakeStefano Lattarini2013-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This way, we'll be able to run test cases in parallel (useful on multicore systems), and output from test cases will be saved in log files, which should simplify debugging and bug reporting. * configure.ac (AM_INIT_AUTOMAKE): Add 'parallel-tests' option. Require Automake 1.11.1 or later, so that the 'parallel-tests' will be certainly available. (AC_INIT): Require Autoconf 2.62 or later; that is the minimal version supported by Automake 1.11.1 or later. * gettext-runtime/configure.ac: Likewise. * gettext-tools/configure.ac: Likewise. * autogen.sh: Update version number requirement for Autoconf. * gettext-tools/tests/Makefile.am (TESTS_ENVIRONMENT): Remove trailing '$(SHELL)'. With the parallel-tests harness, this is no longer the correct way to define a custom test runner for the test scripts; to do so, we have to ... (LOG_COMPILER): ... define this to $(SHELL). Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* Fix bootstrap error on Mac OS X.Daiki Ueno2013-05-131-0/+1
|
* Retrieve archive.dir.tar from FTP when bootstrapping.Daiki Ueno2013-05-021-0/+4
|
* Fix link errors related to C99-style extern inline.Daiki Ueno2013-01-171-1/+1
| | | | | | After recent C99-style extern inline changes in gnulib, functions defined in xsize.h are now declared as "extern inline". That means the libraries using those functions need to be linked to xsize.o.
* Prepare for 0.18.2.Daiki Ueno2012-12-251-2/+2
|
* Fix W64 build errors.Daiki Ueno2012-12-221-0/+3
|
* Ignore tests which fail with released libunistring.Daiki Ueno2012-12-081-1/+8
|
* Allow use of autoconf-2.69 and automake-1.12.Bruno Haible2012-04-291-1/+2
|
* Move intmax_t.m4 file into libasprintf subdirectory.Bruno Haible2012-02-191-2/+2
|
* Update after gnulib changed.Bruno Haible2011-09-171-0/+3
|
* Update after gnulib changed.Bruno Haible2011-07-301-3/+3
|
* Fix a link error due to rpl_wcrtomb on Solaris 9.Bruno Haible2011-06-081-1/+1
|
* libgrep needs mbrlen.Bruno Haible2011-06-071-0/+1
|
* Ensure intmax_t gets defined in libasprintf.Bruno Haible2011-06-071-0/+1
|
* Update from gnulib, use verify.h.Bruno Haible2011-06-071-0/+1
|
* Use gnulib's setlocale in all the programs.Bruno Haible2011-06-071-1/+3
|
* Update after gnulib changed.Bruno Haible2011-06-071-1/+1
|
* Use u8_mbtoucr instead of u8_mbtouc in some places.Bruno Haible2011-06-071-0/+2
|
* Update after gnulib changed.Bruno Haible2011-06-071-1/+1
|
* Update comment.Bruno Haible2010-09-241-1/+1
|
* Simplify use of gnulib-tool now that gnulib-tool --import works better.Bruno Haible2010-09-041-15/+0
|