[mono/gtk-sharp] [2 commits] 31ed6cc6: atk: add metadata fixup to avoid crash due to ABI break
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141df89c91b-cf5e2d0b-9fb6-404a-ab5d-9f129319e2dc-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/gtk-sharp
Compare: https://github.com/mono/gtk-sharp/compare/8b998861e17c...2022141ddd5c
Commit: 31ed6cc6a99c1622e46084e9b4748e3544a90a47
Author: Stephan Sundermann <[email protected]> (xDarkice)
Committer: Andrés G. Aragoneses <[email protected]> (knocte)
Date: 2013-10-18 09:30:13 GMT
URL: https://github.com/mono/gtk-sharp/commit/31ed6cc6a99c1622e46084e9b4748e3544a90a47
atk: add metadata fixup to avoid crash due to ABI break
The ABI of ATK has been broken recently [1], so the best way
to deal with this is removing the pads from all the interfaces
found by GAPI in the atk namespace.
This avoids that some mono-based apps crash with new version
of Atk (i.e. 2.10.0, the one that Ubuntu 13.10 ships), and
still works for older versions (i.e. 2.8.0, the one that
Ubuntu 13.04 ships).
[1] https://git.gnome.org/browse/atk/commit/?id=b1f70e81ef1d7287dcb2cafa9a115ff5752ece55
Changed paths:
M atk/Atk.metadata
Modified: atk/Atk.metadata
===================================================================
@@ -39,4 +39,8 @@
<attr path="/api/namespace/interface[@cname='AtkText']/*[@name='GetDefaultAttributes']/return-type" name="element_type">AtkAttribute*</attr>
<attr path="/api/namespace/interface[@cname='AtkEditableText']/*[@name='GetRunAttributes']/return-type" name="element_type">AtkAttribute*</attr>
<attr path="/api/namespace/interface[@cname='AtkEditableText']/*[@name='GetDefaultAttributes']/return-type" name="element_type">AtkAttribute*</attr>
+
+ <!-- below is a workaround for an ABI break in recent ATK: https://git.gnome.org/browse/atk/commit/?id=b1f70e81ef1d7287dcb2cafa9a115ff5752ece55 -->
+ <remove-node path="/api/namespace/interface//field[@cname='pad1' or @cname='pad2' or @cname='pad3' or @cname='pad4']" />
+
</metadata>
Commit: 2022141ddd5c9fd6b978f88f210ea32bbef0945b
Author: Bertrand Lorentz <[email protected]> (bl8)
Date: 2013-10-22 09:38:47 GMT
URL: https://github.com/mono/gtk-sharp/commit/2022141ddd5c9fd6b978f88f210ea32bbef0945b
Merge pull request #80 from knocte/master
atk: add metadata fixup to avoid crash due to ABI break
Changed paths:
M atk/Atk.metadata
Modified: atk/Atk.metadata
===================================================================
@@ -39,4 +39,8 @@
<attr path="/api/namespace/interface[@cname='AtkText']/*[@name='GetDefaultAttributes']/return-type" name="element_type">AtkAttribute*</attr>
<attr path="/api/namespace/interface[@cname='AtkEditableText']/*[@name='GetRunAttributes']/return-type" name="element_type">AtkAttribute*</attr>
<attr path="/api/namespace/interface[@cname='AtkEditableText']/*[@name='GetDefaultAttributes']/return-type" name="element_type">AtkAttribute*</attr>
+
+ <!-- below is a workaround for an ABI break in recent ATK: https://git.gnome.org/browse/atk/commit/?id=b1f70e81ef1d7287dcb2cafa9a115ff5752ece55 -->
+ <remove-node path="/api/namespace/interface//field[@cname='pad1' or @cname='pad2' or @cname='pad3' or @cname='pad4']" />
+
</metadata>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches