Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585488 - media-sound/quodlibet should depend on x11-libs/gtk+[introspection]
Summary: media-sound/quodlibet should depend on x11-libs/gtk+[introspection]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 17:02 UTC by Oleh
Modified: 2016-06-12 08:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-06-09 17:02:27 UTC
as in summary.

Reproducible: Always

Steps to Reproduce:
1. emerge quodlibet
2. run quodlibet (in terminal)
3. notice python traceback due to missing Gtk module.
4. rebuild gtk+ with introspection USE
5. launch quodlibet, which works.
Actual Results:  
oleg@oleg ~ $ quodlibet 
Traceback (most recent call last):
  File "/usr/bin/quodlibet", line 225, in <module>
    main(util.argv)
  File "/usr/bin/quodlibet", line 35, in main
    quodlibet.init()
  File "/usr/lib64/python2.7/site-packages/quodlibet/__init__.py", line 512, in init
    _init_gtk()
  File "/usr/lib64/python2.7/site-packages/quodlibet/__init__.py", line 218, in _init_gtk
    gi.require_version("Gtk", "3.0")
  File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 100, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available


oleg@oleg ~ $ python2.7 -c "from gi.repository import Gtk"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name Gtk
oleg@oleg ~ $

After rebuild gtk+ with introspection:
oleg@oleg ~ $ python2.7 -c "from gi.repository import Gtk"
oleg@oleg ~ $
Comment 1 Oleh 2016-06-12 07:01:25 UTC
any progress?
Comment 2 Matthias Maier gentoo-dev 2016-06-12 08:06:18 UTC
Thanks a lot!

commit 0205f06a27af85adc4797990a25ef301fa087404
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Jun 12 03:03:30 2016 -0500

    media-sound/quodlibet: add dependency to x11-libs/gtk+[...], bug #585488
    
    Package-Manager: portage-2.2.28

commit 5acc5df5bdfd1f7876dcfe85f76118ca84b2c443
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Jun 12 03:00:45 2016 -0500

    media-sound/quodlibet: remove old versions 3.4.1, 3.5.3
    
    Package-Manager: portage-2.2.28

commit 76534800aa32c34b05ff6b38363b00efde646601
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Jun 12 02:59:01 2016 -0500

    media-sound/quodlibet: version bump to 3.6.2, also bug #585488
    
      - bump to 3.6.2
      - also dependency to x11-libs/gtk+[introspection]
    
    Package-Manager: portage-2.2.28