Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525318 - media-sound/pithos-1.0.0 USE=keybinder with =dev-libs/keybinder-0.3.0-r300 - fails to bind multimedia keys because of missing python bindings
Summary: media-sound/pithos-1.0.0 USE=keybinder with =dev-libs/keybinder-0.3.0-r300 - ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 18:30 UTC by Adam Feldman
Modified: 2018-06-26 19:00 UTC (History)
2 users (show)

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


Attachments
emerge --info media-sound/pithos (emerge-info,18.87 KB, text/plain)
2014-10-13 18:48 UTC, Adam Feldman
Details
emerge --info dev-python/pygobject (emerge-info,17.62 KB, text/plain)
2014-10-13 22:03 UTC, Adam Feldman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Feldman gentoo-dev 2014-10-13 18:30:51 UTC
keybinder:0 comes with python bindings, this is what the previous version of pithos used.   unfortunately, pithos-1.0.0 requires keybinder:3 for gtk3 support, however, keybinder:3 does not have python bindings, and results in the following when pithos is run:

** (pithos:32131): WARNING **: Binding 'XF86AudioPlay' failed!

** (pithos:32131): WARNING **: Binding 'XF86AudioStop' failed!

** (pithos:32131): WARNING **: Binding 'XF86AudioNext' failed!

** (pithos:32131): WARNING **: Binding 'XF86AudioPrev' failed!


Reproducible: Always

Steps to Reproduce:
1.Run pithos from the command line
2.
3.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-13 18:41:05 UTC
Please post your `emerge --info media-sound/pithos' output in a comment.
Comment 2 Adam Feldman gentoo-dev 2014-10-13 18:48:49 UTC
Created attachment 386618 [details]
emerge --info media-sound/pithos
Comment 3 Patrick McLean gentoo-dev 2014-10-13 20:48:54 UTC
Does it work if you manually merge keybinder:0 as well as keybinder:3?
Comment 4 Adam Feldman gentoo-dev 2014-10-13 20:58:06 UTC
(In reply to Patrick McLean from comment #3)
> Does it work if you manually merge keybinder:0 as well as keybinder:3?

Unfortunately not.  I'm not really sure about how to resolve this.  Keybinder only has python2 bindings (according to its documentation). Might require talking to upstream.  potentially related upstream bug: https://github.com/pithos/pithos/issues/92  

Is it just happening for me or are you able to reproduce the bug?
Comment 5 Patrick McLean gentoo-dev 2014-10-13 21:42:27 UTC
This does not happen on my machine.

 Looking at the code, it appears that it uses 'gi' from pygobject. Could you try rebuilding pygobject with the 'libffi' USE flag?
Comment 6 Patrick McLean gentoo-dev 2014-10-13 21:46:08 UTC
Er, nevermind, I just noticed that the libffi USE flag does not exist on pygobject:3

Can show me the output of emerge --info dev-python/pygobject
Comment 7 Patrick McLean gentoo-dev 2014-10-13 21:58:01 UTC
Try enabling the "introspection" USE flag on keybinder:3
Comment 8 Adam Feldman gentoo-dev 2014-10-13 22:03:11 UTC
Created attachment 386628 [details]
emerge --info dev-python/pygobject
Comment 9 Adam Feldman gentoo-dev 2014-10-13 22:12:20 UTC
(In reply to Patrick McLean from comment #7)
> Try enabling the "introspection" USE flag on keybinder:3

Unfortunately, it's already enabled.
Comment 10 Adam Feldman gentoo-dev 2014-10-13 22:15:51 UTC
Do you have gnome-settings-daemon installed?  That was the keybinder alternative for the old 0.3.x series.
Comment 11 Patrick McLean gentoo-dev 2014-10-13 22:31:26 UTC
I don't have gnome-settings-daemon installed on my machine at all. I have the introspection USE flag globally enabled.

What version of dev-python/pygobject do you have installed?
Does pygobject have the threads USE flag enabled?

What version of gobject-introspection do you have installed?
Comment 12 Adam Feldman gentoo-dev 2014-10-13 22:41:27 UTC
(In reply to Patrick McLean from comment #11)
> I don't have gnome-settings-daemon installed on my machine at all. I have
> the introspection USE flag globally enabled.
> 
> What version of dev-python/pygobject do you have installed?
> Does pygobject have the threads USE flag enabled?
> 
> What version of gobject-introspection do you have installed?

gobject-introspection-1.40.0-r1
pygobject-3.12.2 with threads, pygobject:2 without libffi
introspection is global
Comment 13 Patrick McLean gentoo-dev 2014-10-14 20:18:21 UTC
Please test pithos-1.0.1 that was just added to the tree
Comment 14 Adam Feldman gentoo-dev 2014-10-16 15:36:49 UTC
(In reply to Patrick McLean from comment #13)
> Please test pithos-1.0.1 that was just added to the tree

Unfortunately, no change.  Thanks for trying.  I'll try upstream and see if they have any suggestions.
Comment 15 Pacho Ramos gentoo-dev 2018-06-26 19:00:40 UTC
please retry with 1.3.1