diff options
Diffstat (limited to 'gnulib/modules/uniconv')
32 files changed, 753 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/modules/uniconv/base b/gnulib/modules/uniconv/base new file mode 100644 index 0000000..c4046eb --- /dev/null +++ b/gnulib/modules/uniconv/base @@ -0,0 +1,36 @@ +Description: +Base layer for conversion from/to legacy encodings. + +Files: +lib/uniconv.in.h +lib/iconveh.h +lib/striconveha.h +lib/localcharset.h +m4/libunistring-base.m4 + +Depends-on: +unitypes + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [uniconv.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H) + +uniconv.h: uniconv.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/uniconv.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += uniconv.h uniconv.h-t + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-conv-from-enc b/gnulib/modules/uniconv/u16-conv-from-enc new file mode 100644 index 0000000..ca84ed9 --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-from-enc @@ -0,0 +1,33 @@ +Description: +Conversion to UTF-16 from legacy encodings. + +Files: +lib/uniconv/u16-conv-from-enc.c +lib/uniconv/u-conv-from-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-from-enc +unistr/u8-to-u16 +unistr/u8-mblen +unistr/u16-mblen + +configure.ac: +AC_REQUIRE([gl_BIGENDIAN]) +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-conv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_CONV_FROM_ENC +lib_SOURCES += uniconv/u16-conv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-conv-from-enc-tests b/gnulib/modules/uniconv/u16-conv-from-enc-tests new file mode 100644 index 0000000..d3b5577 --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u16-conv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u16-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-conv-from-enc +check_PROGRAMS += test-u16-conv-from-enc +test_u16_conv_from_enc_SOURCES = uniconv/test-u16-conv-from-enc.c +test_u16_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-conv-to-enc b/gnulib/modules/uniconv/u16-conv-to-enc new file mode 100644 index 0000000..287076f --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-to-enc @@ -0,0 +1,34 @@ +Description: +Conversion from UTF-16 to legacy encodings. + +Files: +lib/uniconv/u16-conv-to-enc.c +lib/uniconv/u-conv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-to-enc +unistr/u16-mbtoucr +unistr/u8-uctomb +unistr/u16-mblen +unistr/u8-mblen + +configure.ac: +AC_REQUIRE([gl_BIGENDIAN]) +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-conv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_CONV_TO_ENC +lib_SOURCES += uniconv/u16-conv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-conv-to-enc-tests b/gnulib/modules/uniconv/u16-conv-to-enc-tests new file mode 100644 index 0000000..6fe964b --- /dev/null +++ b/gnulib/modules/uniconv/u16-conv-to-enc-tests @@ -0,0 +1,14 @@ +Files: +tests/uniconv/test-u16-conv-to-enc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-conv-to-enc +check_PROGRAMS += test-u16-conv-to-enc +test_u16_conv_to_enc_SOURCES = uniconv/test-u16-conv-to-enc.c +test_u16_conv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-strconv-from-enc b/gnulib/modules/uniconv/u16-strconv-from-enc new file mode 100644 index 0000000..b6c1520 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-from-enc @@ -0,0 +1,29 @@ +Description: +Conversion to UTF-16 from legacy encodings. + +Files: +lib/uniconv/u16-strconv-from-enc.c +lib/uniconv/u-strconv-from-enc.h + +Depends-on: +uniconv/base +uniconv/u16-conv-from-enc +unistr/u16-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC +lib_SOURCES += uniconv/u16-strconv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-strconv-from-enc-tests b/gnulib/modules/uniconv/u16-strconv-from-enc-tests new file mode 100644 index 0000000..9ca395c --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u16-strconv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u16-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-strconv-from-enc +check_PROGRAMS += test-u16-strconv-from-enc +test_u16_strconv_from_enc_SOURCES = uniconv/test-u16-strconv-from-enc.c +test_u16_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-strconv-from-locale b/gnulib/modules/uniconv/u16-strconv-from-locale new file mode 100644 index 0000000..e6b060e --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-from-locale @@ -0,0 +1,28 @@ +Description: +Conversion to UTF-16 from the locale encoding. + +Files: +lib/uniconv/u16-strconv-from-locale.c + +Depends-on: +uniconv/base +uniconv/u16-strconv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-from-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_LOCALE +lib_SOURCES += uniconv/u16-strconv-from-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-strconv-to-enc b/gnulib/modules/uniconv/u16-strconv-to-enc new file mode 100644 index 0000000..d480559 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-to-enc @@ -0,0 +1,32 @@ +Description: +Conversion from UTF-16 to legacy encodings. + +Files: +lib/uniconv/u16-strconv-to-enc.c +lib/uniconv/u-strconv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-strconv-to-enc +unistr/u16-to-u8 +unistr/u16-strlen + +configure.ac: +AC_REQUIRE([gl_BIGENDIAN]) +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_ENC +lib_SOURCES += uniconv/u16-strconv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u16-strconv-to-enc-tests b/gnulib/modules/uniconv/u16-strconv-to-enc-tests new file mode 100644 index 0000000..cf47986 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u16-strconv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u16-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u16-strconv-to-enc +check_PROGRAMS += test-u16-strconv-to-enc +test_u16_strconv_to_enc_SOURCES = uniconv/test-u16-strconv-to-enc.c +test_u16_strconv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u16-strconv-to-locale b/gnulib/modules/uniconv/u16-strconv-to-locale new file mode 100644 index 0000000..12fd3c4 --- /dev/null +++ b/gnulib/modules/uniconv/u16-strconv-to-locale @@ -0,0 +1,28 @@ +Description: +Conversion from UTF-16 to the locale encoding. + +Files: +lib/uniconv/u16-strconv-to-locale.c + +Depends-on: +uniconv/base +uniconv/u16-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-to-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE +lib_SOURCES += uniconv/u16-strconv-to-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-conv-from-enc b/gnulib/modules/uniconv/u32-conv-from-enc new file mode 100644 index 0000000..d72e7c2 --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-from-enc @@ -0,0 +1,32 @@ +Description: +Conversion to UTF-32 from legacy encodings. + +Files: +lib/uniconv/u32-conv-from-enc.c +lib/uniconv/u-conv-from-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-from-enc +unistr/u8-to-u32 +unistr/u8-mblen +unistr/u32-mblen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-conv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC +lib_SOURCES += uniconv/u32-conv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-conv-from-enc-tests b/gnulib/modules/uniconv/u32-conv-from-enc-tests new file mode 100644 index 0000000..a748de9 --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u32-conv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u32-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-conv-from-enc +check_PROGRAMS += test-u32-conv-from-enc +test_u32_conv_from_enc_SOURCES = uniconv/test-u32-conv-from-enc.c +test_u32_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-conv-to-enc b/gnulib/modules/uniconv/u32-conv-to-enc new file mode 100644 index 0000000..8aa6b09 --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-to-enc @@ -0,0 +1,32 @@ +Description: +Conversion from UTF-32 to legacy encodings. + +Files: +lib/uniconv/u32-conv-to-enc.c +lib/uniconv/u-conv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-conv-to-enc +unistr/u32-to-u8 +unistr/u32-mblen +unistr/u8-mblen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-conv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_CONV_TO_ENC +lib_SOURCES += uniconv/u32-conv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-conv-to-enc-tests b/gnulib/modules/uniconv/u32-conv-to-enc-tests new file mode 100644 index 0000000..c318d4f --- /dev/null +++ b/gnulib/modules/uniconv/u32-conv-to-enc-tests @@ -0,0 +1,14 @@ +Files: +tests/uniconv/test-u32-conv-to-enc.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-conv-to-enc +check_PROGRAMS += test-u32-conv-to-enc +test_u32_conv_to_enc_SOURCES = uniconv/test-u32-conv-to-enc.c +test_u32_conv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-strconv-from-enc b/gnulib/modules/uniconv/u32-strconv-from-enc new file mode 100644 index 0000000..7c2846d --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-from-enc @@ -0,0 +1,29 @@ +Description: +Conversion to UTF-32 from legacy encodings. + +Files: +lib/uniconv/u32-strconv-from-enc.c +lib/uniconv/u-strconv-from-enc.h + +Depends-on: +uniconv/base +uniconv/u32-conv-from-enc +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_ENC +lib_SOURCES += uniconv/u32-strconv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-strconv-from-enc-tests b/gnulib/modules/uniconv/u32-strconv-from-enc-tests new file mode 100644 index 0000000..5ad289e --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u32-strconv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u32-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-strconv-from-enc +check_PROGRAMS += test-u32-strconv-from-enc +test_u32_strconv_from_enc_SOURCES = uniconv/test-u32-strconv-from-enc.c +test_u32_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-strconv-from-locale b/gnulib/modules/uniconv/u32-strconv-from-locale new file mode 100644 index 0000000..e05dbed --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-from-locale @@ -0,0 +1,28 @@ +Description: +Conversion to UTF-32 from the locale encoding. + +Files: +lib/uniconv/u32-strconv-from-locale.c + +Depends-on: +uniconv/base +uniconv/u32-strconv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-from-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_FROM_LOCALE +lib_SOURCES += uniconv/u32-strconv-from-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-strconv-to-enc b/gnulib/modules/uniconv/u32-strconv-to-enc new file mode 100644 index 0000000..e83477e --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-to-enc @@ -0,0 +1,31 @@ +Description: +Conversion from UTF-32 to legacy encodings. + +Files: +lib/uniconv/u32-strconv-to-enc.c +lib/uniconv/u-strconv-to-enc.h + +Depends-on: +uniconv/base +striconveha +uniconv/u8-strconv-to-enc +unistr/u32-to-u8 +unistr/u32-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_ENC +lib_SOURCES += uniconv/u32-strconv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u32-strconv-to-enc-tests b/gnulib/modules/uniconv/u32-strconv-to-enc-tests new file mode 100644 index 0000000..7f02f58 --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u32-strconv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u32-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u32-strconv-to-enc +check_PROGRAMS += test-u32-strconv-to-enc +test_u32_strconv_to_enc_SOURCES = uniconv/test-u32-strconv-to-enc.c +test_u32_strconv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u32-strconv-to-locale b/gnulib/modules/uniconv/u32-strconv-to-locale new file mode 100644 index 0000000..65260f6 --- /dev/null +++ b/gnulib/modules/uniconv/u32-strconv-to-locale @@ -0,0 +1,28 @@ +Description: +Conversion from UTF-32 to the locale encoding. + +Files: +lib/uniconv/u32-strconv-to-locale.c + +Depends-on: +uniconv/base +uniconv/u32-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-strconv-to-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U32_STRCONV_TO_LOCALE +lib_SOURCES += uniconv/u32-strconv-to-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-conv-from-enc b/gnulib/modules/uniconv/u8-conv-from-enc new file mode 100644 index 0000000..659665e --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-from-enc @@ -0,0 +1,30 @@ +Description: +Conversion to UTF-8 from legacy encodings. + +Files: +lib/uniconv/u8-conv-from-enc.c + +Depends-on: +uniconv/base +c-strcaseeq +striconveha +unistr/u8-check +unistr/u8-mblen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-conv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC +lib_SOURCES += uniconv/u8-conv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-conv-from-enc-tests b/gnulib/modules/uniconv/u8-conv-from-enc-tests new file mode 100644 index 0000000..a9b7d77 --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-from-enc-tests @@ -0,0 +1,16 @@ +Files: +tests/uniconv/test-u8-conv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strlen +unistr/u8-cmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-conv-from-enc +check_PROGRAMS += test-u8-conv-from-enc +test_u8_conv_from_enc_SOURCES = uniconv/test-u8-conv-from-enc.c +test_u8_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-conv-to-enc b/gnulib/modules/uniconv/u8-conv-to-enc new file mode 100644 index 0000000..8ab4443 --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-to-enc @@ -0,0 +1,29 @@ +Description: +Conversion from UTF-8 to legacy encodings. + +Files: +lib/uniconv/u8-conv-to-enc.c + +Depends-on: +uniconv/base +c-strcaseeq +striconveha +unistr/u8-check + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-conv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_CONV_TO_ENC +lib_SOURCES += uniconv/u8-conv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-conv-to-enc-tests b/gnulib/modules/uniconv/u8-conv-to-enc-tests new file mode 100644 index 0000000..e5d3434 --- /dev/null +++ b/gnulib/modules/uniconv/u8-conv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u8-conv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strlen + +configure.ac: + +Makefile.am: +TESTS += test-u8-conv-to-enc +check_PROGRAMS += test-u8-conv-to-enc +test_u8_conv_to_enc_SOURCES = uniconv/test-u8-conv-to-enc.c +test_u8_conv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-strconv-from-enc b/gnulib/modules/uniconv/u8-strconv-from-enc new file mode 100644 index 0000000..95227b5 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-from-enc @@ -0,0 +1,29 @@ +Description: +Conversion to UTF-8 from legacy encodings. + +Files: +lib/uniconv/u8-strconv-from-enc.c +lib/uniconv/u-strconv-from-enc.h + +Depends-on: +uniconv/base +uniconv/u8-conv-from-enc +unistr/u8-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-from-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_ENC +lib_SOURCES += uniconv/u8-strconv-from-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-strconv-from-enc-tests b/gnulib/modules/uniconv/u8-strconv-from-enc-tests new file mode 100644 index 0000000..e18f6a5 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-from-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u8-strconv-from-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-strconv-from-enc +check_PROGRAMS += test-u8-strconv-from-enc +test_u8_strconv_from_enc_SOURCES = uniconv/test-u8-strconv-from-enc.c +test_u8_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-strconv-from-locale b/gnulib/modules/uniconv/u8-strconv-from-locale new file mode 100644 index 0000000..e1dbb74 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-from-locale @@ -0,0 +1,28 @@ +Description: +Conversion to UTF-8 from the locale encoding. + +Files: +lib/uniconv/u8-strconv-from-locale.c + +Depends-on: +uniconv/base +uniconv/u8-strconv-from-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-from-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_FROM_LOCALE +lib_SOURCES += uniconv/u8-strconv-from-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPLv2+ + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-strconv-to-enc b/gnulib/modules/uniconv/u8-strconv-to-enc new file mode 100644 index 0000000..533a453 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-to-enc @@ -0,0 +1,30 @@ +Description: +Conversion from UTF-8 to legacy encodings. + +Files: +lib/uniconv/u8-strconv-to-enc.c + +Depends-on: +uniconv/base +c-strcaseeq +striconveha +unistr/u8-check +unistr/u8-strlen + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-to-enc]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_ENC +lib_SOURCES += uniconv/u8-strconv-to-enc.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/uniconv/u8-strconv-to-enc-tests b/gnulib/modules/uniconv/u8-strconv-to-enc-tests new file mode 100644 index 0000000..4eb1e1f --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-to-enc-tests @@ -0,0 +1,15 @@ +Files: +tests/uniconv/test-u8-strconv-to-enc.c +tests/macros.h + +Depends-on: +unistr/u8-strcmp + +configure.ac: + +Makefile.am: +TESTS += test-u8-strconv-to-enc +check_PROGRAMS += test-u8-strconv-to-enc +test_u8_strconv_to_enc_SOURCES = uniconv/test-u8-strconv-to-enc.c +test_u8_strconv_to_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/uniconv/u8-strconv-to-locale b/gnulib/modules/uniconv/u8-strconv-to-locale new file mode 100644 index 0000000..7d3e652 --- /dev/null +++ b/gnulib/modules/uniconv/u8-strconv-to-locale @@ -0,0 +1,28 @@ +Description: +Conversion from UTF-8 to the locale encoding. + +Files: +lib/uniconv/u8-strconv-to-locale.c + +Depends-on: +uniconv/base +uniconv/u8-strconv-to-enc +localcharset + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9], [uniconv/u8-strconv-to-locale]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNICONV_U8_STRCONV_TO_LOCALE +lib_SOURCES += uniconv/u8-strconv-to-locale.c +endif + +Include: +"uniconv.h" + +License: +LGPL + +Maintainer: +Bruno Haible + |