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