1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= textproc devel
7 SDESC[standard]= Multilingual text processing library
8 HOMEPAGE= http://www.nongnu.org/m17n/
12 SITES[main]= SAVANNAH/m17n
13 DISTFILE[1]= m17n-lib-1.7.0.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= bison:primary:standard
21 BUILDRUN_DEPENDS= fontconfig:primary:standard
22 freetype:primary:standard
23 fribidi:single:standard
25 libotf:single:standard
26 m17n-db:single:standard
28 USES= autoreconf gettext-tools libtool pkgconfig
29 GNOME_COMPONENTS= libxml2
30 XORG_COMPONENTS= ice sm x11 xaw xft xmu xrender xt
32 LICENSE= LGPL21:single
34 LICENSE_FILE= LGPL21:{{WRKSRC}}/COPYING
36 FPC_EQUIVALENT= devel/m17n-lib
39 CONFIGURE_ARGS= --disable-nls
46 INSTALL_TARGET= install-strip
47 INSTALL_REQ_TOOLCHAIN= yes
49 [FILE:730:descriptions/desc.single]
50 The m17n library provides following facilities to handle multilingual
53 * M-text: A data structure for a multilingual text. It is
54 basically a string but with attributes called text property, and
55 is designed to substitute for the C string. It is the most
56 important object of the m17n library.
58 * Functions for creating and processing M-texts.
60 * Functions for converting M-texts from/to strings encoded in
61 various existing formats.
63 * A huge character space, which contains all the Unicode
64 characters and more non-Unicode characters.
66 * Chartable: A data structure that contains per-character
67 information efficiently.
69 * Functions for inputting and displaying M-text on a window system.
74 8eb853e1e0c86a70a09871f3264f950e5d62bba98960b3ffcde11511c138db83 1063169 m17n-lib-1.7.0.tar.gz
77 [FILE:639:manifests/plist.single]
125 [FILE:1637:patches/patch-configure.ac]
126 --- configure.ac.orig 2014-12-10 14:22:52 UTC
128 @@ -342,6 +342,10 @@ LIBS="$save_LIBS"
129 AC_SUBST(XML2_LD_FLAGS)
131 dnl Check for Anthy usability.
133 + AC_HELP_STRING([--with-anthy],
134 + [with Anthy library (default is YES)]))
135 +if test "x$with_anthy" != "xno"; then
137 PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
138 if test "x$HAVE_ANTHY" = "xyes"; then
139 @@ -351,6 +355,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
140 ANTHY_LD_FLAGS="$ANTHY_LIBS"
141 CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
145 AC_SUBST(ANTHY_LD_FLAGS)
147 dnl Check for Ispell usability.
148 @@ -365,11 +371,15 @@ dnl Check for Thai word-segmentation lib
149 dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
150 dnl HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
151 dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
152 +AC_ARG_WITH(libthai,
153 + AC_HELP_STRING([--with-libthai],
154 + [with libThai library (default is YES)]))
155 +if test "x$with_libthai" != "xno"; then
157 PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
158 PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
160 -if test "x$HAVE_LIBTHAI" == "xyes"; then
161 +if test "x$HAVE_LIBTHAI" = "xyes"; then
163 AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
164 THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
165 @@ -425,6 +435,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
166 AC_DEFINE(HAVE_THAI_WORDSEG, 1,
167 [Define if you have some Thai word-segmentation library])
171 AC_SUBST(THAI_WORDSEG_LD_FLAGS)
173 AC_SUBST(CONFIG_FLAGS)
176 [FILE:963:patches/patch-src_input.c]
177 --- src/input.c.orig 2014-11-28 22:57:48 UTC
179 @@ -4264,7 +4264,7 @@ filter (MInputContext *ic, MSymbol key,
180 if (ic_info->commit_key_head > 0)
182 memmove (ic_info->keys, ic_info->keys + ic_info->commit_key_head,
183 - sizeof (int) * (ic_info->used - ic_info->commit_key_head));
184 + sizeof (MSymbol *) * (ic_info->used - ic_info->commit_key_head));
185 ic_info->used -= ic_info->commit_key_head;
186 ic_info->key_head -= ic_info->commit_key_head;
187 ic_info->state_key_head -= ic_info->commit_key_head;
188 @@ -4278,7 +4278,7 @@ filter (MInputContext *ic, MSymbol key,
189 if (ic_info->key_head > 0)
191 memmove (ic_info->keys, ic_info->keys + ic_info->key_head,
192 - sizeof (int) * (ic_info->used - ic_info->key_head));
193 + sizeof (MSymbol *) * (ic_info->used - ic_info->key_head));
194 ic_info->used -= ic_info->key_head;
195 ic_info->key_head = ic_info->state_key_head
196 = ic_info->commit_key_head = 0;