Skip to contentSkip to conversation

gst1-plugins-imx: add package

PATCH New Peter Seiderer 2 participants 2 messages Oct 13, 2014 – Oct 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gst1-plugins-imx: add package

Hello Gray, Luca,

Quoted 5 lines · Gary Bisson

Hi Luca,

Thanks for your feedback, below are my comments.
Sorry Peter I didn't see your patch from March.

No problem...

Quoted 8 lines · Luca Ceresoli
Quoted 1 line

Dear Gary, Peter,

[...]

Quoted 5 lines

It would be better to have only one comment showing all the dependencies at once to avoid cluttering the menuconfig screen when the dependencies are not met. Also, please format it according to the guidelines in
http://nightly.buildroot.org/manual.html#dependencies-target-toolchain-options

Quoted 9 lines

Ok I can rework those comments.

Quoted 3 lines

BTW, the last warning should be shown regardless of the value of BR2_PACKAGE_LIBFSLVPUWRAP, nope?

The goal here was to show only one comment at a time. Both comments will be merged in one.

Quoted 3 lines

[...]
According to Gary, (e)glibc is needed. Peter, did you build-test with uClibc (or musl)?

Tested only with glibc...

Quoted 6 lines

Actually this dependency is not required as it is implicit, the real eglibc dependency comes from the GPU_VIV package.

Quoted 2 lines

How about imx-lib, libfslparser and libfslcodec?

No, Peter's dependencies seem to have some legacy from the old gstreamer plugin, see package/gstreamer/gst-fsl-plugins/Config.in.

Yes, you are right ;-)

Quoted 3 lines

Moreover it is missing the GPU_VIV package dependency required to have the imxg2d and imxegl plugins and also narrows this plugin to iMX6 platforms only.

Yes, right too, tested only on iMX6...

Quoted 33 lines
Quoted 4 lines

It would be great if you could have a list that really matches the package. It's probably going to be a mix of the two, but I don't know exactly which pieces should be picked.

The best is to compare the dependencies from the Yocto recipe:
https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.9.9.bb
This is what I've based my package on.

Quoted 2 lines

[...]
Can you merge the two statements?

I can add the Kernel header comment but regarding the VPU I've offered a patch for the firmware to be selected when imx-vpu package is enabled:
http://lists.busybox.net/pipermail/buildroot/2014-October/107894.html

Quoted 3 lines

[...]
Use the github helper macro:
http://nightly.buildroot.org/manual.html#github-download-url

Ok.

Quoted 6 lines

[...]
Peter's version does not depend on host-python, yours does.

Actually that dependency is needed becase waf does not work with recent python3 interpreters. That's why all Buildroot packages that use waf (jack2, midori, samba4) depend on it.

Yes host-python is required.

Quoted 9 lines

[...]
...and you support X11 and Wayland, which is good.

Overall your patch looks better, except Peter lists more mandatory dependencies (perhaps some or all are actually neede), has a more informative package description and uses the github helper. Merging the two patches to get the best of each would be good, and it would be great if you could cooperate to do that!

Quoted 5 lines
Quoted 3 lines

I'm afraid I haven't much experience on i.MX to help, but I'll be glad to test your work (but please keep me in Cc:).

No problem I'll keep you in cc. But what is the plan now? Should I offer a v2 or let Peter integrate the remarks above in his patch?

Feel free to use what you find useful from my patch...

And for the naming of the package 'gstreamer1-imx' was suggested by Peter Korsgaard [1] and has more matching with the upstream name, 'gst1-plugins-imx' fits more with the gstreamer/buldroot plugin naming schema...

Regards,
Peter

Quoted 4 lines

Thanks,
Gary

[1] http://lists.busybox.net/pipermail/buildroot/2014-February/090496.html

#1 lore raw

PATCH 1/1 gst1-plugins-imx: add package

Dear Peter,

thanks for your continued attention in the effort for mainlining this package in Buildroot.

Quoted 1 line · Peter Seiderer

Hello Gray, Luca,

...

Quoted 7 lines

Feel free to use what you find useful from my patch...

And for the naming of the package 'gstreamer1-imx' was suggested by Peter Korsgaard [1] and has more matching with the upstream name, 'gst1-plugins-imx' fits more with the gstreamer/buldroot plugin naming schema...

Ouch, didn't notice that. The last word is the maintainer's one, of course! :)

Signature · 1 line
Luca