<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>61320</bug_id>
          
          <creation_ts>2004-08-22 19:53 0000</creation_ts>
          <short_desc>SCIM does not need m17n-db, m17n-lib, scim-m17n</short_desc>
          <delta_ts>2004-08-24 07:10:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>polar88bear@hotmail.com</reporter>
          <assigned_to>cjk@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>polar88bear@hotmail.com</who>
            <bug_when>2004-08-22 19:53:58 0000</bug_when>
            <thetext>Emerging SCIM (current version is 0.99.6) also emerges m17n-db, m17n-lib, scim-m17n which are not required for the proper function of SCIM. For someone needing only Chinese input emerging SCIM with the optional SCIM-CHINESE is sufficient, one does not need all the few tens of input methods that m17n provides. 

Therefore, the packages m17n-db, m17n-lib, scim-m17n should be optional addins to scim, so is the package scim-chinese, and should not be emerged be default when one emerges scim.

Reproducible: Always
Steps to Reproduce:
1.emerge scim</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-08-23 03:52:41 0000</bug_when>
            <thetext>Fixed in CVS. scim-chinese and scim-hangul are now considered as one of scim modules.(scim modules were indeed optional but scim-chinese was not added as an option. If you wanted to use scim-uim you didn&apos;t have to install scim-m17n) Thanks for reporting.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polar88bear@hotmail.com</who>
            <bug_when>2004-08-23 19:12:13 0000</bug_when>
            <thetext>The problem is NOT resolved. Just did a emerge sync this morning and the listing of emerge -puD world below is self-explanatory. It is definitely a portage dependency issue.

# emerge -puD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] media-sound/alsa-headers-1.0.6a [1.0.5a]
[ebuild     U ] media-libs/alsa-lib-1.0.6 [1.0.5-r3]
[ebuild     U ] media-sound/alsa-utils-1.0.6 [1.0.5]
[ebuild     U ] app-i18n/scim-0.99.8 [0.99.6]
[ebuild     U ] app-i18n/skim-0.9.6 [0.9.5]
[ebuild  N    ] dev-db/m17n-db-1.1.0
[ebuild  N    ] dev-libs/m17n-lib-1.1.0
[ebuild  N    ] app-i18n/scim-m17n-0.1.2
[ebuild     U ] app-i18n/scim-chinese-0.4.2 [0.4.1]

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-08-24 03:44:17 0000</bug_when>
            <thetext>What&apos;s in your world? Please give us the output of `grep scim
/var/cache/edb/world`. On my system `emerge -pe scim-chinese`
says:

usata@rico ~ % emerge -pe scim-chinese

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/patch-2.5.9
[ebuild  N    ] sys-devel/gnuconfig-20040214

(snip)

[ebuild  N    ] gnome-base/gconf-2.6.2
[ebuild  N    ] app-i18n/scim-0.99.8
[ebuild  N    ] app-i18n/scim-chinese-0.4.2

usata@rico ~ % 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polar88bear@hotmail.com</who>
            <bug_when>2004-08-24 04:36:22 0000</bug_when>
            <thetext>~ $ grep -i &apos;s[ck]im&apos; /var/cache/edb/world
app-i18n/scim-chinese
app-i18n/skim
~ $   
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-08-24 06:19:47 0000</bug_when>
            <thetext>I have no idea what is pulling scim-m17n into your system.  (It is
nominated at the highest priority, but if you have scim-chinese it
shouldn&apos;t be going to merge) Can you post the output of `emerge
--debug -puD` as an attachment?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-08-24 06:23:20 0000</bug_when>
            <thetext>Also, `emerge --tree -puD world` would be helpful.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polar88bear@hotmail.com</who>
            <bug_when>2004-08-24 06:40:35 0000</bug_when>
            <thetext>When I posted the emerge -puD world output this morning, I was having scim-chinese-0.4.1 in my system. Now that I have upgraded it to scim-chinese-0.4.2, emerge -puD no long pull in scim-m17n etc. I had a look at &quot;scim-0.99.8.ebuild&quot;, it defined,
.....
PDEPEND=&quot;|| ( &gt;=app-i18n/scim-m17n-0.1.2
		&gt;=app-i18n/scim-uim-0.1.3
		&gt;=app-i18n/scim-chinese-0.4.2    &lt;--- this is the problem
		&gt;=app-i18n/scim-hangul-0.1.1
		&gt;=app-i18n/scim-tables-0.4.0 )&quot;

ELTCONF=&quot;--reverse-deps&quot;
.....

As you can see the problem is resolved for someone already having scim-chinese-0.4.2 emerged and not someone having any earlier version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-08-24 07:10:28 0000</bug_when>
            <thetext>Ah! Got it. If scim-chinese-0.4.2 is not found on one&apos;s system
portage doesn&apos;t upgrade older version but install fresh scim-m17n.
This is tricky but not that I don&apos;t understand.

I removed of version numbers from scim&apos;s PDEPEND.
(The correct dependency will be calculated from each ebuild anyway.)
Thanks for digging up the dependency ;)
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>