[Pkg-ime-devel] Bug#678422: Bug#678422: ibus depens on gnome-icon-theme

Osamu Aoki osamu at debian.org
Fri Jun 22 14:14:39 UTC 2012


Hi,

On Fri, Jun 22, 2012 at 12:27:54AM +0800, Ma Xiaojun wrote:
> Package: ibus
> Version: 1.4.1-6
> 
> ibus-ui (included in ibus package) need certain GNOME/GTK icons to start up.
> https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/854333
> 
> But it is not treated as dependency currently.
> http://packages.debian.org/sid/ibus
> 
> So users may encounter strange error in non-GNOME/GTK environments.

This bug report will be more effective if you made good summary for Debian.

I dug this in a bit clicking unfamiliar Ubuntu world :-) So problem happens for: KDE
https://groups.google.com/forum/?fromgroups#!topic/ibus-user/JWmvr4BRMo8

Ikuya also have good document of bug at launch pad. (Excuse me CCing all
address I found for Ikuya.)

This is error message when start ibus-daemon -x -v.

Traceback (most recent call last):
  File "/usr/share/ibus/ui/gtk/main.py", line 130, in <module>
    main()
  File "/usr/share/ibus/ui/gtk/main.py", line 125, in main
    launch_panel(replace)
  File "/usr/share/ibus/ui/gtk/main.py", line 92, in launch_panel
    UIApplication(replace).run()
  File "/usr/share/ibus/ui/gtk/main.py", line 52, in __init__
    self.__panel = panel.Panel(self.__bus)
  File "/usr/share/ibus/ui/gtk/panel.py", line 138, in __init__
    self.__appindicator_update_menu()
  File "/usr/share/ibus/ui/gtk/panel.py", line 554, in __appindicator_update_menu
    item.set_image(_icon.IconWidget("gtk-info", size[0]))
  File "/usr/share/ibus/ui/gtk/icon.py", line 38, in __init__
    pixbuf = theme.load_icon(gtk.STOCK_MISSING_IMAGE, size, 0)
glib.GError: Icon 'gtk-missing-image' not present in theme

I hope I did not miss any patch suggestion.

It looks like gnome-icon-theme package is needed as I searched such file.  This
may be OK to have gnome-themes-extras or tango-icon-theme as substitute.

This dependency comes from "import gtk".  This is python-gtk2 package dependency.
This does not lead to any icon file dependency.  This may be OK since not all of them use icons.

But how should I add dependency.

Depends: gnome-icon-theme | gnome-themes-extras | tango-icon-theme | ... (what comes here)

I do not want to force particular theme.  So maybe I should use Suggests instead.

What do you all think how to solve this?

Regards,

Osamu





More information about the Pkg-ime-devel mailing list