autotools to meson: policy?

Alan Coopersmith alan.coopersmith at oracle.com
Sat Dec 14 19:21:40 UTC 2024


On 12/13/24 23:06, tlaronde at kergis.com wrote:
> - Has the meson framework to provide at least the configuration
> flexibility provided by autotools, so that whoever is compiling Xorg
> could, in the future, configure it the way it managed to do with
> autotools?
> 	=> See: http://notes.kergis.com/x11_building.html
> 		for notes about differences or misses in variable
> 		configurations.

We have no way of knowing what people actually use, but many of the Xorg
maintainers are also involved in building packages for their distros, so
we rely on them to provide feedback about what their distros need.

Beyond that, that's why we usually provide an overlap period with both
autotools & meson in a release, so that users can report if we've missed
something in meson that they need, and we can add it before removing the
autotools setup.

> - What to do when python byte-compiling is involved? The problem is
> that it is _not_ cross-compilation safe (the byte-compiled version is
> not portable and there is no cross-python).

It doesn't matter.  xcbproto is the only package that installs a python module,
and that module is only run on the build system, not the target, so it never
needs to be cross-compiled.  If it did, python will just-in-time compile it
when it's run - provided precompiled .pyc files is just a time saver, not a
requirement to use it.

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris


More information about the xorg-devel mailing list