[Pkg-ime-devel] Module building API changes in scim 1.4.6

Ming Hua minghua at rice.edu
Sun Apr 29 18:57:27 UTC 2007


Hello fellow SCIM module package maintainers,

I have prepared Debian package for the new scim upstream release, 1.4.6,
and plan to upload it to unstable soon.

This release will introduce a change in the building of SCIM modules.
Starting from version 1.4.5, the install path of the modules (the
${moduledir} variable defined in scim.pc) changed from
    ${exec_prefix}/lib/scim-1.0 (/usr/lib/scim-1.0)
to
    ${exec_prefix}/lib/scim-1.0/1.4.0 (/usr/lib/scim-1.0/1.4.0)

This means the SCIM module packages no longer need a patch like
    -moduledir              = @SCIM_MODULEDIR@/IMEngine
    +moduledir              = @SCIM_MODULEDIR@/1.4.0/IMEngine
for their Makefile.am and/or Makefile.in.

Checking the archive, I noticed that most module packages are already
installing into /usr/lib/scim-1.0/1.4.0/, which means they already have
such a patch.  The only exception is scim-thai package.

After scim 1.4.6-1 is uploaded, such a patch will make the modules
installed to /usr/lib/scim-1.0/1.4.0/1.4.0/, which is definitely not
what we want.  So please make the following changes to your SCIM module
package:

    (1) Bump your Build-Depends to libscim-dev (>= 1.4.6-1)
    (2) Drop such patches to just install to @SCIM_MODULEDIR@/ instead of
        @SCIM_MODULEDIR@/1.4.0/

This should also make the transition for next SCIM module ABI change
much easier (i.e., when it starts using /usr/lib/scim-1.0/1.6.0/ or
something).

I'll check all the module packages once 1.4.6-1 is uploaded, and file
bugs if necessary.

Thanks,
Ming
2007.04.29



More information about the Pkg-ime-devel mailing list