After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707639 - eglglessink: use bcm_host.pc on Raspberry Pi
eglglessink: use bcm_host.pc on Raspberry Pi
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-06 15:51 UTC by Julien Isorce
Modified: 2014-10-30 20:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use bcm_host.pc (2.72 KB, patch)
2013-09-06 15:52 UTC, Julien Isorce
needs-work Details | Review

Description Julien Isorce 2013-09-06 15:51:17 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 )
Comment 1 Julien Isorce 2013-09-06 15:52:21 UTC
Created attachment 254264 [details] [review]
use bcm_host.pc
Comment 2 Sebastian Dröge (slomo) 2013-09-09 11:00:32 UTC
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.
Comment 3 Julien Isorce 2013-09-26 14:42:39 UTC
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.
Comment 4 Sebastian Dröge (slomo) 2013-09-26 14:54:35 UTC
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, ...? :)
Comment 5 Sebastian Dröge (slomo) 2013-09-28 10:30:28 UTC
Julien, can you please revert that commit?
Comment 6 Julien Isorce 2013-09-28 14:20:18 UTC
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 ?
Comment 7 Sebastian Dröge (slomo) 2013-09-28 14:23:06 UTC
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.
Comment 8 Sebastian Dröge (slomo) 2013-12-30 08:25:04 UTC
Any news here?
Comment 9 Tim-Philipp Müller 2014-10-30 18:53:35 UTC
Ping? Can this be closed? Has the .pc file gone upstream? Is this still relevant and needs to be ported to gstgl egl code?
Comment 10 Julien Isorce 2014-10-30 19:25:41 UTC
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.
Comment 11 Nicolas Dufresne (ndufresne) 2014-10-30 19:31:00 UTC
Some distro patch the package that contains /opt/vc to add the PC, but sadly the original tarball don't have it.
Comment 12 Tim-Philipp Müller 2014-10-30 19:35:17 UTC
Nothing on raspbian (with libraspberrypi-dev 1.20140908-1).

Let's close this for now then?
Comment 13 Julien Isorce 2014-10-30 20:09:36 UTC
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.