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 797158 - gl: some miscellaneous fixes to gir generation
gl: some miscellaneous fixes to gir generation
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-09-17 16:50 UTC by Víctor Manuel Jáquez Leal
Modified: 2018-09-18 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gl/gir: include GL-1.0.gir (1.76 KB, patch)
2018-09-17 16:50 UTC, Víctor Manuel Jáquez Leal
rejected Details | Review
gl: meson: add missing headers for gir generations (1.12 KB, patch)
2018-09-17 16:50 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
gl/egl: fix annotation for gst_egl_image_new_wrapped() (975 bytes, patch)
2018-09-17 16:50 UTC, Víctor Manuel Jáquez Leal
committed Details | Review

Description Víctor Manuel Jáquez Leal 2018-09-17 16:50:34 UTC
See commit logs.

The first patch (include GL-1.0.gir) is experimental, but it seems to me a good idea, but the others are required
Comment 1 Víctor Manuel Jáquez Leal 2018-09-17 16:50:40 UTC
Created attachment 373673 [details] [review]
gl/gir: include GL-1.0.gir

For generating GstGL-1.0.gir it looks required to add GL-1.0.gir from
GTK+ gir files repository, to have binding to GL's types
Comment 2 Víctor Manuel Jáquez Leal 2018-09-17 16:50:47 UTC
Created attachment 373674 [details] [review]
gl: meson: add missing headers for gir generations

There are a lot of symbols in GstGL-1.0.gir generated by automake that
are not when it is generated by meson, because a lot of headers were
not included in meson's gir generation.
Comment 3 Víctor Manuel Jáquez Leal 2018-09-17 16:50:57 UTC
Created attachment 373675 [details] [review]
gl/egl: fix annotation for gst_egl_image_new_wrapped()
Comment 4 Sebastian Dröge (slomo) 2018-09-17 18:46:59 UTC
(In reply to Víctor Manuel Jáquez Leal from comment #1)
> Created attachment 373673 [details] [review] [review]
> gl/gir: include GL-1.0.gir
> 
> For generating GstGL-1.0.gir it looks required to add GL-1.0.gir from
> GTK+ gir files repository, to have binding to GL's types

Wasn't the idea to simply not generate the GL funcs, so that no GL types are in the API?
Comment 5 Víctor Manuel Jáquez Leal 2018-09-17 19:01:42 UTC
(In reply to Sebastian Dröge (slomo) from comment #4)
> (In reply to Víctor Manuel Jáquez Leal from comment #1)
> > Created attachment 373673 [details] [review] [review] [review]
> > gl/gir: include GL-1.0.gir
> > 
> > For generating GstGL-1.0.gir it looks required to add GL-1.0.gir from
> > GTK+ gir files repository, to have binding to GL's types
> 
> Wasn't the idea to simply not generate the GL funcs, so that no GL types are
> in the API?

Yes. Just I experimented a bit. That's why I mentioned that in comment #1. I guess we could ditch that patch.

Btw, I just updated my branch for gstreamer-gl-sys with the GLFunc removed :)
Comment 6 Víctor Manuel Jáquez Leal 2018-09-17 19:03:50 UTC
Review of attachment 373673 [details] [review]:

no need of it :)
Comment 7 Víctor Manuel Jáquez Leal 2018-09-18 09:40:33 UTC
Attachment 373674 [details] pushed as e12a55a - gl: meson: add missing headers for gir generations
Attachment 373675 [details] pushed as 982b212 - gl/egl: fix annotation for gst_egl_image_new_wrapped()