Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416599 - gnome-extra/gnome-dvb-daemon should depend on x11-libs/gtk+[introspection]
Summary: gnome-extra/gnome-dvb-daemon should depend on x11-libs/gtk+[introspection]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-19 09:37 UTC by Account removed
Modified: 2012-10-06 06:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuid with added dependency (gnome-dvb-daemon-0.2.7.ebuild,1.95 KB, text/plain)
2012-05-19 09:37 UTC, Account removed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Account removed 2012-05-19 09:37:24 UTC
Created attachment 312253 [details]
ebuid with added dependency

I installed gnome-extra/gnome-dvb-daemon on my system where x11-libs/gtk+ was compiled without the use flag introspection. Hence I got the following error when I tried to start gnome-dvb-setup (similar for gnome-dvb-control):

ERROR:root:Could not find any typelib for Gtk
Traceback (most recent call last):
  File "/usr/bin/gnome-dvb-setup", line 20, in <module>
    import gnomedvb
  File "/usr/lib64/python2.7/site-packages/gnomedvb/__init__.py", line 24, in <module>
    from gi.repository import Gtk
ImportError: cannot import name Gtk

Reemerging x11-libs/gtk+ with introspection (which also pulled in x11-libs/pango, x11-libs/gdk-pixbuf, and dev-libs/atk with the same use flag) solved the problem. So I guess the respective dependency should be added to the ebuild.
Comment 1 Pacho Ramos gentoo-dev 2012-10-06 06:43:40 UTC
+  06 Oct 2012; Pacho Ramos <pacho@gentoo.org> gnome-dvb-daemon-0.2.10.ebuild:
+  It needs gir files from gtk3 (#416599 by Stephan Ritscher).
+