GNOME Bugzilla – Bug 707639
eglglessink: use bcm_host.pc on Raspberry Pi
Last modified: 2014-10-30 20:09:36 UTC
It avoids to manually set -lbcm_host -lvcos -lvchiq_arm -L/opt/vc/lib etc ... It comes from package bcm-videocore-pkgconfig ( deb http://raspberrypi.collabora.com wheezy rpi )
Created attachment 254264 [details] [review] use bcm_host.pc
Is this proposed to RPi upstream? We shouldn't include it until they agreed on that, and even then keep it optional for some more time to still work on older distros.
It's not upstream but it seems there is still hope for that. So you are right. For now let's re-consider this bug only when it will be available upstream. In gst-gl I kept it optional as you suggested.
I meant that we should not have it even optional if it's not upstream. Or are we going to add all possible variations for that now, Arch calling it bcmhost.pc, raspbian calling it bcm_host.pc, upstream calling it bcm_host-1.2.pc, ...? :)
Julien, can you please revert that commit?
Ok no problem, just to be sure you are talking about this one http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=a96407be335d2226b6f3e70016b1d721978726ad right ?
Yes, that one :) I agree that it's annoying, but we potentially put more problems on us by just supporting random things that not even a distro is shipping.
Any news here?
Ping? Can this be closed? Has the .pc file gone upstream? Is this still relevant and needs to be ported to gstgl egl code?
Could someone with a pi have a look if there is a such .pc now ? Thx! Our current solution that checks in /opt/vc is fine but would be better to use a .pc if it exists.
Some distro patch the package that contains /opt/vc to add the PC, but sadly the original tarball don't have it.
Nothing on raspbian (with libraspberrypi-dev 1.20140908-1). Let's close this for now then?
Thx for checking! This bug was raised against eglglessink but it would be applicable to gstgl. (since glimagesink is the replacement in the latest stable GStreamer series) The current solution works so nothing blocking here. Also no such .pc seems to come so let's close this bug.