TigerVNC / tigervnc

High performance, multi-platform VNC client and server
https://tigervnc.org
GNU General Public License v2.0
4.85k stars 907 forks source link

Add support to build Xvnc with meson #1729

Open joantolo opened 4 months ago

joantolo commented 4 months ago

Since xorg-xserver version 20, it is possible to build the xserver with meson.

This updates the patches of xserver120 and xserver21.1.1 to build Xvnc with meson. Add the required meson.build on unix/xserver/hw/vnc too.

This is a first step to build tigervnc with meson.

CendioOssman commented 4 months ago

Thanks for your contribution. This could be interesting as autoconf is on the way out.

But, if I'm reading things correctly, the latest release of the Xorg server still has autoconf. So it would be the next release which would require meson?

I'm cautious about putting an extra burden on developers to update two build systems if we don't have to. At least not yet.

Was this PR for future proofing, or do you have a requirement to use meson for Xorg already?

joantolo commented 4 months ago

Was this PR for future proofing, or do you have a requirement to use meson for Xorg already?

No, I don't have any requirement to use meson. I just wanted to help for the future and meson. But I understand that having two build systems could be an extra burden.