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.8.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
33 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
34 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
35 LICENSE_AWK= TERMS:"_M17N_H_"
36 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/m17n.h
39 FPC_EQUIVALENT= devel/m17n-lib
42 CONFIGURE_ARGS= --disable-nls
49 INSTALL_TARGET= install-strip
50 INSTALL_REQ_TOOLCHAIN= yes
54 ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
56 [FILE:730:descriptions/desc.single]
57 The m17n library provides following facilities to handle multilingual
60 * M-text: A data structure for a multilingual text. It is
61 basically a string but with attributes called text property, and
62 is designed to substitute for the C string. It is the most
63 important object of the m17n library.
65 * Functions for creating and processing M-texts.
67 * Functions for converting M-texts from/to strings encoded in
68 various existing formats.
70 * A huge character space, which contains all the Unicode
71 characters and more non-Unicode characters.
73 * Chartable: A data structure that contains per-character
74 information efficiently.
76 * Functions for inputting and displaying M-text on a window system.
81 78bacae7451822dfff62482ce4f9433c5ae82846e4c64b590541e29e800fe64a 1091731 m17n-lib-1.8.0.tar.gz
84 [FILE:698:manifests/plist.single]
101 libm17n-core.so.%%SOMAJOR%%
102 libm17n-core.so.%%SOVERSION%%
105 libm17n-flt.so.%%SOMAJOR%%
106 libm17n-flt.so.%%SOVERSION%%
109 libm17n-gui.so.%%SOMAJOR%%
110 libm17n-gui.so.%%SOVERSION%%
113 libm17n.so.%%SOMAJOR%%
114 libm17n.so.%%SOVERSION%%
131 [FILE:1636:patches/patch-configure.ac]
132 --- configure.ac.orig 2017-12-08 12:13:45 UTC
134 @@ -344,6 +344,10 @@ LIBS="$save_LIBS"
135 AC_SUBST(XML2_LD_FLAGS)
137 dnl Check for Anthy usability.
139 + AC_HELP_STRING([--with-anthy],
140 + [with Anthy library (default is YES)]))
141 +if test "x$with_anthy" != "xno"; then
143 PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
144 if test "x$HAVE_ANTHY" = "xyes"; then
145 @@ -353,6 +357,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
146 ANTHY_LD_FLAGS="$ANTHY_LIBS"
147 CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
151 AC_SUBST(ANTHY_LD_FLAGS)
153 dnl Check for Ispell usability.
154 @@ -367,11 +373,15 @@ dnl Check for Thai word-segmentation lib
155 dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
156 dnl HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
157 dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
158 +AC_ARG_WITH(libthai,
159 + AC_HELP_STRING([--with-libthai],
160 + [with libThai library (default is YES)]))
161 +if test "x$with_libthai" != "xno"; then
163 PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
164 PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
166 -if test "x$HAVE_LIBTHAI" == "xyes"; then
167 +if test "x$HAVE_LIBTHAI" = "xyes"; then
169 AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
170 THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
171 @@ -427,6 +437,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
172 AC_DEFINE(HAVE_THAI_WORDSEG, 1,
173 [Define if you have some Thai word-segmentation library])
177 AC_SUBST(THAI_WORDSEG_LD_FLAGS)
179 AC_SUBST(CONFIG_FLAGS)