Pluggable module support in uim(was Re: [Uim] Will you upload daily snapshots of UIM?)

Etsushi Kato ekato at ees.hokudai.ac.jp
Fri Jan 7 06:24:32 EET 2005


Hi,

Thanks for your new plugin system.  Here, I suggest some minor things 
about current uim's plugin.

First, even in Mac OS X (Darwin) module suffix is .so.  So 
PLUGIN_SUFFIX ".so" is enough for uim/plugin.c (no need to use 
#ifdefs).  ".dylib" is used for dynamic library in Mac OS X.

Second, in order to create module (not dynamic library), you need to 
explicitly set "moduledir" and "module_LTLIBRARIES" in uim/Makefile.am. 
  Also set -rpath $(moduledir) -avoid-version -module $(no_undefined) in 
libuim_something_la_LDFLAGS.

Third, don't use fixed value of "/usr/ib/uim/plugin" in scm/plugin.scm. 
  Please use configure time defined module directory for system's uim 
plugin directory.

Cheers,
-- 
Etsushi Kato
ekato at ees.hokudai.ac.jp




More information about the uim mailing list