comparison Kinput2.conf @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children 598fcbe482b5
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 XCOMM
2 XCOMM Kinput2 global configuration parameters
3 XCOMM
4 /*
5 * Before editing following parameters, you should read
6 * README file.
7 */
8
9 /**
10 ** Conversion system configuration:
11 ** Kinput2 supports 4 conversion systems, Wnn, Canna, Sj3 and Atok.
12 ** In order to install and use kinput2, you have to compile and
13 ** install at least one of them. If you select more than one
14 ** conversion system, you can choose one at run time with a
15 ** command line option.
16 **/
17
18 /* #define UseWnn */ /* define if you are going to use Wnn (v4, v6 or v7) */
19 /* #define UseWnn6 */ /* define if you are going to use Wnn6 or above */
20 #define UseCanna /* define if you are going to use Canna */
21 #define UseSj3 /* define if you are going to use Sj3 */
22 /* #define UseAtok */ /* define if you are going to use Atok */
23
24
25 XCOMM Wnn configuration
26 /*
27 * If you define UseWnn, set following 3 variables:
28 *
29 * WNNINCDIR: Wnn include file directory
30 * WNNLIB: Wnn client-side library
31 * CCDEF_DIR: directory where character conversion rule
32 * definition files are to be installed
33 *
34 * You have to define WnnLibDir if Wnn4 configuration files
35 * are not installed in /usr/local/lib/wnn (which is the default).
36 */
37 /* #define WnnLibDir /some/peculiar/directory/wnn */
38
39 /* for convenience.. */
40 #if defined(UseWnn6) && !defined(UseWnn)
41 #define UseWnn
42 #endif
43
44 CCDEF_DIR = $(LIBDIR)/ccdef
45
46 /*
47 * If you have installed Wnn..
48 *
49 * First check the directory where Wnn header files has been installed.
50 * Note that if you installed Wnn4 configuration files in a directory
51 * other than the default (/usr/local/lib/wnn), you have to define
52 * WnnLibDir above.
53 */
54 XCOMM use installed header files
55 XCOMM WNNINCDIR = /usr/X11R6/include/wnn
56 XCOMM use installed library
57 XCOMM WNNLIB = -lwnn
58
59 /*
60 * Or, use library in the source tree..
61 */
62 XCOMM use library in the source tree
63 WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn
64 WNNINCDIR = $(WNNSRC)/include
65 WNNLIB = $(WNNSRC)/jlib/libwnn.a
66
67
68 XCOMM Canna configuration
69 /*
70 * If you define UseCanna, set following 2 variables:
71 * CANNASRC: Canna source directory (or directory of installed headers)
72 * CANNALIB: Canna user library
73 * Note that kinput2 no longer supports Canna version 1.x,
74 * which came with X11R5. Use the new version in R6 contrib.
75 */
76
77 /*
78 * If you have already installed Canna header files and libraries..
79 */
80 XCOMM use installed headers/libraries
81 XCOMM CANNAINSTDIR = /usr/local/canna
82 XCOMM CANNASRC = $(CANNAINSTDIR)/include
83 XCOMM CANNALIB = -lcanna16
84
85 /*
86 * If you have compiled Canna that came with X11R6 (contrib/programs/Canna),
87 * but not installed yet..
88 */
89 XCOMM use headers/libraries in the source tree
90 CANNASRC = $(CONTRIBSRC)/programs/Canna32
91 CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16
92
93
94 XCOMM SJ3 configuration
95 /*
96 * If you define UseSj3, set following 3 variables:
97 * SJ3SRC: Sj3 source directory
98 * SJ3LIB: Sj3 user library
99 * SJ3DEF_DIR: directory where conversion rule
100 * definition files are to be installed
101 */
102
103 SJ3DEF_DIR = $(LIBDIR)/sj3def
104
105 /*
106 * If you have installed SJ3 library and header file,
107 * or your machine is Sony NEWS, on which SJ3 is
108 * already installed..
109 * (in this case, you don't have to care about SJ3SRC)
110 */
111 XCOMM use installed header/library
112 XCOMM specify the directory where libsj3.h resides as SJ3SRC.
113 XCOMM SJ3SRC = /usr/local/include
114 XCOMM SJ3LIB = -lsj3lib
115
116 /*
117 * Use compiled library in the source tree..
118 */
119 XCOMM use library in the source tree
120 SJ3SRC = $(CONTRIBSRC)/programs/sj3
121 SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a
122
123
124 XCOMM Atok configuration
125 /*
126 * If you define UseAtok, set following 2 variables:
127 * ATOKINCDIR: Atok include file directory (if atok.h is there)
128 * ATOKLIBDIR: Atok client-side library directory
129 */
130
131 /*
132 * If you have already installed Atok header files and libraries..
133 */
134 XCOMM use installed headers/libraries
135 XCOMM ATOKINCDIR = /usr/include/atok
136 XCOMM ATOKLIBDIR = /usr/jp/lib
137 ATOKLIB = -latok12n -latok12util
138
139
140 /**
141 ** Transport configuration:
142 ** Kinput2 X Input Method Protocol handler supports
143 ** 3 transports, X, TCP and local (UNIX domain).
144 ** If your system does not support any of these,
145 ** add appropriate flag(s) to TRANSPORTDEFS.
146 **
147 ** -DNO_UNIX_TRANSPORT -- if UNIX domain transport is not available
148 ** -DNO_TCP_TRANSPORT -- if TCP/IP transport is not available
149 ** -DNO_X_TRANSPORT -- if X transport is not available (unlikely)
150 **/
151 XCOMM transport configuration
152
153 TRANSPORTDEFS =
154
155 XCOMM
156 XCOMM End of global configuration parameters
157 XCOMM