- In x-c.c, support C++0x escape sequences, see
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
-- Use libunistring as optional and then as hard dependency.
+- Use libunistring as hard dependency.
- Extractor for Glade 3.
+2010-05-19 Bruno Haible <bruno@clisp.org>
+
+ Link with libunistring, if it exists.
+ * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC,
+ GNULIB_MODULES_LIBGETTEXTPO): Add libunistring-optional.
+ * DEPENDENCIES: Mention optional dependency to GNU libunistring.
+
2010-05-22 Bruno Haible <bruno@clisp.org>
* README.woe32: Explain how to build 64-bit mode binaries.
+ If it is installed in a nonstandard directory, pass the option
--with-libcroco-0.6-prefix=DIR to 'configure'.
+* GNU libunistring
+ + Optional.
+ Needed for the line breaking in PO files and for xgettext.
+ If not present, a subset of libunistring (included in this package) will
+ be compiled into libgettextlib.
+ + Homepage:
+ http://www.gnu.org/software/libunistring/
+ + Download:
+ http://ftp.gnu.org/gnu/libunistring/
+ ftp://ftp.gnu.org/gnu/libunistring/
+ + If it is installed in a nonstandard directory, pass the option
+ --with-libunistring-prefix=DIR to 'configure'.
+
The following packages should be installed when GNU gettext is installed
(runtime dependencies, but not build dependencies):
* msggrep: A '$' anchor in a regular expression now also matches the end of
the string, even if it does not end in a newline.
+
+* Dependencies:
+ The libraries and programs are now linked with libunistring if this library
+ is already installed.
\f
Version 0.18 - May 2010
iconv
javacomp
javaexec
+ libunistring-optional
localcharset
locale
localename
gettext-h
hash
iconv
+ libunistring-optional
minmax
open
ostream
/javaversion.class
/javaversion.h
/javaversion.java
+/libunistring.valgrind
/localcharset.c
/localcharset.h
/locale.in.h
/tputs.c
/trim.c
/trim.h
-/uniconv.h
-/unilbrk.h
-/uniname.h
+/uniconv.in.h
+/unilbrk.in.h
+/uniname.in.h
/unistd--.h
/unistd-safer.h
/unistd.in.h
-/unistr.h
-/unitypes.h
-/uniwidth.h
+/unistr.in.h
+/unitypes.in.h
+/uniwidth.in.h
/unlocked-io.h
/unsetenv.c
/vasnprintf.c
/iconv_open.c
/iconveh.h
/intprops.h
+/libunistring.valgrind
/localcharset.c
/localcharset.h
/malloc.c
/strstr.c
/sys_stat.in.h
/time.in.h
-/uniconv.h
-/unilbrk.h
+/uniconv.in.h
+/unilbrk.in.h
/unistd.in.h
-/unistr.h
-/unitypes.h
-/uniwidth.h
+/unistr.in.h
+/unitypes.in.h
+/uniwidth.in.h
/unlocked-io.h
/vasnprintf.c
/vasnprintf.h
+2010-05-19 Bruno Haible <bruno@clisp.org>
+
+ Link with libunistring, if it exists.
+ * Makefile.am (LDADD, libgettextsrc_la_LDFLAGS): Add LTLIBUNISTRING.
+
2010-05-18 Bruno Haible <bruno@clisp.org>
Correct program dependencies.
# Ensure that <stdint.h> defines SIZE_MAX in C++ mode, like it does in C mode.
AM_CXXFLAGS = -D__STDC_LIMIT_MACROS
-LDADD = ../gnulib-lib/libgettextlib.la @LTLIBINTL@ $(WOE32_LDADD)
+LDADD = ../gnulib-lib/libgettextlib.la $(LTLIBUNISTRING) @LTLIBINTL@ $(WOE32_LDADD)
OTHERPROGDEPENDENCIES = ../gnulib-lib/libgettextlib.la $(WOE32_LDADD)
SED = sed
# How to build libgettextsrc.la.
# Need ../gnulib-lib/libgettextlib.la.
+# Need $(LTLIBUNISTRING) because ulc_width_linebreaks, uc_width, etc. may be
+# taken from libunistring, when the configure option --with-libunistring-prefix
+# was given.
# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because po-charset.c, po-lex.c, msgl-iconv.c, write-po.c
# use iconv().
libgettextsrc_la_LDFLAGS = \
-release @VERSION@ \
- ../gnulib-lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
+ ../gnulib-lib/libgettextlib.la $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
# Tell the mingw or Cygwin linker which symbols to export.
if WOE32DLL
# For debugging memory leaks and memory allocation bugs.
# You should build with --disable-shared when using valgrind.
CHECKER =
-#CHECKER = valgrind --tool=memcheck --suppressions=$(srcdir)/../gnulib-lib/malloca.valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes
+#CHECKER = valgrind --tool=memcheck --suppressions=$(srcdir)/../gnulib-lib/malloca.valgrind --suppressions=$(srcdir)/../gnulib-lib/libunistring.valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes
#CHECKER = valgrind --tool=massif --format=html --depth=10 --alloc-fn=xmalloc --alloc-fn=xrealloc --stacks=no
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
+2010-05-19 Bruno Haible <bruno@clisp.org>
+
+ Link with libunistring, if it exists.
+ * modules/gettext-tools-misc (lib_LDFLAGS): Add LTLIBUNISTRING.
+
2010-05-24 Bruno Haible <bruno@clisp.org>
Use the newest regex module from gnulib.
# Specify that libgettextlib should installed in $(libdir).
lib_LTLIBRARIES = libgettextlib.la
+# Need $(LTLIBUNISTRING) because ulc_width_linebreaks, uc_width, etc. may be
+# taken from libunistring, when the configure option --with-libunistring-prefix
+# was given.
# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv().
# Need @LIB_ACL@ because copy-file.c uses acl.h.
# Need @LTLIBC@ for -no-undefined to work on many platforms.
lib_LDFLAGS += \
-release @VERSION@ \
- @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@ @LTLIBC@ @LTNOUNDEF@
+ $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@ @LTLIBC@ @LTNOUNDEF@
# Tell the mingw or Cygwin linker which symbols to export.
if WOE32DLL