libva icon indicating copy to clipboard operation
libva copied to clipboard

Misc meson fixes

Open evelikov opened this issue 1 year ago • 12 comments

Nothing overly fancy here, small cleanup proper docs/doxygen handling and a fancy summary()

@ceyusa as the original author of the meson build, do you mind having a look?

evelikov avatar Jul 12 '22 16:07 evelikov

Added an extra commit on top, switching to features. I've initially hesitated since it does make a small backwards incompatible change - see commit for details.

Feel free to drop it, or if you prefer I can re-spin the series integrating it earlier in the PR.

evelikov avatar Jul 13 '22 12:07 evelikov

There is also https://mesonbuild.com/Build-options.html#deprecated-options but then you'd have to bump the minimum meson to something very new. :(

eli-schwartz avatar Jul 13 '22 12:07 eli-schwartz

There is also https://mesonbuild.com/Build-options.html#deprecated-options but then you'd have to bump the minimum meson to something very new. :(

Indeed, that's why I opted out. One thing that I was wondering:

Would it make sense if feature understands synonyms (yes, on, enabled) and (no, off, disabled) respectively. I see you have got lots of meson under your belt so feel free to propose/pick this, assuming it makes sense.

evelikov avatar Jul 13 '22 12:07 evelikov

What would be the advantage of the synonym, other than the infrequent case that one migrates from a custom combo option that uses those strings?

eli-schwartz avatar Jul 13 '22 13:07 eli-schwartz

It's a nice clean up. An initial step to modernize the meson build.

ceyusa avatar Jul 15 '22 15:07 ceyusa

@XinfengZhang any objections if we merge this for the next aka 2.17 release? Obviously I would need to rebase it on top of the va-win32 addition that just landed.

evelikov avatar Oct 13 '22 16:10 evelikov

Rebased the the PR with couple of small changes:

  • pushed the "use meson features" earlier in the series
  • make win32 a feature like the rest cc @sivileri

@XinfengZhang @dvrogozh as mentioned earlier, I would love it this can make it for 2.17.

evelikov avatar Nov 05 '22 11:11 evelikov

@XinfengZhang @dvrogozh humble ping? Is there anything I can do to move this forward?

evelikov avatar Nov 16 '22 14:11 evelikov

Bear in mind that the last commit will conflict, albeit trivially, with https://github.com/intel/libva/pull/656

evelikov avatar Nov 19 '22 20:11 evelikov

@XinfengZhang @dvrogozh humble ping?

evelikov avatar Dec 07 '22 10:12 evelikov

Other than those small comments, the meson part looks good to me, it's a nice cleanup.

xclaesse avatar Feb 05 '23 11:02 xclaesse

@dvrogozh @XinfengZhang humble monthly ping?

evelikov avatar Feb 06 '23 17:02 evelikov