Ravenports generated: 02 Oct 2017 14:50
[ravenports.git] / bucket_96 / m17n-lib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               m17n-lib
4 VERSION=                1.7.0
5 KEYWORDS=               textproc devel
6 VARIANTS=               standard
7 SDESC[standard]=        Multilingual text processing library
8 HOMEPAGE=               http://www.nongnu.org/m17n/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            SAVANNAH/m17n
13 DISTFILE[1]=            m17n-lib-1.7.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          bison:primary:standard
21 BUILDRUN_DEPENDS=       fontconfig:primary:standard
22                         freetype:primary:standard
23                         fribidi:single:standard
24                         libGD:single:standard
25                         libotf:single:standard
26                         m17n-db:single:standard
27
28 USES=                   autoreconf gettext-tools libtool pkgconfig
29 GNOME_COMPONENTS=       libxml2
30 XORG_COMPONENTS=        ice sm x11 xaw xft xmu xrender xt
31
32 LICENSE=                LGPL21:single
33 LICENSE_SCHEME=         solo
34 LICENSE_FILE=           LGPL21:{{WRKSRC}}/COPYING
35
36 FPC_EQUIVALENT=         devel/m17n-lib
37
38 MUST_CONFIGURE=         gnu
39 CONFIGURE_ARGS=         --disable-nls
40                         --without-anthy
41                         --without-libthai
42                         HAVE_ISPELL=no
43
44 SINGLE_JOB=             yes
45
46 INSTALL_TARGET=         install-strip
47 INSTALL_REQ_TOOLCHAIN=  yes
48
49 [FILE:730:descriptions/desc.single]
50 The m17n library provides following facilities to handle multilingual
51 text.
52
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.
57
58   * Functions for creating and processing M-texts.
59
60   * Functions for converting M-texts from/to strings encoded in
61     various existing formats.
62
63   * A huge character space, which contains all the Unicode
64     characters and more non-Unicode characters.
65
66   * Chartable: A data structure that contains per-character
67     information efficiently.
68
69   * Functions for inputting and displaying M-text on a window system.
70
71
72
73 [FILE:100:distinfo]
74 8eb853e1e0c86a70a09871f3264f950e5d62bba98960b3ffcde11511c138db83      1063169 m17n-lib-1.7.0.tar.gz
75
76
77 [FILE:639:manifests/plist.single]
78 bin/
79  m17n-config
80  m17n-conv
81  m17n-date
82  m17n-dump
83  m17n-edit
84  m17n-view
85 include/
86  m17n-X.h
87  m17n-core.h
88  m17n-flt.h
89  m17n-gui.h
90  m17n-misc.h
91  m17n.h
92 lib/
93  libm17n-core.a
94  libm17n-core.so
95  libm17n-core.so.0
96  libm17n-core.so.0.4.1
97  libm17n-flt.a
98  libm17n-flt.so
99  libm17n-flt.so.0
100  libm17n-flt.so.0.4.1
101  libm17n-gui.a
102  libm17n-gui.so
103  libm17n-gui.so.0
104  libm17n-gui.so.0.4.1
105  libm17n.a
106  libm17n.so
107  libm17n.so.0
108  libm17n.so.0.4.1
109 lib/m17n/1.0/
110  libm17n-X.a
111  libm17n-X.so
112  libm17n-gd.a
113  libm17n-gd.so
114  libmimx-anthy.a
115  libmimx-anthy.so
116  libmimx-ispell.a
117  libmimx-ispell.so
118 lib/pkgconfig/
119  m17n-core.pc
120  m17n-flt.pc
121  m17n-gui.pc
122  m17n-shell.pc
123
124
125 [FILE:1637:patches/patch-configure.ac]
126 --- configure.ac.orig   2014-12-10 14:22:52 UTC
127 +++ configure.ac
128 @@ -342,6 +342,10 @@ LIBS="$save_LIBS"
129  AC_SUBST(XML2_LD_FLAGS)
130  
131  dnl Check for Anthy usability.
132 +AC_ARG_WITH(anthy,
133 +            AC_HELP_STRING([--with-anthy],
134 +                           [with Anthy library (default is YES)]))
135 +if test "x$with_anthy" != "xno"; then
136  
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"
142  fi
143 +
144 +fi
145  AC_SUBST(ANTHY_LD_FLAGS)
146  
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
156  
157  PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
158  PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
159  
160 -if test "x$HAVE_LIBTHAI" == "xyes"; then
161 +if test "x$HAVE_LIBTHAI" = "xyes"; then
162  
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])
168  fi
169 +
170 +fi
171  AC_SUBST(THAI_WORDSEG_LD_FLAGS)
172  
173  AC_SUBST(CONFIG_FLAGS)
174
175
176 [FILE:963:patches/patch-src_input.c]
177 --- src/input.c.orig    2014-11-28 22:57:48 UTC
178 +++ src/input.c
179 @@ -4264,7 +4264,7 @@ filter (MInputContext *ic, MSymbol key, 
180    if (ic_info->commit_key_head > 0)
181      {
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)
190         {
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;
197