[Pkg-ime-devel] Bug#645729: Bug#645729: checking for ibus support in gtk2 and gtk3 separately

Steve Langasek steve.langasek at canonical.com
Mon Oct 24 17:23:40 UTC 2011


Hi there,

On Sun, Oct 23, 2011 at 10:24:44PM +0900, Osamu Aoki wrote:
> Thanks for fix of multi-arch for im-switch.  I am about to fix in
> im-config package side.  (Since im-switch is not used for ibus now, I do
> not know use of this as is but if we make changes as below, it is useful
> for wheezy.)

Ah; in Ubuntu, im-switch is used by default instead of im-config.  I don't
know why this is, I would have to dig into the package history to see.

> > If only one of ibus-gtk or ibus-gtk3 is installed, I don't know what the
> > desired behavior would be here, but I think we should fall back to xim in
> > that case because it's safer.

> This is very deep question.  

> But practically thinking, control file needs update to fix this problem:

> Now we have:
> Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
>  python-ibus (= ${source:Version}), python-xdg, librsvg2-common, python-notify, im-config
> Recommends: ibus-gtk | ibus-qt4 | ibus-clutter
> Conflicts: ibus-anthy (<< 1.2),
>  ibus-table (<< 1.2),
>  ibus-pinyin (<< 1.2.99),
>  ibus-m17n (<< 1.2.99),
>  ibus-hangul (<< 1.2.99),
>  ibus-chewing (<< 1.2.99)

> I think correct thing to do is:
> Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
>  python-ibus (= ${source:Version}), python-xdg, librsvg2-common, python-notify
> Recommends: ibus-gtk3, ibus-gtk, ibus-qt4, ibus-clutter, im-config
> Conflicts: ibus-anthy (<< 1.2),
>  ibus-table (<< 1.2),
>  ibus-pinyin (<< 1.2.99),
>  ibus-m17n (<< 1.2.99),
>  ibus-hangul (<< 1.2.99),
>  ibus-chewing (<< 1.2.99)

> So they all get installed as defualt, if admin choses not to do so, he
> should deal with it.

That makes sense to me.

On Sun, Oct 23, 2011 at 11:41:05PM +0900, Osamu Aoki wrote:
> On Sun, Oct 23, 2011 at 09:52:56PM +0800, Aron Xu wrote:
> > We tried to workaround it in Fcitx by recommending GTK2 IM Module in
> > the GTK3 package, and do the inverse in the GTK2 package. In this
> > case, users are very probably getting both IM Modules installed at the
> > same time, so they can avoid weird misbehavior of installing only one
> > of the two.

> Is having dependency loop OK for recommend?  I think this is bad idea.
> See "the circular dependency loop" in recent policy:

Yes, circular recommends are allowed.  It's even allowed for p1 to depend on
p2 while p2 recommends p1.

The restriction on circular dependencies is because the package manager
doesn't know which order to configure the packages.  But a Recommends does
not affect package configuration.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20111024/9c5f231b/attachment.pgp>


More information about the Pkg-ime-devel mailing list