Ravenports generated: 18 Nov 2023 19:11
[ravenports.git] / bucket_96 / m17n-lib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               m17n-lib
4 VERSION=                1.8.4
5 REVISION=               1
6 KEYWORDS=               textproc devel
7 VARIANTS=               standard
8 SDESC[standard]=        Multilingual text processing library
9 HOMEPAGE=               http://www.nongnu.org/m17n/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            SAVANNAH/m17n
14 DISTFILE[1]=            m17n-lib-1.8.4.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         tools
19                         dev
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 BUILD_DEPENDS=          bison:primary:standard
25                         m17n-db:dev:standard
26                         freetype:dev:standard
27                         fribidi:dev:standard
28 BUILDRUN_DEPENDS=       fribidi:primary:standard
29                         libGD:single:standard
30                         libotf:single:standard
31                         m17n-db:primary:standard
32 EXRUN[tools]=           m17n-lib:primary:standard
33
34 USES=                   autoreconf gettext:build libtool fontconfig
35                         pkgconfig
36 GNOME_COMPONENTS=       libxml2
37 XORG_COMPONENTS=        ice sm x11 xaw xft xmu xrender xt
38
39 LICENSE=                LGPL21+:primary
40 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
41 LICENSE_FILE=           LGPL21+:{{WRKSRC}}/COPYING
42 LICENSE_AWK=            TERMS:"_M17N_H_"
43 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/m17n.h
44 LICENSE_SCHEME=         solo
45
46 FPC_EQUIVALENT=         devel/m17n-lib
47
48 MUST_CONFIGURE=         gnu
49 CONFIGURE_ARGS=         --disable-nls
50                         --without-anthy
51                         --without-libthai
52                         HAVE_ISPELL=no
53
54 SINGLE_JOB=             yes
55
56 INSTALL_TARGET=         install-strip
57 INSTALL_REQ_TOOLCHAIN=  yes
58 SOVERSION=              0.4.2
59
60 pre-configure-netbsd:
61         ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
62
63 [FILE:730:descriptions/desc.primary]
64 The m17n library provides following facilities to handle multilingual
65 text.
66
67   * M-text: A data structure for a multilingual text.  It is
68     basically a string but with attributes called text property, and
69     is designed to substitute for the C string.  It is the most
70     important object of the m17n library.
71
72   * Functions for creating and processing M-texts.
73
74   * Functions for converting M-texts from/to strings encoded in
75     various existing formats.
76
77   * A huge character space, which contains all the Unicode
78     characters and more non-Unicode characters.
79
80   * Chartable: A data structure that contains per-character
81     information efficiently.
82
83   * Functions for inputting and displaying M-text on a window system.
84
85
86
87 [FILE:34:descriptions/desc.tools]
88 This package contains m17n tools.
89
90
91 [FILE:100:distinfo]
92 c6a2582c6e4f2a8c2e7a2844fa5c7eb363aad2538b052f203c710649dd421cc8      1119271 m17n-lib-1.8.4.tar.gz
93
94
95 [FILE:311:manifests/plist.primary]
96 lib/
97  libm17n-core.so.%%SOMAJOR%%
98  libm17n-core.so.%%SOVERSION%%
99  libm17n-flt.so.%%SOMAJOR%%
100  libm17n-flt.so.%%SOVERSION%%
101  libm17n-gui.so.%%SOMAJOR%%
102  libm17n-gui.so.%%SOVERSION%%
103  libm17n.so.%%SOMAJOR%%
104  libm17n.so.%%SOVERSION%%
105 lib/m17n/1.0/
106  libm17n-X.so
107  libm17n-gd.so
108  libmimx-anthy.so
109  libmimx-ispell.so
110
111
112 [FILE:60:manifests/plist.tools]
113 bin/
114  m17n-conv
115  m17n-date
116  m17n-dump
117  m17n-edit
118  m17n-view
119
120
121 [FILE:346:manifests/plist.dev]
122 include/
123  m17n-X.h
124  m17n-core.h
125  m17n-flt.h
126  m17n-gui.h
127  m17n-misc.h
128  m17n.h
129 lib/
130  libm17n-core.a
131  libm17n-core.so
132  libm17n-flt.a
133  libm17n-flt.so
134  libm17n-gui.a
135  libm17n-gui.so
136  libm17n.a
137  libm17n.so
138 lib/m17n/1.0/
139  libm17n-X.a
140  libm17n-gd.a
141  libmimx-anthy.a
142  libmimx-ispell.a
143 lib/pkgconfig/
144  m17n-core.pc
145  m17n-flt.pc
146  m17n-gui.pc
147  m17n-shell.pc
148
149
150 [FILE:1636:patches/patch-configure.ac]
151 --- configure.ac.orig   2023-07-25 08:40:51 UTC
152 +++ configure.ac
153 @@ -331,6 +331,10 @@ LIBS="$save_LIBS"
154  AC_SUBST(XML2_LD_FLAGS)
155  
156  dnl Check for Anthy usability.
157 +AC_ARG_WITH(anthy,
158 +            AC_HELP_STRING([--with-anthy],
159 +                           [with Anthy library (default is YES)]))
160 +if test "x$with_anthy" != "xno"; then
161  
162  PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
163  if test "x$HAVE_ANTHY" = "xyes"; then
164 @@ -340,6 +344,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
165    ANTHY_LD_FLAGS="$ANTHY_LIBS"
166    CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
167  fi
168 +
169 +fi
170  AC_SUBST(ANTHY_LD_FLAGS)
171  
172  dnl Check for Ispell usability.
173 @@ -354,11 +360,15 @@ dnl Check for Thai word-segmentation lib
174  dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
175  dnl   HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
176  dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
177 +AC_ARG_WITH(libthai,
178 +            AC_HELP_STRING([--with-libthai],
179 +                           [with libThai library (default is YES)]))
180 +if test "x$with_libthai" != "xno"; then
181  
182  PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
183  PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
184  
185 -if test "x$HAVE_LIBTHAI" == "xyes"; then
186 +if test "x$HAVE_LIBTHAI" = "xyes"; then
187  
188    AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
189    THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
190 @@ -414,6 +424,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
191    AC_DEFINE(HAVE_THAI_WORDSEG, 1,
192              [Define if you have some Thai word-segmentation library])
193  fi
194 +
195 +fi
196  AC_SUBST(THAI_WORDSEG_LD_FLAGS)
197  
198  AC_SUBST(CONFIG_FLAGS)
199
200
201 [FILE:260:files/special.mk]
202 # Strip -ldl from all platforms except linux
203
204 .if "${OPSYS}" != "Linux"
205 _USES_configure+= 452:remove_libdl
206 .endif
207
208 remove_libdl:
209         @echo "BSD: Remove -ldl linkage"
210         ${REINPLACE_CMD} -e 's| -ldl||' \
211                 ${WRKSRC}/example/Makefile.am \
212                 ${WRKSRC}/src/Makefile.am
213