window-decorator cannot build with libmetacity 3.22
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Undecided
|
Alberts Muktupāvels |
Bug Description
This is with compiz source
compiz_
build on Debian Unstable (not Ubuntu) and GTK 3.22 and Metacity 3.22. Will become an issue for Ubuntu post-yakkety unless Ubuntu pins Metacity at version 3.20.
Metacity/
error: unknown type name ‘MetaButtonLayout’
MetaButton
The possible killer for Metacity theme support:
https:/
libmetacity: switch from .ssd to .csd
and some of the changes probably behind breaking the build:
https:/
libmetacity: don't expose MetaButton struct
https:/
libmetacity: rename MetaButtonFunction to MetaButtonType
Not sure a port to 3.22 would even still give the ability to read Metacity themes anyway, given the first commit listed above.
Meanwhile, building gtk-window-
I build compiz for use in Debian Unstable (and offer my builds for public use) so I saw this a couple days ago. All I could so was switch decorators to Emerald (which compiz-reloaded has ported to GTK3) and use the Emerald pixmap engine to write an Emerald theme matched to my metacity theme. Ubuntu MATE may have to do the same post-Yakkety unless Ubuntu either pins Metacity, gets a 3.22 port to work and finds it handles metacity themes, or modified gtk-window-
Related branches
- Marco Trevisan (Treviño): Approve
-
Diff: 303 lines (+154/-18)3 files modifiedgtk/CMakeLists.txt (+2/-0)
gtk/config.h.gtk.in (+3/-0)
gtk/window-decorator/gwd-theme-metacity.c (+149/-18)
Changed in compiz: | |
status: | New → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Thanks for sharing your findings.
FWIW I was looking at reintroducing compiz into Debian (that is: via unstable), and while it compiled mostly OK 2-3 weeks ago, I've just stumbled upon this FTBFS due to the (lib)metacity bump for GNOME 3.22.
Just out of curiosity, did you get in touch with GNOME people to mention this regression and to get advice on how to go forward on the compiz side?