Warning: gtk 2.19 sealing work might break builds

Sebastien Bacher seb128 at ubuntu.com
Thu Mar 11 11:22:17 GMT 2010


Hi,

One of the things GTK upstream has been working on this cycle is to
deprecate direct access to implementation detail in favor of using
accessor functions, you can read about in on:
http://live.gnome.org/GnomeGoals/UseGseal

The sealing is not enforced by default, which means things not using yet
the accessor functions will still build... if they don't use the
"-DGTK_DISABLE_DEPRECATED" flags, which tarballs should not do but
experience tells us quite some do usually.
The fixes are usually trivial, one typical example on nautilus:
http://git.gnome.org/browse/nautilus/commit/?id=8c8cf192d861a1a6c202624ee0b4c0ff43077080

Extra deprecation will come with the next GTK update so it would be good
to keep an eye for issues about this in the next archive rebuild test.
The easier way to fix sofwares which don't build if you don't want to
require a newest gtk version or change the code might just be to update
the configure or makefiles to not set -D*_DISABLE_DEPRECATED


Thanks,
Sebastien Bacher





More information about the ubuntu-devel mailing list