[openi18n-im:01088] Re: name space cleanup

AShiZaWa KaZuNoRi <[email protected]>
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
Hi,

Date: Thu, 21 Oct 2004 13:20:25 +0900 (JST)
From: Akira TAGOH <[email protected]>:
> 
> Hi,
> 
> >>>>> On Wed, 20 Oct 2004 20:01:16 -0700,
> >>>>> "HT" == Hidetoshi Tajima <[email protected]> wrote:
> 
> HT> Hi,
> HT> Inspired by recent few name space issues, I'd want to revisit name spaces
> HT> for IIIM module installation.
> 
> HT> As examples: /usr/lib/im/htt* -> /usr/sbin/, /etc/init.d/IIIM ->
> HT> /etc/init.d/iiimf-server
> HT> (Debian mandatory change), /usr/lib/im/locale/ -> /etc/iiim/locale/ or
> HT> /usr/share/iiim/locale.
> 
> We did similar changes for our package, like
> - htt, htt_server -> /usr/sbin
> - httx, htt_xbe -> /usr/bin
> - /etc/init.d/IIim -> iiim
> 
> Also, my thoughts is,
> - the shared libraries under /usr/lib/im/lib should be moved
>   under /usr/lib. we can remove the unnecessary RPATH (it's
>   needed to get working, though) from the libraries then.
> - all of files under /usr/lib/im/locale can't be moved
>   because it contains the aux object binaries too. for other
>   data, if it's not configuratable, it should be moved under
>   /usr/share/iiim/locale say. and any configuratable files
>   like sysime.cfg should be moved under /etc/iiim/locale say.
> - /usr/lib/im/include should be moved under
>   /usr/include/iiim say.

I'd like to propose more extensive name space changes.

/usr/lib/im/htt           -> /usr/sbin/iiimd
/usr/lib/im/htt_server    -> /usr/sbin/iiim-server
/usr/lib/im/httx          -> /usr/bin/iiimx
/usr/lib/im/htt_xbe       -> /usr/bin/iiim-xbe
/usr/lib/im/leif          -> /usr/lib/iiim/ime
/usr/lib/im/locale/LOC/LE -> /usr/lib/iiim/ime/IME
                             (no locale path component)
IME static data           -> /usr/share/iiim/IME/*
include files             -> /usr/include/iiim/*.h
                             (or /usr/include/*.h)
public libraries          -> /usr/lib/libiiim*.so
                             (or other formats)
/etc/init.d/IIim          -> /etc/init.d/iiim-server
                             (or platform-specific name)
IME site specific files   -> /etc/iiim/ime/*
IME volatile data         -> /var/lib/iiim/ime/IME/*


o rename /usr/lib/im/htt (watchdog) to /usr/sbin/iiimd
o rename /usr/lib/im/htt_server to /usr/sbin/iiim-server
o rename /usr/lib/im/httx to /usr/bin/iiimx
o rename /usr/lib/im/htt_xbe to /usr/bin/iiim-xbe

These four changes will make users easily understand that these
processes are running to support IIIM-based input methods.


o rename /usr/lib/im to /usr/lib/iiim

I think that the name /usr/lib/im was erroneously selected.  The
term ``im'' also conflicts with Instant Messenger, which is much
popular than IIIM.


o rename /usr/lib/im/leif to /usr/lib/iiim/ime

``input method engine'' or ''input method editor''.  The term
``language engine'' seems ambiguous.


o rename /usr/lib/im/locale/LOC/LE to /usr/lib/iiim/ime/IME

In fact, IME (or a language engine (LE)) need not be bound to a
specific locale (LOC).  Thus eliminate locale component from the
path name.  (LE == IME)


o all site specific configuration files will go into /etc/iiim.
  factory default configuration files will go into /usr/lib/im.
  configuration files under /usr/lib/im are read-only.


How about this?

Regards,
-- 
kasha
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.