[Wayland-bugs] [Bug 97624] protocol: GLES library are wayland protocol dependent

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 7 10:06:26 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97624

--- Comment #1 from Pekka Paalanen <ppaalanen at gmail.com> ---
Hi,

I don't think downgrading a library is generally supported on any software
across minor version number changes.

Just to get this straight: you built your library against 1.11.0 and attempted
to run it against 1.9.0, yes?

If you build against a new library version which has bumped the minor version
number, you cannot usually assume that you can still run it against a library
version with a smaller minor number.

The other direction we do try hard to keep things working: build against older
library and run against a newer library. Only major version bumps can break
that, and we do not intend to bump major on any libwayland.

We also try to ensure that having a library built against one libwayland
version and another library or the executable itself built against a different
libwayland version also work when loaded into the same process, but we do not
have the facilities to actually test that.

So, yes, if you build your software against a libwayland version, then it will
generally require at least that libwayland version.

It is also assumed that you use wayland-scanner of the same version as you will
build your software with.

If you are checking in files generated with wayland-scanner into your VCS,
please stop doing that and instead run wayland-scanner as part of the build.
That way it is much easier to keep your software both up-to-date and compatible
with several libwayland versions. The scanner can and will use new features
added in the release it was part of, so simply re-running the scanner can bump
your dependency to libwayland.


If you cannot bump your library dependencies, you have to continue building
against libwayland 1.9.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160907/fe243a3e/attachment.html>


More information about the wayland-bugs mailing list